BAPI Extension For Sales Order Creation PDF
BAPI Extension For Sales Order Creation PDF
Language English
Header Data
Released On
Release Status
Component
21.06.2004 15:44:00
Released for Customer
SD-SLS-GF-IF Sales Documents BAPI's
Other Components CA-BFA-AAP BAPI Concept (for BAPIs see note 813411)
Priority
Category
Symptom
This note describes how to proceed if you implemented customer fields in SD tables VBAK, VBAP, and
VBEP and now want to supply these fields with the SD BAPIs that have an EXTENSIONIN parameter.
Other Terms
Unicode
Solution
Technical information on the customer enhancement concept
The customer enhancement concept for BAPIs allows the processing of customer-specific fields by
means of BAPI. In addition, SAP fields that were not taken into account by the developer during the
BAPI implementation and thus do not belong to the standard functions of the BAPI can be processed
customer-specifically.
!!! If you use the extension parameters according to the BAPI programming guide or the documentation
for the customer enhancement concept, only character-type field types are permitted !!!
If nevertheless you require a processing of non character-type types, refer to Notes 700795 and
509898.
The following description explains by means of an example how to proceed for customer enhancements
to SD tables VBAK, VBKD, VBAP and VBEP.
Initial situation: The customer has attached own fields to table VBAP,
by means of INCLUDE structure CUTEST.
This structure includes two fields: CFIELD1, CHAR 10
and CFIELD2, CHAR 3.
These 2 fields should now also be maintainable via the BAPI.
1. Structure CUTEST is defined in table VBAP.
2. Since the BAPIs use checkbox structures, you also have to define a corresponding checkbox
structure CUTESTX with the following setup for the customer structure:
Field nameData element/component type
CFIELD2CHAR1
CFIELD2 CHAR1
3. Then you must use an Include or APPEND to define these customer structures in structures
VBAPKOZ and VBAPKOZX.
4. Afterwards you must use the APPEND technique to append the customer structures to BAPI
structures BAPE_VBAP and BAPE_VBAPX.
5. Adjust the following structures for customer enhancements in table VBAK:
a) VBAKKOZ
b) VBAKKOZX
c) BAPE_VBAK
d) BAPE_VBAKX
6. For customer enhancements on table VBKD that may have header VBKD fields and item VBKD
fields, adjust the following structures:
Validity
This document is not restricted to a software component or software component version
References
This document refers to:
SAP Notes
1807670 Incorrect enhancement category in BAPE_VBAKX
1071365 FAQ: New fields in R/3 system from EEW enhancements
1053817 Distributing customer-specific fields from CRM to R/3
763791 BAPI_SALESORDER_SIMULATE delivery priority
700795 Enhancement category of BAPI enhancement structures
550431 FAQ: BAPI in sales - general questions
509898 BAPI enhancement concept and Unicode
414020 MASS: Customer fields are not mass-maintainable
356849 BAPI problems during customer enhancements of VBKD
150242 Including additional fields in interfaces
143602 Incorrect processing EXTENSIONIN in SD BAPIs
93091 Information about the BAPIs in Sales and Distribution