on 05-26-2015 6:56 AM
ECC6
How can i get the Profit Center from the rental space level of an RE contract: from which Table or FM please?
to display the profit center:
1. Go to RECN
2. Open a contract
3. Objects tab
4. Double click on the Rental Space Icon under the Object Hierarchy
5. Posting Parameters tab
6. Organizational Assignment
7. Profit Center field
I have tried using API_RE_CN_GET_DETAIL importing et_term_org_assignment but it does not work on all contracts. I also tried retrieving PRCTR from VITMOA using the es_contract-intreno from the mention API. Both yield the same results.
Are there other ways to get the profit center?
Thanks,
Anthony
Hi,
Use below code, may help you
SELECT SINGLE intreno
FROM vibdro
INTO lv_intreno
WHERE bukrs = lv_bukrs
AND swenr = lv_busienti
AND smenr = lv_rentalobj.
SELECT SINGLE PRCTR
FROM vitmoa
INTO lv_prctr
WHERE intreno EQ lv_intreno.
Thanks and Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.