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

BAPI call v.s Transaction call

Former Member
0 Likes
837

Hello experts,

How do I know if a program is called via a BAPI or a transaction code? Please help. Thanks!

Chuong

Hello experts,

How do I know if a program is called via a BAPI or a transaction code? Please help. Thanks!

Chuong

6 REPLIES 6
Read only

Former Member
0 Likes
802

What do you mean by "a program"? Is this some include or an executable program? Are you looking to see if some user exit code is being executed by a BAPI vs transaction code? It is not very clear as to what you are looking for or why. Please give some more details.

Read only

0 Likes
802

I am looking to see if some user exit code is being executed by a BAPI vs transaction code. Thanks!

Read only

0 Likes
802

User exits will be called in both BAPI as well as the corresponding transaction. BAPIs are suppposed to have the same functionality of an online transaction. So you can rest assured that the user exit will be executed in both the transaction as well as the user exit, <b>provided it is a released BAPI</b>.

Read only

0 Likes
802

Hi Srinivas,

Sorry, I do not get your point. The thing is I have different data validations for a BAPI call vs a trx call. Therefore, I need to know at the user-exit time, where the call to the use-exit is coming from?

Cheers.

Read only

Former Member
0 Likes
802

You can't "call a program" using BAPI nor CALL TRANSACTION.....You call a program by using "SUBMIT"...

If you want to know if a particular program is using BAPI or CT...It's simple....Use the Glasses button using both texts and find them...

Greetings,

Blag.

Read only

0 Likes
802

Sorry for not clarifying the question. A "call a program" means a user-exit (sales order user-exit for example).

Cheers,

Chuong