09-29-2008 10:32 PM
I have created a BDC to create an HR OM Position object (Object type : S) programatically.
I am unable to create IT 1002 (Description)/Subtype 0003 (notes) for the position object as a part of BDC because this subtype is a free text box.
What I want to do is capture Position ID created by 'Call transaction 'PP03' .......' BDC in the program that issues the 'Call Transaction' statement and in the following steps I want to use the postion number to create IT 1002/Sub type 0003 for the postion created using call txn.
Unfortunately, Position Object does not have any Parameter ID that i can use to capture position Id, how do i get around this?
I will appreciate any ideas.
Thanks,
Saurabh
11-22-2011 4:28 PM
I'm sure Saurabh has found the solution by now. But in case anyone else faces the same issue - it is parameter ID PON that needs to be queried in this case:
data: v_objid type hrp1000-objid.
....
GET PARAMETER ID 'PON' FIELD v_objid.
Cheers,
Philipp