‎2009 Feb 18 12:05 PM
I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
I also need a similar exit for adding a filed at item level.
Thanks in advance
Martin
‎2009 Feb 18 12:15 PM
Hi,
You can add custom fields in a separate tab in header using the below 2 BADIs.
1. ME_GUI_PO_CUST
2. ME_PROCESS_PO_CUST
Regards,
Aswin.
‎2009 Feb 19 6:34 AM
Hi Aswin
Would like to use ME_PROCESS_PO_CUST. But because I actually need to add the field on the screen, I have looked on the 'subscreens' tab and there is nothing. Do I add my own subscreen or what.
‎2009 Feb 19 6:59 AM
Hello,
while creating the screen u need select the subscreen option only...
thank u,
santhosh
‎2009 Feb 18 1:26 PM
Hello,
1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
please check it for VA02
SPRO u2013 SAP Reference IMG --- Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
1)Screen group description
zs creating badi --- (save)
click on (label tab pages) u2013 new entries
number u2013 10 , function code u2013 zs10 , description u2013 func ---(save) u2013(back)
2)select (FM_CUSTOMER_ADD) u2013 copy
Implementation name u2013 ZAS
(desc u2013 impl for cust) u2013 (save)
interfaceu2014(check_add_on_active) double click on it
3)the above screen appear -- write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
-- (activate) u2013 (back)
Business adds in customer sub screens
4)select (FM_CUSTOMER_ADD) u2013 copy
Implementation name u2013 ZAS1
(description -- cust) u2013 in attribute u2013 (give screen group name)
5)go to interfaces (GET_TAXI_SCREEN) double click on it
(save) --- (activate)
6)(SAVE) --
Goto SE38 -- CREATE PROGRAM WITH NAME (ZQW) type module pool
Goto SE51 -- Prog : ZQW
Screen : 200 (Create)
Goto layout u2013 design the screen
7)save u2013 activate
then goto transaction : va02
For User Exit's
goto to tcode->status->program name->double click on that,
then goto to-> attribute take the package name and
Goto SMOD tcode ->Utilities->give the package name and F8
then a list of exits will display for that tcode as well as that package.
u can check the table MODSAP
u can check the table MODACT
For BADI's,
1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
2)Goto to tcode->status->program name->double click on that program will display's
then press crtl+F then cl_exithandler
Thank u ,
santhosh
‎2009 Feb 18 1:40 PM
Hi,
Try this BADI ME_GUI_PO_CUST, it can be used for both Header and Item levels,
Just go through the BADI documentation, it also provides example.
Regards
Bala Krishna