Skip to Content
0

SAP CALL SCREEN (not modal) in modal dialog box not allowed

Feb 16 at 09:36 AM

139

avatar image

I have a program who does the following:

The user asks from the program to display the Z* tables in an ALV.
Then it selects a table and press the button SELECTTAB which it will run the following command:

**--Display screen with the fields listed for the given table
  call screen 200 starting at 10 2  ending at 70 22.

But the program is stopping with the following error:

CALL SCREEN (not modal) in modal dialog box not allowed

What I want is the following:
1. The user selects a table from the ALV.
2. The program displays a screen with the 1st 100 fields of the table with a checkbox in from. The user selects the desire ones and press OK.
3. The system display the fields as a selection screen, the user fill with the desire values and press OK.
4. Finally, the program display the records in an ALV and the user proceeds with the final actions.

The error appears in the 2nd step.
Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Feb 16 at 10:38 AM
1

First

  • (SE51) Change the attributes the dynpro 0200 : 'Normal' <-> 'Modal dialog box'
  • (SE41) You might have to adapt the Status type too : 'Normal Screen' <-> 'Dialog Box'

Are you rewriting SE16N to avoid authorization maintenance?

Show 2 Share
10 |10000 characters needed characters left characters exceeded

What we try to do is to display to the user the Z tables to choose 1, then display the 1st 100 fields and the user selects which ones he wants. After that it will be displayd and the user will put values in them eg BUKRS=1000.

What I want is to put the code of the Z_DYMAMIC_SELECTION_SCREEN in my program.

I can't find this:

  • (SE41) You might have to adapt the Status type too : 'Normal Screen' <-> 'Dialog Box'

I have done the SE51 it displays the form but I cannot do anything else even to close the sap window.

0

SE41 : look for the SET PF-STATUS in the logic/modules of the dynpro 0200, double-click the status name and adapt it to be 'dialog box compliant'.

0