cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Actions: delete single infotype record of Time Constraint 3

ElsaM
Explorer
0 Kudos
257

Hi,

we have configured some wage types in IT0015 to allow for multiple records on the same date.

These records in IT0015 are created through Dynamic Actions when we create a record in a custom infotype.

We also pass on a unique ID and save it in 'Assignment Number' of the IT0015 record. So we have a way of identifying which IT0015 record on said date corresponds to our custom infotype record.

The issue is when we delete the custom infotype record. The corresponding IT0015 record should also be deleted.

9961    084FMF_CLAIM_DEL_A(ZBB_DYNAMIC_ACTIONS_ROUTINES)
9961    085PRP50D-ZFLAG2='A'
9961    086IDEL,0015,(RP50D-FIELD1),,(RP50D-DATE1),(RP50D-DATE1)/D
9961    087WP0015-ZUORD=RP50D-ZZUORD

We haven't managed to single out the particular record that must be deleted. All IT0015 records with this date are deleted.


1. we tried using the 'Assignment Number' - no luck

2. we tried using SEQNR - no luck


Any ideas?


Thanks,


Elsa Markoulidou

View Entire Topic
ElsaM
Explorer
0 Kudos

Hi Jagan,

thanks for your reply. It was an interesting suggestion.

We tried it, but infotype operations cannot take place in that program as the PERNR is already locked.

Thanks again,

Elsa