Skip to Content
avatar image
Former Member

Changes in Inbound IDoc segments done through User Exit does not get reflected in WE05/WE02.

Hi,

I'm using User Exit EXIT_SAPLV55K_004 to modify segments of Inbound Idoc of message type DESADV.
Modification is done to the internal table IDOC_DATA.
The problem is, this changes does not show up in WE05/WE02, even though IDoc is successful.

Am I missing something?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • What changes are you doing specifically? Post your code.

  • Former Member Jelena Perfiljeva

    Hi there,

    I'm allowed to post my code, but here are specifications of my changes:

    • Each inbound ASN idoc contains a segment called "E1EDL37". This segment contains a field named "EXIDV" (Pallet ID).
    • Now, there may be more than one "E1EDL37" segments and each will contain "EXIDV" which, often time, is same as previous segment.
    • I'm changing them as per business requirement so as to make them unique.

    FM IDOC_INPUT_DESADV1 is used to create these inbound IDocs. It it contains user exit EXIT_SAPLV55K_004 to accommodate any modifications to Idocs. This is where I'm adding my code.

    Thank you.

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 15, 2017 at 10:01 AM

    This may be too obvious but have you placed a breakpoint in your code yet and processed an example IDoc to confirm it is even triggered?

    Add comment
    10|10000 characters needed characters exceeded

    • Another option is to request the IDoc sender to send the valid values. The IDoc manipulation on the recipient side is usually used when it's either not feasible or too complicated for the sender to provide the exact information required. For example, if we get an EDI order from a customer, they send us their own part number and it's clearly on us to convert it into SAP material. But, based on the comment above, this is ASN with some kind of "pallet ID", so why there is duplicate data in the IDoc in the first place? Getting the right value from the source would solve all the issues here.

  • avatar image
    Former Member
    May 15, 2017 at 06:06 PM

    Hi

    the structure should not be changed except that you can populate the data. Can you let us know whether the structure is added in the extension.

    One more thing if the data is not populated at all then it won't show in WE02.

    Thanks,

    Prem.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi there,

      I'm not changing the structure. I'm just modifying the values by doing some calculations.

      And can you please elaborate what do you mean by "Adding the structure in the extension"?

      Thank you.