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

hi

hi

i need to solve one problem details are as shown bellow

take 2 fields

plant and storage location on the selection screen

if plant is empty then storage loaction may not be displayed on the selection screen

if plant value is entered then only it need to be displayed else no

need with clear coding

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2007 at 01:32 PM

    hi,

    u can give plant as obligatory in selection-screen.

    parameters : plant like werks obligatory.

    so the user cannot execute without filling it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2007 at 03:01 PM

    Check the below program :

    &----


    *& Report ZTEST_98

    *&

    &----


    *&

    *&

    &----


    REPORT ZTEST_98.

    tables : mard,

    t000md.

    selection-screen begin of block po_document with frame title text-001.

    parameters : p_werks like mard-werks memory id wer.

    selection-screen end of block po_document.

    selection-screen skip 1.

    selection-screen begin of block release with frame title text-003.

    parameters : p_lgort like mard-werks modif id rel.

    selection-screen end of block release.

    at selection-screen output.

    select single * from t000md. " WHERE DISFG EQ 'X'.

    loop at screen.

    case screen-group1.

    when 'REL'.

    if p_werks eq space.

    screen-input = '0'.

    screen-required = '0'.

    screen-invisible = '1'.

    modify screen.

    endif.

    endcase.

    endloop.

    Enter plant value ,then you get storage location otherwise no stroage location in selection.

    Thanks

    Seshu

    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.