on 01-29-2015 9:31 PM
Hi,
what is the difference between Trash Can and Edit->Status->Deletion flag-> set in CJ20N, i need to do different activities when clicked on Trash Can and when Deletion flag is set .
I'm using user exit EXIT_SAPLCNAU_004
to catch deletion. using SAP_ACTVT = '06'. but the program is catching SAP_ACTVT = '06'. for both.
what feild value will get me, what is clicked?
Thanks!
Hi Prema,
May be take a trace to understand that.
When you click the Trash button, system will delete it.
Edit - Status - Deletion Flag is when you want to set a deletion status / flag.
Check whether you can differentiate using business operations
LKZS - Set deletion indicator
LVMS - Mark for deletion
LVMZ - Remove deletion flag
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any more suggestions to stop DLFL(only when deletion flag is set) ; either in
validation or in user exit it shoukd stop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prema,
This is what we can give from functional point of view.
Please check in ABAP forum, so technical experts will be able to answer your issue.
Just wanted to know some thing more... is your system allows to set deletion flag if the actual cost is posted ? Normally it cannot do.
Regards
Terence
In validation OPSI; the network actvity which is marked 'deletion flag set' is not visible; except that everyother NW Ais visble.
But I could catch that NWA in user exit:EXIT_SAPLCNAU_004. On SAVE but i'm not able stop save here;
CALL FUNCTION 'STATUS_CHANGES_GET'
EXPORTING
* CLIENT = SY-MANDT
OBJNR = SAP_AFVGD-objnr
TABLES
T_CHANGES = jest_tab1
T_JSTO_INS = jest_tab2
T_JSTO_UPD = jest_tab3.
read table jest_tab1 with key stat = 'I0076'
inact = ' '
if sy-subrc = 0
Error MESSAGE
SAP_X_ACTVT = ' '.
Endif.
is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Trash can is to delete the object completely from the data base, deletion flag is used for archiving the object. Once you set the deletion flag the system will archive the object based on the number of days setting.
Deletion flag is a system status, you can find that this status through JEST by passing the object number and the filtering based on Deletion flag internal number.
hope this helps, please let know if you need any further information.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Maria and Mos,
my requirement is to check the cost/work (AFVC-PRKST / AFVV-ARBEI) value when user is trying to set the Deletion flag. throw error if the value is greater than zero.
but allow user to Trashcan without checking the value. as the system will automatically deletes value when used trashcan.
so where and when can I catch if user is trying to set the Deletion flag not thrashcan.
but the jest table will not get me current status of the AFVGD-objnr
I have used CALL FUNCTION 'STATUS_CHANGES_GET'
Any more suggestions? I'm not able to catch deletion in user validation as that objnr is not visible once i delete it in cj20n; and user exit : EXIT_SAPLCNAU_004 is there a way i can catch , whether it is DLFL or DLT?
I0076 | Deletion Flag | DLFL |
I0013 | Deletion indicator | DLT |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.