Quantcast
Channel: SCN : Discussion List - BOPF Application Framework
Viewing all articles
Browse latest Browse all 249

Show field in red in case of error.

$
0
0

Hi guys.

 

I'm working in determination and the node is trq item.

In screen i want show a specific field of specific line item like red color.

 

I tried my normal code typping the atribute but din´t work:

 

CLEAR: lv_message.

               lv_message-msgty = 'E'.

               lv_message-msgid = 'ZMSG_PARTY_ID'.

               lv_message-msgno = '037'.

 

               lv_peso_limite   = ls_equi_code-max_gross_weight.

               lv_message-msgv1 = lv_peso_limite.

               lv_message-msgv2 = 'KG'.

 

               CONDENSE lv_message-msgv1 NO-GAPS.

 

               READ TABLE it_key INTO DATA(ls_key) INDEX 1.

 

               IF eo_message IS NOT BOUND.

                 eo_message = /bobf/cl_frw_factory=>get_message( ).

               ENDIF.

 

               eo_message->add_message(

                 is_msg  = lv_message

                 iv_node = is_ctx-node_key

                 iv_key  = ls_key-key

                 iv_attribute = 'PACKAGE_TYPE'

                              ).

 

               APPEND ls_key TO et_failed_key.


the screen have many items line.



ITEM_RED.png


There are a way to do it?


Thanks.


Viewing all articles
Browse latest Browse all 249

Trending Articles



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