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

Code Sample Import ASCII Create Batch Input

Former Member
0 Likes
660

Hello,

I am interested in code samples for importing ASCII-Text files and create

Batch-Inputs.

In help.sap.com I found informations about the Report: RPIADUC0, but I have

no idea, where to get this report.

Thanks

Armin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
592

Hi

U can find it in abap workbench (trx SE38).

Anyway you report should have:

- STEP1 - Read the file

Use OPEN DATASET statament for file in APPLICATION SERVER

Use fm GUI_UPLOAD (or WS_UPLOAD) for file in PRESENTATION SERVER

- STEP2 - Create batch input

Try to see where the include BDCRECX1 is used or try to create a registration by trx SM35: in this way you can see how a BDC program should be developed.

Max

4 REPLIES 4
Read only

Former Member
0 Likes
593

Hi

U can find it in abap workbench (trx SE38).

Anyway you report should have:

- STEP1 - Read the file

Use OPEN DATASET statament for file in APPLICATION SERVER

Use fm GUI_UPLOAD (or WS_UPLOAD) for file in PRESENTATION SERVER

- STEP2 - Create batch input

Try to see where the include BDCRECX1 is used or try to create a registration by trx SM35: in this way you can see how a BDC program should be developed.

Max

Read only

0 Likes
592

Hi,

Thanks to all for the very fast Help !

Currently I have only Access to a training-system, and this Report is not

installed )-:

Armin

Read only

Former Member
0 Likes
592

If you have acces to sap r/3 system, you can go to the se38 transaction and can see the code for the report RPIADUC0.

Regards,

ravi

Read only

andreas_mann3
Active Contributor
0 Likes
592

hi,

use shdb and after recording create program with option "Read from fiel" = X

A.