2020 Feb 12 9:57 AM
Hi All,
We are using Bapi_alm_order_maintain to create and change service order, we need to update two new fields like Job
and below description but here is no field in that bapi to pass below fields.
Please let me know how to update below fields by Bapi or FM.
2020 Feb 15 9:07 PM
Please see SAP-Notes :
The Note 2693466 implements code in BAdI "IBAPI_ALM_ORD_MODIFY" with Extension-Structure "EAM_S_OPER_ADD_FIELDS_FOR_BAPI" :
METHOD if_ex_ibapi_alm_ord_modify~modify_input_data.
* new with note 2693466 **************************************************
DATA ls_oper_add_fields TYPE eam_s_oper_add_fields_for_bapi.
CHECK extension_in-structure = 'EAM_S_OPER_ADD_FIELDS_FOR_BAPI'.
ls_oper_add_fields = extension_in-valuepart1.
READ TABLE ct_operation ASSIGNING FIELD-SYMBOL(<ls_operation>)
WITH KEY vornr = ls_oper_add_fields-vornr
uvorn = ls_oper_add_fields-uvorn.
CHECK sy-subrc = 0.
<ls_operation>-otype = ls_oper_add_fields-otype.
<ls_operation>-objektid = ls_oper_add_fields-objektid.
ENDMETHOD.