hi,
I need to update a Scheduling Agreement delivery lines in ME38 via BAPI_SAG_CHANGE, but I want to control the FIXKZ checkbox on the screen. This field is present in EKET-FIXKZ. But I am not able to find this field in the Interface parameters of the BAPI.
Suggestion for any other Bapis are also welcome.
<code>
APPEND INITIAL LINE TO lt_schedule ASSIGNING <fs_sch>.
<fs_sch>-item_no = <fs_disp2>-ebelp.
<fs_sch>-SCHED_LINE = <fs_disp2>-etenr.
<fs_sch>-quantity = <fs_disp2>-delv_qty.
<fs_sch>-stat_date = <fs_disp2>-firm_date.
<fs_sch>-ETSTA = 'X'.
APPEND INITIAL LINE TO lt_schedulex ASSIGNING <fs_schx>.
<fs_schx>-item_no = <fs_disp2>-ebelp.
<fs_schx>-sched_line = <fs_disp2>-etenr.
<fs_schx>-item_nox = 'X'.
<fs_schx>-sched_linex = 'X'.
<fs_schx>-quantity = 'X'.
<fs_schx>-stat_date = 'X'.
<fs_schx>-ETSTA = 'X'.
ENDIF.
ENDIF.
ENDLOOP.
CALL FUNCTION 'BAPI_SAG_CHANGE'
EXPORTING
purchasingdocument = lv_sa
header = ls_header
headerx = ls_headerx
TABLES
return = lt_return
schedule = lt_schedule
schedulex = lt_schedulex
.
<code>
Thanks,
Ags