09-29-2008 1:01 PM
Hi all,
i've to do an exit on fiel EKPO-LGORT bacause i've to not activate a Storage Location in TCode:
ME51N --> Create Purchase Requisition
(field MEREQ3211GRID-LGOBE)
ME52N --> Change Purchase requisition
(field MEREQ3211GRID-LGOBE)
ME21N --> Create Purchase Order
(field MEPO1211-LGOBE)
ME22N --> Change Purchase Order
(field MEPO1211-LGOBE)
I hope someone help me bacause i don't hane experience in EXIT!
Thanks,
Alex.
09-29-2008 1:11 PM
hi,
Steps for Creating Field exit is
They are 2 ways to create Field Exits.
1. The following are the steps for First procedure.(field exit)
Go to CMOD Tcode
On the same Screen, Go to Command Prompt and Type PRFB.
Go to Path Field exit -> Create
Type the Data Element for which you want to create Field Exit
Weu2019ll got o Function Module Screen (i.e., SE37)
Click on create button. Before this , Create a Function Group.
Enter the details.
Click on source code and write the logic u2026
At last write output = input.
Activate the Function module.
Go back(F3) 2 times.
Check the Data element and Click on Button Assign program/screen
Give the Programme name and Screen name.
Save itu2026.Field Exit is createdu2026u2026u2026
2. The following are the steps for the Second procedure(field_exit1)
Go to SE38 Tcode.
Type the Program name RSMODEPRF.
Click on F8. Type the Data Element.Clcik on F8.
Weu2019ll got o Function Module Screen (i.e., SE37)
Click on create button. Before this, Create a Function Group.
Enter the details.
Click on source code and write the logic u2026
At last write output = input.
Activate the Function module.
Go back (F3) 2 times.
Check the Data element and Click on Button Assign program/screen
Give the Programme name and Screen name.
Save itu2026. Field Exit is createdu2026u2026u2026
Regards,
deepthi.
09-29-2008 1:09 PM
Hi,
Is it a field exit that you are trying to implement?
If so run RSMODPRF via SE38.
Press execute at the data element selection screen.
Select - Field Exit --> Create from the menu.
Implement the logic you require in the function module it gives you.
Then assign the field exit to the programs and screens that you have mention via the same program RSMODPRF.
Regards,
Darren
09-29-2008 2:11 PM
Hi,
thanks for informations but i've to not activate only one Storage Location:
for example:
my Storage Location are
01 - London
02 - Rome
03 - New York
I've to not activate 02 - Rome
Thanks,
Alex
09-29-2008 1:11 PM
hi,
Steps for Creating Field exit is
They are 2 ways to create Field Exits.
1. The following are the steps for First procedure.(field exit)
Go to CMOD Tcode
On the same Screen, Go to Command Prompt and Type PRFB.
Go to Path Field exit -> Create
Type the Data Element for which you want to create Field Exit
Weu2019ll got o Function Module Screen (i.e., SE37)
Click on create button. Before this , Create a Function Group.
Enter the details.
Click on source code and write the logic u2026
At last write output = input.
Activate the Function module.
Go back(F3) 2 times.
Check the Data element and Click on Button Assign program/screen
Give the Programme name and Screen name.
Save itu2026.Field Exit is createdu2026u2026u2026
2. The following are the steps for the Second procedure(field_exit1)
Go to SE38 Tcode.
Type the Program name RSMODEPRF.
Click on F8. Type the Data Element.Clcik on F8.
Weu2019ll got o Function Module Screen (i.e., SE37)
Click on create button. Before this, Create a Function Group.
Enter the details.
Click on source code and write the logic u2026
At last write output = input.
Activate the Function module.
Go back (F3) 2 times.
Check the Data element and Click on Button Assign program/screen
Give the Programme name and Screen name.
Save itu2026. Field Exit is createdu2026u2026u2026
Regards,
deepthi.
09-29-2008 1:11 PM
hi,
use this badi.
ME_PROCESS_PO_CUST
PROCESS_ITEM
IF_PURCHASE_ORDER_ITEM_MM
GET_DATA.