on 06-09-2016 8:22 AM
Hi experts,
Can you provide me any FM to set delete flag (LVORM) in CRHD table? so that, that record can not be useful further.
Thanks
closing this thread and open in ABAP development forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Check the function module CR_WORKCENTER_UPDATE. FM used by the internal programs to change the work center.
Best Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi R,
I used the Fm CR_WORKCENTER_UPDATE and tried to modify the table CRHD with LVORM= 'X'. Please see the below code.
LVORM field is not updating in CRHD table. Please suggest
PARAMETERS: arbpl TYPE arbpl,
werks TYPE werks.
DATA: crhd TYPE TABLE OF crhd,
s_crhd TYPE crhd.
SELECT SINGLE * FROM crhd INTO s_crhd WHERE arbpl = arbpl
AND werks = werks.
s_crhd-lvorm = 'X'.
APPEND s_crhd to crhd.
DATA: t_crca TYPE TABLE OF rcrca,
t_crco TYPE TABLE OF rcrco,
t_crtx TYPE TABLE OF rcrtx.
CALL FUNCTION 'CR_WORKCENTER_UPDATE_DIALOG'
EXPORTING
i_crhd = s_crhd
ukz = 'U'
TABLES
t_crca = t_crca
t_crco = t_crco
t_crtx = t_crtx
.
COMMIT WORK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.