2008 Aug 28 2:51 PM
Hey all,
Is there anyway to update a record in table HRP1001 through ABAP to enable/disable a relationship temporarily? I tried using the FM RH_UPDATE_INFTY_1001_EXT, but it doesn't allow me to make changes to the dates or istat.
Any help would be appreciated.
Thanks,
Suman
Hey all,
Is there anyway to update a record in table HRP1001 through ABAP to enable/disable a relationship temporarily? I tried using the FM RH_UPDATE_INFTY_1001_EXT, but it doesn't allow me to make changes to the dates or istat.
Any help would be appreciated.
Thanks,
Suman
2008 Aug 28 2:54 PM
2008 Aug 28 2:55 PM
Of course you cannot update the fields istar and date filed because they are key fields. What sense does it make to disable a relationship temporarily?
2008 Aug 28 3:05 PM
The client created a custom relationship between 2 positions and they had a requirement to disable this relationship via a FM, but then re-enable it even within the same hour if needed. So I'm trying to come up with some type of solution for this.
2008 Aug 28 3:08 PM
You could set the field PROZT - Percentage to 0....
Or ....
Delete the relationship and created a new planning status ... TD - Temporarily disable!
This would mean the relationship will not be displayed... and still existing in another planning status
2008 Aug 28 3:16 PM
Strange requirement. You can copy the realtionship to another plan variant and delete the original. Or you use an own table.
2020 Oct 03 7:54 PM
To update any key of the table HRP1001, firstly collect the record which you want to update in one internal table and then delete it from HRP1001 using FM RH_DELETE_INFTY_1001_EXT and create the new entry in the table by changing required key fields value of the internal table record using FM RH_INSERT_INFTY_1001_EXT.
Reward if useful.
Pankaj P
SAP ABAP CONSULTANT
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |