2008 May 07 11:02 AM
hi all,
I have a requirement where i have to add a field on screen of a standard transaction with effect on other fields.
Ex : In T-code ME21N, if i want to put a check box and if the check box is checked then an action should take place in runtime.
Or a field where document no can be inputed.
And there also a requirement where if the 'item category' or the column 'I' is filled as D,then it should give a pop-up.
which badi should i use for this case.
regards,
Johnson
hi all,
I have a requirement where i have to add a field on screen of a standard transaction with effect on other fields.
Ex : In T-code ME21N, if i want to put a check box and if the check box is checked then an action should take place in runtime.
Or a field where document no can be inputed.
And there also a requirement where if the 'item category' or the column 'I' is filled as D,then it should give a pop-up.
which badi should i use for this case.
regards,
Johnson
2008 May 07 11:24 AM
HI,
req1 :
Using screen exit u can add field in PO header or Item.
screen exit name : *MM06E005*
implement this screen exit u can first problem can solve.
req2.
Using BADI (ME_PROCESS_PO_CUST) u can validate item category fields after user input .
2008 May 07 11:37 AM
Thanks for the quick response,
I am not familiar with screen exits,
Can u help me out,
plz do not forward me links.
regards ,
johnson
2008 May 07 12:27 PM
hi,
Screen exit is not that though. its like normal exits only.
first u have to add your own fields into sturcture which is given in screen exit.
this exit will contain the more function exits for copy data into screen fields and vice versa.
it will have called & call screens. with screen name and number.
with name & number u have to create screen using SE51.
it will call automatically .
write u code in function exits.
thanks
Gupta
2008 May 07 12:32 PM
Hi,
Here is the procedure to implement screen exit.
Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screens flow logic.
the tcode is cmod...
1.From the main screen of the Project management transaction, proceed as follows:
Select Enhancement components and choose Change.
2.Choose Edit component.
3.Choose the screen exit and double click on it
4.Create your subscreen using the Screen Painter.
5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
6.Choose the PAI and PBO to write down the logic.
7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
8.Go to the transaction ME22 to view the customer defined screen exit.
9.Enter the purchase order number and press Enter.
10.Go to the menu header --> Details.
11.Purchase number is visible on the standard screen
Please check if the thread given below would be of any help.
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
https://forums.sdn.sap.com/click.jspa?searchID=10843961&messageID=4640690
Regards
Kiran Sure