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

to display all the values if no data is selected.

hi there.

i have a selection screen with fields

- Sales organization

- Billing Document

- Billing document item

- Subtotal.

Presently if no data is selected my internal data is empty.

which should not be the case.

Can anyone help me.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 11:31 AM

    Try using Select-options instead of parameters.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 11:37 AM

    Deleted..

    Message was edited by:

    Vishnu Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 11:45 AM

    Hi,

    Use select options instead of prameteres

    Refer this code

    ----


    • PARAMETERS & SELECT-OPTIONS *

    ----


    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.

    SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln OBLIGATORY.

    SELECTION-SCREEN END OF BLOCK blk1.

    &----


    *& Form SUB_READ_VBRK

    &----


    • text

    ----


    FORM sub_read_vbrk.

    SELECT vbeln

    rplnr

    bukrs

    FROM vbrk

    INTO TABLE it_vbrk

    WHERE vbeln IN s_vbeln

    AND rplnr NE ' '.

    IF sy-subrc EQ 0.

    SORT it_vbrk BY rplnr.

    ENDIF.

    ENDFORM. " SUB_READ_VBRK

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 11:48 AM

    Hello Mona,

    Can you post your SQL statement ?

    Regards,

    Chester

    Add a comment
    10|10000 characters needed characters exceeded

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.