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

Call Transaction with in BAPI method

Former Member
0 Likes
1,032

Hi all,

I want to know, Can i use Call Transaction with in a BAPI Method, if No, then what is alternative is available to me.

I need to call Transaction XK15 with in a BAPI Method.

Thanks in advance.

6 REPLIES 6
Read only

Former Member
0 Likes
895

Yes you can call a transaction in a BAPI.You however cannot explicitly call screens in it.

Read only

0 Likes
895

Thanks Ravi for your reply,

But i am getting confused.

Please have a look at

http://www.erpgenie.com/sap/abap/bapi/conventions.htm

Read only

0 Likes
895

Vipin

Inside BAPI you cannot directly call a transaction.You can however call a function module calling the transaction.This is an indirect method of using this functionality.

Read only

Former Member
0 Likes
895

Hi,

use Fm RV_CONDITION_RECORD inside BAPI call.

Regards

amole

Read only

0 Likes
895

Thanks for your Reply,

But i do not have import parameter: CONDITION_NUMBER and this parameter is not optional in FM: RV_CONDITION_RECORD.

Thanks

Read only

Former Member
0 Likes
895

Hi Vipin,

Call transaction is not at all possible in BAPI.

bcoz BAPI does not support any screen transaction.

For ur req use this BAPI-RFC 'BAPI_FTR_CONDITION_CREATE'

It will work and give the necessary parameters.

See the FM documentation for this and for giving the correct values contact ur Functional people.

If this satisfyes ur query,Then pls reward me points.

Thanks

Manas Ranjan Panda.