Application Development 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: 

Call Transaction with in BAPI method

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Thanks Ravi for your reply,

But i am getting confused.

Please have a look at

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

0 Kudos

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.

Former Member
0 Kudos

Hi,

use Fm RV_CONDITION_RECORD inside BAPI call.

Regards

amole

0 Kudos

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

Former Member
0 Kudos

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.