Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exit ME22N

Former Member
0 Likes
699

Folks,

I am working on user exit for transaction ME22N.I have to make make small change in transaction.In the external detail tab of header as well as line item ,i need to fill Mode of transportation field.Means if mode of transportation is blank in header than i have to check line item and copy mode of transportation from line item and vice verse.For that i have checked numerous enhancements but none are good for me.I have checked "MM06E005" and all function exits there,but somehow i can not update header record as well line item record.Can anyone tell me if there is any solution for this.by the way it is related to IS-OIL.

On the same lines ,i got function module exit "OIJ_EXTDETS_CUSTOMER_EXIT'" ,but i can not find any enhancement for this that is strange .can anyone explain this?

CALL FUNCTION 'OIJ_EXTDETS_CUSTOMER_EXIT'
EXPORTING
i_field_name = v_fieldname
i_call_type = document_level
* I_SUPPRESS_PICK = ' '
* I_VALIDATE_ONLY = ' '
CHANGING
v_field_value = v_fieldvalue
v_oic_pipe = c_oic_pipe
EXCEPTIONS
OTHERS = 1.

Folks,

I am working on user exit for transaction ME22N.I have to make make small change in transaction.In the external detail tab of header as well as line item ,i need to fill Mode of transportation field.Means if mode of transportation is blank in header than i have to check line item and copy mode of transportation from line item and vice verse.For that i have checked numerous enhancements but none are good for me.I have checked "MM06E005" and all function exits there,but somehow i can not update header record as well line item record.Can anyone tell me if there is any solution for this.by the way it is related to IS-OIL.

On the same lines ,i got function module exit "OIJ_EXTDETS_CUSTOMER_EXIT'" ,but i can not find any enhancement for this that is strange .can anyone explain this?

CALL FUNCTION 'OIJ_EXTDETS_CUSTOMER_EXIT'
EXPORTING
i_field_name = v_fieldname
i_call_type = document_level
* I_SUPPRESS_PICK = ' '
* I_VALIDATE_ONLY = ' '
CHANGING
v_field_value = v_fieldvalue
v_oic_pipe = c_oic_pipe
EXCEPTIONS
OTHERS = 1.

4 REPLIES 4
Read only

Former Member
0 Likes
668

Hi,

try using the user exit include in function module EXIT_SAPLMEWP_002

Regards

Ajith Sivadasan

Read only

0 Likes
668

This user exit is not called in ME22N.

Read only

Former Member
0 Likes
668

hi Nutan,

For finding out the enhancement ... go to MODSAP table give the exit name in the member field ... taking the enhancement go to MODACT table to find if the enhancement is linked to any project ....

Regards,

Santosh

Read only

Former Member
0 Likes
668

Try BADI ME_PROCESS_PO_CUST.

Method PROCESS_ITEM to process item line, and PROCESS_HEADER to process header of Purchase order.

G@urav.