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

Java-enabling an SAP application without a BAPI

I need to create one Sevice Contract from Java application by calling a BAPI. But the SAP system doesn't have the related BAPI to create the contract. Is it necessary to create a BAPI?

I am using JCO to interact with SAP. In that I need to create one Sevice Contract from Java application by calling...

a BAPI. But the SAP system doesn't have the related BAPI to create the contract. Is it necessary to create a BAPI? If so, how should I go about it? Any suggestions are welcome.


Using JCo, you are not limited solely to calling R/3 BAPIs. The power of JCo allows you to call ANY RFC-enabled ABAP application within SAP.

You can import your ABAP application into SAP's Function Builder, describe the required set of input/output parameters, and call your new RFC using JCo. However, a major caveat here is that SAP does not allow you to directly call existing R/3 function modules even from within an ABAP application. The purpose of the BAPI interface is to provide prescribed methods for calling SAP function modules from outside SAP. Calling these modules directly, even if a BAPI doesn't exist, is done so at your own risk.


This was last published in July 2002

Dig Deeper on SAP Java and J2EE

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