Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all..

Need some help here. Actually I am new to ABAP programming. I want to ask some question regarding ABAP language. I want to transfer text from the custom container into the table control. The first value can be transfered. But when i try for second time the custom container cannot transfer the value.

Below is the code after the button been pressed.

CALL METHOD TEXT_EDITOR->GET_TEXTSTREAM
*         EXPORTING
*             ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=>TRUE
          IMPORTING
              TEXT                   = TEXT
*             IS_MODIFIED            =
          EXCEPTIONS
              ERROR_CNTL_CALL_METHOD = 1
              NOT_SUPPORTED_BY_GUI   = 2
              OTHERS                 = 3.

      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

      CALL METHOD CL_GUI_CFW=>FLUSH
        EXCEPTIONS
          CNTL_SYSTEM_ERROR = 1
          CNTL_ERROR        = 2
          OTHERS            = 3.
      MESSAGE TEXT TYPE 'I'.


     MOVE TEXT TO  WA_ZMMSSKILL-ZSKILL.

    MOVE-CORRESPONDING WA_ZMMSSKILL TO G_TABLE1_ITAB.
    APPEND G_TABLE1_ITAB.
    REFRESH CONTROL 'TABLE1' FROM SCREEN '0100'.



Thank you for viewing this problem and try to help me in advance. :)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900