Skip to Content
author's profile photo Former Member
Former Member

very urgent

I have a table which contains 3 fields material no, sub material no and price

materialno sub material no price

05-004 001 100

05-004 002 20

05-004 003 500

05-005 001 20

05-006 001 50

05-006 002 10

05-006 003 5

depending on the highest price of the material no i need to make the whole record bold. Suppose in case of 05-004 i need to highlight the record 05-004 003 500. I dont want to sort the table because if i sort the table accoring to price the submaterialno gets interchanged. I want the records in the same order but highlight the whole record with the hghest price.

Quick and best replys will be awarded the maximum points.

Thank you,

Juli

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 04:59 PM

    Hi,

    I'm assuming you're using Smartforms, if so you'll need the following steps;

    Extend your table to include a flag field (or create a new table)

    Create an ABAP node to loop though the table and find the highest price

    Set the flag field for the highest price row in this ABAP

    Now create a copy of your existing text element and set the text to bold.

    Add a condition to each text element, one so it only displays when the flag is set, the other when it's blank.

    Regards,

    Nick

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.