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

uploading pp data to sap

Former Member
0 Likes
1,156

hi you all,

i need to upload a csv file to the sap in the pp module.

i wanted to know what is the best way to do it using java rfc conector

or creating an abap program.

i wanted to use the rfc BAPI_REFSETOFOPERATIONS_CREATE...

can any one tell me what is the best way handling this ?

thanks

hi you all,

i need to upload a csv file to the sap in the pp module.

i wanted to know what is the best way to do it using java rfc conector

or creating an abap program.

i wanted to use the rfc BAPI_REFSETOFOPERATIONS_CREATE...

can any one tell me what is the best way handling this ?

thanks

8 REPLIES 8
Read only

Former Member
0 Likes
1,116

Creating an ABAP program would be 1st preferred option.

In case of Java program, you need to create 2 programs, one in JAVA to call the RFC & 2nd program in ABAP to create the RFC

Read only

Former Member
0 Likes
1,116

hi,

the abap rfc is standard sap and already written in the R3, my question is about performance.

thanks

Read only

Former Member
0 Likes
1,116

I am sorry about that.

Performance

Using Java Connector: The performance would completely depend on the bandwidth of the network. So i would recommend ABAP program.

Read only

Former Member
0 Likes
1,116

thanks for the fast answer....

do you have an example for such a program?

thanks.....

Read only

Former Member
0 Likes
1,116

Following are the steps:

1. Goto SE38 transaction & create a program

Create a internal table with structure same as the CSV file format

Use FM "GUI_UPLOAD" to upload the data

Seggregate the data in such a way to pass it to the BAPI

Commit work.

Read only

Former Member
0 Likes
1,116

hi,

after speaking with my managers we desided to use the java way.

do you know what the R/3 system needs to create the connection with java

and do you have a java example....

by the way i probably will use the rfc BAPI_REFSETOFOPERATIONS_CREATE because it uploads the data to the needed DB tables...

thanks a lot hayit.

Read only

Former Member
0 Likes
1,116

Well from R/3 side nothing is required.

For JAVA:

/thread/259381 [original link is broken]

/thread/43142 [original link is broken]

Read only

Former Member
0 Likes
1,116

we have 4.6c version in R/3 is it possible to create a jco connection?

thanks hayit.