Application Development and Automation Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
1,531

I had a requirement given by the business which was a bit difficult. The data was to be pulled from FI and MM module and combined in one report.

The report had to have 5 sections

  1. For section 1 the data needs to be pulled from FI
  2. Subtotal
  3. For section 2 the data needs to be pulled from MM
  4. For section 3 the data needs to be pulled from FI
  5. Sub total
  6. Grand total

I decided to explore all this by using the AMDP method. Given below is a screen shot of my procedure for the first 2 points.

I added one column called color in the structure which i will be using in the ABAP coding. I am also using the select from dummy to add a heading row.

Finally i do a union all and assign it in the out parameter of the procedure.

This is for retrieving the data

This is for the subtotal

In the ABAP Code

For coloring the line just add the line highlighted in the layout

The final out put

    

I Hope this helps the fans of code push down.

4 Comments
Labels in this area