‎2007 Sep 25 5:17 PM
Hi Experts.
I'm downloading a file in text format to send it to the bank, the bank request the file with a standard line size : 187, so i need to fill my fields with blanks if every single field does not fullfill it's own lenght. ex :
DATA : BEGIN OF it_test OCCURS 0,
NAME(50)
END OF it_test.
Now, when i fill the the internal table not every name has 50 Chars, some of them has 20, 15, 35, so i need to fill the rest of the field with blanks.
Tnks for the hlp.
‎2007 Sep 25 5:22 PM
When you use <b>GUI_DOWNLOAD</b> all fields gets filled with blanks to fulfil the data size...
Greetings,
Blag.
‎2007 Sep 25 5:23 PM
‎2007 Sep 25 5:24 PM
Hi,
DATA : BEGIN OF it_test OCCURS 0,
NAME(50)
END OF it_test.
So the name is a charecter type, we can not add the spaces for the rest, but you can add the DOT(.) at the last so that it will take the spaces
Regards
Sudheer
‎2007 Sep 25 7:20 PM
If you are writting the data to the application server via open dataset and transer - the transfer command includes a length specifier.