Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate a screen field in ME23N

former_member477101
Participant
0 Kudos

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.

5 REPLIES 5

raymond_giuseppi
Active Contributor

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

0 Kudos

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

former_member235395
Contributor
0 Kudos

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,

former_member477101
Participant
0 Kudos

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 Kudos

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?