Fonction SAP BAPI_TSW_LOC_GETDETAIL - Read TSW Locations and Materialassignement Details

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LOCATIONID BAPITSWLOC01-LOCATIONID C 10 OIL-TSW: Location ID

Paramètre Reférence Type Long. Description
LOCATIONMASTER BAPITSWLOC08 u 97 TSW Location Master Data

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPIPAREX 990 X Ref. structure for BAPI parameters EXTENSIONIN/EXTENSIONOUT
INVENTORYLEVELS BAPITSWLOCMAT07 66 X TSW Location Inventory levels
PLANNINGPARAMETERS BAPITSWLOCMAT04 29 X TSW Location Planningparameters for Material
RETURN BAPIRET2 548 X Return parameter
RUNDOWNHEADERDATA BAPITSWLOCMAT03 56 X TSW Location Rundowndata for Material
SAFETYSTOCKVALUES BAPITSWLOCMAT05 51 X TSW Location Safetystock planning settings
SUPPLYCONSTRAINTS BAPITSWLOCMAT06 63 X TSW Location Supply Constraints
SUPPLYSOURCEVALUES BAPITSWLOCMAT08 97 X TSW Location Supply Source Defaults

Functionality
This function module supplies detailed data for one TSW location.

Example

Description
LOCATIONMASTER

Description
Import parameter with Location ID for which detailedinformation will be retrieved.
This table allows you to add to the export parameters of the BAPIwithout modifying it.
With this table you can:

  • Adapt existing SAP database tables by

  • Adding customer-specific fields to SAP tables
    Including existing database fields
    • Include additional customer-specific database tables.

    • The following BAPI table extensions are available:
      BAPI_TE_OIJLOC
      BAPI_TE_OIJLOCMAT

      TSW Location Inventory Levels

      Description
      INVENTORYLEVELS

      TSW Location Planning Parameters for a Material

      Description
      PLANNINGPARAMETERS

      Description
      Return parameter
      INCLUDE BAPI_TABLE
      For information on the meaning of the individual fields in the
      structure, see the corresponding data element documentation for the
      individual fields.

      Value range

      Type ID Number Message
      E OIJ_IF 001 No LocationID was transferred
      S OIJ_IF 002 Location &1 exists
      E OD 675 You are not authorized to run this program
      E OIJ_IF 216 Location with ID &1 does not exist
      W OD 512 Location &1 has been marked for deletion
      W OIJ_IF 008 The Transportsys.-Mat. assignement &1 &2 has
      been marked for deletion

      Description
      RUNDOWNHEADERDATA

      TSW location safety stock planning settings

      Description
      SAFETYSTOCKVALUES

      TSW location supply constraints

      Description
      SUPPLYCONSTRAINTS

      TSW Location Supply Source Defaults

      Description
      SUPPLYSOURCEVALUES