Skip to Content

XD01 Address More Fields Button

What is the trick to selecting and pressing on the "More Fields" button in XD01 Address tab via a script? I have tried using the selection tool to setFocus and press. I have also tried via recording the action. Either way, I receive an unidentified control message.

My goal is to have all the fields made immediately available to the user. Thanks

UnidentifiedControl - There is no control with id 'wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB01/ssubSUBSC:SAPLATAB:0201/subAREA1:SAPMF02D:7111/subADDRESS:SAPLSZA1:0300/subCOUNTRY_SCREEN:SAPLSZA1:0301/btnG_D0100_DUMMY_COUNTRY' in the current screen state.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 23, 2016 at 02:33 PM

    Hi Michael,

    If you are on SP03 or the latest version of SP02, the following script should expand the 'More Fields' in the Street Address group box. The script was generated by the recorder:

    session.findById("wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB01/ssubSUBSC:SAPLATAB:0201/subAREA1:SAPMF02D:7111/subADDRESS:SAPLSZA1:0300/subCOUNTRY_SCREEN:SAPLSZA1:0301/btnG_D0100_DUMMY_COUNTRY").press();

    Best regards

    Kranthi

    SAP Screen Personas Team

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 21, 2016 at 08:47 PM

    What are the steps you do before that? Any chance that the control id dynamically changes for this button in this transaction?

    Do one thing, just change the color of that button and see whether that color vanishes based on some actions you do in the screen.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2016 at 01:26 PM

    Did you find a way to expand all fields?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 03:15 PM

    Thank you everyone. It finally works beautifully! I cleaned up my script and used the below without issue. Thank you for following up on this issue as I had given up.

    session.findById("wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB01/ssubSUBSC:SAPLATAB:0201/subAREA1:SAPMF02D:7111/subADDRESS:SAPLSZA1:0300/subCOUNTRY_SCREEN:SAPLSZA1:0301/ctxtADDR1_DATA-REGION").setFocus();

    session.findById("wnd[0]/usr/subSUBTAB:SAPLATAB:0100/tabsTABSTRIP100/tabpTAB01/ssubSUBSC:SAPLATAB:0201/subAREA1:SAPMF02D:7111/subADDRESS:SAPLSZA1:0300/subCOUNTRY_SCREEN:SAPLSZA1:0301/btnG_D0100_DUMMY_TIMEZONE").press();

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.