cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc - Overwrite SNDPRN only

Former Member
0 Kudos

Hi,

I have an Inbound EDI Scenario where it maps to multiple SNDPRN's. Is there a magical way to change this field only @ mapping time even if I have the "Apply Control Record Values from Payload" indicator set?

Rgds

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You will have to set it in mapping, in mapping give whatever value you want to set to SNDPRN

In IDoc adapter, set both check boxes Apply Control Record Values from Payload and Take sender from payload

Answers (6)

Answers (6)

Former Member
0 Kudos

thanks - working

Former Member
0 Kudos

Should it be possible without "Apply Control Record Values from Payload" ? I did try but it's still not working. Am I doing something wrong?

Rgds,

Former Member
0 Kudos

I dont think that is possible. Whatever you set in the mapping, it will be replaced if you set the "Apply Control Record Values from Payload" indicator.

Former Member
0 Kudos

So with or without the "Use control record values from payload" flag, SNDPRN cannot be updated right?

Former Member
0 Kudos

Hey

When you give use control record from payload,the control segment will be picked from message mapping,hence whatever value you give in mapping for SNDPRN you will get that value in IDOC

Thanx

Aamir

Former Member
0 Kudos

Did try but the system keep updating it with what ever I have setup under the party identifier for this EDI Partner.

Rgds

Former Member
0 Kudos

Please see OSS note https://service.sap.com/sap/support/notes/728792

If you have set the "Use control record values from payload" indicator in the directory in the IDoc channel, the fields listed below are filled with the values from the IDoc-XML with which you call the outbound adapter.

MESCOD: taken from the IDOC-XML payload

MESCFT: taken from the IDOC-XML payload

TEST: taken from the IDOC-XML payload

EXPRSS: taken from the IDOC-XML payload

STD: taken from the IDOC-XML payload

STDVRS: taken from the IDOC-XML payload

STDMES: taken from the IDOC-XML payload

SNDSAD: taken from the IDOC-XML payload

SNDLAD: taken from the IDOC-XML payload

RCVSAD: taken from the IDOC-XML payload

RCVLAD: taken from the IDOC-XML payload

REFINT: taken from the IDOC-XML payload

REFGRP: taken from the IDOC-XML payload

REFMES: taken from the IDOC-XML payload

STATUS: taken from the IDOC-XML payload

DIRECT: taken from the IDOC-XML payload

OUTMOD: taken from the IDOC-XML payload

CREDAT: taken from the IDOC-XML payload

CRETIM: taken from the IDOC-XML payload

You can control these fields with a mapping maintained in the repository.

Former Member
0 Kudos

You could try using a variable or set a constant in the mapping...