‎2009 Feb 18 6:20 AM
Hi All,
Presently we are using BSP's for integration with SAP .Now all we there is a need for us to remove BSP Applications and moving to JAVA front end.
can you please let me know the approach in which we can integrate SAP and Java Fron end.
Please let me know the basic steps that needs to be done.
Regards.
Rohit..
‎2009 Feb 18 6:21 AM
i am not aware indepth but basically we will intergrate through BAPI's to ABAP from JAVA. You can use object and method in java to call bapi.
‎2009 Feb 18 6:21 AM
i am not aware indepth but basically we will intergrate through BAPI's to ABAP from JAVA. You can use object and method in java to call bapi.
‎2009 Feb 18 6:29 AM
Hi Phani,
Thanks for immediate reply.
Then as an ABAPer I have to create one BAPI ?
Please give me any links related to this .
‎2009 Feb 18 6:33 AM
Hello,
No need create any BAPi SAP provided many bapis if the reqmnets come we can create based on the reqmnets......
BAPI tcodes Raleted
1)BAPI
2)SWo1-
To check the BAPIS to related module go to swo1 tcode.
This link may help u
https://www.sdn.sap.com/irj/scn/wiki
http://help.sap.com/saphelp_nw04/helpdata/en/78/21745d51ce11d189570000e829fbbd/frameset.htm
Thank u,
santhosh
‎2014 Jan 18 9:05 AM
Hi Santhosh,
I have success fully created sale order by using "BAPI_SALESORDER_CREATEFROMDAT1" with the help of jco library, now i want to get the invoice no as well delivery invoice amount. how can i get? can you pls tel me the BAPI name as wel table name? is there any sample java code for that? pls share me.
Regards,
Raja
‎2009 Feb 18 6:42 AM
Hi Rohit,
I think you can go with WebDynpros what is the JAVA based and can be developed in NWDS.
Web Dynpro is used to design user interfaces for Java and ABAP applications.
http://help.sap.com/saphelp_nw70/helpdata/EN/15/0d4f21c17c8044af4868130e9fea07/content.htm
One more way is using JAVA connectors,SAPu2019s new Java middleware, the SAP Java Connector (JCO) allows customers and partners to easily build SAP-enabled components in Java. JCO supports both inbound (Java calls ABAP) and outbound (ABAP calls Java) calls in desktop and server applications.
In this Sample Program we connect to SAP and call two BAPIs.
Import statements: Any program using JCO should contain the following import statement:
import com.sap.mw.jco.*;
Otherwise, you have to fully qualify each class and interface which is very inconvenient.
Connecting to SAP
JCO.Client mConnection;
A connection (or session) with SAP is handled by class JCO.Client
try {
mConnection =
JCO.createClient("400", // SAP client
"c3026902", // userid
"********", // password
"EN", // language
"iwdf5020", // host name
"00"); // system number
mConnection.connect();
}
catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
}
"A Client object is created via a call to createClient(). You can use a specific application server (as in the above code) or a server group (load balancing)." REFER the JCO Javadoc for the overloaded createClient() method for the latter possibility.
"The Client class's connect () method tries to log on to SAP. If that fails for any reason, an exception is thrown. If the call succeeds, we can now stay connected for as long as we like. When we are done, we can call disconnect () to explicitly log off."
for more on JAVA connectors refer the follwing link:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm
Thanks,
Ram.
‎2014 Jan 18 9:07 AM
Hi Ram,
I have success fully created sale order by using "BAPI_SALESORDER_CREATEFROMDAT1" with the help of jco library, now i want to get the invoice no as well delivery invoice amount. how can i get? can you pls tel me the BAPI name as wel table name? is there any sample java code for that? pls share me.
Regards,
Raja
‎2009 Feb 18 6:48 AM
Hi,
Using JCo (Java Connector), we can integrate SAP with Java
Pl. search with that key-word
thanks\
Mahesh
‎2009 Feb 18 6:55 AM
‎2009 Feb 18 7:22 AM
‎2014 Jan 18 9:08 AM
Dear All,
Thanks!
I have success fully created sale order by using "BAPI_SALESORDER_CREATEFROMDAT1" with the help of jco library, now i want to get the invoice no as well delivery invoice amount. how can i get? can you pls tel me the BAPI name as wel table name? is there any sample java code for that? pls share me.
Regards,
Raja