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

Running a BAPI in background..

Former Member
0 Likes
1,252

Hi,

Can somebody help me with ways to run a BAPI in background?

Do to data hits cannot run in forground.

Any help wud be really appreciated.

Thnx

Lizz

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
659

Hi Lizz,

Bapi is Function Module, and unlike report you can not run BAPI in background as you can not create a variant. What i mean to say is you can not pass values to parameters. What i suggest is, write a program that gets data which is to be passed to BAPI and call BAPI. Run this program in background. Let us know if your requirment does not suit this.

Regards,

Ramesh.

2 REPLIES 2
Read only

Former Member
0 Likes
659

Hi Leeza,

Write a Program using the BAPI.

Pass the required parameters to the BAPI structures.

Commit the work done by the bapi in case of successs or roll back in case of failure.

Run this program in background.

Is you wanted?

Regards,

Ravi

Read only

Former Member
0 Likes
660

Hi Lizz,

Bapi is Function Module, and unlike report you can not run BAPI in background as you can not create a variant. What i mean to say is you can not pass values to parameters. What i suggest is, write a program that gets data which is to be passed to BAPI and call BAPI. Run this program in background. Let us know if your requirment does not suit this.

Regards,

Ramesh.