PROCESS ON HELP-REQUEST
Hi
wat is importance of POH. what If there is no PROCESS ON HELP-REQUEST ?
Thanks and regards
- Puneet Sharma.
To display data element supplement documentation, you must code the following screen flow logic in the POH event:
PROCESS ON HELP-REQUEST.
FIELD <f> [MODULE <mod>] WITH <num>.
After PROCESS ON HELP-REQUEST, you can only use FIELD statements. If there is no PROCESS ON HELP-REQUEST keyword in the flow logic of the screen, the data element documentation for the current field, or no help at all is displayed when the user chooses F1. Otherwise, the next FIELD statement containing the current field <f> is executed.
If there is screen-specific data element supplement documentation for the field <f>, you can display it by specifying its number <num>. The number <num> can be a literal or a variable. The variable must be declared and filled in the corresponding ABAP program.
You can fill the variables, for example, by calling the module <mod> before the help is displayed. However, the FIELD statement does not transport the contents of the screen field <f> to the ABAP program in the PROCESS ON HELP-REQUEST event.
Similar Messages
-
Process on Help request and Process on value request events examples
HI All,
Can anybody please give me some examples of Process on Help request and Process on value request events.
Thanks in advanceHI,
Check programs
<b>demo_selection_screen_f1</b>.
<b>demo_selection_screen_f4.</b>
Regards,
Sesh -
F4 help needed in Process on value-request
Hi,
I have two fields on screen: region and its description in a dialog program. I want region description to be populated as soon as I select F4 help for region. Description field is output only . I want to do it using a module in Process On value-request. Field p_region MODULE GET_REGION_DESCRIPTION.
Using standard F4 help I can do it. If in my table I assign search help at field level for region. For example :
Search Help: ZREGION_SHLP. Selection method: ZREGION. Fields: Region and Description.
Table name : ZREGION.
i) 1st Fields: REGION , Data Element - ZREGN, Domain: ZZREGN ( CHAR2), Value table: ZREGN. Assign Search help at field level instead of data element level.
ii) 2nd Field: REGION_DESC, Data Element - BEZEI30.
in program: DATA: p_region like zregion-region. So if I press F4 help and select one region, description field gets populated.
I don't want to use standard functionality but want to write code in POV event. If I use F4IF_INT_TABLE_VLUE_REQUEST function module, I will get all the values associated with the field region. Since I don't know which region user has selected, i can't populate description. How to get the selected value in POV for that particular field. How can I get the value selected for region and then use DYNP_VALUES_UPDATE function module to update the description field. I tried search help exit event return to return the selected value. How to pass that value in POV module as you cannot use FORM ENDFORM . inside MODULE ENDMODULE.
Regards,
DPM1st step is:
choose screen 2000 for the program using t-code se80.
at the end of the coding enter the below code:
process ON VALUE-REQUEST.
FIELD screen field name module f4_zsearchhelp.
after typing the code double click on f4_zsearch help.
it ll ask for includes, Choose as main program.
then enter the below code after choosing:
DATA : t_dynpro_value TYPE TABLE OF dynpread,
v_field_value LIKE LINE OF t_dynpro_value,
lt_fields TYPE TABLE OF dfies,
t_return_str TYPE TABLE OF ddshretval,
w_return_str TYPE ddshretval,
v_text TYPE char25.
DATA: t_ty_prov_id TYPE STANDARD TABLE OF ty_prov_id,
w_ty_prov_id TYPE ty_prov_id.
CLEAR: t_ty_prov_id], w_ty_prov_id, t_return_str[, w_return_str.
enter the select query from the description table to get the description for the particular code.
in this i had mentioned with an example that i m getting description for massg :
p9001-massg ll have the value and v_text ll have the description.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = 'TY_TAB'
retfield = 'MASSG'------>returning field
PVALKEY = ' '
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P9001-ZMASSG'----
> pass the screen field name
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ''
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = t_ty_prov_id
field_tab = lt_fields
return_tab = t_return_str
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.
READ TABLE t_return_str INTO w_return_str WITH KEY retfield = 'P9001-ZMASSG'.
IF sy-subrc IS INITIAL.
READ TABLE t_ty_prov_id INTO w_ty_prov_id WITH KEY zmassg_desc = w_return_str-fieldval.
IF sy-subrc eq 0.
DATA: et_desc(20) TYPE c.
et_desc = w_ty_agrtx-v_gtext.
MODIFY SCREEN.
CLEAR : v_field_value,t_dynpro_value[].
v_field_value-fieldname = 'P9001-ZMASSG'.
v_field_value-fieldvalue = w_ty_prov_id-action_resn.
APPEND v_field_value TO t_dynpro_value .
CLEAR : v_field_value.
v_field_value-fieldname = 'V_TEXT'.
v_field_value-fieldvalue = w_ty_prov_id-zmassg_desc.
APPEND v_field_value TO t_dynpro_value .
CLEAR : v_field_value.
ENDIF .
ENDIF.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-cprog
dynumb = sy-dynnr
TABLES
dynpfields = t_dynpro_value
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
you can add the v_text in layput .
hope it ll satisfy your requirement. -
How to use F4 help in screens(Process on Value-request) ?
Hi experts,
Can someone provide me some code which uses Process on Value-request in dialog programming? I have a requirement of entering a path on a modal dialog box that i have designed and i need to attach the f4_filename function module to it ?Please help...
Thanks in advance,
regards
Ashwin.Hi Ashwin,
Can use the function module HELP_VALUES_GET_NO_DD_NAME.
Here is the sample code that can help you using this for F4 help.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_field-low.
PERFORM F4_HELP.
*& Form F4_HELP
FORM F4_HELP .
CLEAR : I_FIELDS1,I_CONTENTS1.
REFRESH : I_FIELDS1,I_CONTENTS1.
I_FIELDS1-TABNAME = 'YHPA0TPROJ'.
I_FIELDS1-FIELDNAME = 'YHPPROJ'.
I_FIELDS1-SELECTFLAG = 'X'.
APPEND I_FIELDS1.
CLEAR I_FIELDS1.
I_FIELDS1-TABNAME = 'YHPA0TPROJ'.
I_FIELDS1-FIELDNAME = 'YHPPDES'.
I_FIELDS1-SELECTFLAG = ' '.
APPEND I_FIELDS1.
CLEAR I_FIELDS1.
SELECT YHPPROJ
YHPPDES
FROM YHPA0TPROJ
INTO TABLE I_CONTENTS1.
IF NOT I_CONTENTS1[] IS INITIAL.
CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME'
EXPORTING
SELECTFIELD = 'YHPPROJ'
IMPORTING
IND = V_IND1
TABLES
FIELDS = I_FIELDS1
FULL_TABLE = I_CONTENTS1
EXCEPTIONS
FULL_TABLE_EMPTY = 1
NO_TABLESTRUCTURE_GIVEN = 2
NO_TABLEFIELDS_IN_DICTIONARY = 3
MORE_THEN_ONE_SELECTFIELD = 4
NO_SELECTFIELD = 5
OTHERS = 6.
IF SY-SUBRC EQ 0.
READ TABLE I_CONTENTS1 INDEX V_IND1.
P_PROJ = I_CONTENTS1-YHPPROJ.
P_YHPDES = I_CONTENTS1-YHPPDES.
ENDIF.
ELSE.
MESSAGE I000(YHPA0K) WITH 'No projects available'.
MESSAGE I519(YHPA0K). " No projects available
EXIT.
ENDIF.
ENDFORM.
Hope this helps you.
Regards,
Saumya -
Process On Value Request with Search Help Problem
I have a screen with a field that has a custom search help attached to it. I am using Process On Value-Request which ultimately uses function module F4IF_FIELD_VALUE_REQUEST to return the selected value from the search help. The value is then moved to the screen field.
THE PROBLEM: If I enter a value in a field on the screen, then use the search help from a different field the first value I entered gets cleared. Here is a code sample. Any suggestions as to why this is happening?
NOTE: The values that get cleared are fields on the screen that I do not reference at all in user_command_2501.
*****SCREEN 2500 FLOW LOGIC*********
PROCESS BEFORE OUTPUT.
MODULE status_2500.
PROCESS AFTER INPUT.
MODULE user_command_2500.
PROCESS ON VALUE-REQUEST.
FIELD makt-matnr MODULE user_command_2501.
MODULE user_command_2501 INPUT.
ok_code = sy-ucomm.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
searchhelp = 'ZWS_ASSETMATR'
fieldname = ' '
tabname = ' '
TABLES
return_tab = search_itab
EXCEPTIONS
no_values_found = 1.
MOVE search_itab-fieldval TO: makt-matnr.
REFRESH search_itab.
SELECT SINGLE maktg FROM makt INTO crea_description
WHERE matnr = search_itab-fieldval.
MOVE 'I' TO scrn_attr_sw.
sy-ucomm = 'ENTER'.
LEAVE SCREEN.
CALL SCREEN 2500.
ENDMODULE. " user_command_2501 INPUT
Message was edited by: Jason DeLuca
Message was edited by: Jason DeLucaHi Jason
It seems you should first revise your code since your POV is not implemented so good.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
Help on PROCESS ON VALUE-REQUEST
Is it possible for getting values into mulitple fields based on the selection made with in a PROCESS ON VALUE-REQUEST Block.
In the F4 based on POV there are 4 fields, when the user select any one is it possible to get the other 3 into respective fields?hi saji
Thats very much possible if you just want to populate any of the possible values in the fields.
Write a piece of code which selects the other field values apart form the one you enter in the at selection-screen output event.
for Example if the field entered is matnr for suppose then you can write a select single for other fields say plant and storage location in this event so these fields automatically gets populated once you hit the enter key as this event acts as a PBO for selection screen.
I hope I have made things clear. if any do ask me, I can answer the same.
Regards
Santosh -
Hi SAP,
My backgroud job is failing with log as shown below
Job started
Step 001 started (program ZMRS0065, variant SUS
Step 002 started (program ZDRS0090, variant SUS
Step 003 started (program ZFRS0305, variant SUS
Step 004 started (program ZFRS0300, variant SUS
Access error
Job cancelled after system exception ERROR_MESSAGE
An error occurred when processing the spool request. (Possibly due to memory problems)
Kindly help out in this issue
Regards
MohammedHello Mohammed,
Have you seen any error in your SM21 system log and developer trace of spool work process
during that time?
The maximum size when create spool is 2GB.Pls also check if you are creating a spool
larger than it.
Best Regards
Jie Bai -
One work process can only process one user request at a time?
Hi,
How to configure the how many work processes for 80 concurrent users login daily.One work process can only process one user request at a time? Does this mean a login user has a dedicated work process servicing him. Or many login users interleave a work process's service? ,clarify the same.
ThankuThere are different types of work processes and the number needed depends on the number of transactions that will take place in the system. We are running 80 concurrent users with 15 dialog work processes. Please see the link below for an explanation:
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2e8a358411d1829f0000e829fbfe/content.htm -
Spool Error - Errors occurred processing this print request
Hi,
I have a problem printing documents through spool.
1. I run a form from Form Builder, execute and select to print from spool
2. In SP02, I select the spool request created and Select Direct Printing.
Spool request Status is changed to error and following is the error log.
I get this for all print requests from spool. When I print these documents directly, I have no problem. I understand there is some problem with the spool server but do not know what it is.
I also observed that when the spool access method is G - I have no problems in printing.
Printer: HP HP laserJet PS (2430)
Host Spool Access Method: L: Print Locally Using LP/LPR.
Device Class: Standard Printer.
SAP NW 2004s SP14
SAP spool error log
=====================
Print request processing log
The host spool is reporting errors
Message from host spool:
D:\usr\sap\BS9\DVEBMGS00\data\000001615100001.BS9 is currently being printed
End of message
Command used: print /d:
bs107.platinumdb.com\HP01 D:\usr\sap\BS9\DVEBMGS00\data\000001615100001.BS9
Errors occurred processing this print request
Error during print request output. l_rc = 1
There may be no printout
Most important attributes of spool request
Request number 16151
Request name PBFORM HP01 SMULLAPUDI
Client 800
Owner SMULLAPUDI
Request attributes
Time created 2008050118454600
Remaining life +00007235918
Dispo 1 (Go/Hold) H
Dispo 2 (Keep/Delete) K
Dispo 3 (Indirect/Direct) D
Default output device HP01
Default no. copies 1
Format G_RAW
Main print request characteristics
Spool request number 16151
Print request number 1
Print request attributes
Time created 2008050118471500
Output device HP01
Format G_RAW
Character converter active when first problem occurred
No information available
I am working on this since 4 days with no solution. Kindly help.
Thank you,
Vasu
Edited by: subbu M on May 2, 2008 11:37 PMHi Sri,
Try to setup the printer at OS LEVEL.
then,
If on Windows---use method C.
if not,
use method U and map to your printer queue at OS level.
Hope this resloves this issue.
Reward Pts if useful
Regards,
Malti -
Hi,
I have a requirement in which I have to assign couple of email ids to the "Manage Access Request" field to process site access requests. And, this is possible using server object model but I have to achieve this on SharePoint Online with the help
of CSOM.
There are two properties which control the access request configuration, first is "RequestAccessEnabled", a Boolean flag which turns on or off the access request feature for the site. The second property defines one or more email addresses where
requests will be sent to. It is named "RequestAccessEmail".
The above both properties are available for server object model but not for CSOM.
So, is there any other workaround or way to achieve the sane in CSOM?
Thanks,I don't think there is a programmatic workaround for SharePoint Online. But the email address is just used for Notification. Anyone with Manage Permissions can approve Access Requests. If you create an email distribution list for the multiple
addresses that should be notified you should be able to add the email address for the distribution list into the Access request email field using the user interface.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
BPEL Process Manager caches requests
Hi,
i recently downloaded Oracle BPEL Process Manager 10.1.2 bundled with JDeveloper.
I created a BPEL process which invokes an external web service. The result of the web service invocation is transformed with an stylesheet using the transform activity and resend to another web service. After i deployed the process, everything works fine.
But now i face a cache problem: everytime i change the stylesheet in the transform activity and redeploy the whole bpel process to the running BPEL PM Server, the change in the stylesheet is not reflected in the 2nd version of the BPEL process. The requests send after the transform activity are the same as in the 1st deployment of the process. Restarting the BPEL PM Server helps recognizing the change in the stylesheet and a appropriate request is send now.
I can see the new stylesheet after redeployment in the .jar file located in the deploy folder. I also see it in the temp directory of my domain.
It seems that the BPEL PM Server is caching somehow the stylesheet used in the 1st deployment and does not recognize changes in the stylesheet afterwards. Can i disable this caching? Or do i have to restart the server each time i change the stylesheet for the transform activity?
Thanks in advance
PeteMaybe there is some caching property which can be disabled?
I didn´t find any hints on the forum and currently i always create a new stylesheet (with a new name), copy the whole content from the old stylesheet and assign the new stylesheet to the transform activity before redeployment, which is a very poor solution but still faster than relaunching the server... -
How to monitor the Activation process of a request in DSO
Hi all,
I have loaded the data ( 7 million) records in DSO as a new request. I have clicked on the activation button.
Can any one tell me where can we check the status of this activation process of this request?
When clicked on monitor or logs button it shows me all as status green, but not able to figure out where to check the status of activation process.(the data is still not activated )
any help would be great.
Thanks in advance.
Regds,
MaddyHi,
There are a couple of places where you can see the activation progress.
1) To start with SM37 job log > (give BI_PROCESS_ODSACTIVAT or BI_ODSA*)
and it should give you the details about the activation job. If its active make sure that the job log is getting updated at frequent intervals.
2) For very huge number of records SM37 job log may not get update frequently. In that case you have a workaround.
Go to contents > Active Data table > No. of entries > This will keep on increasing at frequent intervals.
3) SM66 > Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
4) Go to Activate button in Target > Request tab. Inside you can see a job log button. It will also show some log regarding the last activation.
Thanks,
JituK -
hello experts...
i have a table control that display Item information. I would like to add value-request on vendor text field based on the item.
Example: Item A have Vendor 1 and Vendor 2 maintain in Source list.
if i click the value-request for vendor only vendor1 and vendor2 will show, not all the vendor registered in SAP.
Please help on how can i achieve this
thank youHi,
I think you are working with Module-Pool programming....
So,In Module Pool programing goto the particularScreen Flowlogic tab where u are looping in table control.--> Goto its layout ..In layout -
>in the Right side u can enter its check table or search help.
OR
IN FLOW LOGIC use EVENT PROCESS ON VALUE REQUEST
Both the solution will work ...
just try it.
Affable
Arbind -
Process on value request in Dialog screen based on value of screen field
Hello Gurus,
I have a check box on a dialog screen. If the checkbox is checked, based on that I want the other field on the same dialog screen to follow logic for F4 dropdown.
Now I know if I want to write this, I have to write this in Process on value-request. But how do I get the value of the check box checked or not on the same screen in Process on value-request.
If it had been a simple selection screen I would have defined the check box as
Parameter: v_checkbox as checkbox user-command uc1.
But how do I handle above situation in dialog screen case ?
Please help.
Regards,
Jainam.
Edited by: Jainam Shah on Sep 29, 2009 6:19 PMHi Shah,
You have the addition for MODULE statement as ON INPUT.
Eg : FIELD <screen field> MODULE <module> ON INPUT.
You can give the check box field name in the above statement.
If you want to find as soon as the check box is checked, you can find it here.
Or else, in the addition ON REQUEST
you can see for the check box field value whether it is checked or not.
Thanks,
Prasad -
Equivalent for 'process on value-request' in WDA ?
Hello again,
i have one more requirement in building a wda-gui for an existing transaction.
In the flow-logic of the SAPGUI-transaction we have an event 'process on value-request', it is triggered when a user pushes the F4-Button or clicks onto the icon belonging to the InputField.
I need to have an equivalent in WDA.
Any ideas / workarounds ? Is perhaps OVS a possible way ?
Thanks a lot !Hi Andreas,
You can achieve this functionality by specifying the Input help mode property of the attribute to which you are binding your input field. You can choose among the various possibilities as Dictionary Search Help/Object Value Selector/User-Defined Programming. You can even just leave it as Automatic to allow the system take care of the search help to be displayed. No matter which option you use among the above quoted ones you would be able to get your search help. You need to go for OVS only when,
"Say, for example, the value help should take into account or fill multiple input fields of your view composition. However, the different input fields are related to different value nodes, which in turn refer to different ABAP Dictionary structures. ABAP Dictionary search helps are not able to fulfill this task, since the maximum scope of such a search help is the structure to which it is related. "
The OVS component offers an interface that can:
1) Receive information about which input fields should be displayed on the selection screen,
2) Receive information about the initial values of these input fields
3) Hand back the user's input into these input fields
4) Receive the result from the data retrieval in order to display the list
5) Hand back the selected data set to the consumer program
(The above has been quoted from the SAP's standard guide)
Regards,
Uday
Maybe you are looking for
-
I have a basic page built on the standard twoColFixLtHdr template that comes with CS4. Have created a new div #welcome that should extend across the whole width of the mainContent div, and the math adds up and the view layout guides shows everything
-
I recently updated my iPhone to iOS 6.0 and all my contacts have updated
Since completing the recent iPhone iOS 6.0 update, all my contact details have updated as well and I'd like to know how this happened. For example, a friend who I only had in with her first name, now has first and last name? Other contacts have added
-
I discovered the target mode recently (starting up with Fire wire and T pressed) but it does not work on my old G4 MacOS X.4.11 It just starts up normally although I keep the T button compressed. Same after changing the keybord.
-
Essbase Error: 1042003 & 1023001
Hi All, I have installed Essbase 11.1.1.3 on AIX machine. My shared services are in the windows machine. Now the issue is that i am able to perform all task except creation of parttition. While creating the partition, I am getting two errors: 1042003
-
:censored: cant MSI fix this mess up?
[size=17]I am so tired of it already. My 645E Max2 is so crappy. First it says my keyboard is connected incorrectly in PS2 then tells me to press F1 to continue. Then is takes forever to auto detect my HDDs. Next is that it always crashes at default