Fonction SAP BAPI_BUPA_TEMPLATE_ADD - Addition of a Template Assignment to a Business Partner

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

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

Functionality
With this BAPI, a template is assigned to a business partner entered inparameter BUSINESSPARTNER. In addition to the template, it is alsonecessary to enter the template type from which the template is derived,in the parameter TEMPLATETYPE.
Any errors that may occur are logged and issued in the table RETURN.

Notes
Note that only template types of the category "only reference possible"(reference templates) for assigning a template to a business partner canbe used. On the other hand, if the template type used has the category"only copy possible" (copy template), a relevant error message isissued.
Only one template can be assigned per template type .
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX LANGUAGE EN

Description
Template that should be assigned to the business partner.
For template assignment, it is necessary to enter a template type (withcategory "only reference possible") in the parameter TEMPLATETYPE.

Value range
The template is defined for each template type in table TFW_TP.vorgenommen.

Description
Only one template per template type can be assigned to a businesspartner. You may not assign a template to a business partner if you dodo not enter a template type.
Only template types of the category "only reference possible" can beuses for 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