Skip to Content
0

Get actual and target cost of production orders in SAP ABAP query

Jun 22, 2017 at 09:47 AM

78

avatar image

Hi,

I'm using FM K_KKB_KKBCS_CO_OBJECT_READ in SAP ABAP query to read actual and target cost of production orders.

The problem I have is that the FM is not give me the target cost when orders are
not settle yet.

If I execute FM K_KKB_KKBCS_ORDER_REPORT which call FM K_KKB_KKBCS_CO_OBJECT_READ then it's OK and I get the target cost.

I found out that this is because of code in one of the form which check global variable --> check g_object = obj-auf.

I want to update the global variable g_object with value 'O' and send it to the function module but don't know how to do that

Any ideas how to resolve it ?

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

1 Answer

Raymond Giuseppi
Jun 22, 2017 at 10:57 AM
0

Did you pass i_hcstruktur-obart = 'OR' to the FM?

Share
10 |10000 characters needed characters left characters exceeded