‎2007 Jul 12 11:28 AM
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
‎2007 Jul 12 11:33 AM
<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.
‎2007 Jul 12 11:33 AM
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
‎2007 Jul 12 12:49 PM
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