Ansicht
Dokumentation

BAPICATS9 - CATS: Reference structure for BOR methods

BAPICATS9 - CATS: Reference structure for BOR methods

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Use

This structure is used in the BAPI parameter enhancement concept for customers. It is the reference structure for the standardized BAPI extension parameters "ExtensionIn" and "ExtensionOut".

Within the parameter enhancement concept, you use the standardized BAPI parameters, "ExtensionIn" and "ExtensionOut". You can combine these parameters with BAPI table extensions and customer exits in the BAPI. This allows table extensions determined by customers in an append or include technique to be taken into account automatically on the interface and in the BAPI program. For more information, see the documentation on the extension parameters for BAPIs.

In general, these extension parameters are available to customers as predefined points of enhancement. The interface can be enhanced without inconsistencies occuring during communication between the interfaces.

BAPI Table Extensions

BAPI table extensions are predefined SAP help structures. They automatically take into account customer enhancements to database tables (material master, for example) on BAPI interfaces.

BAPI table extensions consist of an key part (identifier) predefined by SAP, and a data part which the customer determines in an append technique. The naming convention for the structure is BAPI_TE_< Table name>. The table name corresponds to the table extended by the customer. The BAPI table extension "BAPI_TE_MARA" has a field "Material_No", for example; the customer can append an extended material master to the structure.

The documentation on the extension parameter for the BAPI indicates the BAPI table extensions you can use. The name of the BAPI table extension is inserted in the "Structure" field of the extension parameter. The SAP-defined key part and the data part determined by the customer in an append technique are inserted in the data fields "ValuePart1" to "ValuePart4" in the extension parameter.

If the fields the customer inserts in the BAPI table extensions exactly match the fields in the table extended by the customer, the BAPI can read or write the data automatically.

Example: In the BAPI parameter "ExtensionIn", you can use the BAPI table extension "BAPI_TE_MARA". The customer has extended the structure "BAPI_TE_MARA" in an append technique to include the customer fields from the material master table "MARA". The customer must use the identifier "Material_No".

ExtensionIn:
Structure ValuePart1 ValuePart2 ...
-------------------------------------------------
Data:
BAPI_TE_MARA 1174 <customer data>
BAPI_TE_MARA 1741 <customer data>
...

Normally, the customer data is transferred from the BAPI to the material master table "MARA" that the customer extended in an append or include technique.

Maintenance






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2970 Date: 20240329 Time: 003340     sap01-206 ( 67 ms )