Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

opening balance at the top in alv report

$
0
0

Hi Experts,

 

I have created an ALV report in which I want the opening balance at the top. I have calculated it. I just want the top row to be blank except for the opening balance. The report should start from the second row.

 

fieldcatalog-fieldname   = 'BALANCE'.

   fieldcatalog-seltext_m   = 'BALANCE'.

   fieldcatalog-col_pos     = 8.

   fieldcatalog-row_pos     = 2.

   fieldcatalog-outputlen   = 15.

   fieldcatalog-do_sum      = 'X'.

   append fieldcatalog to fieldcatalog.

   clear  fieldcatalog.

 

fieldcatalog-fieldname   = 'OP_BAL'.

   fieldcatalog-seltext_m   = 'BALANCE'.

   fieldcatalog-col_pos     = 8.

   fieldcatalog-row_pos     = 1.

   fieldcatalog-outputlen   = 15.

   append fieldcatalog to fieldcatalog.

   clear  fieldcatalog.

 

 

It has created a different column for it. Please check the following picture:

 

latest1.jpg

 

 

Please guide.

 

 

 

 

Regards

Purnand


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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