ABAP FM 获取采购订单Open PO

CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY'
      EXPORTING
        X_MATNR = INV-MATNR
        X_MEINS = INV-MEINS
        X_ELIKZ = SPACE
        X_LOEKZ = SPACE
      TABLES
        XTAB    = XTAB
        XWERKS  = L_WERKS.

你可能感兴趣的:(SAP,ABAP实例大全)