Skip to Content
avatar image
Former Member

saving selection screen variables

Hi Friends,

Any body tell me how to save the values given to parameters and select-options on selection screen into a Ztable.

i am giving 2 parameters and 2 select-options values in selection screen. i want to save those vales in to a Ztable which is specially made to save those values, against system date and user name.

can any body tell me how to do it. give me some query if possible.

Kumar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Aug 22, 2007 at 07:19 AM

    hi Kumar,

    after report has been started (i. e. with F8 on selection screen) you can easily save those values to a cleverly defined Z table.

    Eric Cartman

    PS.: What is the purpose of this save?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 07:22 AM

    Hi,

    In START-OF-SELECTION you can save given details using INSERT statement into ZTABLE.

    Reward if useful!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 09:41 AM

    hi kumar,

    first declare the select-options or parameters like this...

    "where wa_mara-matnr is the work area for internal table(it_mara) MARA.

    select-options: s_matnr for wa_mara-matnr.

    now "s_matnr-low" will have some value and "s_matnr-high" will have some value..assing these values into some other variable and insert these values into your "Ztable".....

    NOTE: here the system date is given in "SYST" in se11...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 09:44 AM

    sorry declaration differs, select-options: s_matnr for wa_mara-matnr.

    parameters: p_matnr like wa_mara-matnr.

    Add comment
    10|10000 characters needed characters exceeded