Key Information in the BOR for the Use of BAPIs

Team-Fly

Before using a BAPI that you find in the BOR, you must examine the BAPI to see whether it performs the tasks that you require and whether you have sufficient information to provide to it.

The first step is to determine whether or not the BAPI is instance-dependent. You can differentiate between instance-dependent (instance methods) and instance-independent (class methods) BAPIs. Unlike instance-independent methods, instance-dependent methods relate to one instance (one specific occurrence) of an SAP business object type (for example, to one specific sales order). The type of BAPI is usually very apparent after examining the parameters that are transferred to and from it.

You must also examine the key fields of the object to which the BAPI is related. All key fields are required if you want to access one specific instance of the object. Depending on the BAPI, you can get away with partial keys; for instance, if you want a list of material numbers that start with TST, you can enter TST* in the material number key field.

Finally, you should check the name of the BAPI (usually a function module) and whether any documentation is available on it. The documentation can be found by clicking on the Information icon to the right of the BAPI name.


Team-Fly


Java & BAPI Technology for SAP
Java & BAPI Technology for SAP
ISBN: 761523057
EAN: N/A
Year: 1998
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net