10-10-2007 4:14 PM
I need to update ztable with PO Quanity for respective vendor material when purchase order is saved. Kindly let me know the user exit to be used.
Thanks
10-10-2007 4:27 PM
You can use enhancement MM06E005
FM EXIT_SAPMM06E_013 -> this FM will trigger when you click on save button at Purchase order transaction.
Thanks
Seshu
10-10-2007 4:27 PM
You can use enhancement MM06E005
FM EXIT_SAPMM06E_013 -> this FM will trigger when you click on save button at Purchase order transaction.
Thanks
Seshu
10-10-2007 4:39 PM
Seshu
When i double click on the include INCLUDE ZXM06U44 in the FM EXIT_SAPMM06E_013 to write my code i am getting the followin error. Where should i incorporate my logic in this FM ?
Program names ZX... are reserved for includes of exit function groups
You attempted to create a program name beginning with ZX but this name
range is reserved only for includes of exit function groups (function
groups containing only function exits).
Thanks
10-10-2007 4:48 PM
That is warning message and just hit enter ,now you will able to write the code
Thanks
Seshu
10-10-2007 4:56 PM
10-10-2007 5:11 PM
Shesu.
Could you help me to find where can i get the vendor, material and quantity in this user exit to update my ztable with corresponding values.
Thanks
10-10-2007 5:23 PM
Just look at table parameters :
XEKPO - You get material and quantity
I_EKKO ( Import ) -> here you get vendor number
Thanks
Seshu
10-10-2007 5:24 PM
10-16-2007 8:26 PM
Seshu
I am not getting any value in
XEKPO-MATNR and XEKPO-MENGE in the User Exit FM EXIT_SAPMM06E_013
when i save ME21N Transaction. But I have entered Material and Qty.
Kindly Help me.
Thanks
10-16-2007 8:36 PM
I have tested using ME21N(Creation mode) and ME22N ( Change Mode)
When you test the data using ME21N Transaction ->
You get values to XEKPO and not in YEKPO
When you test the data using ME22N Transaction ->
You get values both XEKPO and YEKPO
Looks like you are doing some mistake in user exit..,Check in debugging.
Thanks
Seshu
10-16-2007 8:51 PM
Seshu
I have set break point in FM EXIT_SAPMM06E_013 and checked
XEKPO-matnr is empty
YEKPO-matnr is empty
XEKPO-menge is 0.00
YEKPO-menge is 0.00
but i am getting my Values in FM EXIT_SAPMM06E_017
I_EKPO-matnr
I_EKPO-menge
I think i can use this.
Thanks