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

Former Member
0 Likes
569

Hi ,

I have afew BAPIs called within a FM. I would like to know how to find out which tables are populted by these BAPIs. Mind I cant do a single test on the FM to do a debug and find out. What other method can be used. I am listing the BAPIs used in the FM.

1.BAPI_COSTACTPLN_CHECKACTOUTPUT

2.BAPI_COSTACTPLN_POSTACTOUTPUT

3.BAPI_COSTACTPLN_CHECKACTINPUT

4.BAPI_COSTACTPLN_CHECKKEYFIGURE

5.BAPI_COSTACTPLN_POSTKEYFIGURE

Once again, which R/3 tables are populated by these.

Thanks in advance.

Sudha

3 REPLIES 3
Read only

Former Member
0 Likes
504

<b>1.BAPI_COSTACTPLN_CHECKACTOUTPUT</b>

TABLES

idx_structure = indexstructure

object = coobject

per_value = pervalue

tot_value = totvalue

contrl = contrl

return = return.

<b>2.BAPI_COSTACTPLN_POSTACTOUTPUT

TABLES

IDX_STRUCTURE = INDEXSTRUCTURE

OBJECT = COOBJECT

PER_VALUE = PERVALUE

TOT_VALUE = TOTVALUE

CONTRL = CONTRL

RETURN = RETURN.

3.BAPI_COSTACTPLN_CHECKACTINPUT

TABLES

IDX_STRUCTURE = INDEXSTRUCTURE

OBJECT = COOBJECT

PER_VALUE = PERVALUE

TOT_VALUE = TOTVALUE

RETURN = RETURN.

4.BAPI_COSTACTPLN_CHECKKEYFIGURE

TABLES

idx_structure = indexstructure

object = coobject

per_value = pervalue

tot_value = totvalue

return = return.

5.BAPI_COSTACTPLN_POSTKEYFIGURE</b>

TABLES

idx_structure = indexstructure

object = coobject

per_value = pervalue

tot_value = totvalue

return = return.

rewards point if helpful...

regards...

ABhay.

Read only

Former Member
0 Likes
504

The bapis 2 and 5 will update tables.

The other bapis, from what it appears, may not update tables.

To find the tables that get affected, write a small program using these bapis with all the mandatory parameters and start the trace using ST05 transaction.

Run the program, and stop the trace afterwards using st05.

Then you can see the tables that are involved.

Regards,

Ravi

Read only

0 Likes
504

Hi Ravi,

Thanks for ur reply.I need some clarification on Trace.

Can u give me the steps for the trace?

I see a no.of options in it. As Iam in ahurry I have no time to test them all.Pls. helpme.

Sudha