Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SHDB/BDC - PA40 - How to Avoid Absolute List Position of PA40 Action

The following code was generated by SHDB for transaction PA40. It's picking a particular action from the list on the screen (23rd item from the top). This is almost certain to change in production because our dev environment isn't configured exactly the same.

Is there anyway I can avoid using an absolute position in my code do perform this logic? Thanks!

    PERFORM bdc_dynpro      USING 'SAPMP50A'                '2000'.
    PERFORM bdc_field       USING 'BDC_CURSOR'              'T529T-MNTXT(23)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'              '=PICK'.
    PERFORM bdc_field       USING 'RP50G-SELEC(23)'         'X'.

Former Member
Former Member replied

You can even do an action from PA30. I usually do BDCs for Action via PA30. There won;t be any issues related to config variations in it.


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question