Skip to Content

Drill down for infotypes

Hi,

I made a select-option for the field PA0290-PASSL,

but, but i noticed that i couldn't drill down to the table contents of the pa0290-passl. I thought maybe it has something to do with the table being an infotype. Because the select-option works fine for transparent tables like MARA. Are there any way for me to make a drill down for an infotype table such as the one i mentioned above?

Thanks,

Frank

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 07:34 PM

    hi,

    try this following code.

    types: begin of ty_PASSL,

    PASSL type PA0290-PASSL,

    end of ty_passl.

    data: i_passl type table of ty_passl.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR PASSL.

    Select PASSL from PA0290 into table i_PASSL where .....

    w_repid = sy-repid.

    w_dynnr = sy-dynnr.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'PASSL'

    dynpprog = w_repid

    dynpnr = w_dynnr

    dynprofield = 'PASSL'

    value_org = 'S'

    TABLES

    value_tab = i_PASSL.

    IF sy-subrc 0.

    ENDIF.

    reward if usefull

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2008 at 04:22 PM

    Hi,

    Inorder to get the drilldown list of values , the field must have any F4 help processing mechanism.

    Incase of MATNR: it has search help MAT1.

    but incase of PASSL, it does not have any search help or matchcode object or foreign key .

    Inorder to get F4 help we must have any of the following :

    1) Search Help

    2) Matchcode Object

    3) Foreign Key

    4) Help view.

    This PA0290-PASSL doesnt have any of the above , so you cannot get the values.

    I hope the problem is solved.

    reward points if helpful.

    Thanks and Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2008 at 10:24 AM

    Dude,

    i think u got confuse .

    pa0290 table doesn't exist .

    till now only pa000 to pa0215 exist .

    no fieled like passl is exist .

    rest you know.

    Edited by: Sandeep patel on Mar 27, 2008 11:24 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 02:30 PM

    Hi,

    You can use the following code for providing F4help.

    types: begin of ty_PASSL,

    PASSL type PA0290-PASSL,

    end of ty_passl.

    data: i_passl type table of ty_passl.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR PASSL.

    Select PASSL from PA0290 into table i_PASSL where .....

    w_repid = sy-repid.

    w_dynnr = sy-dynnr.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'PASSL'

    dynpprog = w_repid

    dynpnr = w_dynnr

    dynprofield = 'PASSL'

    value_org = 'S'

    TABLES

    value_tab = i_PASSL.

    IF sy-subrc 0.

    ENDIF.

    Reward points if helpful.

    Thanks and Regards.

    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.