Q

Using Business Object's methods instead of calling BAPIs

I would like to know if I can, instead of calling each BAPI individually, work with the Business Object's methods. I would like to pass the bo's name and the method I want to use directly instead of calling BAPIs. Is there the possibility to use a specific BAPI that would process this information and execute the bo's method?

I would like to know if I can, instead of calling each BAPI individually, work with the Business Object's methods. I would like to pass the bo's name and the method I want to use directly instead of calling BAPIs. Is there the possibility to use a specific BAPI that would process this information and execute the bo's method?
Yes and no, because a BAPI is a method of a Business Object. In other words, the object-orientation you see in the BOR is not used when you invoke the BAPIs. BAPIs can only be invoked like plain function modules. (Unless you generate proxy classes for the Business Objects, but these proxies internally would also issue plain function calls; your client code would just look more OO.)
This was last published in July 2004

Dig Deeper on SAP interface technologies

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close