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

Problems regarding FUPARAREF

Former Member
0 Likes
891

Hi All:

I'm making a small app which download the contents of the FUPARAREF table.

The problem arises when I tried to upload the generated file back into SAP. I'm using GUI_UPLOAD but i gives me an error message saying that the data of the file couldn't be readed...If I use WS_UPLOAD, it just load the first line of the file, but truncated...I think that the problem is that this field is too long...<b>STRUCTURE RS38L_TYP CHAR 132</b>...Any ideas? -:(

Greetings,

Blag.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
788

maybe when you have cretated the files the line where 200char long and when you try to read it it is shorter!

post some codes plz!

Hi All:

I'm making a small app which download the contents of the FUPARAREF table.

The problem arises when I tried to upload the generated file back into SAP. I'm using GUI_UPLOAD but i gives me an error message saying that the data of the file couldn't be readed...If I use WS_UPLOAD, it just load the first line of the file, but truncated...I think that the problem is that this field is too long...<b>STRUCTURE RS38L_TYP CHAR 132</b>...Any ideas? -:(

Greetings,

Blag.

4 REPLIES 4
Read only

Former Member
0 Likes
789

maybe when you have cretated the files the line where 200char long and when you try to read it it is shorter!

post some codes plz!

Read only

0 Likes
788

I created the table this way...


DATA: T_FUPARAREF TYPE STANDARD TABLE OF FUPARAREF WITH HEADER LINE.

I used for both Download and Upload so i don't think thats the problem...

Greetings,

Blag.

Read only

0 Likes
788

I already browse OSS notes...but couldn't find any suitable solution. Got any ideas?

Greetings,

Blag.

Read only

0 Likes
788

Finally i managed to fix it -:D

Anyway...it's a weird problem -:(

I just create a new TYPE structure and replace this field

<b>PPOSITION SYTABIX INT4 10</b> with a simple <b>PPSOTION(1) TYPE C</b>, because that field needs only 1 character...

Greetings,

Blag.