Fonction SAP BAPI_WHSE_TO_GET_LIST - BAPI for Transfer Order List

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONFIRMIND BAPI2018B-CONFIRM_IND C 1 X Indicator: confirmation complete
MATERIAL BAPI2018B-MATERIAL C 18 X Material Number
MATERIAL_EVG BAPIMGVMATNR u 82 X
MAXROWS BAPIF4A-MAX_ROWS I 4 0 X Maximum Number of Lines of Hits
SRCSTORAGETYPE BAPI2018B-SOURCE_TYPE C 3 X Source storage type
WAREHOUSENUMBER BAPI2018B-WHSENUMBER C 3 Warehouse number / warehouse complex

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return parameter
SOURCEBINSELECT BAPI2018F 23 X Import-Struktur F for Business Object WhseTransOrder
TRANSORDERKEY BAPITRANSORDERKEY 20 BAPI Export Structure for Transfer Order (Key Fields)

Functionality
This method supplies key data for transfer orders.
The warehouse number is a required parameter.
Depending on the additional selection criteria, the read and returneddata quantity can be limited.

Notes
So that the data can be read successfully, you require theauthorization to display the warehouse master data.
Basically, 2 access paths have been implemented for read optimization.

  • If you enter a material number, this is determined as the leading
  • component.
    • If there is no material number entry, the source storage type and
    • source storage bin are selected as access sequence.

      Description
      Indicator: Confirmation will take place.
      Optional parameter.
      If you want the open and confirmed transfer orders to be read, thefunction must be called up twice.

      Value range
      Space = Confirmation has not taken place (transfer order is open)
      'X' = Confirmation has taken place

      Default
      Space = Confirmation has not taken place (transfer order is still open)

      Description
      Material.
      Optional parameter.

      Description
      Parameter for the long material number
      You can use this parameter to transfer long material numbers whosemaximum length is 40 characters.
      To use this parameter, you have to switch on the LAMA (Long MaterialNumber) business function in the system.
      The LAMA business function is available as part of the business functionset for DIMP.

      Value range
      None

      Default
      None

      Description
      Maximum number of transfer orders to be selected.
      The number of transfer order items is counted.

      Default
      0 = all found transfer order items are returned.

      Description
      Source storage type.
      Optional parameter.

      Description
      Warehouse number.
      Required parameter.

      Description
      Here the messages are collected and passed back to the caller.

      Description
      Optional range table (input parameter) for the transfer orders to beselected.
      This table contains the source storage bins for limiting the transferorders.

      Value range

      • SIGN

      • 'I' means "inclusive" (include criterion)
        'E' means "exclusive" (exclude criterion)
        • OPTION

        • If HIGH is empty, EQ, NE, GT, LE, LT, CP and NP can be used.
          If HIGH is filled, BT (BeTween) and NB (Not Between) can be used.
          • LOW

          • Lower limit of the interval. If HIGH is empty, a single fieldcomparison is executed.
            • HIGH

            • Upper limit of the interval.

              Description
              The key data of the transfer orders selected are passed on in thistable.
              The table contains the client, warehouse number/warehouse complex,transfer order number, transfer order item.