cancel
Showing results for 
Search instead for 
Did you mean: 

BP unable to write COMMA in SAP Text Box through Write Stage

AsitabhaDeb
Level 6

Hi,

BP unable to write COMMA in SAP Text Box through Write Stage.

Can you please someone give me the solution.

BR/Asitabha



------------------------------
Asitabha Deb
------------------------------
5 REPLIES 5

ManishRawat
Level 7

Hi Asitabha,

You can try the following approach:

1. Copy the text to be written to clipboard using the set clipboard option.

2. Use the Navigate stage and use Global Send Keys to do Ctrl+V.

You can use the same approach instead of the write stage wherever you have possibility of the use of special characters while writing. 

Hope this will help.



------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------

Hi, Asitabha,

if it is related to number format please check the settings of the SAP account as there are different options like comma as thousand separator or it can also be defined as a decimal separator. Then you need to set up your SAP account accordingly. 

The other option described Manish.

Regards,



------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------

Hi Manish

Thanks for reply but the problem is that I am unable to spy the SAP text box as it is within the Pane area so win32 taking whole area instead of spying the Text box only and in SAP mode it is only showing option "Set Focus" under navigate stage.

I will check with SAP account settings.

Or

Can you please help me with code of "Paste action" in Text Box as I have already create set clipboard action.



------------------------------
Asitabha Deb
------------------------------

Hi Asitabha,

You can follow the below approaches:

First:

1. Try to spy the textbox in Win32/UI/AA Mode

2. Use the Global Send Keys: "^v" for paste option in navigate stage for the spied element.

Second:

1. Activate screen.

2. Click on the textbox using SAP mode.

3. In Navigate stage use Root element with Global Send Key Events: "<{CTRL}v>{CTRL}" for paste option.

P.S.: Approach first is a better approach in terms of reliability as the same send the key to the particular textbox instead of the blind send to the screen.

You can read more about send keys at http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys



------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------

HI Manish,

Thanks but can you please explain little bit how to use Root Element in navigate stage, as I can see only "SET FOCUS" option in navigate stage after spied the Text Box in SAP mode.

BR/Deb



------------------------------
Asitabha Deb
------------------------------