Fonction SAP BAPI_BUPA_TEMPLATE_GETDETAIL - Reading a Template for a Business Partner on the Basis Of

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner Number
TEMPLATETYPE BAPIBUS1006_TEMPLATE-TEMPL_TYPE C 20 Type of Template on Business Partner

Paramètre Reférence Type Long. Description
TEMPLATEDATA BAPIBUS1006_TEMPLATEDATA u 10 Data of Template Assignment

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Messages

Functionality
This BAPI enables the template assigned to a business partner entered inparameter BUSINESSPARTNER to be read.
The template is determined with the help of the template typetransferred in the parameter TEMPLATETYPE.
Only one template can be assigned to a business partner per templatetype. The template that is determined, is issued in the parameterTEMPLATEDATA.
Any errors that may occur are logged and issued in the table RETURN.

Notes
Bear in mind that only template types of the category "only referencepossible" (reference template) can be used to assign a template to abusiness partner. On the other hand, if the template type used has thecategory "only copy possible" (copy template), the relevant errormessage is issued.

Further information

Description
Template that is determined for the business partner on the basis of thetransferred template type.
Only one template for the business partner can exist for each templatetype.

Value range
The template is defined for each template type in table TFW_TP.
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX LANGUAGE EN

Description
Only one template can be assigned to a business partner per templatetype. Entering a template type unambiguously identifies the templateassignment for a business partner.
Only template types of the category "only reference possible" can beused to read a template assignment.

Value range
The template type is defined and the template category specified intable TFW_TPTYPE.
INCLUDE BAPI_TFW_RETURN OBJECT DOKU ID TX LANGUAGE EN