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

No Incompletion Log for Sales Order with net value as zero

Hi all,

There is an Inbound IDOC which creates a Sales Order.

When we check the IDOC, we find that it has got 4 line items (E1EDP01). However, for all the items except the third one (for example), the segment E1EDP05 is filled. In the segment E1EDP05 the field KRATE contains the corresponding net value for the respective line items.

Then when we check Sales Order which is created, we find that the third line item (for example) has the net value as zero. In this case, ideally there should have been an entry in the Incompletion Log. However, it does not happen so.

I suppose the issue is with the third line item in the IDOC for which the segment E1EDP05 is not present. I have debugged the corresponding FM is IDOC_INPUT_ORDERS, but was unable to find any clue.

Please let me know the reason for this.

Thanks and regards,

Anishur

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 17, 2009 at 06:35 PM

    In routine interpret_idoc_orders the item conditions are filled by calling

    WHEN 'E1EDP05'.
           MOVE IDOC_DATA-SDATA TO E1EDP05.
           PERFORM ZUORDNEN_ORDERS_E1EDP05.
    

    In case KRATE is empty no values are transferred to the order

        IF NOT E1EDP05-KRATE IS INITIAL.
          PERFORM IDOC_CUR_MOVE USING E1EDP05-KRATE XKOMV-CURRDEC
                                      XKOMV-KOEIN
                                      XKOMV-KBETR D_FLAG_P-PKON.
        ENDIF.
    

    If that is a valid scenario, you need to adjust your incompletion procedure in customizing to include the net value on item level so any missing value is reported.

    If this is not supposed to happen you might want to hook into one of the user exits in the idoc and in case KRATE is missing let the idoc fail.

    Hope that helps,

    Michael

    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.