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

Online Interface

Former Member
0 Likes
474

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

2 REPLIES 2
Read only

Former Member
0 Likes
411

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

Read only

Former Member
0 Likes
411

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