Skip to Content
avatar image
Former Member

selection-screen

how to assign a value of one parameter to another in a selection-screen.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 21, 2007 at 10:46 AM

    hi,

    parameters: p1 type i default '13',

    p2 type i.

    initialization.

    p2 = p1.

    write:/10 p2.

    if helpful reward some points.

    with regards,

    Suresh Aluri.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      You can use the event AT SELECTION-SCREEN ON FIELD <source_parameter>.

      and assign the parameter to the target parameter.

      Reward points if this helps,

      Kiran

  • avatar image
    Former Member
    Aug 21, 2007 at 10:42 AM

    hi

    initialization.

    p_fld2 = p_fld1

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 21, 2007 at 10:45 AM

    Hi,

    If you want to assign default values to paramters you can use the addition DEFAULT and give the value in the declaration itself.

    PARAMTERS: par1(10) type c DEFAULT 'SAMPLE'.

    Else you can assign initial values in the INITIALIZATION event.

    OR

    INITIALIZATION.

    par1 = 'SAMPLE'.

    Please donot create duplicate posts

    Regards,

    Sesh

    Add comment
    10|10000 characters needed characters exceeded