Q
Problem solve Get help with specific problems with your technologies, process and projects.

Will the BAPI function names change?

I am told by my SAP developers that I shouldn't be using the underlying BAPI function names (e.g BAPI_COMPANYCODE_GETDETAIL). Instead, I should be using some higher-level business object wrapper like companycode.GetDetail (which is how ifr.sap.com seems to list things). They tell me that the underlying BAPI names may change.

I can't find anything in the JCo documentation that deals with this. Does this mean that you have to use BAPIs with JCo? Is that bad? How do you map the ifr.sap.com names to BAPI names?
I consider it extremely unlikely that SAP would ever change the name of the function module (RFM) implementing a BAPI. The only case where the argument against hard-coded RFM names would make sense would be that a customer is using the delegation feature of the SAP Business Object Repository (BOR) and has actually overridden a BAPI with his own implementation. I have yet to see a customer who has done that. To be totally on the safe side, you could look up the name of the RFM implementing the BAPI dynamically at runtime. (We sell a metadata server that could be used to do the look-up for you.) In order to use an object-oriented programming approach for the BAPIs in JCo, you could use a proxy generator capable of generating OO proxies (send me an email to get a trial version of our generator).
This was last published in September 2003

Dig Deeper on SAP ABAP

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