Scheduling Agreements 생성 BAPI

1. BAPI 명 : BAPI_SAG_CREATE 2. 소스코드 [#M_더보기|접기| DATA: LS_HEADER  TYPE BAPIMEOUTHEADER. DATA: LS_HEADERX TYPE BAPIMEOUTHEADERX. DATA: LS_ITEM    TYPE BAPIMEOUTITEM. DATA: LT_ITEM    TYPE TABLE OF BAPIMEOUTITEM. DATA: LS_ITEMX   TYPE BAPIMEOUTITEMX. DATA: LT_ITEMX   TYPE TABLE OF BAPIMEOUTITEMX. DATA: LS_RETURN  TYPE BAPIRET2. DATA: LT_RETURN  TYPE TABLE OF BAPIRET2. DATA: LS_MARA TYPE MARA. DATA: LT_MARA TYPE TABLE OF MARA. DATA: LV_ITEM_NO(10) TYPE N. * 자재코드 […]

더보기 댓글 남기기

[SAP] BAPI Currency Conversion

  DATA: lv_currency LIKE tcurc-waers,         lv_amount LIKE  bapicurx-bapicurx.   CALL FUNCTION ‘BAPI_CURRENCY_CONV_TO_EXTERN_9’     EXPORTING       currency        = lv_currency       amount_internal = gt_upload-netpr     IMPORTING       amount_external = lv_amount.   DATA: LV_AMT_I TYPE I.   DATA: LV_AMT_E TYPE BAPICURR-BAPICURR.     CALL FUNCTION ‘BAPI_CURRENCY_CONV_TO_INTERNAL’       EXPORTING       […]

더보기 댓글 남기기
Close Bitnami banner
Bitnami