Ansicht
Dokumentation

BAPI_TSW_PART_GETDETAIL - Get Detail Data of TSW Partner

BAPI_TSW_PART_GETDETAIL - Get Detail Data of TSW Partner

BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module reads the TSW partner role for a fully specified key.

Notes

A partner role is defined in the master data record used to define a business partner. The partner role includes information about the activities that the business partner can carry out and where the business partner carries out these activities. Stockholding objects, such as plants and storage locations, can also be defined as partner roles.

A partner role is defined using existing SAP System master data records such as a vendor, customer, or plant.

Because the partner role defines the activities which a business partner carries out within the TSW supply chain, transport systems and/or locations must be assigned in the master data record of each partner role.

Structure

Each partner object (vendor, customer, plant, storage location) corresponds to certain pre-defined role types. The role type, in turn, determines which differentiator object (transport system and/or location) is valid for the partner role being defined. A role type and the associated differentiator is assigned when creating the master data record of each partner role.

The following table illustrates the relationship between partner object, role type, and differentiator when creating a TSW partner role.

Partner Object Role Type ID Desciption Differentiator
Vendor TSW001 Carrier Transport System
Vendor TSW002 Shipper Transport System
Vendor TSW003 Supplier Transport System & Location
Plant TSW003 Supplier Transport System & Location
Plant/Storage Loc. TSW003 Supplier Transport System & Location
Vendor TSW004 Suppl.in Pipe Transport System
Customer TSW005 Receiver Transport System & Location
Plant TSW005 Receiver Transport System & Location
Plant/Storage Loc. TSW005 Receiver Transport System & Location
Customer TSW006 Rec. in Pipe Transport System
Vendor TSW007 Consignee
Vendor TSW008 Tanker Transport System & Location
Customer TSW008 Tanker Transport System & Location
Vendor TSW009 Inspector Location
Plant/Storage Loc. TSW010 Breakout S/L Transport System & Location

Examples

To read the vendor ABC partner data (within the TSW supply chain) defined as a carrier for transport system XYZ , enter the following key fields.

VENDORID ,,,,ABC

ROLETYPE ,,,,TSW001

ROLETYPEDIFFERNTIATOR XYZ

To read the plant / storage location ABCD/EFGH partner data defined as a supplying plant for transport system UVW at Location XYZ, enter the following key fields.

PLANTID ,,,,ABCD

STORAGELOCATIONID ,,EFGH

ROLETYPE ,,,,TSW003

ROLETYPEDIFFERNTIATOR UVW XYZ

Note

As the role type differentiator is a composite of transport system ID and/or location ID, the first 10 characters of the field receive the Transport System ID and the last 10 characters of the field contain the Location ID.





Parameters

CUSTOMERID
EXTENSIONOUT
PARTNERDATA
PLANTID
RETURN
ROLETYPE
ROLETYPEDIFFERNTIATOR
STORAGELOCATIONID
VENDORID

Exceptions

Function Group

OIJ_IF_PART

Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6569 Date: 20240523 Time: 161323     sap01-206 ( 66 ms )