Application Development and Automation 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: 
Read only

BDC Session method problem

former_member671009
Participant
0 Likes
906

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

6 REPLIES 6
Read only

peter_ruiz2
Active Contributor
0 Likes
869

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

Read only

0 Likes
869

Hi Peter,

I have done ther recording through SHDB only..

Regards

Sridevi S

Read only

0 Likes
869

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

Read only

0 Likes
869

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

Read only

0 Likes
869

Hi Vijay,

Am upadating infotypes 0 and 1 using BDC. How can i update two infotypes using the FM.please clarify.

Regards

Sridevi S

Read only

Shahid
Product and Topic Expert
Product and Topic Expert
0 Likes
869

use HR_INFOTYPE_OPERATION for updating 0 and 1 infotypes.

all PA infotypes can be updated using this FM.

delimiting will be taken care by this FM, based on the constraint.

you can search SDN for the code.

Edited by: ssm on Aug 2, 2011 2:09 PM