Skip to Content
0
Former Member
May 17, 2010 at 06:38 PM

Contolling display and change mode in customer/vendor badis

67 Views

I've implemented CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA to add a new subscreen on the Customer Master..

I had been controlling the new screen's fields simply in its PBO by checking the Tcode.. if VD02, go to Change Mode. VD03 closes the fields for input.

This works fine, however if you enter the customer master using VD03, go to the new screen and click on the menu bar Customer -> Display/Change to enter Change mode, the Tcode is still VD03 so my fields are still closed.

I debugged the mouse click and in the PAI, SY-UCOMM is set to ENTR.. ok_code is set to AEND.. but I don't have access to that in the PBO of my screen.

what's the best way to handle opening the fields from Display mode?

thanks alot.