on 12-17-2014 7:41 PM
Im using Personas 2.0 and Ive encountered an issue where SapGui HTML is rendering a different "frame" name for the SAME field based on a type of an employee Im looking at in PA20. This now causes an issue in my script as it complains that it doesnt recognize the control as it was recorded with a certain employee.
How is this scenario handled?
For example 2 different employees will render these types of field names for the exact same field:
ses[0]/wnd[0]/usrUSRAREA/frameTITEL1/ctxtP0001BUKRS
ses[0]/wnd[0]/usrUSRAREA/frameFRAME_1/ctxtP0001BUKRS
Its a control ID overwrite issue.
Refer below links --
http://scn.sap.com/thread/3450626
http://scn.sap.com/community/gui/blog/2014/04/12/sap-screen-personas-screen-id-and-control-id-overwr...
How to do it –
Add Control Id overwrite entry with neutral control id under Tcode “/n/persos/admin_ui’ -> General Actions -> Maintain Control Id Overwrite Logic
Also try to apply below note--
1999747
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two possible solutions seem to exist to this.
First, if the two fields are indeed the exact same, then perhaps a control ID overwrite entry may be missing which should eliminate this problem. According to note 1999747, there is only one control ID overwrite entry for PA30 but I'd think most (any?) entry for PA30 should also be created for PA20. However the existing PA30 entry doesn't appear to handle this particular control, so then an OSS incident could be the right solution asking for a matching overwrite entry covering this case.
Also, in your script you could try to use an IF CONTROL EXISTS statement to decide which control is on the screen, then adjust the script according to the found control. Don't forget the REFRESH SCREEN before checking for the control
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.