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

Function module for finding F4 values for a field

Former Member
0 Likes
1,659

Hi all,

Can you please tell me the FM for getting F4 values for a particular field

At selection screen on value request for p_posnr

we need all line items for a particular vbeln.

Thanks

Sriman.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
842

You can use this...

F4IF_INT_TABLE_VALUE_REQUEST

Greetings,

Blag.

6 REPLIES 6
Read only

Former Member
0 Likes
842

F4IF_INT_TABLE_VALUE_REQUEST

Read only

Former Member
0 Likes
842

Hi Sri,

F4IF_FIELD_VALUE_REQUEST

Regards,

George

Read only

Former Member
0 Likes
843

You can use this...

F4IF_INT_TABLE_VALUE_REQUEST

Greetings,

Blag.

Read only

Former Member
0 Likes
842

hi,

use the FM <b>'F4IF_INT_TABLE_VALUE_REQUEST'</b>

check this thread..

https://forums.sdn.sap.com/click.jspa?searchID=1493569&messageID=2870448

do reward if it helps,

priya.

Read only

Former Member
0 Likes
842

modify ur code accordingly


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ccgrp.

  TYPES: BEGIN OF ty_ccenter_group,
          setname TYPE setnamenew,
          descript TYPE settext,
         END OF ty_ccenter_group.

  DATA : it_ccenter_group TYPE TABLE OF ty_ccenter_group.

  CLEAR it_ccenter_group.
  SELECT a~setname
         b~descript
         INTO TABLE it_ccenter_group
         FROM setheader AS a INNER JOIN
              setheadert AS b ON
              a~subclass EQ b~subclass AND
              a~setname EQ b~setname
              WHERE a~setclass EQ '0101' AND
                    b~langu EQ sy-langu.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
            retfield    = 'SETNAME'
            dynpprog    = v_repid
            dynpnr      = '1000'
            dynprofield = 'P_CCGRP'
            value_org   = 'S'
       TABLES
            value_tab   = it_ccenter_group.

Read only

Former Member
0 Likes
842

hi,

DYNP_VALUES_READ

THIS FUNCTION MODULE WILL RETRIVE THE DATA BASED ON VBELN WITH OUT TRIGGERING ANY EVENTS ,

THIS DEFINETLY MEETS YOUR REQUIREMENTOK BYE............

RAVI KUMAR