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

Two selection screen

Hi,

I have copied a standard program of SAP and need to modify, My problem is I need a different selection and i dont want to disturb the existing SAP selection screen.

So my plan is to create my selection screen and pass the value to the SAP Standard program selection screen and execute, I dont want the SAP standard selection screen to be visible to the user.

Please advice me how to go about this and Please give some example for Multiple selection screen.

regards,

Prabhu

Points assured.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jun 17, 2008 at 10:46 AM

    You can use submit statement to call the SAP program and pass your selection-screen or selection fields to it.

    So in you program , you define your own selection screen, take user input, than use the "submit" statement to call the sap program with passing your selection-screen values.

    Please check SAP help for submit command, you will also find the example program there.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 10:48 AM

    Hi,

    Go to transaction "SPRO" where in you can modify standard Transcation selection screens i.e Screen exits.

    And to modify the program related to the screen you have to look fro enhancement points in PAI and PBO module.

    Regards,

    Nisrin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:03 AM

    Hi,

    SUBMIT standard progname

    WITH P_VBELN EQ p_vbeln " pass the parameters of u r s

    WITH P_POSNR EQ p_posnr

    AND RETURN.

    u r standard sel screen will not appear since u r not calling u r standard program by using via selection-screen addition ie, submit standard pgogname via selection-screen.....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 12:30 PM

    Hi,

    Call your Std report pgm by passing the paramaters as shown in the below example:

    submit ZRPTPSH10 and return

    with pnpbegda = wa_2001-begda

    with pnpendda = wa_2001-endda

    with pnppernr = wa_2001-pernr.

    import hd to hd from memory id 'HD1'.

    free memory id 'HD1'.

    In your Std pgm export the internal table if any with export stmt as shown below:

    export hd to hd1.

    So u can display the values in ur own pgm itself.

    Regards,

    K.Tharani.

    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.