Skip to Content
author's profile photo
Former Member

selection screen to short

Hi all,

When I try to activate report I'm getting error that it's imposible to create screen.

It looks like this

SELECTION-SCREEN BEGIN OF BLOCK

PARAMETER pa_flo_9 TYPE data_type.

SELECTION-SCREEN PUSHBUTTON 70(10) flo_9 USER-COMMAND FLO_9.

SELECTION-SCREEN END OF BLOCK

If I try to put button more on right then I'm getting error "The specific offset is too large (maximum 75)"

Problem is that there is not enough place in line. I've tried using

SELECTION-SCREEN: BEGIN OF LINE

.......

SELECTION-SCREEN: END OF LINE

I'm not getting this error but my comments are below other components and I can't see them at all. Does anybody know how to increase width of line?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    Posted on Sep 28, 2007 at 11:01 AM

    Hi..

    Try this way...

    SELECTION-SCREEN BEGIN OF BLOCK

    PARAMETER pa_flo_9 TYPE data_type.

    SELECTION-SCREEN PUSHBUTTON 50(10) Text-B01 USER-COMMAND FLO_9.

    SELECTION-SCREEN END OF BLOCK

    Here Text-B01 is the Text element you have to create for giving the Label.

    <b>reward if Helpful.</b>

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I think you've run into a hard limit of the system, as the report selection screen is generated you're bound by the framework SAP provides. In the release I'm working on the limit imposed by the syntax check is 83.

      You may need to build your own screen and attach this to your program.

      Regards,

      Nick

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 10:56 AM

    SELECTION-SCREEN PUSHBUTTON <b>70</b>(10) flo_9 USER-COMMAND FLO_9.

    THE 70 IS THE PROBLEM.. REDUCE IT AND TRY AGAIN ...

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 10:57 AM

    Hi Marcin,

    Specify BLOCK name with FRAME option.

    Check the code in BOLD.

    SELECTION-SCREEN BEGIN OF BLOCK <b>B1 WITH FRAME TITLE TEXT-001</b>.

    PARAMETER pa_flo_9 TYPE data_type.

    SELECTION-SCREEN PUSHBUTTON 70(10) flo_9 USER-COMMAND FLO_9.

    SELECTION-SCREEN END OF BLOCK <b>B1</b>.

    Thanks,

    Vinay

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:12 AM

    hi,

    Try this way.

    SELECTION-SCREEN BEGIN OF BLOCK <b>blk1 WITH FRAME TITLE text-001.</b>

    PARAMETER pa_flo_9 TYPE data_type.

    SELECTION-SCREEN PUSHBUTTON 70(10) flo_9 USER-COMMAND flo_9.

    SELECTION-SCREEN END OF BLOCK <b>blk1.</b>

    reward if useful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:29 AM

    Hi,

    I had no problem with the report below.

    John

    REPORT YJNM_SELSCR_PLAY3.

    SELECTION-SCREEN BEGIN OF BLOCK b.

    PARAMETER pa_flo_9 TYPE data_type.

    SELECTION-SCREEN PUSHBUTTON 76(10) flo_9 USER-COMMAND FLO_9.

    SELECTION-SCREEN END OF BLOCK b.

    initialization.

    flo_9 = '0123456789'.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:29 AM

    Go to Utility->setting-> abap editor -> Editor

    and check the Downward-Comp Line Length(72)

    Add comment
    10|10000 characters needed characters exceeded