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: 

screen exit in ME21n

Former Member
0 Kudos
261

Hi,

I have a enhancement( screen exit ) to do... Has any one worked on this enhancement.. so that they can guide me...

This enhancement to be carried out in transaction ME21N and validated against the Purchase Organization (SG01). Singapore will be using this purchase organization alone. You can find this Purchasing Organization in header Org. Data Tab.

The field name to be ‘Mode of Transport’ and to have fields Courier, Air, Sea, Land, & Local Transport. These fields to be displayed as dropdown for selection. This field has to be a mandatory field and to be validated while screen exit when they select ‘Check’ and ‘Save’.

The data captured to be stored in ‘Z’ table and additionally following field is to be captured for mapping.

 PO Number

This field should be available for amendment in transaction ME22N, displayed (greyed) in ME23N and again displayed in transaction ME29N.

The captured field in ‘Z’ to be inserted in PO forms in transportation mode field.

I have found the Badi 'ME_GUI_PO_CUST'.

but dont know what parameters to pass, the parameters that to be passed in SPRO Olme transaction.

If anyone has better solution pls do forward to me so that i can try my best.

Regards,

Mahadev shetty.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
195

Hi,

For better understanding see the badi documentation in se18 transaction.

SAP people gives the sample code. Check the implementation class:CL_EXM_IM_ME_GUI_PO_CUST in se24 tcode.

U can use the subscribe and MAP_DYNPRO_FIELDS methods for screen exit.

or In se18 transaction,

give the badi def goto/sample code/display.

If it is helpful rewards points

Regards

Pratap.M

4 REPLIES 4

Former Member
0 Kudos
196

Hi,

For better understanding see the badi documentation in se18 transaction.

SAP people gives the sample code. Check the implementation class:CL_EXM_IM_ME_GUI_PO_CUST in se24 tcode.

U can use the subscribe and MAP_DYNPRO_FIELDS methods for screen exit.

or In se18 transaction,

give the badi def goto/sample code/display.

If it is helpful rewards points

Regards

Pratap.M

0 Kudos
195

Hi Pratap,

I already got the methods..

but i want to know how can i use this... suppose i am creating a zprogram or screen how to assign and where all shld i code etc details..

If possible can u pls provide me with an example if u have done with any..,

Former Member
0 Kudos
195

Hi All,

I have coded as per the sample code. I have implemented the methods SUBSCRIBE and MAP_DYNPRO_FIELDS for header items but I am not able to see Tab that i have created ..

In debugging i can see all the instances being created but not able to correlate where exactly iam doing wrong...In syntax check i dont have any errors too.....

Can anyone let me know if u have encountered any such issues...........

Regards,

Mahadev Shetty

Former Member
0 Kudos
195

Hi thanks for ur replies.. we have carried our work with the user exits.

it worked pretty well.

Thanks

Mahadev