Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding development class in BAPI.

Former Member
0 Likes
992

Hi All,

i want to know whether we actaully need a development class while creating a BAPI?

suppose if we save BAPI in local object and if we want to realese that BAPI,is that possible?or in other words does the dev class has anything to do with the release of BAPI?

Thanks ,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
952

Hi,

Yes you neeed to create a development class. Unless you do not create a development class, you wont be able to Put your BAPI in Transport and hence cannot release it to subsequent systems.

Best regards,

Prashant

10 REPLIES 10
Read only

Former Member
0 Likes
953

Hi,

Yes you neeed to create a development class. Unless you do not create a development class, you wont be able to Put your BAPI in Transport and hence cannot release it to subsequent systems.

Best regards,

Prashant

Read only

dani_mn
Active Contributor
0 Likes
952

HI,

you can't release and transport local objects, SO it is important that you attach BAPI to a transport request and development class so it will be transported to the required system

Regards,

Read only

Former Member
0 Likes
952

Hi,

Thanx for the quick response.

Our requirment is that we don't need to transport the BAPI's from development to testing or testing to production. But we need to use the created BAPI's from the third party(from our java code.).

In this case what should be the procedure.

If you have any document for creating BAPI's and using it from third party, please send it to my email id

ravi.soni24@gmail.com

Thanks,

Read only

andreas_mann3
Active Contributor
0 Likes
952

yes Mridul,

you need a dev.class for your function modeules and your function group

A.

Message was edited by: Andreas Mann

Read only

Former Member
0 Likes
952

Hello,

Ya u have to create the bapi under a devlopment class,it is like any other object.This is must for transporting.

Regards

Read only

Former Member
0 Likes
952

Hi,

Though the 3rd pary application is going to call the BAPI which you are going to created in DEV system, still you need to assign a development class and transport the BAPI to Testing/Production system.

1. If you do not create a transport for the BAPI, then BAPI would be available only in DEV system. So the 3rd party application should logon to DEV system and call your BAPI.

2. If BAPI is transported to Production ( If you create and release the TR), then 3rd party application will logon to PROD system and call your BAPI.

For more info :

Best regards,

Prashant

PS : Please reward all helpful answers with appropriate points.

Read only

0 Likes
952

Hi Prashant,

we dont mind whether the third party will log on to the dev system or prodcution system.

all we want is to call the created BAPI from the JAVA code.

suppose that we have not transported the object to the any other system (testing, production). this object is still in the development stystem.in this case can we call this object external to the system i mean from JAVA code?

Thanks

Read only

Former Member
0 Likes
952

Hi,

Yes, if the object is not transported and is available only in DEV system, then the 3rd party - JAVA can call your BAPI from DEV system.

In JAVA, you have to 1st establish a connection with SAP R/3. This is done by logging into SAP R/3 through JAVA( programmatically by writing code ) into DEV system ( You have to login in DEV, bcz BAPI is available in DEV). and Then enter the User ID and Pwd.

Once the connection is established, then Call the BAPI.

/thread/42165 [original link is broken]

Best regards,

Prashant

PS : Please close the thread and mark useful answers if your query is resolved

Read only

0 Likes
952

Thanks Prashant,

That means we dont have to create a development class for calling a BAPI from out side SAP system. So we can save the BAPI in local object.

Read only

Former Member
0 Likes
952

Hi,

Yes. You are correct.

Best regards,

Prashant

PS : Please reward all helpful answers by selecting appropriate radio buttons on the left