Code: Alles auswählen.
CALL FUNCTION 'CHANGEDOCUMENT_OPEN'
EXPORTING
OBJECTCLASS = 'KRED'
CALL FUNCTION 'CHANGEDOCUMENT_SINGLE_CASE'
EXPORTING
TABLENAME = 'LFA1'
WORKAREA_OLD = O_YLFA1
WORKAREA_NEW = N_LFA1
CHANGE_INDICATOR = UPD_LFA1
DOCU_DELETE = 'X'
CALL FUNCTION 'CHANGEDOCUMENT_CLOSE'
EXPORTING
OBJECTCLASS = 'KRED'
OBJECTID = OBJECTID
Code: Alles auswählen.
CALL FUNCTION 'KRED_WRITE_DOCUMENT'
EXPORTING
objectid =
tcode =
utime =
udate =
username =
* PLANNED_CHANGE_NUMBER = ' '
* OBJECT_CHANGE_INDICATOR = 'U'
* PLANNED_OR_REAL_CHANGES = ' '
* NO_CHANGE_POINTERS = ' '
* UPD_KNVK = ' '
n_lfa1 =
o_ylfa1 =
* UPD_LFA1 = ' '
* UPD_LFAS = ' '
* UPD_LFAT = ' '
n_lfb1 =
o_ylfb1 =
* UPD_LFB1 = ' '
* UPD_LFB5 = ' '
* UPD_LFBK = ' '
* UPD_LFBW = ' '
* UPD_LFEI = ' '
* UPD_LFLR = ' '
n_lfm1 =
o_ylfm1 =
* UPD_LFM1 = ' '
* UPD_LFM2 = ' '
* UPD_LFZA = ' '
* UPD_WYT1 = ' '
* UPD_WYT1T = ' '
* UPD_WYT3 = ' '
TABLES
xknvk =
yknvk =
xlfas =
ylfas =
xlfat =
ylfat =
xlfb5 =
ylfb5 =
xlfbk =
ylfbk =
xlfbw =
ylfbw =
xlfei =
ylfei =
xlflr =
ylflr =
xlfm2 =
ylfm2 =
xlfza =
ylfza =
xwyt1 =
ywyt1 =
xwyt1t =
ywyt1t =
xwyt3 =
ywyt3 =
.