on 02-10-2005 11:06 AM
Hello *,
I have a characteristic defined as infoprovider to have a flexible update rule.
In the startroutine I want to loop at the incoming datarecords which could have a flag that this record is requested for deletion.
I have to check in the startroutine if this record has a sid that is used for transactional data to avoid sid errors after deletion. if it has one I would mark this record as used for reporting, if not I would write directly into the master data into field "changeflag" a 'D' for deletion.
Afterwards I would start a changerun on the object to execute the deletion and activate the infoobject.
Is there a function module wich does not check the whole content of one infoobject but single datarecords for sid and usage in transactional data?
Thank you.
Hi!
I am not much adept in this area. You can use a routine for updating that perticular field where you are writing "D". Because update rules are applied for single record at a time. you can verify in this routine whether this perticulat record has a sid or not.hope you got the point. It did the same in a relatively same situation.
with regards
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the function module RSDMD_DEL_MASTER_DATA you can pass a parameter I_T_CHAVL. This allows you to restrict the values you want to delete. The fm automatically checks if the record is still used so you cannot delete used values.
Best regards
Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.