Skip to Content
0
Feb 10, 2011 at 09:49 AM

Error in Open Dataset. Application server file shows null value .

145 Views

Dear Gurus,

As with my previous problem, I am now getting value from SAP Directory in AL11. But problem is-

1. When I try to get Quantity or Currency field, it shows runtime error while uploading in App. Server. So, I used Char data type variable to store currency field and concatenate these in a string type variable.

LOOP AT it_mseg INTO wa.
          move it_mseg-erfmg to amount.   " amount is a char type variable.
         CONCATENATE it_mseg-mblnr it_mseg-mjahr it_mseg-matnr amount it_mseg-werks it_mseg-lgort INTO ld_string.

  TRANSFER ld_string to filename.

But I am getting only 0 for all the records. If I directly transfer wa to filename, it shows values. But when i am passing string, all value shows 0. Plz give me solution.

Thanks,

With regards,

Tripod.