Skip to Content

ALV component in WD - lookup name from pernr

Hi,

I have an ALV table view with 4 fields visible:

PERNR

ENAME

SDATUM

EDATUM

These are all attributes of my custom Z table.

The user enters a value in PERNR either manually or from F4 selection. After having pressed ENTER on the number (PERNR), it has to fill ENAME with

the name from infotype PA0001. However, there is no onENTER event for the nodes. Will I use supply function on my node for this or where to place the lookup ?

Thanks in advance for your input.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 15, 2013 at 03:31 PM

    you can use ON_CELL_ACTION event of ALV.

    your cell detail will be stored in R_PARAM parameter.

    if helpful reward points

    Add comment
    10|10000 characters needed characters exceeded

    • I have done some testing after having added this line to the wddomodifyview:

      It now responds in the view if I just hit for instance the "Append Row" button and it should only respond to ENTER after the user has entered a PERNR.

      lo_value->if_salv_wd_table_settings~set_data_check( '01' ).