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

OREDRS IDoc User exit

Hi Experts,

we have a the below requirement for creating sales order using ORDERS05 IDoc

If   ../E1EDP01/E1EDP19/QUALF = 002
        If u2026/E1EDP01/E1EDP19/IDTNR =  'DEL-0123456'
        Then 
          Drop the respective.../E1EDP01 segment

Please let me know how to achieve this in the user exit(SAP enhancement VEDA0001).

Thanks in advance,

MK

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2009 at 10:37 AM

    Hi,

    go to t.code cmod create the project and add the enhancement and write the code in that.

    Atul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2009 at 04:58 AM

    Hello

    That's exactly what Atul suggested.

    Create a CMOD project and assign component VEDA0001 to it. Select a suitable component (e.g. EXIT_SAPLVEDA_001 or EXIT_SAPLVEDA_002) and then implement your logic in the user-exit.

    For more details about how to organize user-exits you have a look at:

    [Dangerous Liaisons in User-Exits and How to Avoid Them|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11882] [original link is broken] [original link is broken] [original link is broken];

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks All,

      Can you please suggest on -

      Which include to use for the above implementation.

      How to delete the complete E1EDP01 segment (with sub-segments) from the IDoc, if the E1EDP19-MATNR is equal to DELETE material number.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2009 at 03:37 PM

    hi experts,

    I need to enhance FM u201CIDOC_INPUT_ORDERSu201D. So I had created the new project ZDEV_VEDA via tcode CMOD and under this new project, I assigned the VEDA0001 enhancement. I wanted to enhance Function exit EXIT_SAPLVEDA_001 (INCLUDE ZXVEDU03). But I had encountered this message:

    Program names ZX... are reserved for includes of exit function groups. Message no. DS027

    Any ideas what is this about? Appreciate so much.

    TQ.

    Add a comment
    10|10000 characters needed characters exceeded

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.