‎2007 Aug 28 4:27 AM
Hi all,
How to find a Cost Object for Billing Document, Data Element for Cost Object is KSTRG..
thank you..
‎2007 Aug 28 4:40 AM
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 ***