User exit for msg type ORDERS

Question: Hi Friends,

I am creating new segment <YMMSG01> for
SAP Ver : SAP Retail 4.7
msg type : ORDERS
Basic Type : ORDERS05.
Extension Name : YMMEX <created by me >
ABAP Release : 620
Extension of reff. segment : EIEDK01

Now i am facing problem while writing code to update data in this extension. I have inserted break points to trace the function exit but the system is not stopping anywhere, So I am not able to trace the accurate function where i can write code for inserting values.....

Looking for a early reply from u people

Regards
Kuldeep K. Joshi

Answer:
The following path could be followed.
Program – SAPLVEDA
- INCLUDE LDEVAF0C
- INCLUDE LVEDAF14
- CALL CUSTOMER_FUNCTION ‘009’
find an exit in '009' that is suitable to you.

Hope that helps.

Answer:
Hi,

Thanx for ur inputs, The right exit for Orders is
< EXIT_SAPLEINM_002 > and the include is INCLUDE ZXM06U02.


Thanx
Kuldeep.k.joshi@gmail.com

Answer:
The easiest way is to find the function module attached to the process code(in inbound processing) for the IDOC type.
The Function Module you are looking for is IDOC_INPUT_ORDRSP
Search for the text 'CALL CUSTOMER_FUNCTION ' in the above function module. The break points can be put to these exits and accordingly find the right exit where the piece of code needs to be written.
Copyright ?2007 - 2008 www.jt77.com