‎2007 Oct 03 7:28 AM
Hello All
I had a front end application for User,it may be any application either java or any portal or .net application.
When the user enters the required data into the respective fields, it should be updated into ZTABLE of same fields in SAP.
I should use a Interface but what type of interface is used here and can anybody give the steps to do this scenario.
Thanks & Regards
‎2007 Oct 03 7:34 AM
Hi,
You need to create a RFC(Remote Function Call) to achieve this.
Goto Transaction SE37
Import Parameters(What all data you are going to pass from JAVA to SAP)
EXPORT parameters(What all data you want to pass from SAP to JAVA)
TABLES parameters (What all tables you want to pass from JAVA to SAP)
Goto Attributes tab & select Remote Enabled.
Do the coding to insert records in ZTABLE.
Activate the RFC
Now, in JAVA code to login to sap & call the RFC with the required data.
Best regards,
Prashant
‎2007 Oct 03 9:37 AM
Write a BAPI to update the data into ztable. the BAPI should be something like
BAPI_PO_CREATE Create Purchase Order if you are creating the records or else if you
want to update the existing
BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
go to se37 and have a look at the source code used for creation and changing the data.
Hope that helps!
Regards,
Srinivas