Skip to Content
0

How to populate a screen field in ME23N

Jul 19, 2017 at 05:48 AM

101

avatar image

Hi Experts,

I have an requirement where an user Enters an service No in ME21N, and the corresponding control code shall be displayed in another tab for an first Service code entered even if user does not go to that Particular tab.Here the problem is not finding with exit or enhancment but how do I populate value automatically even if user does not go to the tab.

I have used function module 'DYNP_VALUES_UPDATE' and 'DYNP_UPDATE_FIELDS' in an implicit enhancment but not succeeded in populating.

Please find the screen shot below.

The tab and field in which corresponding data shall be displayed.

issue.png (77.1 kB)
tab.png (56.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Jul 19, 2017 at 06:11 AM
1

Did you look at methods of classic BAdI ME_PROCESS_PO_CUST for standard screen (and ME_GUI_PO_CUST for customer screens)

Show 1 Share
10 |10000 characters needed characters left characters exceeded

HI Raymod,

Thanks for your the response,Tried with BAdI ME_PROCESS_PO_CUST, kept break point in all methods m none of them got triggered, I am still working out with 'DYNP_VALUES_UPDATE' and 'DYNP_UPDATE_FIELDS functions, please let me know if anyone has these function module to update the field values on the screens.

Regards

J Prakash Rao

0
David Antonio Arroyo León Jul 19, 2017 at 08:34 PM
0

Hi Prakash,

Perhaps the problem is due to the scope of the variable defined for the "Control Code" field, remember that every tab is handle by PBO and PAI events. Now, you are trying to assign any value even if user does not go to that Particular tab. Check the BADI suggested by Raymond and try to assign any value to "Control Code" field in Debbuging and compare is your field is displaying the value.

Regards,

Share
10 |10000 characters needed characters left characters exceeded
Prakash ABAP Jul 25, 2017 at 01:36 PM
0

Thanks for your the response,Tried with BAdI ME_PROCESS_PO_CUST, kept break point in all methods m none of them got triggered, I am still working out with 'DYNP_VALUES_UPDATE' and 'DYNP_UPDATE_FIELDS functions, please let me know if anyone has these function module to update the field values on the screens.

Regards

J Prakash Rao

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Did you activate a dummy implementation of the BAdI with a dummy implementing class to be able to reach any break-point, as it is not possible that if_ex_me_process_po_cust~process_account wont trigger when you input the account number?

0