Skip to Content

Please help - critical issue - graphical mapping issue in displaying empty XML field

Hi,

Scenario:

Address node has 6-7 fields which has customer details. Default we have 4 partner functions that is coming in IDOC that we map it to target fields. In some scenario, there are additional partner functions will be present in IDOC, where the address for them is fetched from separate node YLKNA1M. So our mapping for address1 & address 2 fields in address node be like:

If YLKNA1M node is there, then it is treated as additional partner function and under that node STRAS_HOUSN field is passed to it, otherwise STRAS_HOUSN in YLF_CIN node (default partner function) is passed.

Issue:

When the STRAS_HOUSN field is not available in YLKNA1M, the address1 field is disappearing. Not showing in output XML.

I want an empty tag in that place if value not present in IDOC. I tried placing map with defualt at various places in that mapping. Still address1 is not showing with empty field (it should show like <Address1></Address1>).

What can be done for this ?

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Jun 30 at 10:27 AM

    My 2c

    1. Check the content of that variable "Address1". You might also want to post the (graphical) mapping from that to this thread
    2. Intertwine a "Map with Default" between "STRAS_HOUSN" and the If-then
    3. Check "Keep supress values" of If then else

    Cheers

    Jens

    Add comment
    10|10000 characters needed characters exceeded