cancel
Showing results for 
Search instead for 
Did you mean: 

interface of xi with bapi

Former Member
0 Kudos

Hi all

we are trying to populate the data in a table in bapi from sap xi.

But in multiple items only last item is getting picked and it is ovelapping initial data.

Its a urgent project requirment .please answer asap.

All good answers will be rewarded.

with regards

mandeep

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Mandeep,

1. As you are using a BAPI to make a call, you will need to use <i>Commit Control for Individual BAPI Calls</i> in the Advnced Section of the RFC adapter to make sude COMMIT is done from the BAPI call.

More on this link,

http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm

2. Do you need to trigger the BAPI for every RECORD or will a single call contain all the multiple Records?

If you requirement is that for every Record of your Source you need to call a BAPI, you will need a multimapping. More in this blog,

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards

Bhavesh

Answers (5)

Answers (5)

Former Member
0 Kudos

problem came due to wrong data.

Shabarish_Nair
Active Contributor
0 Kudos

check if the item is of occurance max: unbounded.

prabhu_s2
Active Contributor
0 Kudos

also check for the cardinality mapping of the source to target....

Former Member
0 Kudos

Hi Mandeep,

Can you please explain in slightly more detail how you are doing your this thing of getting the data from SAP XI in BAPI.

Thanks,

Rajeev Gupta

prabhu_s2
Active Contributor
0 Kudos

can u post the strucure of the source and target>?

Former Member
0 Kudos

after mapping the request that is being send to bapi is containing two nodes for item. But that is not getting reflected in the Bapi. Can it be a problem with XI or is it some thing to do with bapi

with regards

mandeep

Former Member
0 Kudos

Hi Mandeep,

Please check your BAPI by invoking it in some other ABAP program by giving multiple inputs and see if your BAPI works fine.

Thanks,

Rajeev Gupta

prabhu_s2
Active Contributor
0 Kudos

okie when u test the mapping using the payload are u able to see the two lineitems in target?

prabhu_s2
Active Contributor
0 Kudos

any updates on this?