<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: modulepool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145638#M747762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default we get only PBO,PAI events in the flow logic scrren.If you want extra functionality like when we press f4 for a particular field we should get possible values for that field to be eneterd.This we can achieve by &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST. event.&lt;/P&gt;&lt;P&gt;Below i gave sample code for &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like suppose we want to know f1 for a particular field we should get some description for that field all that we do by Process on help request event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD VBAK-AUART&lt;/P&gt;&lt;P&gt;    MODULE VBAK-AUART_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE VBAK-AUART_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: DA_AUART LIKE VBAK-AUART,&lt;/P&gt;&lt;P&gt;          DA_BEZEI LIKE TVAKT-BEZEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: BEGIN OF DYNPFIELDS OCCURS 5.&lt;/P&gt;&lt;P&gt;            INCLUDE STRUCTURE DYNPREAD.&lt;/P&gt;&lt;P&gt;    DATA: END OF DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-VKORG' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-VTWEG' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-SPART' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              DYNAME               = SY-CPROG&lt;/P&gt;&lt;P&gt;              DYNUMB               = SY-DYNNR&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              DYNPFIELDS           = DYNPFIELDS&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              INVALID_ABAPWORKAREA = 01&lt;/P&gt;&lt;P&gt;              INVALID_DYNPROFIELD  = 02&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONAME   = 03&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONUMMER = 04&lt;/P&gt;&lt;P&gt;              INVALID_REQUEST      = 05&lt;/P&gt;&lt;P&gt;              NO_FIELDDESCRIPTION  = 06&lt;/P&gt;&lt;P&gt;              UNDEFIND_ERROR       = 07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC EQ 0. "nur falls Transport-Felder im Dynpro existieren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-VKORG'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-VKORG = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-SPART'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-SPART = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-VTWEG'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-VTWEG = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'RV_HELP'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              KEY            = VBAK-VKORG&lt;/P&gt;&lt;P&gt;              KEY2           = VBAK-VTWEG&lt;/P&gt;&lt;P&gt;              KEY3           = VBAK-SPART&lt;/P&gt;&lt;P&gt;              KEY4           = T180-TRVOG&lt;/P&gt;&lt;P&gt;              NUMBER         = '008'&lt;/P&gt;&lt;P&gt;              TRTYP          = T185F-TRTYP&lt;/P&gt;&lt;P&gt;              FIELD_IN       = VBAK-AUART&lt;/P&gt;&lt;P&gt;              DESCRIPTION_IN = TVAKT-BEZEI&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              FIELD          = DA_AUART&lt;/P&gt;&lt;P&gt;              DESCRIPTION    = DA_BEZEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF DA_AUART IS INITIAL. " Anwender hat F4-Hilfe abgebrochen&lt;/P&gt;&lt;P&gt;        DA_AUART   = TVAKT-AUART.&lt;/P&gt;&lt;P&gt;        DA_BEZEI   = TVAKT-BEZEI.&lt;/P&gt;&lt;P&gt;        VBAK-AUART = DA_AUART.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Ermitteln der Anzeigeart für die Auftragsart (Anzeigen/Ändern)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    REFRESH DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    CLEAR DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-AUART' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              DYNAME               = SY-CPROG&lt;/P&gt;&lt;P&gt;              DYNUMB               = SY-DYNNR&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              DYNPFIELDS           = DYNPFIELDS&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              INVALID_ABAPWORKAREA = 01&lt;/P&gt;&lt;P&gt;              INVALID_DYNPROFIELD  = 02&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONAME   = 03&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONUMMER = 04&lt;/P&gt;&lt;P&gt;              INVALID_REQUEST      = 05&lt;/P&gt;&lt;P&gt;              NO_FIELDDESCRIPTION  = 06&lt;/P&gt;&lt;P&gt;              UNDEFIND_ERROR       = 07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE DYNPFIELDS WITH KEY 'VBAK-AUART'.&lt;/P&gt;&lt;P&gt;    IF DYNPFIELDS-FIELDINP &amp;lt;&amp;gt; SPACE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Auftragsart ist zur Eingabe offen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      VBAK-AUART  = DA_AUART.&lt;/P&gt;&lt;P&gt;      TVAKT-AUART = DA_AUART.&lt;/P&gt;&lt;P&gt;      TVAKT-BEZEI = DA_BEZEI.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    CLEAR DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2007 12:58:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-17T12:58:52Z</dc:date>
    <item>
      <title>modulepool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145635#M747759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in flow logic only two events r pbo and pai?where i can see poh and pov event?plz tell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 12:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145635#M747759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: modulepool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145636#M747760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  You need to write poh,pov  in the flow-logic whenever u need to have f4 help and f1 help for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz reward points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 12:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145636#M747760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: modulepool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145637#M747761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this link.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;POV&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;POH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/dbad0435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/dbad0435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 12:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145637#M747761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: modulepool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145638#M747762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default we get only PBO,PAI events in the flow logic scrren.If you want extra functionality like when we press f4 for a particular field we should get possible values for that field to be eneterd.This we can achieve by &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST. event.&lt;/P&gt;&lt;P&gt;Below i gave sample code for &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like suppose we want to know f1 for a particular field we should get some description for that field all that we do by Process on help request event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD VBAK-AUART&lt;/P&gt;&lt;P&gt;    MODULE VBAK-AUART_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE VBAK-AUART_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: DA_AUART LIKE VBAK-AUART,&lt;/P&gt;&lt;P&gt;          DA_BEZEI LIKE TVAKT-BEZEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: BEGIN OF DYNPFIELDS OCCURS 5.&lt;/P&gt;&lt;P&gt;            INCLUDE STRUCTURE DYNPREAD.&lt;/P&gt;&lt;P&gt;    DATA: END OF DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-VKORG' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-VTWEG' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-SPART' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              DYNAME               = SY-CPROG&lt;/P&gt;&lt;P&gt;              DYNUMB               = SY-DYNNR&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              DYNPFIELDS           = DYNPFIELDS&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              INVALID_ABAPWORKAREA = 01&lt;/P&gt;&lt;P&gt;              INVALID_DYNPROFIELD  = 02&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONAME   = 03&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONUMMER = 04&lt;/P&gt;&lt;P&gt;              INVALID_REQUEST      = 05&lt;/P&gt;&lt;P&gt;              NO_FIELDDESCRIPTION  = 06&lt;/P&gt;&lt;P&gt;              UNDEFIND_ERROR       = 07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC EQ 0. "nur falls Transport-Felder im Dynpro existieren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-VKORG'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-VKORG = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-SPART'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-SPART = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE DYNPFIELDS WITH KEY 'VBAK-VTWEG'.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        VBAK-VTWEG = DYNPFIELDS-FIELDVALUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'RV_HELP'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              KEY            = VBAK-VKORG&lt;/P&gt;&lt;P&gt;              KEY2           = VBAK-VTWEG&lt;/P&gt;&lt;P&gt;              KEY3           = VBAK-SPART&lt;/P&gt;&lt;P&gt;              KEY4           = T180-TRVOG&lt;/P&gt;&lt;P&gt;              NUMBER         = '008'&lt;/P&gt;&lt;P&gt;              TRTYP          = T185F-TRTYP&lt;/P&gt;&lt;P&gt;              FIELD_IN       = VBAK-AUART&lt;/P&gt;&lt;P&gt;              DESCRIPTION_IN = TVAKT-BEZEI&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              FIELD          = DA_AUART&lt;/P&gt;&lt;P&gt;              DESCRIPTION    = DA_BEZEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF DA_AUART IS INITIAL. " Anwender hat F4-Hilfe abgebrochen&lt;/P&gt;&lt;P&gt;        DA_AUART   = TVAKT-AUART.&lt;/P&gt;&lt;P&gt;        DA_BEZEI   = TVAKT-BEZEI.&lt;/P&gt;&lt;P&gt;        VBAK-AUART = DA_AUART.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Ermitteln der Anzeigeart für die Auftragsart (Anzeigen/Ändern)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    REFRESH DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    CLEAR DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    MOVE 'VBAK-AUART' TO DYNPFIELDS-FIELDNAME.&lt;/P&gt;&lt;P&gt;    APPEND DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              DYNAME               = SY-CPROG&lt;/P&gt;&lt;P&gt;              DYNUMB               = SY-DYNNR&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              DYNPFIELDS           = DYNPFIELDS&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              INVALID_ABAPWORKAREA = 01&lt;/P&gt;&lt;P&gt;              INVALID_DYNPROFIELD  = 02&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONAME   = 03&lt;/P&gt;&lt;P&gt;              INVALID_DYNPRONUMMER = 04&lt;/P&gt;&lt;P&gt;              INVALID_REQUEST      = 05&lt;/P&gt;&lt;P&gt;              NO_FIELDDESCRIPTION  = 06&lt;/P&gt;&lt;P&gt;              UNDEFIND_ERROR       = 07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE DYNPFIELDS WITH KEY 'VBAK-AUART'.&lt;/P&gt;&lt;P&gt;    IF DYNPFIELDS-FIELDINP &amp;lt;&amp;gt; SPACE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Auftragsart ist zur Eingabe offen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      VBAK-AUART  = DA_AUART.&lt;/P&gt;&lt;P&gt;      TVAKT-AUART = DA_AUART.&lt;/P&gt;&lt;P&gt;      TVAKT-BEZEI = DA_BEZEI.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH DYNPFIELDS.&lt;/P&gt;&lt;P&gt;    CLEAR DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 12:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145638#M747762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: modulepool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145639#M747763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pov and pov events are to be wriiten by us as and when required,the poh(f1) help is used to display the additional documentation and the pov(f4) help is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used to display the possible values for a particular field,poh and pov events are not mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)poh(f1) : if the poh is not present then the abap/4 dictionary documentation is taken into consideration&lt;/P&gt;&lt;P&gt;            you must code as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                PROCESS ON HELP-REQUEST.&lt;/P&gt;&lt;P&gt;              &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIELD  to the ABAP program in the PROCESS ON HELP-REQUEST event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)pov(f4) :&lt;/P&gt;&lt;P&gt;Executed in the screen process logic in addition to the PBO and PAI events,it Displays all possible values for selection in a window.&lt;/P&gt;&lt;P&gt;You can program your own possible values help using the PROCESS ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;To define Possible values for a field on screen, u need to defined following in POV event of screen flow logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	FIELD field name MODULE module name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Possible values, within module defined above, you should use the general function module HELP_VALUES_GET_WITH_TABLE to get possible values from ABAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dictionary.When the user chooses the function Possible entries, the system displays the possible input values for a field (values, check table, matchcode), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;provided they were stored by the developer. The help system decides as to which possible entries are displayed. Possible entries is a standard function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event PROCESS ON VALUE-REQUEST is always processed if the user has called "Possible entries". If the cursor is positioned on a field which is named in a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following FIELD statement, the module specified there is executed.&lt;/P&gt;&lt;P&gt;you should possibly use the general function module HELP_VALUES_GET_WITH_TABLE to get possible values from table for a particular field on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other fuctions used for f4 help are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;Calls the input help of the ABAP Dictionary dynamically. You can pass the component names of a structure or database table of the ABAP Dictionary to the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module in the import parameters TABNAME and FIELDNAME. The function module starts the ABAP Dictionary input help for this component. All of the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;relevant screen fields are read. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the user&amp;#146;s selection is returned to the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;corresponding field on the screen. If you specify the table parameter RETURN_TAB, the selection is returned into the table instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;This function module displays a value list that you created in an ABAP program. The value list is passed to the function module as the table parameter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE_TAB. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the user&amp;#146;s selection is returned to the corresponding field on the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify the table parameter RETURN_TAB, the selection is returned into the table instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-programming/m-p/3145639#M747763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:19:32Z</dc:date>
    </item>
  </channel>
</rss>

