cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the IDOC control header.... again!

Former Member
0 Kudos

Hi.

In the EDI_DC40, I would like to populate the ARCKEY field, but know it is not possible, since it's overwritten with the Message GUID (even though the "Apply Control Record Values from Payload" is checked). Are there anyway to force this field to take my mapped value?

Im looking for some sort of workaround!

Regards Peter

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi again.

Thanks for the replys so far (but turn off CAPS LOCK of next time... not very polite...)!

I knew that it wasn't possible to do this, the normal way, That was why I asked for a workaround.

The reason why I need to populate the ARCKEY, is because Im doing changes to an existing system, where alot of code is depending on the value populated in the ARCKEY field.

Regards Peter

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

I dont think this is possible. The online help clearly states that ,

+If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:

· MESCOD

· MESCFT

· TEST

· EXPRSS

· STD

· STDVRS

· STDMES

· SNDSAD

· SNDLAD

· RCVSAD

· RCVLAD

· REFINT

· REFGRP

· REFMES

· STATUS

· DIRECT

· OUTMOD

· CREDAT

· CRETIM

You can change the contents of the fields by using a mapping.+

You would need to look at someother filed to make the manipulation.

Regards,.

Bhavesh

STALANKI
Active Contributor
0 Kudos

DID U CHECK THIS /people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload

Former Member
0 Kudos

The ARCKEY it's always overwritten.

You can use other fields, for instance REFMES.

Regards,

Sandro