data gv_message type string.

              MESSAGE ID sy-msgid TYPE sy-msgty

                      NUMBER sy-msgno

                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4

                       INTO gv_message .

              text1 = gv_message(50). " in this case is a text on a dialog screen 104

              text2 = gv_message+50.  " in this case is a text on a dialog screen 104

              CALL SCREEN 104 STARTING AT 2 2 ENDING AT 48 6.

Software Factory 2