Customer Enhancement and Modification of BAPIs (CA-BFA)
The documents located at this level cover topics that start with the standard case for new development described in the BAPI Programming Guide, and expand it with practical
requirements.
Contents
Enhancements, Modifications, … (CA-BFA)............................................. 6
Customer Enhancement and Modification of BAPIs (CA-BFA).....................7
Customer Enhancement of BAPIs....................................10
Enhancing the BAPIs Based on Existing SAP Database Tables............13
Appending Customer Fields....................................................14
Using Additional Existing Database Fields ..............................................19
Combination of Appending Customer Fields and Adding Existing Table Fields .............21
Enhancing the BAPI by Including Additional Customer Database Tables.................22
Enhancing the BAPI with Import Data that Does Not Affect the Database Level ....................26
Actions by the BAPI Developer....................................................28
Actions by the Customer ................................................36
Actions for an Enhancement Based on Existing SAP Database Tables ................37
Actions when Including Additional Customer Database Tables ......................44
Actions when Including Additional Import Data that Does Not Affect the Database Level................45
Use with the Standardized BAPIs .....................................................46
BAPI Modifications................................................................................50
Example ...............................................................................................54
Creating Subtypes............................................................................55
Redefining a BAPI..............................................................................56
Defining Delegation Relationships .......................................57
Examples.....................................................................................58
Example for Developing the BAPI Function Module.............................59
Example for Filling the ExtensionIn Parameter...........................63
SAP Enhancements to Released BAPIs .......................................................65
Compatible Enhancements .................................................................67
Incompatible Enhancements........................................................................69
BAPIs for Mass Data Transfer (CA-BFA) .............................................72
Basics of Mass Data Transfer ..........................................................74
Process Flow of the Mass Data Transfer via BAPI ...........................80
Developing BAPIs for Mass Data Transfer ...............................83
Implementing a BAPI .............................................................................85
Programming Create() BAPIs ................................................................86
Example of a Create() BAPI ................................................................90
Programming Change() BAPIs ....................................................91
Example of a Change () BAPI.......................................................96
Programming Delete()/Undelete() BAPIs..........................................97
Example of a Delete() BAPI..................................................................101
Programming Cancel() BAPIs.......................................................102
Example of a Cancel() BAPI................................................................105
Programming Replicate()/SaveReplica() BAPIs .....................................106
Example of a SaveReplica() BAPI........................................................110
Programming Methods for Sub-Objects ................................................111
Example of an Add BAPI .......................................................................115
Generating the BAPI-ALE Interface ............................................................116
Writing a report.....................................................................................117
Registering the BAPI.........................................................118
Details..............................................................................119
Using ALE Services (CA-BFA) ...............................................121
Basic Concepts of ALE Technology .................................................123
Implementing Narrow Coupling with BAPIs............................................127
Querying the Distribution Model...............................................128
Calling BAPIs ..................................................................130
Implementing Loose Coupling with BAPIs...............................131
Querying the Distribution Model.................................................133
ALE Outbound Processing...............................................................135
Dispatching IDocs ...................................................................137
ALE Inbound Processing......................................................138
Processing BAPIs ...............................................................139
Developing an ALE Business Process Based on BAPIs .................................141
Implementing the BAPI ......................................................142
Defining Hierarchies Between BAPI Parameters....................................144
Maintaining the BAPI-ALE Interface ........................................................145
Notes.................................................................................159
Maintaining the Distribution Model............................................161
Download attached file: You must be Loged in to download file