Skip to Content
0

BAPI_COSTESTIMATE_ITEMIZATION output does not match with CK13N

Oct 27, 2017 at 09:30 AM

36

avatar image
Former Member

We are deveoping a custom report to fetch cost itemization data.

I'm using BAPI_COSTESTIMATE_ITEMIZATION to fetch itemization data. However, the output of some costs does not match with that of CK13N.

Question is there any calculation required on the output of

BAPI_COSTESTIMATE_ITEMIZATION values?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Nov 01, 2017 at 10:28 AM
0

Hi Gitesh,

First, get the material costing number from table MBEW field KALN1. Then check the costing run parameter with this costing number in table CKHS. populate the value to BAPI_COSTESTIMATE_ITEMIZATION.

BAPICOSTRE-REF_OBJECT = 0

BAPICOSTRE-CSTG_NUM = MBEW-KALN1

BAPICOSTRE-CSTG_TYPE = get from CKHS

BAPICOSTRE-CSTG_DATE = get from CKHS

BAPICOSTRE-VERSION = get from CKHS

BAPICOSTRE-VLTN_VRNT = get from CKHS

BAPICOSTRE-ENTER_MAN = get from CKHS

You should able to get the same value as CK13N. This field CCODE_CURRENCY_TOTAL_VALUE is the total value in company code currency

Thanks

Share
10 |10000 characters needed characters left characters exceeded