cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Control record?

Former Member
0 Kudos

Hi all,

iam doing File to idoc Senario and i need to map control record,How to map the control record.

regards,

phani

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

1.Set check the Apply record values form payload check box in the receiver IDoc adapter.

2. Map the fields SNDPRN, RECPRN in the Idoc to a default constant value in the message mapping.

Regards

Santhosh

Former Member
0 Kudos

Hi Santosh,

If it is IDOC To FIle Scenario Means How to Fill the Control Record in IDOC

Regards

Vamsi

santhosh_kumarv
Active Contributor
0 Kudos

Hi vamsi,

In Idoc to file... I dont think we need to fill the Control records..

We are actually going to convert the IDoc to a flat file...

Regards

Santhosh

Former Member
0 Kudos

Hi Santhosh,

Then What is the Significance of Control Record in IDOC ????

Regards

Vamsi

santhosh_kumarv
Active Contributor
0 Kudos

it comes in to picture when u are doing a file to Idoc scenario...

Regards

santhosh

Former Member
0 Kudos

Hi,

Is it Necessary to fill the Control Record ??? Whether it is a File--IDOC or IDOC --File

If Yes Why ???

Regards

Vamsi

Former Member
0 Kudos

hi all,

please clarify the dought.............

regards,

phani

ravi_raman2
Active Contributor
0 Kudos

The basis for this is an understanding of what is in a idoc ...

Control Records, Data Records, and Status

Control records determine..who its coming from and who it will go to from the parameters

SNDPRN, SNDPRT, RCVPRT, RCVPRN, a partner profile and a port number togetheir add up to the location for delivery...

Hope that helps..

Regards

Ravi Raman

Former Member
0 Kudos

Hi Kumar / Vamsee,

Control record basically hold information related to sender partner details and receiver partner details.

In case of Idoc to File Scenario as far as XI is consider scenarios would be R/3 -->XI --> 3rd Party / Any system.

Here XI is receiver for R/3 system. So you need to create a partner profile in R/3 with sender port / rfc destination to XI where Idoc would be send ( Not posted ).

In case of File to Idoc scenario ....3rd Party /Any system ->XI->R/3 system. Again you need to maintain receiver partner profile in order to post idoc in R/3 system. Hence you need to populate control record.

Hope this will clear.

Nilesh

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Have a look at this.

Regards,

Akshay Jamgaonkar.

    • Reward points if find useful.

udo_martens
Active Contributor
0 Kudos

Hi Venkatraman,

if you want to control sender (and receiver) of an IDoc message by mapping, check "Take sender from payload" (and "Take receiver from payload") on. Map the fields of EDI_DC40:

for the sender:

SNDPRN (Sender Partner Name)

SNDPRT (Sender Partner Type)

and the receiver:

RCVPRN (Receiver Partner Name)

RCVPRT (Receiver Partner Type)

RCVPOR (Receiver Port)

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm">Configuring the Receiver IDoc Adapter</a>

Regards,

Udo

Former Member
0 Kudos

No need to map control record. XI will populate it automatically.

Regards

sushil

Former Member
0 Kudos

Hey

have a look at the following

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

Thanx

Aamir