‎2011 Aug 02 5:47 AM
Hi All,
Am using BDC session method for updating position in PA30. In order to create releationship between the pernr and position am calling PP02 transaction after PA30. Now i want to delimit the PERNR's old position value.
In call transaction method after updating position through PA30, I am getting the old position value from PA0001 by select statement using the pernr and enddate(new record begin date - 1).
After this from HRP10001 am getting the details of the old position related with the pernr. Passing this detail to FM 'RH_CUT_INFTY_1001_EXT' and delimiting the older position.
Then am calling transaction PP02 for creating relationship between the new position and the pernr.
Now how can i achieve this delimitng in BDC session method.
Regards,
Sridevi S
‎2011 Aug 02 7:48 AM
Hi Sridevi,
I suggest that you create a recording using transaction code SHDB. Use the code generated and transpose hard-coded values with your values into a custom program.
Regards,
Peter
‎2011 Aug 02 7:53 AM
Hi Peter,
I have done ther recording through SHDB only..
Regards
Sridevi S
‎2011 Aug 02 8:03 AM
Hi Sridevi S,
You should create a custom program using the recording that you have just created so that the data being passed are dynamic.
Regards,
Peter
‎2011 Aug 02 8:05 AM
Hi Sridevi
Why dont you use the FM HR_infotype_operation. Is it not possible to upload the data and update it from this FM. I think by BDC its hard to do that. Better use this FM to update the particular infotype.
Regards
Vijay
‎2011 Aug 02 9:25 AM
Hi Vijay,
Am upadating infotypes 0 and 1 using BDC. How can i update two infotypes using the FM.please clarify.
Regards
Sridevi S
‎2011 Aug 02 9:33 AM