Skip to Content

In the File-to-Idoc Scenario, Idoc segment field contains BLANK value in the target system

In the File-to-Idoc Scenario, the idoc is creating correctly in the target system but the idoc segment fields have BLANK value only for the fields which are mapped to source fields.

If the idoc segment field is mapped with constant, then it contains constant value in the target system. But if the idoc segment field is mapped with source field, then it contains only BLANK value.

Message Mapping:

The idoc is creating correctly in the Message Mapping without any issue.

Send Test Message:

Also, idocs are creating without any issue using Send Test Message via Payload

End-to-End testing:

But, in the end-to-end testing, the idocs are creating with BLANK value in the target system for the fields which are mapped to source fields.

Source structure :

<field1>

<field2>

<field2>

Target structure :

E1EDKA1 segment:

--> SEGMENT

--> PARVW

--> PARTN

Mapping :

E1EDKA1 segment:

--> SEGMENT = constant value as 1

--> PARVW = constant value as 'LF'

--> PARTN = Source field <field1> mapped to this field

O/P:

E1EDKA1 segment:

--> SEGMENT = 1

--> PARVW = 'LF'

--> PARTN = <BLANK>

Kindly give your help to fix this issue.

Please let me know if you need more details.

Many Thanks

MP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 10 at 07:12 AM

    Hi,

    Is your source message has multiple node with field1 name? Is source node contain value or not?

    Can you provide screen shot of msg. mapping for more clarity?

    Regards,

    Anoop Rai

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10 at 07:08 AM

    You may use Graphical variable and useoneasmany if you want to map the same source field value to multiple target fields.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Manoj,

      the source field is not mapped to multiple target field.

      For example,

      Date field from source -> mapped to target field -> E1EDK03-DATUM : The source value is not updated in the target field

      001 -> constant value mapped to target field -> E1EdK03-IDDAT - The source (constant) value is updated in the target field correctly.


      Many Thanks

      MP

  • Apr 10 at 10:10 AM

    Hi MP,

    This is strange, can you confirm when you perform the end to end testing, the sender payload consists of source values which are mapped to the receiver segment fields?

    Regards

    Sanjali

    Add comment
    10|10000 characters needed characters exceeded