Skip to Content

how to find the correct Parameter Id

hi

below is my code...

i have the report in ALV grid display...

wn i double click on the materail number i want to get the "Basic data 1" screen but my problm is wn i click on the material it is displaying the view selections tab i dont want it to be displayed...

i hav written below code..

wt is wrong in my code?

and tell me exactly how can i find the Parameter ID for a perticular screen....

FORM F01_ALV_EVENT_USER_COMMAND

USING COMMAND LIKE SY-UCOMM

SELFIELD TYPE SLIS_SELFIELD.

ENDIF.

CLEAR wa_final-aufnr.

WHEN 'PLNBEZ'.

READ TABLE IT_FINAL INTO WA_FINAL INDEX SELFIELD-TABINDEX.

IF SY-SUBRC EQ 0.

SET PARAMETER ID 'MAT' FIELD WA_FINAL-PLNBEZ.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

ENDIF.

Regards

Smitha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

12 Answers

  • Posted on May 20, 2009 at 04:40 AM

    Hi Smitha,

    This can be done in the following way.

    SET PARAMETER ID 'MXX' FIELD 'K'.

    SET PARAMETER ID 'MAT' FIELD S_MATNR.

    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN

    Note: Check the table T132 for the status of various views. In the above example 'K' is used to define the basic data view

    Hope this helps.

    Thanks,

    Babu Kilari

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Babu,

      I am still not able to pass value using this method .

      My requirement is to pass value of change number field from selection screen to the tcode'CS03' .Tcode is called when one radiobutton is clicked from selection screen.

      hence I did coding in At selection screen event.

      Please share you knowledge on this.

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:23 AM

    Press F1 on selected field,you will get field documentation,

    in that documentation menu you can find technical settings option.

    Click on that a pop will appear with all the Technical details..there it self you can find your parameter ID of that field.

    Hope this Help ful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:30 AM

    By using TPARA Table also you can find Parameter ID's

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:31 AM

    Hi Smitha,

    I worked on the similar example that you have stated.....

    You try using this way...

    You are assinging the parameter id write....i think the field that you are clicking check the value and then compare that value and proceed this way....it will work....

    get cursor field fs_lips-vbeln value w_data.
      if fs_lips-vbeln  ne 'FS_LIPS-VB'.
        message 'Click on Delivery Number Only'(004) type 'E'.
      endif.
      set parameter id 'VL' field w_data.
      call transaction 'VL02N' and skip first screen.
      commit work.
      wait up to 10 seconds.
    

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:33 AM

    Hi Smitha ,

    You can use the tale TPARA to find the correct Parameter id .

    Regards,

    Chitra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:37 AM

    Hi Smitha,

    in order to find the corrct parameter ID, just click F1 on the material number in MM03 transaction and then click on technical information.

    inside that you will get the parameter ID for the required screen field.

    hope this may be usefull..

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2009 at 04:48 AM

    Hi ,

    Try as suggested by Babu.It works fine.

    SET PARAMETER ID 'MXX' FIELD 'K'.

    SET PARAMETER ID 'MAT' FIELD 'L5-01080-07A'.

    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

    Thanks,

    Ahsan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:57 AM

    Hi,

    As in MM02 there are views available, it wont skip the views popup by the statement " SKIP FIRST SCREEN".

    what yu can do is , that you have to record the Tcode MM02 upto screen BASIC DATA1 and then

    call transaction MM02 using itab mode 'E'.

    without recording you cant achieve ur requirement.

    Regards,

    Naveen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 04:58 AM

    hi,

    You can use this code

    FORM F01_ALV_EVENT_USER_COMMAND
    USING COMMAND LIKE SY-UCOMM
    SELFIELD TYPE SLIS_SELFIELD.
    
    ENDIF.
    CLEAR wa_final-aufnr.
    WHEN 'PLNBEZ'.
    READ TABLE IT_FINAL INTO WA_FINAL INDEX SELFIELD-TABINDEX.
    IF SY-SUBRC EQ 0.
    SET PARAMETER ID 'MXX' FIELD 'K'. "add this statement
    SET PARAMETER ID 'MAT' FIELD WA_FINAL-PLNBEZ.
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2009 at 05:00 AM

    Smitha,

    I have implemented the scenario and it is working fine for me.

    Check the solution give by me.

    Thanks,

    Babu Kilari

    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.