cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in File to R/3 data update

Former Member
0 Kudos

Hi,

My scenario is i will have flat file in one system let's assume it as 'A' and i want to update this data in my R/3 system let's assume it as 'B'. the flat file consists of employee data i need to update it in R/3.First i need to check whether that employee exists or not in R/3 if it is not there then i have to create otherwise i have to change the data. i have bapi's for creation and change mode. is it possible by using XI if yes can u suggest me how to achieve this. Can we update /Change the data in R/3 by using these bapi's

Regards,

Prem.S

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Prem,

Yah its possible.

Using Sender File Adapter(Content conversion) get data into XI.

Do RFC lookup in mapping and check if the employee already existing, set the flag y or n based on the result.

Then if y choose Mapping File to BAPI Change , if n choose Mapping File to BAPI Create.

Best regards,

raj.

Former Member
0 Kudos

Raj,

Do RFC lookup in mapping and check if the employee already existing, set the flag y or n based on the result

How to Do RFC lookup in mapping, can i have any document on this or else is there any scenario like this with screen shots . kindly help me.

Regards,

Prem.S

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Prem,

you can do that like described by Raj with a mapping lookup or alternativly, with BPM using a condition. You need

a Receive step

a Transformation step to fill RFC for checking

a Send step to check employees existence

a Condition branch yes or no

for each a Transformation to fill RFCs

for each Send steps

Regards,

Udo

Former Member
0 Kudos

Udo,

How can i achieve this by using BPM, is there any scenario earlier like this kindly send me if u have this sort of scenario with screen shots.

Regards,

Prem.S

prateek
Active Contributor
0 Kudos

<i>How to Do RFC lookup in mapping, can i have any document on this or else is there any scenario like this with screen shots . </i>

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1...

Regards,

Prateek

udo_martens
Active Contributor
0 Kudos

Hi Prem,

sorry, i cant provide you screen shots

Have a look to Arpiths weblog, it is quite similar: <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit Scenario using BPM --Starter Kit</a>

The online help for BPM is very good: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm">Integration Processes (ccBPM)</a>

Regards,

Udo

Former Member
0 Kudos

Prateek,

I have gone through the document but i didn't understand it properly, in my scenario how can i check whether an employee exists or not. kindly suggest. Kindly give me details of lookup in mapping for my scenario.

Regards,

Prem.S