Standard BAPIs
- With BAPIs ( Methods ) , we can differentiate between instance methods and class methods.
- Instance methods refer to precisely one instance ( one specific occurrence ) of an SAP Business Object type.
- Ex : Customer Order.
- Whereas class methods are instance-independent.
- Ex : GetList of customer.
BAPIs for Reading Data :
- GetList ( Class Method ) :
- List of object key Values.
- Ex : Comapny codes , Material Number.
- GetDetail ( Instance Method ) :
- Uses a key to retrieve details about an instance (one specific occurrence ) of a business object and returns this data to the calling program.
- GetStatus ( Instance Method )
- The BAPI GetStatus is used to query the status of an SAP Business Object.
- Ex : The processing status of a sales order and does not retrieve full details like the BAPI GetDetail.
- ExistenceCheck ( Instance Method )
- The BAPI ExistenceCheck checks whether an entry exists for an SAP Business Object.
- Ex: Whether the customer master has been created.
BAPIs for Creating or Changing Data
- Create or CreateFromData ( Instance Method )
- The BAPI Create or CreateFromData creates an instance of an SAP Business Object .
- Ex : Sales order.
- Change ( Instance method )
- The BAPI Change changes an existing instance of a SAP Business Object.
- Ex : Change Sales Order.
- Delete and Undelete ( Instance Method )
- The BAPI Delete deletes an instance of an SAP Business Object from the database.
- Ex : delete sales Order.
- The BAPI Undelete removes a deletion flag.
BAPI's for Mass Processing
- BAPIs for mass processing , the suffix "Multiple " is added to the method name .
- Ex : ChangeMultiple , CreateMultiple , DeleteMultiple.
Method Type : Class Methods
BAPIs for Replicating Business Object Instances
- These BAPIs are used for replicating business object Instances.
- They enables specific instances of an object type to be copied to one or more different Systems.
- These BAPIs are used mainly to transfer data between distributed system within the context of ALE and method Type Class methods.
Service BAPIs for Help Functions
- This method determines the allowed input values ( F4 help) for a field in a BAPI parameter.
- BapiService.FieldHelpGetDocu
- This method provides Documentation help ( F4 help) for a field in a BAPI parameter.
- BapiService.InterfaceGetDocu
- This method reads the entire interface documentation of a BAPI.
BAPIs for Interpreting Error Messages
- BapiService.MessageGetDetail
- This method displays the short and long texts of BAPI error messages.
- BapiService.ApplicationLogGetDetail
- This method reads the details of entries in the application log.
BAPIs for Controlling COMMIT and ROLLBACK
- BapiService.TransactionCommit.
- This method executes a COMMIT WORK command.
- BapiService.TransactionRollback
- This method executes a ROLLBACK WORK command.
BAPIs for Convertion between Internal and External Data Formats ( Domain Conversion ).
- BapiService.DataConversionInt2Ext
- This BAPI converts data from the internal format into the required external format.
- BapiService.DataConversionExt2Int
- This BAPI converts data from the External format into the required Internal format.
No comments:
Post a Comment