Skip to Content
avatar image
Former Member

INBOUND IDOC CODING

Hi

I want to know that suppose we want to populate a field of a standard segment in the INbound IDOC then what is the flow of the logic.

Also if we want to access the detail of another segment in a specific segment then how can we do coding for it.?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 26, 2006 at 05:17 AM

    Subash,

    If you want read IDOC data, you can use this functions ..

    IDOC_READ_COMPLETELY

    IDOC_COMPLETE_SEGMENT_READ

    IDOC_TYPE_COMPLETE_READ

    If you want to read manually you will have to read the same from EDID4 table, assign the SDATA field to a appropriate structure depending on the SEGMENT and then read the fields.

    Also, Why do you want to change the data in a inbound IDOC?

    regards,

    Ravi

    Note : Please mark the helpful answers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Subash,

      For processing purposes I guess you have the data. So, what is the point in updating a IDOC which has already come into the system.

      Just use the data and update the application with whatever logic you have. If you update the IDOC, there is no sanctity between the IDOC send from the source system to the IDOC recieved in the target system.

      regards,

      Ravi

      Note : Please mark all the helpful answers