cancel
Showing results for 
Search instead for 
Did you mean: 

Output of validation report ( text, formating, tabulator ..)

Former Member
0 Kudos

Hello

I check hundreds of validation rules on balance sheet data and bring the results line per line into a internal table, which is then binded to the view context node.

( table definition is just 1 column char 140)

I use then the UI element type 'table' to disaply in the front end the result. It looks then like that 😞 ( poor formating)

I want to format the report as:

     - titel in bold

     - tabulator

     - colors

Thus can please someone give my a good idea, how to approach a better formating:

     - which UI Element?

     - thus I need to use special ABAP expression to bring the string into the line o f table ( respect space etc...)

     - etc.

Thanks a lot for any good idea on that issue

Best regards

Christian

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Christian,

I would suggest you the below points


  • Create a node with 2 attributes viz description_text & amount
  • Populate the table entries as per your requirement and set to context node as below

          ls_data-description_text = " Some text " .

          ls_data-amount    = 2000.

          append ls_data to lt data.

    

  • Create a table in layout editor with text view ui element as column's editor. because, in text view you can color the text by using property "SemanticColor"
  • Set the design property of table ui element to "Transparent"
  • You can set the width of columns as per your requirement viz 1 st column 80EX, 2nd column - 15EX


Now the format looks better and more pleasant.

You can also try with SAP Adobe forms for your form design as per your requirement

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Hello Ramakrishnappa

Thanks a lot


Answers (0)