cancel
Showing results for 
Search instead for 
Did you mean: 

File to XI scenarion without mapping

former_member393841
Participant
0 Kudos

HI All,

MY REQUIREMENT:

1. Need to read the data from FILE .

2. pass the values to a BAPI structure in ECC Without any mapping

QUESTIONS:

1. Is it possible to complete the scenario without mapping in XI.

2. If possible how.

Could any one help me how to achieve this

Than you,

Harsha P

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member393841
Participant
0 Kudos

Can any one tell me how to achieve the following xI scenario.

SCENARIO

1. Need to read the data from FILE .

2. pass the values to a BAPI structure in ECC

3.No mapping should be used

Thanks in advance.

Harsha

Former Member
0 Kudos

My source data structure is same as BAPI.

We have created data types ,message types and Service interfaces for SENDER in ESR.

But our Issues.

1. Do we need to create Receiver Interface Objects.

If yes How (In our scenario receiver is BAPI)

import RFC under imported objects in esr

2. What are the configurations we need to do in ID for SENDER and RECEIVER.

coming to id:

create everything like

communication channels for sender as file and receiver as RFC.

create Agrrements for sender and receiver.

create Receiver determination and interface determination.

Edited by: bhavanisankar.solasu on Feb 21, 2012 4:17 PM

former_member393841
Participant
0 Kudos

Hi Bhavani Shankar,

Thank you very much for reply,

I want to create a pass though scenario :

I have a Source file which is the same structure of BAPI (in ECC).

My Actual Requirement is

Read a file-> get the values in a message -> pass the message to ECC -> map the values to a BAPI structure in ECC

There should be no Message Mapping done.

Thank you,

harsha

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Harsha,

first try our suggestion then let us know if you have an issue.

Regards,

Raj

former_member393841
Participant
0 Kudos

Hi Raj,

We had never developed this type of Scenario without mapping.

I m not understanding what you are trying to tell.

My request is to provide me any reference links or steps need to do .

thanks

Harsha.

rajasekhar_reddy14
Active Contributor
0 Kudos

Refer below blog.

Sender Interface: give some dummy name across all objects(name should be same in all objects)

Sender namespace:give some dummy name across all objects(name should be same in all objects)

Receiver interface: BAPI Name(import BAPI in to ESR )

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4383

Regards,

Raj

former_member393841
Participant
0 Kudos

Hi Raj,

We have developed the PI Scenario with no mapping and it is processed successfully.

ADAPTERS:

SENDER : File.

RECIEVER : RFC

The process is executing successfully.But my document is not posting in sap .

Could you please suggest how to check whether my BAPI is called or not from ECC.

Thanks

harsha

rajasekhar_reddy14
Active Contributor
0 Kudos

Monitor your RFC receiver communication channel and see BAPI called or not,

Once FM called by using RFC channel then take help from ABAPer document posted to SAP or not, it not posted take help from ABAPer to dubug the function module.

PS: i assuiming that your sender system sending data in the form of XML whick is same as BAPI receiver structure.

Regards,

Raj

former_member184681
Active Contributor
0 Kudos

Hi,

It means that your XML File structure has to exactly match the input parameters of the BAPI, including parameter names and so on. Find some examples of XML data for calling BAPIs in my blog:

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28557

Just focus on the XML structure examples for BAPIs, do not worry about the rest (HTTP communication), as you will use receiver RFC adapter for communication.

Hope this helps,

Greg

former_member393841
Participant
0 Kudos

Hi Greg,

In my requirement there will be no mapping used.

Simply i need to fetch data from a file and need to pass that data to a BAPI which resides on ECC.So could you please

send any example scenarios or related links to our requirement.It would be help full to us.

Thanks

Harsha

former_member184681
Active Contributor
0 Kudos

Hi,

I did not suggest using any mapping Simply if you want to build a scenario without mapping, it is the source XML that has to exactly match the receiver BAPI structure. Which is why I provided my blog for an example of such XML structure for calling BAPI.

In other words, you cannot use a scenario without mapping, if your source XML file does not make a perfect match to the BAPI structures. It can't be ANY XML file.

Hope this helps,

Greg

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Harsha,

first confirm your source data structure is same as BAPI? if yes then create ID objects and use dummy name for Source serivce interface /name space.

if sender data not smilar to BAPI then you have to use mapping(ESR objects).

Regards,

Raj

former_member393841
Participant
0 Kudos

Hi Raj,

My source data structure is same as BAPI.

We have created data types ,message types and Service interfaces for SENDER in ESR.

But our Issues.

1. Do we need to create Receiver Interface Objects.

If yes How (In our scenario receiver is BAPI)

2. What are the configurations we need to do in ID for SENDER and RECEIVER.

3. What we need to do in ECC side.

Thanks,

Harsha P

rajasekhar_reddy14
Active Contributor
0 Kudos

if your source system genarating BAPI xml file format then yes it is possible.

(Source XML should match with BAPI xml)

former_member393841
Participant
0 Kudos

Thank you very much four quick suggestions,

Could you please elaborate it so that it would be more helpful to me to understand.

what is source system generating BAPI XML file?

Any related links

thanks in advance

Edited by: harsha_9222 on Feb 21, 2012 8:14 AM

Former Member
0 Kudos

Hi Harsha,

If the source file structure and BAPI structure are same, then no mapping is required.

Create all the configuration objects as usual. In Interface Determination, leave the mapping name blank.

Regards,

Geetha

former_member393841
Participant
0 Kudos

Hi Geetha,

Thank you very much for your suggestions.

Could you please provide related links or step by step procedure scenarios.

Thanks in advance.