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

Usage of BAPI

Former Member
0 Likes
764

Hi all,

I have created a BAPI ZBAPI_TST1( by making use of RFC function module ) in SWO1 transaction.Its working fine.

May I know the procedure to make use of ZBAPI_TST1 in SWO1 in an ABAP program.

How to call the ZBAPI_TST1 ?

Can I schedule the ZBAPI_TST1 in the back ground.

If so,whatshud be done to schedule the ZBAPI_TST1 in background.

Please help me.

Thanks and Regards,

Krishna Chaitanya G

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
743

Hi Krishna,

Bapi is used in Work flow for a sequence of steps.

even you can execute the BAPI -FM Individula like a function module in Programs.

You CAn shedule the BAPI iN background using Workflow or in Programs.

Regards,

Prabhudas

Hi all,

I have created a BAPI ZBAPI_TST1( by making use of RFC function module ) in SWO1 transaction.Its working fine.

May I know the procedure to make use of ZBAPI_TST1 in SWO1 in an ABAP program.

How to call the ZBAPI_TST1 ?

Can I schedule the ZBAPI_TST1 in the back ground.

If so,whatshud be done to schedule the ZBAPI_TST1 in background.

Please help me.

Thanks and Regards,

Krishna Chaitanya G

4 REPLIES 4
Read only

Former Member
0 Likes
744

Hi Krishna,

Bapi is used in Work flow for a sequence of steps.

even you can execute the BAPI -FM Individula like a function module in Programs.

You CAn shedule the BAPI iN background using Workflow or in Programs.

Regards,

Prabhudas

Read only

Former Member
0 Likes
743

Hi Krishna,

BAPI is nothing but a RFC enabled Function Module.

If you want to call BAPI in SAP R/3 system then you can call it same as any other Function Module by using syntax CALL FUNCTION 'BAPI_NAME'.....

Whereas if you want to call BAPI to any Non-R/3 System, in that case you will need to create object in that system to access the BAPI.

Read only

former_member203501
Active Contributor
0 Likes
743

hi if you are displaying the bapis from the SWO1 it is again displaying the BAPI tcode...i think we can use the bapis as a function modules in abap

Read only

Former Member
0 Likes
743

Bapi can be called in program similar to as how function module is called.

Bapi's cannot be scheduled in background individually.

You need to use a report for that.

That report you can put in some process chain for daily execution

Regards,

Lalit Mohan Gupta.