Application Development 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: 

retrieve Position Object Id for Position Object created by BDC

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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