Skip to Content
author's profile photo Former Member
Former Member

Extension of Idoc LOIPRO01 is not triggering from Transaction POIT

Hi,

I have a requirement wherein for process orders, all the information is present in the LOIPRO except batch number. So I have extended this Idoc with extension ZLOIPRO01 and have added a segment ZE1AFPOL under E1AFPOL segment.


I have added the extension in WE82(message type) and configured the extension in WE20(partner profile).

After that I have added the code in exit EXIT_SAPLLOI1_002 and created the project in CMOD and activated the code.


All the segments are coming when I am running POIT but my new segment is not appearing in WE02.

Also this particular exit is not triggering.

Am I missing something there?

Please suggest


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 12, 2014 at 09:02 AM

    FIrst of all in your generate idoc control record do you see extension..? Secondly please share your code...? Are you able to go into debugging

    nabheet

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Anil

      Few observation it looks like you are using wrong exit. Secondly the code which you have done is not correct. You will have to append your segment at an index next to E1AFPOL. Please note that E1AFPOL can have multiple line since its item informaiton.

      Can you please provide me the detail of the function module generating the IDOC. I was not able to find any detail by doing where used list on the mentioned exit in post 1 above

      Nabheet

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.