Skip to Content
avatar image
Former Member

Parameters with no display

Hi,

I have designed a report for all contracts..

Now the client wants to schedule this report.

When we schedule this report it should send mail to the person who created the contract when its going to expire.

So i want a field in the screen which should not be displayed on screen but i can pass value to the variant when i create it.

So can i have a parameter field with no display and in the variant pass a value to this paramater.

And will schedule this report with this variant.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

10 Answers

  • Sep 18, 2007 at 08:23 AM

    Hi Swathi..

    We can have it .

    PARAMETERS: P_MATNR LIKE MARA-MATNR NO-DISPLAY.

    This will work for u

    reward if Helpful

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 18, 2007 at 08:23 AM

    Hi,

    You can use

    <b>

    PARAMETERS: par type string NO-DISPLAY.</b>

    Regards,

    Sesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 08:38 AM

    hi

    use no-display addition with parameters

    parameters:p_matnr like mara-matnr

    reward if u fin useful

    regards

    Nagesh.Paruchuri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 08:43 AM

    Hi,

    Declare the parameter (with display enable) and when u execute,

    Enter the values that shud be passed to the paramter thru variant

    Go to Menu - GOTO->Variants -> Save as Variants

    U will find a list of screen fields

    For the field to be hidden

    Check on the check box for hidden fields..

    and save with a variant name.

    Message was edited by:

    Geetha Sravanthi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 08:47 AM

    Hi Swathi,

    Use below code.

    parameters: p_num type i default 123 no-display.

    parameters: p_num1 type i.

    start-of-selection.

    p_num = p_num1.

    write:/ 'PNUM is', p_num.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 09:04 AM

    Hi,

    I have created a parameter p_job type string no-display.

    and executed the program.

    Now i want to pass a value to it in the variant .

    Is this possible?If so how.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      start-of-selection.

      case sy-slset.

      when 'VAR1'.

      p_job = 'value1'.

      when 'VAR2'.

      p_job = 'value2'.

      when others.

      p_job = 'value3'.

      endcase.

      Depending on variant u can pass value to the field.

      This is because u cannot see this parameter on selection screen as u r using no-display and therefore cannot save the value in variant using selection screen. so write code this way.

      Regards

      Vasu

  • avatar image
    Former Member
    Sep 18, 2007 at 10:01 AM

    hi swathi,

    try this code for selection screen designing and in event at selection-screen output pass the value of user name to which you want to display those parameter and for other user these field will not display......

    tables : mara,aufm,somlreci1.

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

    PARAMETERS: p_bukrs LIKE aufk-bukrs OBLIGATORY.

    SELECT-OPTIONS: s_matkl FOR mara-matkl. "Mat Group

    SELECT-OPTIONS : s_werks FOR aufm-werks OBLIGATORY NO INTERVALS.

    PARAMETERS: p_werks LIKE aufm-werks MODIF ID ab,

    p_budat LIKE aufm-budat.

    SELECTION-SCREEN: END OF BLOCK b1.

    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

    SELECT-OPTIONS : s_email FOR somlreci1-receiver MODIF ID ee.

    SELECTION-SCREEN: END OF BLOCK b2.

    AT SELECTION-SCREEN OUTPUT.

    IF sy-uname NE '<username>'.

    LOOP AT SCREEN.

    IF screen-group1 = 'EE' OR screen-group1 = 'AB'.

    screen-active = 0.

    MODIFY SCREEN.

    ENDIF.

    ENDLOOP.

    ENDIF.

    Regards

    Gagan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 10:07 AM

    hi,

    use NO-DISPLAY keyword with parameter as

    PARAMETERS: p_ebeln like ekpo-ebeln NO-DISPLAY.

    if useful reward some points.

    with regards,

    Suresh Aluri.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2007 at 07:33 AM

    Hi

    Please check in the se16 and se 11

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2016 at 09:55 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded