Skip to Content
avatar image
Former Member

screen painter: cannot add fields to subscreen

Hello,

I use screen painter to create a screen. Only when a checkbox is ticked, will a subscreen pop up including text fields and input/output fields. But fields cannot be added to the Subscreen Area. The message wites 'Collision at target location (element not placed)'. Do I have to hard code to control the visibility of the subscreen under the condition I mentioned above? Where can I write code to check the condition for the subscreen to diaplay?

Thanx.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 06, 2013 at 12:18 AM

    "a subscreen pop up"?

    If you want a pop up, you need a screen with type "Modal Dialog Box".

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2013 at 06:32 PM

    You cannot add any element in a subscreen area, you have to display a subscreen in this area, so create another dynpro, type subscreen and display it in the area with a CALL SUBSCREEN statement in PBO and PAI of main screen.

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2013 at 06:53 PM

    raymond already says that you cant create any element in subscreen area. for this, you have to create another screen(type: subscreen). after creating this screen you click on attributes tab. here you have to check radiobutton 'SUBSCREEN' in screen type. go to layout. you can add any element (input/outputfields) here. next go to screen where you define subscreen area. in pbo you have to write:

    call subscreen <subscreen area name> including sy-repid '<subscreen dynpro number>'.

    in pai you have to write:

    call subscreen <subscreen area name>.

    hope you understand

    Regards

    Sabyasachi😊

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2013 at 06:38 AM

    Hi,

    Subscreen and pop up are two completly different things.

    As you said, you need a pop up with certain screen elements, then you shoud design a new screen(not subscreen) of type "Modal Dialog Box" which is already told by Chinmay.

    Now if you want to display some elements within the screen in which the check box is present then you can do it through subscreen, which is again defined by Sabyasachi as well as Raymond.

    HAPPY ABAPing

    Vishal

    Add comment
    10|10000 characters needed characters exceeded