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

Urgent : Data Transfer using BAPI

Former Member
0 Likes
493

Hi All ,

I have one urgent production issue to be resolved.

The problem is thers is one report which runs in one system namely N6A and retieves the data from another system namely GAA and process the data and again uploads the data in GAA using BAPI.

There is data in the internal table which i am passing to customised Remote Function Module but it is not updating the certain custom tables in GAA systems.

When i checked it through debugging mode it is not getting inside the FM it simply jumps off from the FM giving SY-SUBRC = 10.

When i checked for Remote Connection test , it is fine with GAA system.

I dont have access to GAA systems , to directly check the FM.

Can anyone suggest me where might the problem?

Thanks in advance

Kumaran.C

3 REPLIES 3
Read only

Former Member
0 Likes
468

Which bapi are you using?

Certain BAPIs do have X-segments, did you fill these?

For example: material master update via BAPI_MATERIAL_SAVEDATA

If i am passing - for example - field BAPI_MARA-OLD_MAT_NO, then i also have to fill in BAPI_MARAX-OLD_MAT_NO with an 'X'

Read only

0 Likes
468

Hi Kris,

I am using Custom defined BAPI created in APO side for updating certain tables in APO box from a different box

Read only

0 Likes
468

Did you do a commit ?

Just call following function module after your bapi

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.