Within FM not possible AT SELECTION-SCREEN or PROCESS ON VALUE-REQUEST
Hello !
Within a "User Help Exit" must be called the FM named
C14F_LOV_WAID. How can I adress this FM
for a field.
The goal is if user klicks on F4 the this FM mist be called.
please notice a user help exit is like a Function Modul.
e.g.
FUNCTION zuser_help_exit.
ENDFUNcTION.
Within this block FM block above I can't say:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR<FIELD>
or
PROCESS ON VALUE-REQUEST.
FIELD <field-name> MODULE create_dropdown_box.
Regards
Ertas Ilhan
HI
well I am not sure about this it works or not but we have various function modules which we can call in other function modules to provide F4 help i mean to say that call Function module inside a Function Module
F4IF_INT_TABLE_VALUE_REQUEST
F4IF_FIELD_VALUE_REQUEST.
Try out these Fm calling ..
I hope it helps you am not sure
Regards
Pavan
Similar Messages
-
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 -
Field is not coming in selection screen
Hi all,
In one of my report there is a field customer group in selection-screen. Report is working fine so i transport request to qas in qas that field is coming on selection screen and its working fine.
But when i transport same request from qas to prd that field is not coming on selection screen.
I try 2-3 times by making diffrent diffrent request but still same result. can any body please tell me why its happen in prd??
regards
AnkitHi,
What i would like to suggest u that u need to first
is u have to convert the R/3 Production systems into the Quality one
try using tcode BDLS
read the documentation of BDLS.
hope this helps u !!
thanks
ravi -
Creating an index: it's not possible to select a tablespace for the index
Hi,
we are using SQL-Developer Version 3.0.04.
When creating an index it's not possible to select a tablespace for the index. The only choice which is offered by SQL-Developer is <DEFAULT>.
The user itself has privileges on several other tablespaces - and therefore not just only on the default tablespace of the user.
Any help will be appreciated
Rgds
JHHi JH,
Well, the capability is somewhat buried in the UI, but it is there.
In the Create Index dialog ...
1. Tick the "Advanced" check-box in the upper right-hand corner.
2. Select "Properties" from the left-hand list (Definition, Properties, Partitions, DDL).
3. Click the Storage Options... button
4. Use the drop-down list to select the desired tablespace.
Return to (2.) and select DDL to see that your tablespace choice is present.
Regards,
Gary
SQL Developer Team
Edited by: Gary Graham on Mar 7, 2012 5:06 PM
And if all you see in the drop-down list is <DEFAULT>, then I would suggest rechecking the user's privileges. Or provide more details about your environment: OS / Database / JDK version, and so on. -
Selection screen / how to clear values in screen parameters parameters
Hello ,
I am developing report . It is simple one with standard screen 1000 ( Not Dynpro ).
On the screen I have several parameters and select options . When I run program , display list
and press the "Back" Button from tool bar ,entered values still remain in screen parameters.
I code I did 'clear' of parameters , so after pressing "back" button and before selection screen
is displayed the parameters show up as initial ( empty ) but once selection screen is displayed
the values are in parameters again .
Can you advice how I can clean up the values from screen parameters .
Thank youHi,
Try the below code....
DATA: executed TYPE n.
SELECT-OPTIONS : selop1 FOR sy-datum.
INITIALIZATION.
executed = 1.
AT SELECTION-SCREEN OUTPUT.
BREAK-POINT.
IF executed = 1.
executed = 0.
REFRESH: selop1.
CLEAR : selop1.
ENDIF.
Regards
Arbind -
Selection-screen navigation process required immeidately
Hi all,
I am having a program, if i execute that we will have 3 radio butons like basic data,
financial data, tax related data of the customers. when i select one of the radio buton and execute one selecion screen 500 will be displayed. selection screen 500 is common for all the radio buttons but based on the radio button some of the fields will be disabled.
what my problem is when i select one radio button and gave values in the selection screen , for the valid values it will display the data in the grid format. and i come back to the selection screen ,I have a situation where if the valid value is entered and there is no corresponding value for that selection i need to go back to the same selecion screen and a message should be displayed.
HOW TO HANDLE THIS?
Thanks,
Nagaraju.The following is the code....
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
PARAMETER: P_BWAF0 RADIOBUTTON GROUP RAD1 DEFAULT 'X'
USER-COMMAND PC,
P_BWAF1 RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK BLK1.
*C-- Period range
SELECTION-SCREEN: BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS: S_DATE FOR SY-DATUM MODIF ID PER.
SELECTION-SCREEN: END OF BLOCK BLK2.
AT SELECTION-SCREEN OUTPUT.
PERFORM SCREEN_INITIALIZE.
*& Form screen_initialize
text
FORM SCREEN_INITIALIZE .
IF P_BWAF0 EQ 'X'.
W_SSCRFIELDS-UCOMM = SPACE.
ELSE.
W_SSCRFIELDS = 'RAD1'.
ENDIF.
LOOP AT SCREEN.
IF W_SSCRFIELDS-UCOMM EQ 'RAD1'.
IF SCREEN-GROUP1 = 'PER'.
CLEAR: S_DATE.
SCREEN-ACTIVE = 1.
ENDIF.
ELSE.
IF SCREEN-GROUP1 = 'PER'.
CLEAR: S_DATE.
SCREEN-ACTIVE = 0.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDFORM. " screen_initialize -
User presses F4 on the selection screen for the field ''Transport Request"
Dear ALL,
I want to build up a functionality in my report where if the user presses F4 on the selection screen for the field ''Transport Request", then it will display all the Transport Requests involving that particular User...
What I mean is the normal process that is provided by SAP on saving an object in a package & assigning it to TR...
How do we Achieve it ?Hi.
First we need to give the client after that client number related requestes display in second parameter F4 help for that purpose i used two function modules.First for read the client no dynamically after that pass the client number second function module.
then u can get all the request for that client.
DFIELD-FIELDNAME = 'P_MANDT'.
APPEND DFIELD.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'Y9EZ_TR_COPYCLIENT'
dynumb = SY-DYNNR
tables
dynpfields = DFIELD
READ TABLE DFIELD INDEX 1 ."WITH KEY DFIELD-FIELDVALUE = 'P_MANDT'.
V_MANDT = DFIELD-FIELDVALUE.
CALL FUNCTION 'TR_F4_REQUESTS'
EXPORTING
IV_USERNAME = SY-UNAME
IV_TRKORR_PATTERN =
IV_TRFUNCTIONS =
IV_TRSTATUS = 'RNDL'
IV_FROM_DATE =
IV_TO_DATE =
IV_CLIENT = V_MANDT
IV_PROJECT =
IV_TITLE =
IV_VIA_SELECTION_SCREEN = 'X'
IV_COMPLETE_REQUESTS = 'X'
IT_EXCLUDE_REQUESTS =
IMPORTING
EV_SELECTED_REQUEST = S_TRKORR-LOW.
ES_SELECTED_REQUEST =
'TR_F4_REQUESTS' This function module for request
Regards
muralii -
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 -
'SET PF-STATUS EXCLUDING fcode' not working in Selection Screen event
Hi all,
I am trying to set PF-Status dynamically in Selection Screen based on Radio button.
For that i have inserted following code under event --> AT SELECTION-SCREEN OUTPUT
* SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
PARAMETERS: s_inc RADIOBUTTON GROUP rad DEFAULT 'X'
USER-COMMAND inc MODIF ID mod,
p_inc(10) MODIF ID m1,
s_lbr RADIOBUTTON GROUP rad,
p_lbr(10) MODIF ID m2.
SELECTION-SCREEN END OF BLOCK b1.
* AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
REFRESH fcode.
IF s_inc IS INITIAL.
APPEND 'CRTE' TO fcode.
APPEND 'CHNG' TO fcode.
APPEND 'DISP' TO fcode.
APPEND 'PRNI' TO fcode.
APPEND 'CRTL' TO fcode.
SET PF-STATUS 'STATUS_IN' EXCLUDING fcode.
ELSE.
SET PF-STATUS 'STATUS_IN'.
ENDIF.
Though s_inc is initial, i can see all the buttons from Status 'STATUS_IN' after execution of above code. EXCLUDING statement is not taking any effect which we normally get in Module pool program.
Please tell me what went wrong in above code?Problem solved ......Thanks Keshav,
Giving code correction -->
* SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
PARAMETERS: s_inc RADIOBUTTON GROUP rad DEFAULT 'X'
USER-COMMAND inc MODIF ID mod,
p_inc(10) MODIF ID m1,
s_lbr RADIOBUTTON GROUP rad,
p_lbr(10) MODIF ID m2.
SELECTION-SCREEN END OF BLOCK b1.
* AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
REFRESH fcode.
IF s_inc IS INITIAL.
APPEND 'CRTI' TO fcode.
APPEND 'CHGI' TO fcode.
APPEND 'DISI' TO fcode.
APPEND 'DELI' TO fcode.
APPEND 'PRNI' TO fcode.
APPEND 'CRTL' TO fcode.
APPEND 'DATA' TO fcode.
ELSE.
APPEND 'CHGL' TO fcode.
APPEND 'DISL' TO fcode.
APPEND 'PRNL' TO fcode.
ENDIF.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = 'STATUS_IN'
P_PROGRAM = sy-repid
TABLES
p_exclude = fcode -
Customized Button code not working on selection screen.
Hello Experts,
I have a button on the selection screen next to Execute button on the Application Tool Bar.
I have written some validations on the button.It was defined on the PF-Status and its funtion text i have given as 'Show'.
But the problem is that the code is not working.When I execute the button,the screen just remains their.
The sy-comm always returns the value of 'UCOM' for whatever even takes place on the screen.The execution of the program does not stops their in debugger.
Can anyone help me with some sample code and also provide the value of sy-ucomm which i should use for the customized button.
Good points will be rewarded.Here is the short program which will show how to do it. You are simply checking for the USER-COMMAND value CHK and changing it to ONLI which is the F8 button, then the START-OF-SELECTION will be fired and you can output the list.
REPORT zyou_0001.
TABLES: sscrfields.
SELECTION-SCREEN PUSHBUTTON 2(10) pbut1 USER-COMMAND chk.
AT SELECTION-SCREEN OUTPUT.
pbut1 = 'Test This'.
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'CHK'.
sscrfields-ucomm = 'ONLI'.
ENDIF.
START-OF-SELECTION.
DO 10 TIMES.
WRITE:/ sy-index.
ENDDO.
Regards,.
Mohammed -
BI report not displaying Variable selection screen on UI
Hi,
We have recently upgraded our CRM to 7.0, but the strange thing is the BI reports are executing without giving the user the variable screen.
Now the alternative to this is making the variables in BI section Mandatory and they show up in the report, but this is not the correct way.
Are we missing some piece of configuration somewhere.
Regards
LalanHi Vinayak,
Do you know how can I get the variable selection screen to display in BI analyzer when I execute the report from backend BW system and it launches BI analyzer. I know we can go into Add-Ins and from toolbar we can go into Change Variables Values icon, but I would like selection screen to display as default when user runs the report from backend.
Thanks
Divya -
ABAP Program using Selection Screen in Process Chain
Hi,
I have included an ABAP Program in the Process Chain.
The ABAP Program takes a selection screen value from user before execution.
I have created a variant for both the ABAP Process (YPV_ABC) and a variant for the Selection Screen (YPV_XYZ).
The ABAP Program executes perfectly well in SE 38.
I get the following message when I execute the Process Chain.
"Status Change of Process ABAP YPV_ABC.
Save Status and Trigger Events if Appropriate "
When I click Yes, the ABAP Process becomes red.
These are error messages in the log
516 - Job started
550 - Step 001 started (program RSPROCESS, variant &0000000012961, user ID ALEREMOTE)
25 - Could not ascertain code page
546 - Job cancelled after system exception ERROR_MESSAGE
My questions are:
1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
2) Could you please help with the above error?1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
ABAP programs, with variants established for selection screens, are possible. We use them quite extensively for setting triggers to allow Process Chain to continue after an Interrupt Process has been hit.
2) Could you please help with the above error?
I'm not quite sure what could be causing this. When you tested this program in SE38, did you test it with the same variant for the selection screen and did you execute it in background? -
Selection Screen: change F4 Help values
HI,
i using a selection screen with:
parameters: pstat like edidc-status obligatory.
is it possible to midify the entries in the case the user is performing the F4 help ?
example: i want to show the values beginning with "5*" only (in the F4 help screen)
Edited by: Gordon Breuer on Oct 27, 2008 2:48 PMNow, it´s working but without any entries.
at selection-screen on value-request for p_status.
data: begin of value_tab occurs 0,
status type edids-status,
STATXT type edids-statxt,
end of value_tab.
data : return_tab like ddshretval occurs 0 with header line.
data : x type string.
refresh value_tab[].
refresh return_tab[].
value_tab-status = '53'.
value_tab-statxt = 'processed'.
append value_tab.
value_tab-status = '51'.
value_tab-statxt = 'not processed'.
append value_tab.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'STATUS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_STATUS'
tables
value_tab = value_tab
RETURN_TAB = return_tab
exceptions
parameter_error = 1
no_values_found = 2
others = 3
if sy-subrc eq 0.
p_status = return_tab-fieldval.
endif. -
Selection screen fields in which values have been entered
Hi All,
Is there any standard function module which enables us to determine which fields on the selection screen have values entered for them. In other words, I wish to determine which selection screen fields are no longer initial.
Thanks and Regards,
Vidya.Hi,
Why cant you simply use in this way?
if sel_screen_field1[] is not initial. "for selet-options
endif.
if sel_screen_field1 is not initial. "for parameters
endif.
is it not suitable for your case?
//Kothand -
Submit program with selection screen parameters - getting blank values
Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN ) but the value is blank in selection screen. I'm using the below code for this.
SUBMIT RMCPAMRP WITH MATNR_GL EQ I_MATNR SIGN 'I'
WITH WERKS_GL EQ I_WERKS SIGN 'I'
WITH PLSCN EQ I_TPLSCN SIGN 'I'
via selection-screen AND RETURN.
Could anyone please help me how to display value '000' rather than blanks.
thanks in advance.If I_MATNR, I_TPLSCN and I_WERKS are variable then try with
SUBMIT rmcpamrp
WITH matnr_gl = i_matnr
WITH plscn = i_tplscn
WITH werks_gl = i_werks
via selection-screen
AND RETURN .
If I_MATNR, I_TPLSCN and I_WERKS are of type range then try with
SUBMIT rmcpamrp
WITH matnr_gl IN i_matnr
WITH plscn IN i_tplscn
WITH werks_gl IN i_werks
via selection-screen
AND RETURN
Edited by: Pawan Kesari on Dec 24, 2009 3:33 PM
Maybe you are looking for
-
Running Incopy CS5 on Terminal/RDP server
Hi. Im running Adobe Incopy on a terminal server 2003. My problem is when I log off, the session hangs and must be disconnected by the admin (me). The app that hangs is CS5ServiceManager.exe. I cant find the exe anywhere, and I dont know what it does
-
DigiVox A/D - Cannot render audio capture
Hello, i have DigiVOX A/D. I configured it and I can watch TV. But when I try to capture it, there is a "Cannot render audio capture" message. I tried a lot of parameters changes but nothing helped. Can you please help? Juso
-
How to erase all Duplicates in ITUNE????
I have been trying to find out how to erase ALL of these duplicate songs that I have with just one click. Goning one by one does not make any sense with the tecnology at had? Does any one know how?
-
Query to find open period in inventory
Hi all, Please help me to create an sql statement to find the periods that are open in inventory. I created the script below but it gives me duplicate values. Is there any other way other than putting DISTINCT keyword to get rid of these duplicates.
-
Wo bleibt im neuen Pages das Suchfeld?
Mir ist unerklärlich, warum diese Funktion entfallen ist. Für sehr lange Texte ist diese Funktion für das Redigieren des Text eine große Hilfe und damit von absoluter Wichtigkeit. Nur um die Version für den Mac kompatibel mit der IOS-Version zu mache