Skip to Content

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

how to fetch variables from current screen in BADI ?

hi,

I am using transaction BP to create a new Business Partner.

I go to transaction BP and click on create new person. Then , I select a Role for the new business partner, say PROSPECT.

Now i want to access this ROLE through my BADI.

QUESTION : How do i access this role ????

NOTE : The status of the screen shows Program : SAPLBUPA_DIALOG_JOEL and Screen : SCREEN_1000_1.

How variable containing the role selected is stored in the Program : SAPLBUPA_DIALOG_JOEL .

How do i use this program in my BADI ?

Regards,

Shantanu.

Tags:
Former Member
Former Member replied

Hi,

The role may not come from the screen program.

The alternative way is to get the main program. Usually the main program is SAPLBUD0. Check the TOP include of this function group and find out the internal tabel for the role.

This internal table can be accessed in the BADI.

regards,

arul jothi a.

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