Connecting the BAPI to the BOR

Team-Fly

If the function module on which your BAPI is based has been fully implemented or modified, you can define it as a method of an SAP business object in the BOR.

You use the BOR/BAPI Wizard to perform this step by following the menu path TOOLS, Business Framework, BAPI Development, Business Object Builder. Select the business object to which you are going to attach your BAPI and then choose Utilities, API Methods, Add Method.

Now type in the name of your new BAPI. Remember that if you are creating a BAPI named BAPI_MATERIAL_BURN, the method that you want to add is BURN, not BAPI_MATERIAL_BURN.

After the BAPI has been attached to the business object, it is ready for testing. When testing is complete, you will want to release the BAPI. The process of releasing a BAPI, in effect, freezes it. If any future changes are made to the same business object, a check is done to ensure that the change is compatible with existing, released BAPIs. Releasing a BAPI is a two-step process.

  1. Go to the Function Builder and select the menu path Function Module, Release, Release.

  2. Go to the Business Object Builder, drill down, select your BAPI, and then select Edit, Change Release Status, Object Type Component, In Released.


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