Quantcast
Channel: SCN : All Content - SAP GUI
Viewing all articles
Browse latest Browse all 3616

SAP Screen Personas 2.0: Script error, most likely because of Screen Personas dysfunctionality and no idea how to handle?

$
0
0

Hello everybody,

 

SAP Screen Personas 2.0 generate the following script, if I record to open the selection variant-button in ME21N (Document Overwiev on) and select an entry in the DropDown:

 

     SelectionVariant.jpg

 

Script:

1.step (open DropDown):

Command 'Right click' on the following ID: ses[0]/wnd[0]/dockcnt/splitcnt/cell[0][1]/tbar/dropmenuSELECT

 

2.step (select entry in DropDown):

Command 'Select' on ID: ses[0]/wnd[0]/dockcnt/splitcnt/cell[0][1]/tbar/dropmenuSELECT/menuCONTEXT/item0050568E34721ED684ED6153F966022DNEWPO_QUERY

 

Button.JPG

 

If I insert the recording in a script button and try it immediately, it works fine. But if I leave the transaction and come back, it will not work anymore!

 

Error.JPG

 

I have an assummption: Maybe the ID from the second step is influenced by the mouse position or something other, because when I make a new recording, the ID will always chance. Here are any examples for an other ID from the second step from other recordings:

 

ses[0]/wnd[0]/dockcnt/splitcnt/cell[0][1]/tbar/dropmenuSELECT/menuCONTEXT/item0050568E34721ED684EF5AB11AF8822DNEWAGREEMENT_QUERY

 

ses[0]/wnd[0]/dockcnt/splitcnt/cell[0][1]/tbar/dropmenuSELECT/menuCONTEXT/item0050568E34721ED684ED264134D4022DNEWPO_QUERY

 

ses[0]/wnd[0]/dockcnt/splitcnt/cell[0][1]/tbar/dropmenuSELECT/menuCONTEXT/item0050568E34721ED684EF6F44F2A2C22DNEWAGREEMENT_QUERY

 

If I make the ID shorter, it will not work anymore, or I don't cut it in the right way.

 

I try it with IE and Firefox, we've implented earlier the notes 2194262, 2235274, 2274219 and add in index.html and nwbc.html the line: <param name="source" value="ClientBin/PersonasUI_V1.5.000.xap?version=1.5.120"/>. Newer notes doesn't seem to match this issue.

 

Have everybody an idea how is it possible to insert this step in a script button?

 

Thanks a lot for answers.


Viewing all articles
Browse latest Browse all 3616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>