Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Use TH_CREATE_MODE to invoke another program with some parameters

Former Member
0 Kudos
476

Hi:

TH_CREATE_MODE colud be a good solution to call transaction in a new session but I have to set some parameters to it just like SELECT-OPTIONS or something.

How to do this?

My code:

     CALL FUNCTION 'TH_CREATE_MODE'
       EXPORTING
         transaktion          = 'ZTEST'
         del_on_eot           = 0
         PARAMETERS           = 'S8-LOW=1000'          <-----incorrect I know
         PROCESS_DARK         = ''
*       IMPORTING
*         MODE                 =
       EXCEPTIONS
         max_sessions         = 1
         internal_error       = 2
         no_authority         = 3
         OTHERS               = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

1 REPLY 1

Former Member
0 Kudos
98

wrong mark