cancel
Showing results for 
Search instead for 
Did you mean: 

Header Mapping in Receiver agreement.?

Former Member
0 Kudos

Hi All,

When we do B2B scenarios using AS2 adapters.

1. Is it mandatory to use Header Mapping in Receiver agreement.?

2. If yes, is it enough if we provide Party Names? or we need to provide Business system or Business service names as well?

3. What is the purpose of this Header Mapping?

Kindly share your answers.

Regards

Deepthi.

Edited by: deepthi reddy on Jan 31, 2008 6:49 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member859847
Active Contributor
0 Kudos

Hi Deepthi,

1.Is it mandotory to use heander mapping in receiver aggrement.

no, it is not mandotory.

2. we need to provide business service or usiness system names?

suppose your doing file to idoc scenatio,your using business services for both sender and reciver.

in file to idoc, reciver is SAP R/3, it has logical system.

logical systems are assighned to business system not service.

if you execute the scenario with business service, u got error as unable to conver ALE logical system.

to avoid this, we have to assgin your business sytem in header mapping.

3. what is the importance of header mapping?

if u mention header mapping,

xi will copy the properties of services u mentioned in the header mapping to actual services.

i hope you understood the concept of header mapping.

if you any queries, let us know.

regards

mahesh.

Former Member
0 Kudos

Hi Mahesh,

>> suppose your doing file to idoc scenatio,your using business services for both sender and reciver.

>> in file to idoc, reciver is SAP R/3, it has logical system.

>> logical systems are assighned to business system not service.

>> if you execute the scenario with business service, u got error as unable to conver ALE logical system.

>> to avoid this, we have to assgin your business sytem in header mapping.

For File to Idoc scenario, I will be using

Party & Business Service for the File side

Party & Business system for Idoc side.

I need to use Header mapping for this kind of scenario.?

Or

I need to use compulsarly Business service when i use Party ?? or i can use Business system wit party as well??

Waiting for your reply.

-Deepthi.

Former Member
0 Kudos

Hi Deepthi,

If ur scenario is File to IDOC then u do not require party for both the sender and reciver.

u can do it without party, For file u will go for Business service and for IDOC u need to create Business system in SLD import it in ID and then use that for IDOC configuration U can use header mapping as well.

For more information of File to IDOC configuration refer the stpe by step process.

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

Thnx

Chirag

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Deepthi,

1) Is it mandatory to use Header Mapping in Receiver agreement?

https://www.sdn.sap.com/irj/sdn/forums

2)What is the purpose of this Header Mapping?

The header mapping is important when configuring cross- company processes in which the business partners want to replace the names of their internal business systems with neutral representatives (party, business service).

Example

if you are doing a file to IDoc scenario, now while mapping the data to IDoc in mapping if you map the IDoc segment called EDI_DC40 with all required data then you have to user the Header mapping in the agreement so that whatever data you have mapped will be picked from payload. And if you do not use this header mapping then then XI will take care of it.

You can do the following in the header mapping:

● Specify fixed values

● Define that the conversion of the field values is to be determined dynamically from the message payload

To specify the header mapping for an address field, select the check box for the field name (for example, sender service) and choose Display List of Permitted Values (This graphic is explained in the accompanying text).

There are different editors for specifying the party and service:

● Use the party editor to specify a party

● Use the service editor to specify a service

Caution

Header mappings are only supported by the following receiver adapters at runtime:

IDoc Adapter

Plain HTTP adapter

RNIF Adapter 2.0

RNIF Adapter 1.1

CIDX Adapter

3)If yes, is it enough if we provide Party Names? or we need to provide Business system or Business service names as well?

http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm

Regards

Azeez khan.

Former Member
0 Kudos

Hi Deepthi,

B2B scenario is used when data is not flowing with an organization network. the data is flowing over WAN or mailbox so its called a B2B scearios. Now for B2B usally data which flowing is in the form of EDFACT,INHOUSE,TRADACOM,EANCOM format basically its an EDI file and it is not possible in XI to convert the EDI files uisng the simple adpters it required the third party adapters like Seeburger which does the conversion of EDI file to XML and XML-EDI.

jus refer the below help for B2B help:

http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm

Header mappping:

1. Is it mandatory to use Header Mapping in Receiver agreement.?

A) Go for IDOC scenarios:

2. If yes, is it enough if we provide Party Names? or we need to provide Business system or Business service names as well?

A) http://help.sap.com/saphelp_nw04/helpdata/en/b2/1f17419b24f06fe10000000a1550b0/frameset.htm

3. What is the purpose of this Header Mapping?

A) Use

The header mapping is made available in the receiver agreement. It is required in the IDoc adapter, for example, because the IDoc adapter does not know any communication parties.

After header mapping, the adapter must also convert the address to an external protocol.

Thnx

Chirag

Former Member
0 Kudos

Hi chirag & all,

Thanks a lot for your replys.

I think you have done B2B scenarios with AS2 adapter.

1. Did you used the header mapping in receiver agreement for your interfaces?

2. Did you use the party and business service for both sender and receiver partners??

or Do you used only party&service for your partner and Business system(W/o party) for your client??

Iam worrying whether i need to use both party&service for my client as well when we do B2B scenarios.

Kindly give ur inputs.

Regards

Deepthi.

Former Member
0 Kudos

Hi Deepthi,

Did you used the header mapping in receiver agreement for your interfaces?

I have not used header mapping but instead of that i have used the value mapping in graphical mapping and map that to the SDNPRT field of control record of IDOC which will help in identifying the exact scenario to be used in configuration side.

As far as I know I have used the party for the source system not for the SAP system I have used only Business system without party which is created in SLD.

Thnx

Chirag

Former Member
0 Kudos

Thanks Chirag.

As far as I know I have used the party for the source system not for the SAP system I have used only Business system without party which is created in SLD.

This answer is still worrying me... im in confusion whether i need to use party for my clinet(R/3 system) or not..

Can you pls confirm for the interfaces which you have done using AS2 adapter had make any impact if you do not use Party for the R/3 system??

Waiting for your reply.

Regards

Deepthi.

Former Member
0 Kudos

Hi,

refer this blog this should help;

/people/james.guanzon/blog/2006/09/09/how-to-support-industry-standards-in-xi-part-iii-of-iii--config-test

Regards,

Nithiyanandam

prateek
Active Contributor
0 Kudos

1. No.

2. When u do header mapping, the choice of selection depends upon the business requirement

3. I think this should be the first question

Header mapping is used (usually in B2B scenario) when the business partners want to replace the names of their internal business systems (used within the organization) with some other name understandable to the outside world

See this

http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/content.htm

Regards,

Prateek

Former Member
0 Kudos

Thanks Prateek for your reply.

Iam doing both outbound and inbound B2B scenarios for my client.

First time working with partys.. So many questions running in my mind.

I will be using the following steps.

Idoc to file:

For my R/3 system:

W/o party -->Business System :

For Partner system :

I will be using both Party and business Service.

1. Is it enough or Is business system is enough or is it mandatory to use Party Name for my client as well?

2.

//Header mapping is used (usually in B2B scenario) when the business partners want to replace the names of their internal business systems (used within the organization) with some other name understandable to the outside world //

We are using the AS2ID's in party configuration for partner system.

These AS2ID's will replace the partys names? Will these values will appear anywhere in AS2 message?

Waiting for your reply.

btw, Iam browsing many threads regarding this header mapping ,you are the main active participant in those threads

Regards

Deepthi.

prateek
Active Contributor
0 Kudos

1. Party is not required at the sender side. U can use the R3 business systems as it is. The receiver side can use the business system or the business service

I realized, there is a catch

Header mappings are only supported by the following receiver adapters at runtime:

- IDoc Adapter

- Plain HTTP adapter

- RNIF Adapter 2.0

- RNIF Adapter 1.1

- CIDX Adapter

Regards,

Prateek