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

ANOTHER SELECTION SCREEN VALIDATION

Former Member
0 Likes
640

SUPPOSE

SELECT-OPTIONS:S_DELIEVRY FOR LIKP-VBELN.

HOW TO GIVE F4 FUNCTIONALITY FOR S_DELIVERY

AT SELECTIONSCREEN ON VALUE REQUEST FOR S_DELIVERY.

WHT TO CODE HERE?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
624

Hi,

use

at selection- screen on value-request for S_DELIVERY-low.

use the function module

'F4IF_INT_TABLE_VALUE_REQUEST'

thanks & regards,

Venkatesh

6 REPLIES 6
Read only

Former Member
0 Likes
625

Hi,

use

at selection- screen on value-request for S_DELIVERY-low.

use the function module

'F4IF_INT_TABLE_VALUE_REQUEST'

thanks & regards,

Venkatesh

Read only

Former Member
0 Likes
624

hi pavan,

call the FM F4IF_INT_TABLE_VALUE_REQUEST

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

  • retfield = 'KSCHL'

RETFIELD = 'P_P_OPT'

  • PVALKEY = ' '

DYNPPROG = SY-CPROG

DYNPNR = SY-DYNNR

DYNPROFIELD = 'P_P_OPT'

  • STEPL = 0

WINDOW_TITLE = 'Output Types'

  • VALUE = ' '

VALUE_ORG = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

TABLES

VALUE_TAB = ITAB

FIELD_TAB = T_FIELDTAB

RETURN_TAB = I_RETTAB

  • 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.

regards,

priya.

Read only

Former Member
0 Likes
624

Hi,

try this

the following example may be of some help to you:

DATA: lf_repid LIKE sy-repid,

lf_dynnr LIKE sy-dynnr,

lf_dynprofield LIKE help_info-dynprofld,

lf_retfield LIKE dfies-fieldname.

MOVE sy-repid TO lf_repid.

MOVE sy-dynnr TO lf_dynnr.

MOVE 'PA_DPROF' TO lf_dynprofield.

MOVE 'PROFILNAME' TO lf_retfield.

PERFORM prepare_gt_value_tab.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = lf_retfield

dynpprog = lf_repid

dynpnr = lf_dynnr

dynprofield = lf_dynprofield

value_org = 'S'

TABLES

value_tab = it_value_tab

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.

thanks & regards,

Venkatesh

Read only

Former Member
0 Likes
624

Hi,

Use this FM 'F4IF_INT_TABLE_VALUE_REQUEST'

rgds

harris

Read only

Former Member
0 Likes
624

Hi,

Once you have coded it as: S_DELIEVRY FOR LIKP-VBELN.

the F4 help will show the values that are there for this field in LIKP table, you need not code it externally.

Hope this helps.

reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
624

Hi Pavan

AT SELECTIONSCREEN ON VALUE REQUEST FOR S_DELIVERY.

fill the internal table with data that u want and call this fm

call function 'F4IF_INT_TABLE_VALUE_REQUEST'.

please close u r previous threads,

kiran.M