Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3596

Please provide code to populate space into a variable ?

$
0
0

Hi Folks,

 

This is in regards to populate space into a variable as in BI reporting, we get # or NA (not assigned) values in the BI report if we don't have any values in the variable. I need to populate space into one of the variable when there is not value. Please find the below code and its not working, can anyone please fine tune it. More details of my problem are given in this link.

 

 

 

Re: how to avoid NA ( not assigned) and # (hash) values in the bex report ?

 

This code is not working. I need to populate space in 2 variable's. 1 variable is 2 length -Numeric format and other is 6 length - char format. Can anyone please help. Appreciate it.

 

If sy-subrc <> 0.
       RESULT = space.
     Else.
       RESULT = wa_itab-flag.
     Endif.


Thank You

DR


Viewing all articles
Browse latest Browse all 3596

Trending Articles



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