Create OM Info type 1002 programatically for Position
Scenario: I am doing a BDC to Create OM Position. Subtypes for Info type 1002 (Description) are free text controls that I beleive can't be recorded using the Transaction recording tool.
So Is my understanding correct that the subtypes for Info type 1002 can't be populated in BDC while creating other OM info types for Position?
Is there anyway that i can programatically create/update IT1002 subtypes for an existing position?
Hint: The data in these sub types are stored in tables HRP1002 & HRT1002 and the class CL_GUI_TEXTEDIT (methods SET_TEXT_AS_R3TABLE, GET_TEXT_AS_R3TABLE) seems to be doing some trick. I am not sure how can i get hold of the Text control instance to upload data though. Itu2019s different from what I have done for SD/MM modules where I used Object/Object key, etc with the FM CREATE_TEXT to populate free text for objects like Sales order, Purchase order, etc.
Any ideas will be greatly appreciated.