cancel
Showing results for 
Search instead for 
Did you mean: 

Delimit operation on IT 1001 using SAP_PD service in HCM P & F design time

Former Member
0 Kudos

Hi

My question is regarding SAP_PD service to be configured in the design time of HCM process and forms framework.

I have been trying to delimit an existing bidirectional custom relationship(constraint 2) between an Org unit and position having end date 31/12/9999, with effect on  effective date.. For this i have tried using the change operation on IT1001, without using any binding to begda and endda fields of P1001, against each object in SAP_PD service with SOBID, SCLAS, OBJID, OTYPE fields of P1001 bound to their existing values.  This is similar to the single direction relationship delimt mentioned in sample form scenario : S_HR_PD_DELIMIT_POS_ASSIGNMENT

But as the result of this the record which was valid from  date1 to 31/12/9999 gets split into

a).  date1 To effective date - 1  and

b).  effective date To 31/12/9999

The record b). created above is not desired. How can this be achieved ?

I have also tried using delete operation on IT 1001 with the following settings under each of the 2 related objects in SAP_PD service

P1001-begda = effective date value

P1001-endda = 31/12/9999

SOBID, SCLAS, OBJID, OTYPE fields of P1001 were assigned to their exisitng values

but this design shows error at check and send stating that the record with the specified key does not exist and hence cannot be deleted.

Can anyone guide me how to achieve the desired delimit operation using SAP_PD service.

Accepted Solutions (0)

Answers (1)

Answers (1)

dsharmak
Advisor
Advisor
0 Kudos

Hello manoj,

For delimiting IT1001 object you should use operation 'Delete' and have to set the end date
of infotype 1001 as required delimit date.

If you do so, the other associated infotypes will also get delimit to that given date automatically. Its not recommended to add the associated infotypes (like 1007, 1013, 1001 etc. ) to the process configuration for
operation. (for delimiting object)

Please refer to the infotypes and operations in the attached screen shot
(attachment - SAMPLE PROCESS) to understand operations required for
delimiting the IT1000 object and other associated infotypes.

Former Member
0 Kudos

Hi Deepak,

     Could you please share the attachment -SAMPLE PROCESS. Cant find that in your last reply..

Former Member
0 Kudos

Hi Deepak,

     I have tried configuring SAP_PD service by setting the ENDDA of 1001 to the required delimit date.. But this results in the error "Data record to be deleted does not exist". 

Former Member
0 Kudos

There is an option CHANGE WITHOUT DELIMIT for operation. Try this may be this will help you out in solving ur req..

Cheers,

L