Skip to Content
author's profile photo Former Member
Former Member

Open Dynpro in new Mode

Hello,

is there a way to open a Dynpro in a new modus?

something like:

CALL_SCREEN XYZ IN_NEW_MODUS.

best regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 22, 2016 at 10:23 AM

    @Horst Keller and @Sandra Rossi gave you the explain.

    Another solution could be calling your screen as Popup.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2016 at 10:16 AM

    A Dynpro is always part of a program. You can only open programs in new modes (ABAP sessions) and that only with CALL FUNCTION STARTING NEW TASK. But never just one Dynpro, how should that work at all?

    Horst

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2016 at 08:40 AM

    I guess you can " CALL TRANSACTION 'XXXX' "

    Regards,

    Vishal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2016 at 09:28 AM

    There is for instance function module TH_CREATE_FOREIGN_MODE - already discussed in the forum

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      i already used the function th_create_mode, but there is just a tcode or a transaction name. what i need is a dynpro number.

      CALL FUNCTION 'TH_CREATE_FOREIGN_MODE'

      EXPORTING

      CLIENT =

      USER =

      * TCODE =

      * RETURN_ERROR = 1

      * CREATE_EXCLUSIVE = 0

      * EXCEPTIONS

      * USER_NOT_FOUND = 1

      * CANT_CREATE_MODE = 2

      * NO_AUTHORITY = 3

      * OTHERS = 4

      .

      IF SY-SUBRC <> 0.

      * Implement suitable error handling here

      ENDIF.


      what i need is something like:


      CALL FUNCTION 'TH_CREATE_FOREIGN_MODE'

      EXPORTING

      CLIENT =

      USER =

      DYNPRO_NUMBER =

      * RETURN_ERROR = 1

      * CREATE_EXCLUSIVE = 0

      * EXCEPTIONS

      * USER_NOT_FOUND = 1

      * CANT_CREATE_MODE = 2

      * NO_AUTHORITY = 3

      * OTHERS = 4

      .

      IF SY-SUBRC <> 0.

      * Implement suitable error handling here

      ENDIF.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.