Fonction SAP BAPI_TSW_LOC_GETLIST - Supply List of TSW Locations for Search Criteria Transferred

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MAXROWS BAPIF4A-MAX_ROWS I 4 200 Maximum number of lines of hits

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPIPAREX 990 X Ref. structure for BAPI parameters EXTENSIONIN/EXTENSIONOUT
LOCATIONLIST BAPITSWLOC07 84 TSW List of Location with Description and Locationtype
RANGE_LOCATIONNAMES BAPITSWLOC04 123 X TSW Location Names range for selection of entries
RANGE_LOCATIONS BAPITSWLOC02 23 X TSW Location range for selection of entries
RANGE_LOCATIONTYPES BAPITSWLOC03 11 X TSW Location Types range for selection of entries
RANGE_PLANNINGLOCS BAPITSWLOC05 23 X TSW Planning Locations range for selection of Locations
RETURN BAPIRET2 548 Return parameter

Functionality
Get a List of TSW Locations for the selection parameters specified. The
maximum number of entries returned has to be entered (default value is
set to 200)
If Database includes more entries matching teh selection,
the returntable RETURN will include a Warning message.

Example
For a list of all Locations according to type e.g. PLTO (see also
Documentation for maintenance of TSW Location Types in the IMG)
RANGE_LOCATIONS : 'I','CP','*', ' '
RANGE_LOCATIONTYPES : 'I','EQ','PLTO', ' '
RANGE_LOCATIONNAMES : '','','',''
RANGE_PLANNINGLOCS : '','','',''
Selection of all Location with Name beginning 'ORIGIN' .. :
RANGE_LOCATIONS : 'I','CP','*',' '
RANGE_LOCATIONTYPES : 'I','CP','*',' '
RANGE_LOCATIONNAMES : 'I','CP','ORIGIN*',''
RANGE_PLANNINGLOCS : '','','',''

Description
MAXROWS
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 extension is available:
      • BAPI_TE_OIJLOC
      • TSW List of Locations with Descriptions and Location Types

        Fields
        LOCATIONID
        LOCATIONNAME
        LOCATIONTYPE

        TSW Location Name Range for Selection of Entries

        Description

        Fields
        Sign
        Option
        LOCATIONNAME_LOW
        LOCATIONNAME_HIGH

        TSW Location Range for Selection of Entries

        Description

        Fields
        Sign
        Option
        LOCATIONID_LOW
        LOCATIONID_HIGH

        TSW Location Types Range for Selection of Entries
        Fields
        Sign
        Option
        LOCATIOTYP_LOW
        LOCATIONTYP_HIGH

        TSW Planning Locations Range for Selection of Locations

        Description

        Fields
        Sign
        Option
        PLANNINGLOC_LOW
        PLANNINGLOC_HIGH

        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 S& 026 Value & in field SIGN can only be I,E
        E S& 027 Value & in field OPTION isinvalid(EQ,NE,GT,GE,
        LE,LT,BT,NB,CP,NP)

485359Fixes for TSW Interfaces