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: 

Badi for ME21n to display valuation type in valuation field field

can any one give me the solution and code and where write i got one badi me_gui_po_cust... i dont no very much about oops.

i have to display valuation type in valuation field.user will give material quantity storage location date ....

and when execute that window in next window valuation type should come automatically in that field.i have created ztable and maintained valuation type in that.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

The BadI ME_GUI_PO_CUST is provided to handle customer's own screen in PO maintenance, for more actions on the PO use BAdI ME_PROCESS_PO_CUST.

  • ME_GUI_PO_CUST -> create a dynpro (e.g. in a function group) with the BAdI you use method SUBSCRIBE to use the dynpro and transport* methods to pass values from/to application to the function group
  • ME_PROCESS_PO_CUST -> You can use for example PROCESS_ITEM to change some values of the PO Item (using the SET_DATA method of the received reference)

Your first step should be reading BAdI documentation and looking at the example provided classes CL_EXM_IM_ME_GUI_PO_CUST and CL_EXM_IM_ME_PROCESS_PO_CUST.