Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

GUI_DOWNLOAD with Field Names with more than 10 characters.

$
0
0

Hi All,

 

I have seen many posts for downloading from internal table to PC and many replies for the same. Many people have suggested different ways. But I saw those posts are yet Not Answered. Some complained that they are able to download with Field name. But Field name characters are only 10.

 

So for all these, I got a suitable way to download with proper field names. Some might have tried this method, some may be seeing newly. I thought of sharing this anyway.

 

Here I will be having 2 internal tables.

1. Final Internal table with the data to be downloaded.

2. Field names of the final internal table.

 

 

Fetching data and getting field names.

sap1.PNG

 

 

Downloading the Field names internal table.

 

sap2.PNG

 

 

After calling GUI_DOWNLOAD function module, again call GUI_DOWNLOAD and put the final internal table with data.

 

Downloading the Final Internal table

 

sap3.PNG

 

 

Check the exporting parameters passed while calling the function module both times.

 

Result:

sap4.PNG


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>