Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Option List

Former Member
0 Likes
467

Dear Experts

I need to display f4 help.

and i m using F4IF_INT_TABLE_VALUE_REQUEST function module.

In help, I hv display Plant number and Description of Plant.

Plant number is coming from t399i table and the description has to come from t001w table.

I m facing problem in populating the intertable with these two fields from different tables.

Can anyone help me in this.

Regards,

3 REPLIES 3
Read only

sridhar_meesala
Active Contributor
0 Likes
428

Hi,

You can either use joins or for all entries to select values from different tables into an internal table.

Thanks,

Sri.

Read only

former_member404244
Active Contributor
0 Likes
428

HI,

TYPES : BEGIN OF ty_help,

werks TYPE werks_d,

desc TYPE char40,

end of ty_help.

DATA: git_disphlp TYPE TABLE OF gty_lines.

GET the data from two tables and append it to single table git_dishlp and pass it to the FM.

Regards,

Nagaraj

Read only

Former Member
0 Likes
428

try this way---

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        RETFIELD    = 'TENDERID'                          " field name
        DYNPPROG    = PROGNAME
        DYNPNR      = DYNNUM
        DYNPROFIELD = 'TENDERID'                    " field name
        VALUE_ORG   = 'S'
      TABLES
        VALUE_TAB   = IT_TMP                       " internal table should contain the fields you wish to show in search help and the data too.
        RETURN_TAB  = T_RETURN.          "  T_RETURN LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.

Regards,

Sumit Nene.

Edited by: Sumit Nene on Jul 31, 2009 1:42 PM