SAP Process on Value & Process On Help-Request
โก Okos รถsszefoglalรณ
Process On Value-Request and Process On Help-Request are the screen events behind F4 and F1 in SAP ABAP. This page explains both events, the FIELD statements that trigger them, and the function modules that display documentation or possible entries.

What are POH and POV?
First, to begin with if you know nothing about Screen Flow logic and their uses in SAP, we recommend you check our tutorial on Pรกrbeszรฉdprogram.
POH and POV are the two screen events that answer a help request from the user. POH reacts to the F1 key and explains what a field means, while POV reacts to the F4 key and lists the values that the field accepts. Both are declared in the flow logic of the screen, next to PBO and PAI.
| Kritรฉriumai | POH (Process On Help-Request) | POV (Process On Value-Request) |
|---|---|---|
| Kivรกltva valami รกltal | The F1 key | The F4 key, or the Possible entries button |
| Cรฉl | Explains the meaning of the field | Offers the values the field accepts |
| Default source | Data element documentation in the ABAP Dictionary | Fixed values, check table, or search help |
| Data transport | None, the field is only displayed | The selected value is written back to the screen field |
| Typical function module | HELP_OBJECT_SHOW_FOR_FIELD | F4IF_INT_TABLE_VALUE_REQUEST |
Most nรฉzzรผk meg rรฉszletesen a POH-t รฉs a POV-t
Folyamat segรญtsรฉgkรฉrรฉskor (POH): F1 Sรบgรณ
- Whenever F1 is pressed the POH event for the specified data element is executed.
- If the PROCESS ON HELP-REQUEST event does not exist in the process logic of a screen, the documentation of the field in the ABAP Dictionary is taken as a basis and displayed. Even if that does not exit no help is displayed.
- A mezลsรบgรณ dokumentรกciรณjรกnak megjelenรญtรฉsรฉhez a kรถvetkezล kรฉpernyลfolyamat logikรกt kell kรณdolnia a POH esemรฉnyben:
PROCESS ON HELP-REQUEST FIELD <f> [MODULE <mod>] WITH <num>
- Ha a mezลhรถz van kรฉpernyลspecifikus adatelem-dokumentรกciรณ szรกmรกnak megadรกsรกval jelenรญtheti meg .
- A szรกm lehet literรกl vagy vรกltozรณ. A vรกltozรณt deklarรกlni รฉs kitรถlteni kell a megfelelล ABAP programban.
- Megjegyzรฉs: a FIELD utasรญtรกs nem adja รกt a kรฉpernyลmezล tartalmรกt az ABAP programhoz a FEJLESZTรS SEGรTSรGKรRรSRE esemรฉnyben. Csak a sรบgรณdokumentรกciรณt mutatja. Ez az.
The module <mod> is defined in the ABAP program like a normal PAI module. The processing logic of the module must ensure that adequate help is displayed for the field in question. Instead of calling an extra screen with text fields, you should use one of the following function modules to display a suitable SAPscript dokumentum
HELP_OBJECT_SHOW_FOR_FIELD
- Ez a funkciรณmodul az ABAP szรณtรกrbรณl bรกrmely szerkezet vagy adatbรกzistรกbla รถsszetevลinek adatelem-dokumentรกciรณjรกt jelenรญti meg.
- A komponens รฉs a struktรบra vagy a tรกbla nevรฉt รกtadja a FIELD รฉs TABLE importparamรฉtereknek.
HELP_OBJECT_SHOW
- Ezzel a funkciรณmodullal bรกrmelyiket megjelenรญtheti SAPscript dokumentum.
- A DOKCLASS รฉs DOKNAME importparamรฉtereknek รกt kell adnia a dokumentumosztรกlyt (pรฉldรกul TX az รกltalรกnos szรถvegeknรฉl, DE az adatelem dokumentรกciรณnรกl) รฉs a dokumentum nevรฉt.
- Technikai okokbรณl egy รผres belsล tรกblรกzatot is รกt kell adni T sortรญpussal.LINE a fรผggvรฉnymodul tables paramรฉterรฉhez.
F1 explains the field. The next event lists what may be entered into it.
Process on Value (POV): F4
- Amikor a felhasznรกlรณ a Lehetsรฉges bejegyzรฉsek (F4) funkciรณt vรกlasztja, a rendszer megjelenรญti egy mezล lehetsรฉges bemeneti รฉrtรฉkeit (รฉrtรฉkek, ellenลrzล tรกblรกzat, matchcode), feltรฉve, hogy azokat a fejlesztล tรกrolta.
- A PROCESS ON VALUE-REQUEST esemรฉny mindig feldolgozรกsra kerรผl, ha a felhasznรกlรณ meghรญvta a โLehetsรฉges bejegyzรฉseketโ.
- Egy mezล lehetsรฉges รฉrtรฉkeinek meghatรกrozรกsรกhoz a kรฉpernyลn a kรถvetkezลket kell megadnia a kรฉpernyล รกramlรกsi logikรกjรกnak POV esemรฉnyรฉben:
PROCESS ON VALUE-REQUEST FIELD field name MODULE module name
- A fent definiรกlt modulon belรผli lehetsรฉges รฉrtรฉkeknรฉl az รกltalรกnos fรผggvรฉnymodult kell hasznรกlni HELP_VALUES_GET_WITH_TABLE hogy az ABAP szรณtรกrbรณl lehessen lekรฉrni a lehetsรฉges รฉrtรฉkeket.
Vannak mรกs funkciรณk is, amelyek szintรฉn hasznรกlhatรณk beviteli segรญtsรฉgkรฉnt:
F4IF_FIELD_VALUE_REQUEST
- Dinamikusan meghรญvja az ABAP szรณtรกr beviteli sรบgรณjรกt.
- Az ABAP szรณtรกr szerkezetรฉnek vagy adatbรกzistรกblรกjรกnak รถsszetevลneveit a TABNAME รฉs FIELDNAME importparamรฉterekben adhatja รกt a fรผggvรฉnymodulnak.
- A funkciรณmodul elindรญtja a ABAP szรณtรกr beviteli sรบgรณ ehhez az รถsszetevลhรถz. Az รถsszes vonatkozรณ kรฉpernyลmezล beolvasรกsra kerรผl.
- Ha megadja a DYNPPROG, DYNPNR รฉs DYNPROFIELD importparamรฉtereket, a felhasznรกlรณ kijelรถlรฉse visszakerรผl a kรฉpernyล megfelelล mezลjรฉbe.
- Ha megadja a RETURN_TAB tรกblรกzatparamรฉtert, akkor a kijelรถlรฉs visszakerรผl a tรกblรกzatba.
MODULE VALUE_CARRIER INPUT. CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING TABNAME = 'DEMOF4HELP' FIELDNAME = 'CARRIER1' DYNPPROG = PROGNAME DYNPNR = DYNNUM DYNPROFIELD= 'CARRIER'. ENDMODULE.
F4IF_INT_TABLE_VALUE_REQUEST
- Ez a funkciรณmodul egy รฉrtรฉklistรกt jelenรญt meg, amelyet egy ABAP program.
- Az รฉrtรฉklista VALUE_TAB tรกblaparamรฉterkรฉnt kerรผl รกtadรกsra a fรผggvรฉnymodulnak.
- Ha megadja a DYNPPROG, DYNPNR รฉs DYNPROFIELD importparamรฉtereket, a felhasznรกlรณ kijelรถlรฉse visszakerรผl a kรฉpernyล megfelelล mezลjรฉbe.
- Ha megadja a RETURN_TAB tรกblรกzatparamรฉtert, akkor a kijelรถlรฉs visszakerรผl a tรกblรกzatba.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING RETFIELD = 'CONNID' DYNPPROG = PROGNAME DYNPNR = DYNNUM DYNPROFIELD = 'CONNECTION' VALUE_ORG = 'S' TABLES VALUE_TAB = VALUES_TAB.
Ez minden a POH-nak รฉs a POV-nak. Hagyja รฉszrevรฉteleit, ha kรฉtsรฉgei vannak.
How to Build an F4 Help from an Internal Table
A value list that does not exist in the ABAP Dictionary is built inside the program and handed to F4IF_INT_TABLE_VALUE_REQUEST. The steps below produce a working F4 help for a screen field.
- Declare the value table: Build an internal table whose first column holds the value that is written back to the screen. Fill it in a PBO module or in the value request module itself.
- Register the field in the flow logic: Add PROCESS ON VALUE-REQUEST to the screen and connect the field with FIELD โฆ MODULE โฆ so the module runs when F4 is pressed.
- Call the function module: Pass RETFIELD with the column name, DYNPROFIELD with the screen field name, and VALUE_ORG = โSโ because the list is passed as a structured table.
- Return the value: DYNPPROG and DYNPNR identify the program and the screen, so the selected row is written directly into the screen field without further code.
- Prรณbรกld ki: Activate the screen, press F4 on the field, and check that the list appears and that the selection reaches the field.
* Flow logic of the screen PROCESS ON VALUE-REQUEST. FIELD spfli-connid MODULE f4_connid. * Module in the ABAP program MODULE f4_connid INPUT. DATA: lt_values TYPE STANDARD TABLE OF spfli. SELECT * FROM spfli INTO TABLE lt_values WHERE carrid = spfli-carrid. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONNID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SPFLI-CONNID' value_org = 'S' TABLES value_tab = lt_values. ENDMODULE.
๐ก Tipp: Read the value of another screen field with the function module DYNP_VALUES_READ before filling the list. That is how a dependent F4 help, such as connections for the airline already entered, is built.
