2008 Mar 15 11:19 AM
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.
2008 Mar 15 12:31 PM
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
2008 Mar 15 12:31 PM
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
2008 Mar 17 6:47 AM
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..,
2008 Mar 18 8:17 AM
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
2009 Apr 23 5:41 PM
Hi thanks for ur replies.. we have carried our work with the user exits.
it worked pretty well.
Thanks
Mahadev