cancel
Showing results for 
Search instead for 
Did you mean: 

Message mapping changes

Former Member
0 Kudos

Hi All.

I created a message mapping from a custom message type towards MATMAS_BAPI01.

I disabled the EDI_DC40 field and in the idoc communication channel I disabled "Apply control record values from payload".

When I check the final idoc message created, I noticed that some EDI_DC40 parameters were wrong.

-


<SAP:TABNAM>EDI_DC40</SAP:TABNAM>

<SAP:MANDT>200</SAP:MANDT>

<SAP:DOCREL>640</SAP:DOCREL>

<SAP:DOCNUM>0000000000037246</SAP:DOCNUM>

<SAP:DIRECT>2</SAP:DIRECT>

<SAP:IDOCTYP>MATMAS_BAPI01</SAP:IDOCTYP>

<SAP:CIMTYP />

<SAP:MESTYP>MATMAS_BAPI</SAP:MESTYP>

<SAP:MESCOD />

<SAP:MESFCT />

<SAP:SNDPOR>SAPCX1</SAP:SNDPOR>

<SAP:SNDPRN>host01</SAP:SNDPRN>

<SAP:SNDPRT>LS</SAP:SNDPRT>

<SAP:SNDPFC />

<SAP:RCVPOR>CFDCLNT200</SAP:RCVPOR>

<SAP:RCVPRN>CFDCLNT200</SAP:RCVPRN>

<SAP:RCVPRT>LS</SAP:RCVPRT>

<SAP:RCVPFC />

<SAP:TEST />

<SAP:SERIAL />

<SAP:EXPRSS />

<SAP:STD />

<SAP:STDVRS />

<SAP:STATUS>03</SAP:STATUS>

<SAP:OUTMOD />

<SAP:SNDSAD />

<SAP:SNDLAD />

<SAP:RCVSAD />

<SAP:RCVLAD />

<SAP:STDMES />

<SAP:REFINT />

<SAP:REFGRP />

<SAP:REFMES />

<SAP:CREDAT>2005-09-12</SAP:CREDAT>

<SAP:CRETIM>23:21:31</SAP:CRETIM>

<SAP:ARCKEY>2FE85D8023D311DA9BDB000D56B9D8A6</SAP:ARCKEY> </SAP:IDocOutbound>

-


In concrete

<SAP:SNDPRN>host01</SAP:SNDPRN> had to be changed into <SAP:SNDPRN>hostXX</SAP:SNDPRN>. I thought the value host01 came from the sld (logical system name of the technical system attached to the business system), so I changed that towards hostXX.

<SAP:RCVPOR>CFDCLNT200</SAP:RCVPOR> had to be changed into <SAP:RCVPOR>SAPCDD</SAP:RCVPOR>. I thought this value came from the rfc destination in the xi sytem, so I created a new one called SAPCDD and configured it into the idoc adapter.

However, this change in the sld/XI system did not affect the generated idoc (no, I did not forget to activate ).

I decided to do some more drastic changes:

- enable EDI_DC40 field in the message mapping

- enable "Apply control record values from payload" in the idoc communication channel

I now hardcode the wanted values.

After activating the changes, still the same idoc is send towards the R/3 system.

Can anyone tell me what I am doing wrong.

Is it a caching problem or am I doing something wrong.

Kind regards

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi Geert,

take a look at my weblog:

/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified

it may answer some of your questions:)

Regards,

michal