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

Problem with data file written on application server thru datasets

Former Member
0 Likes
616

Hi,

Through datasets operation am writing the contents of itab on application server.

But fields which are of type quantity, currency & type P with decimals are coming as some junk value with '#' and all, when checked on application server thorugh transaction al11. Other field values are coming properly.

Values are very well correct in itab. Also when same itab is downloaded on local machine the values are coming correctly.

Can anybody help me out.

regards

3 REPLIES 3
Read only

Former Member
0 Likes
493

Hi,

For currency, Decimal fields you need to move data into CHAR fields and then transfer to application server.

MOVE l_CURRENCY TO L_CHAR_CURRENCY.

CONCATENATE field1

field2

l_currency

into l_file.

Transfer l_file........

Best regards,

Prashant

Read only

Former Member
0 Likes
493

Hi,

You cannot use data types F, I,P, or X. Instead, transfer the data into Character fields and pass it to TRANSFER command. This will solve your issue.

Regards,

Chandima.

Read only

Former Member
0 Likes
493

Hi Navin .

Instead of writing the whole code you can do the same with a transaction alrady there ..

T code: cg3z.

Better to do thru this. Will definitely save your time...... and also extra efforts.

Regards,

Jayant

PLease award if helpful