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

Cost Object

Former Member
0 Likes
729

Hi all,

How to find a Cost Object for Billing Document, Data Element for Cost Object is KSTRG..

thank you..

1 REPLY 1
Read only

Former Member
0 Likes
578

Hi Haritha,

You can get the relation from BSEG table..

SELECT kstrg

INTO w_kstrg

FROM bseg

UPTO 1 ROWS

WHERE bukrs EQ "Company code of your billing document"

AND belnr EQ "Your billing document number"

AND gjahr EQ "Fiscal year of your billing document".

Thanks and Best Regards,

Vikas Bittera.

***Points for usefull answers ***