Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Lossing data in call bapi

Former Member
0 Likes
461

Hi gurus, we have a problem when from the middelwere Biztalk call to a RFC BAPI with a xml file.

Inside the bapi we can see the right number of records, but without information.

Has anybody a idea over this iuse.

Thanks.

Alfonso

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Hello Alfonso,

I do have an idea. You have to check by yourself if it is an appreciable one.

My first problem is: I don't know what BAPI is causing your problem .....

Generally spoken, BAPI's do have similar structures. The IMPORTING parameters consist of something like a header structure, a structure for the field-values and an index structure for all the field-values (this structure is used for consistency checks). Here can be the problem: When your transaction which you want to simulate by using your BAPI does have additional customer fields then the population of these customer fields can only be accomplishes by using two additional structures (one for values and one for indexes). When those two structures are missing in the standard BAPI the you have to use another method to achieve your needed data transfer.

Good luck,

Heinz

2 REPLIES 2
Read only

Former Member
0 Likes
418

Hello Alfonso,

I do have an idea. You have to check by yourself if it is an appreciable one.

My first problem is: I don't know what BAPI is causing your problem .....

Generally spoken, BAPI's do have similar structures. The IMPORTING parameters consist of something like a header structure, a structure for the field-values and an index structure for all the field-values (this structure is used for consistency checks). Here can be the problem: When your transaction which you want to simulate by using your BAPI does have additional customer fields then the population of these customer fields can only be accomplishes by using two additional structures (one for values and one for indexes). When those two structures are missing in the standard BAPI the you have to use another method to achieve your needed data transfer.

Good luck,

Heinz

Read only

0 Likes
417

Hi Heinz,

We are also facing the same issue. We are trying to post inbound delivery through the BAPI "BAPI_INBOUND_DELIVERY_CREATE".But when we pass the information, we get delivery quantity as 0, although when we pass the data manually in R3, it is getting posted. We are using Biztalk adapter for creating the inbound delivery.

Any feedback would be appreciated.

Thanks

Rakesh