Skip to Content
avatar image
Former Member

Regarding table Control

Hello

I have a Table control with some fields in it and i want to provide another column with domain values for that corresponding feild as F4 help

any help regarding this matter

Points for sure

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Aug 17, 2007 at 06:04 AM

    Hi Prashanth,

    <b>Descriptive Solution is given below...

    regarding-f4-help-on-table-control-screen</b>

    Regards,

    ABY

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 05:49 AM

    Dear Prashanth,

    Please check if this demo program is useful...

    RSDEMO_TABLE_CONTROL

    See also below 2 links

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2165e990-0201-0010-5cbb-b5c2ad436140

    need-sample-table-control-program

    Regards,

    ABY

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 05:54 AM

    Hi Prashanth,

    Can you make your question more clear? If needed you can send me an email also.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 06:02 AM

    Hi,

    I guess you want to add F4 help for the field which are there in table control, If this is what you want then I will gelp you. Make your question more clear.

    Thanks,

    Madhura.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2007 at 08:51 AM

    Hi,

    Use option of dropdown on the field in table control which you want to create F4 help. This you will do in screen painter.

    In program generate an internal table i_drop for the fields on which you want to have dropdown.

    Then in program use funtion

    
    select * into corresponding fields of TABLE IT_drop from z_table_ekko.
    
    sort  it_drop by Z_EKKO_EBELN.
    
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield               =  'Z_EKKO_EBELN'
    
    *   DDIC_STRUCTURE         = ' '
       VALUE_ORG              = 'S'
    * IMPORTING
    *   USER_RESET             =
      tables
        value_tab              =  I_DROP
    *   FIELD_TAB              =
    *   RETURN_TAB             =
    *   DYNPFLD_MAPPING        =
     EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
              .
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    
    
    

    this will genrate F4 help on that field in table control.

    Add comment
    10|10000 characters needed characters exceeded