Ansicht
Dokumentation

BAPI_COSTACTPLN_READKEYFIGURE - Statistical Key Figure Planning: Read

BAPI_COSTACTPLN_READKEYFIGURE - Statistical Key Figure Planning: Read

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method reads planned statistical key figures.

Example

You want to know what values were used for planning statistical key figures KF01 and KF02 on cost center 4210.

You can make entries in the tables as follows to find this out:

INDEXSTRUCTURE:

OBJECT_INDEX | VALUE_INDEX

1 | 1

1 | 2

COOBJECT:

OBJECT_INDEX|COSTCENTER|ACTTYPE|CO_BUSPROC|ORDERID|WBS_ELEMENT

1 | 4210 | | | |

TOTVALUE:

VALUE_INDEX|STATKEYFIG|

1 | KF01 |

2 | KF02 |

The system then reads the records accordingly.

Note that the VALUE_INDEX field in the INDEXSTRUCTURE table must be uniquely filled in a different way from the write BAPIs. This means that each value may only appear once as the system must be able to uniquely assign the values to be read to an object.





Parameters

COOBJECT
HEADERINFO
INDEXSTRUCTURE
PERVALUE
RETURN
TOTVALUE

Exceptions

Function Group

6026

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1809 Date: 20240523 Time: 101110     sap01-206 ( 26 ms )