Q
Problem solve Get help with specific problems with your technologies, process and projects.

Color-coding itab-records

I'm a beginner, to say the least, when it comes to ABAP. My employer runs on 4.0B. I am writing a program pertaining to parked documents. While looping through my internal table to write out my info, I'd like a single itab-record to display in a different color if a certain criteria is met using an IF statement. Through trail and error, I've succeeded in getting it to change color, but not revert back to the normal color once the criteria has no longer been met for the color change. Is what I'm trying to do possible?

I'm a beginner, to say the least, when it comes to ABAP. My employer runs on 4.0B. I am writing a program pertaining to parked documents. While looping through my internal table to write out my info, I'd like a single itab-record to display in a different color if a certain criteria is met using an IF statement. Through trail and error, I've succeeded in getting it to change color, but not revert back to the normal color once the criteria has no longer been met for the color change. Is what I'm trying to do possible?
It certainly is possible, you can even make single fields different colors, to highlight them. Check out the FORMAT command. Also, use transaction LIBS to see examples of list processing. Look at the code behind them, by using system - status - doubleclick on Program field. Keep going with the ABAP, and I suggest that with small issues, you use the SearchSAP.com online forums to get a quicker answer.
This was last published in June 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close