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

Steps

Former Member
0 Likes
596

Hi ,

What are the stps to create POH , POV in dialog program ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
568

Hi,

check this thread

Process on Value-request(POV)

Effect

Event in user-programmed help that occurs when the user presses F4 with the cursor positioned on a screen field. The modules specified in the subsequent FIELD statements are called instead of the SAP help system.

Example

FIELD XY MODULE XYZ

Module XYZ determines the value of field XY and places it in the input field on the screen.

Process on Help-Request(POH)

Effect

POH event for user-programmed help. Modules in this event are processed when the user presses F1 with the cursor positioned on a screen field. In the subsequent FIELD statements, you can specify a data element supplement (or determine one in an application module). The texts are then displayed by the help system.

Examples

FIELD XY WITH '0001'.

Displays data element addition 0001 for field XY.

FIELD XY WITH variable.

Displays the data element supplement with the number contained in variable for the field XY.

FIELD XY MODULE XYZ WITH variable .

The relevant data element supplement is determined in module XYZ, where it is placed in variable. Use this procedure whenever you cannot determine the correct data element supplement until the F1 event.

Regards,

Priyanka.

3 REPLIES 3
Read only

Former Member
0 Likes
569

Hi,

check this thread

Process on Value-request(POV)

Effect

Event in user-programmed help that occurs when the user presses F4 with the cursor positioned on a screen field. The modules specified in the subsequent FIELD statements are called instead of the SAP help system.

Example

FIELD XY MODULE XYZ

Module XYZ determines the value of field XY and places it in the input field on the screen.

Process on Help-Request(POH)

Effect

POH event for user-programmed help. Modules in this event are processed when the user presses F1 with the cursor positioned on a screen field. In the subsequent FIELD statements, you can specify a data element supplement (or determine one in an application module). The texts are then displayed by the help system.

Examples

FIELD XY WITH '0001'.

Displays data element addition 0001 for field XY.

FIELD XY WITH variable.

Displays the data element supplement with the number contained in variable for the field XY.

FIELD XY MODULE XYZ WITH variable .

The relevant data element supplement is determined in module XYZ, where it is placed in variable. Use this procedure whenever you cannot determine the correct data element supplement until the F1 event.

Regards,

Priyanka.

Read only

Former Member
0 Likes
568

Hi,

You can use the FM F4IF_INT_TABLE_VALUE_REQUEST for POV

Check this example..

TABLES: T005T.

DATA: BEGIN OF t_t005 OCCURS 0,

land1 TYPE t005-land1,

END OF t_t005.

PROCESS ON VALUE-REQUEST FOR p_land1.

REFRESH: t_t005.

SELECT land1

INTO TABLE t_t005

FROM t005.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = 'T005'

PVALKEY = ' '

retfield = 'LAND1'

dynpprog = sy-repid

DYNPNR = sy-dynnr

dynprofield = 'P_LAND1'

callback_program = sy-repid

value_org = 'S'

TABLES

value_tab = t_t005

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,

Naren

Thanks,

Naren

Read only

former_member673464
Active Contributor
0 Likes
568

Hii..

check the demo programs.<b>

demo_dynpro_f1_help

demo_dynpro_f4_help_dictionary

demo_dynpro_f4_help_dynpro

demo_dynpro_f4_help_module</b>

regards,

veeresh