Skip to Content
avatar image
Former Member

Drop down for a field in table maintenance generator

Hi All,

I have created a table maintenance for a table.

I need to give F4 help for a field as a drop down, as of now i am using POV event and PAI event to get it triggered and captured.

It is working fine, but as my field is key field, once i select any value from drop down all other key fields are becoming disable for input.

code in POV event in flow logic is,

SELECT busrule

FROM z100_pro

INTO CORRESPONDING FIELDS OF TABLE it_bus.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'BUSRULE'

value_org = 'S'

TABLES

value_tab = it_bus

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

code in PAI event is,

CASE ok_code.

WHEN 'SELECTED'.

MESSAGE i888(sabapdocu) WITH z100_sup_shdw-busrule.

ENDCASE.

Can any one please help me on this.

Thank you,

Regards,

Kusuma K.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 07, 2010 at 08:56 AM

    In the screen field attributes of that particular field ( i think the option will be in the third row of the attribute ),

    there change it as list box with key or listbox.

    Sorry i just answered looking at the thread subject.

    Do you want it in drop down or whether you want to correct the error ????

    Edited by: Keshav.T on Jan 7, 2010 2:28 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Nike,

      I have assigned the foreign key and made the field as "List Box with Key" , but still it is not showing values in drop down while I am getting values as F4 help.

      Could you please help me.

      Many Thanks,

      Jitendra

  • Jan 07, 2010 at 09:43 AM

    If its giving you the values from value table,

    Then why are you coding POV and PAI in the table maintenance ?

    Add comment
    10|10000 characters needed characters exceeded