Selection screen: no sequence check for select option
Hello everyone,
I am an SAP starter and this will is my first question:
I am making a program that approves a stock demand over several levels. When a level approves, the demand goes to the next level.
for example:
level 1 = planning
level 2 = management
level 3 = buyer
In an overview report i want to choose for which levels i want to see stock demands. But when I make a select option for the level, I cannot choose the range between management and buyer or planning and buyer for example, because it is alphabetically not in the right order. In this case the alfabet is not important but the order of the levels is, so can I prevent this check from happening?
Thank you very much
Hi vandersteen,
1. There should be some CODE
for each level.
2. Each code will have some description.
eg. planning, management, buyer
3. So, make select-option
for the FIELD of CODE
(and not the description)
regards,
amit m.
Similar Messages
-
Problem using At Selection Screen on value request for *"Select Fieldname"*
Hi All,
I Have a requirement of passing mutiple paraters value or selection option values in selection screen.
For Eg :I Have -
*--- Selection Screen
Select-options : s1 for vbak-vbeln ,
s2 for vbap-posnr.
*--- At Selection Screen
At Selection Screen on value request for s1-low.
i need to pass S1-low as well as S2-low ...
i.e first item of the Sales Document.
Value is getting passed in S1-low but not in S2-low
Can anybody help me on this ...
Thanks in Advance ..Hi,
Make use of the FM "F4IF_INT_TABLE_VALUE_REQUEST" for the value request for the first field.
Use the "FIELD_MAPPING" in the tables parameter of the above FM.
Please go through the FM documentation.
Hope this will help you.
Regards,
Smart Varghese -
Selection screen and authorization check for plant from 2 diff tables?
Hi,
Could anyone help me out?
how to write code for this?
u2022 Fields for selection
Plant : WERKS (one selection) - check authorization access u2013 Mandatory .
Material code MATNR (one selection) - Mandatory
and while doing the authorization check how should i check it ? here iam taking the table as t001w for werks and for selection screen iam taking it from another Z table......i should take 2 different tables here.....for selection and for authorization.
my code is pasted below:
Data Declarations *
data: s_werks type t001w-werks.
Selection Screen *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
PARAMETER : p_werks like Ztable-werks OBLIGATORY,
p_matnr like mara-matnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
Start-of-Selection *
START-OF-SELECTION.
**-Get Plants for Authorization check.
SELECT werks
FROM t001w
INTO TABLE it_werks
WHERE werks IN s_werks.
LOOP AT it_werks INTO x_werks.
v_werks = x_werks.
Regards,
ReddyPlant : WERKS (one selection)
That means only 1 plant value to be given? Then you can use PARAMETERS instead of SELECT-OPTIONS. And additionally, you'll only have to check that plant value.
Using SELECT-OPTIONS you would indeed retrieve the plants and check each individual selected plant. Your code for that is good enough to start with.
I wouldn't do the check in the START-OF-SELECTION event, but rather in the AT SELECTION_SCREEN event.
To perform an authorisation check; try the ABAP help on AUTHORITY-CHECK. And you will need to know which authorisation object you need to use.
Just noticed you're using PARAMETERS
WHERE werks IN s_werks
should be
WHERE werks eq p_werks
But actually you don't need to select T001W. Just use the value in p_werks.
Edited by: Maen Anachronos on Oct 10, 2008 7:53 PM -
Hey folks,
I have been using bootcamp for months now with windows 7 64 bit, and its been fine, yesterday while I was rebooting to do some gaming, at the hard drive selection screen when you boot holding the "options" butting down, it locks up when I select the windows drive and just sits there for ever. It doesn't throw an error, it boots fine into Lion.
I searched all morning and didn't find anything, was hoping that someone might have an idea.
Thanks in advanceSearch again. Microsoft has tips on what to do and Windows has a number of features
system restore points
automatic system repair using the Win7 DVD
system restore image creation
Just like you would with OS X Lion and Lion Recovery and Repair
Use WinClone 3 www.twocanoes.com $20 to make an image just like you would with Disk Utility Restore or Carbon Copy Cloner
rollback to last known good boot check point
rollback a driver or program or any changes
clean out temp files
clean registry
chkdsk
https://discussions.apple.com/people/The%20hatter?view=bookmarks -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR not input value in input field
Dear All,
I make search help for field ARBPL in selection screen are not excepted selected value.
Code is
SELECT-OPTIONS: p_arbpl FOR zdmde-arbpl MODIF ID two.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-low.
REFRESH sh_arbpl.
SELECT * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'P_ARBPL'
DYNPROFIELD = 'P_ARBPL'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = sh_arbpl.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-high.
REFRESH sh_arbpl.
SELECT * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'P_ARBPL'
DYNPROFIELD = 'P_ARBPL'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = sh_arbpl.
Please tell how to input selected field from search help into input field in both low and high.
Would appreciate your reply .
Regards,
PoojaHi Pooja,
For getting the response back from the user selection , please get the return code too. Before that instead of directly using the table crhd structure.. please do create a type declaration of that table , make sure that the field that you wanted to get using search help be specified at last of declaration type like this
TYPES: BEGIN OF ty,
OBJTY TYPE CR_OBJTY,
ARBPL TYPE ARBPL,
END OF ty.
this is because the return parameter t_rtn will holds the last value of type which been selected by user.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'P_ARBPL'
DYNPROFIELD = 'P_ARBPL'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = sh_arbpl
return_tab = t_rtn.
LOOP AT t_rtn INTO x_rtn .
ENDLOOP.
try executing this code.
TABLES crhd.
TYPES: BEGIN OF ty,
OBJTY TYPE CR_OBJTY,
ARBPL TYPE ARBPL,
END OF ty.
DATA: sh_arbpl TYPE TABLE OF ty.
DATA: dynpfields TYPE TABLE OF DYNPREAD,
x_dynpfields TYPE dynpread,
t_rtn TYPE STANDARD TABLE OF DDSHRETVAL ,
x_rtn TYPE DDSHRETVAL.
SELECT-OPTIONS: p_arbpl FOR crhd-ARBPL MODIF ID two.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-low.
REFRESH sh_arbpl.
SELECT * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl WHERE werks eq '1000'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'P_ARBPL'
DYNPROFIELD = 'P_ARBPL'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = sh_arbpl
return_tab = t_rtn.
LOOP AT t_rtn INTO x_rtn .
ENDLOOP.
x_dynpfields-fieldname = 'P_ARBPL-LOW' .
x_dynpfields-fieldvalue = x_rtn-fieldval.
APPEND x_dynpfields TO dynpfields.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-cprog
dynumb = sy-dynnr
TABLES
dynpfields = dynpfields
* EXCEPTIONS
* INVALID_ABAPWORKAREA = 1
* INVALID_DYNPROFIELD = 2
* INVALID_DYNPRONAME = 3
* INVALID_DYNPRONUMMER = 4
* INVALID_REQUEST = 5
* NO_FIELDDESCRIPTION = 6
* UNDEFIND_ERROR = 7
* OTHERS = 8
Regards,
Sivaganesh -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR D
I have four Select options A,B,C,D
For A value is entered
For B value is entered
For C value is entered
For D , i need to create a custom search help.i will develop that in the event
AT SELECTION-SCREEN ON VALUE-REQUEST FOR D.while generating the search help here
i need to access the values that are entered in A,B,C.
Plz any help ?Hi,
You can use the Function module 'F4IF_INT_TABLE_VALUE_REQUEST' to display your custom values in search help. Refer the below sample code on how to use this function module.
REPORT ZTAB_SHELP.
parameters: p_ebeln type ekko-ebeln.
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko,
it_return type STANDARD TABLE OF DDSHRETVAL,
wa_return like line of it_return.
*at selection-screen
at selection-screen on value-request for p_ebeln.
select *
up to 10 rows
from ekko
into CORRESPONDING FIELDS OF TABLE it_ekko.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = 'EKKO'
RETFIELD = 'EBELN'
PVALKEY = ' '
DYNPPROG = sy-repid
DYNPNR = sy-dynnr
DYNPROFIELD = 'EBELN'
STEPL = 0
WINDOW_TITLE = 'Ekko Records'
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = 'X' "allows you select multiple entries from the popup
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET = ld_ret
TABLES
VALUE_TAB = it_ekko
FIELD_TAB = lt_field
RETURN_TAB = it_return
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
READ TABLE it_return into wa_return index 1.
p_ebeln = wa_return-fieldval.
Regards,
Murali
Edited by: murali krishnan Rajendran on Jan 27, 2011 8:03 AM -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR
Experts,
I have two selection parameters on Selection_Screen as subscreen, as below:
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
SELECT-OPTIONS :
s_matnr FOR mara-matnr MODIF ID sc1, "Material
s_grid FOR mara-J_3APGNR MODIF ID sc6, "Grid values "pkb001
SELECTION-SCREEN END OF BLOCK b2.
selection-screen end of screen 1010.
Now i want to populate s_grid (Grid value) based on the values enterd for s_matnr (material ).
but when i want use:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_grid,
I'm not getting the values eneterd in s_matnr..
is the problem beacuse of subcreen?
Answers are highly appriciated.
Thanks.Yes that is correct, Once I hit enter key, then only the value for s_matnr populates, but it is not a good Idea to expect the user to hit the enter key. is there any way i can imitate/simulate "enter" key in the program?
also I'm using the FM:'DYNP_VALUES_READ' but that is also not getting me any value..
below is the code I'm using,
FORM sub_get_grid .
Refresh: t_mara.
data: lin type i.
data: l_dyname type standard table of dynpread,
w_dynpread type dynpread.
clear w_dynpread.
w_dynpread-fieldname = 'S_MATNR'.
append w_dynpread to l_dyname.
clear w_dynpread.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = l_dyname.
*Do not allow to select more than 1 material at a time.
SELECT
MARA~MATNR
INTO TABLE t_mara
FROM MARA
WHERE MARA~MATNR IN s_matnr.
describe table t_mara LINES lin.
If lin > 1.
Refresh: s_matnr.
MESSAGE i000 WITH text-033.
LEAVE LIST-PROCESSING.
* LEAVE TO SCREEN 100.
endif.
ENDFORM. -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_locat.
Experts,
In BW, does anybody have some simple code for when on your selection-screen you have an input parameter for the location of the file you want to upload. In SAP/R3 there use to be "Perform get_local_path" to drill down thru your hard drive to find the file you want to select to upload. I am not sure what to use in BW to execute a drill down process for getting the file in a drop down window.
Thank-You!Are you trying to browse the local PC or the appliation server.
Implement the program above, give it a try. When you hit F4, you will get a file open dialog, selection your file, then click open, this will fill the pathfile into your parameter on the selection screen. IS this whay you are looking for?
You don't need to provide anything, but you can if you want. There are import parameters.
report zrich_0001.
data: ifile type filetable.
data: xfile like line of ifile.
data: return type i.
parameters: p_file type localfile.
at selection-screen on value-request for p_file.
call method cl_gui_frontend_services=>file_open_dialog
EXPORTING
<b> WINDOW_TITLE = 'Please choose a file'
* DEFAULT_EXTENSION =
DEFAULT_FILENAME = 'Test.xml'
* FILE_FILTER =
INITIAL_DIRECTORY = 'C:'
* MULTISELECTION =</b>
changing
file_table = ifile
rc = return.
read table ifile into xfile index 1.
p_file = xfile-filename.
Regards,
Rich Heilman -
Calling selection screen depends on radio buttion selection
I need to call two selection screens (not radio buttons selection screens) depends on radio buttion selection
Eg :
R1-radio button
R2- radio button
if we select R1- we should get selection screen to enter input values like parameters, select options
PARAMETERS: p_abc TYPE MARA-matnr OBLIGATORY
SELECT-OPTIONS: s_mno FOR MARC- chngr OBLIGATORY.
PARAMETERS: p_xyz TYPE MARA - amktxOBLIGATORY. (just example)
If we select R2, we should get selection screen to enter input values like parameters, select options
PARAMETERS: p_abcd TYPE KNA1-matnr OBLIGATORY
SELECT-OPTIONS: s_mnop FOR VBAK- chngr OBLIGATORY.
PARAMETERS: p_xyza TYPE VBAP - amktxOBLIGATORY (just example)
if we select 1 , other should be hide
MadhuHi,
this is an example:
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETER R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND SET1.
PARAMETER R2 RADIOBUTTON GROUP G1 .
SELECTION-SCREEN BEGIN OF BLOCK B21 WITH FRAME TITLE TEXT-004.
PARAMETER: P1 LIKE IBIPPARMS-PATH MODIF ID FPA.
SELECTION-SCREEN END OF BLOCK B21.
SELECTION-SCREEN BEGIN OF BLOCK B22 WITH FRAME TITLE TEXT-004.
PARAMETER: P2 LIKE IBIPPARMS-PATH MODIF ID FPB.
SELECTION-SCREEN END OF BLOCK B22.
SELECTION-SCREEN END OF BLOCK B2.
DATA: P_CHECK.
AT SELECTION-SCREEN OUTPUT.
IF P_CHECK <> 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'FPA' OR
SCREEN-GROUP1 = 'FPB'.
SCREEN-INPUT = '0'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
P_CHECK = 'X'.
ENDIF.
IF R1 = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'FPA'.
SCREEN-INVISIBLE = '0'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'FPB'.
SCREEN-INVISIBLE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
IF R2 = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'FPB'.
SCREEN-INVISIBLE = '0'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'FPA'.
SCREEN-INVISIBLE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Angelo. -
CR2011 - Check for updates option
Hello,
I remember reading a few weeks ago that there was an update for CR2011. I selected the check for updates option on the help menu. I saw a dialog box that said that there were no updates. Is the menu option working?
Thank you
Tracy
Q18Hi Tracy,
If you go to help.sap.com you'll find release note which include the Adapt numbers and info what was fixed.
Click on the business Object tab and then filter on CR and CR 2011...
http://help.sap.com/businessobject/product_guides/CR2011/en/xi4_cr2011_release_notes_en.pdf
The plan is there will be full Patch releases quarterly which will have all update in them, these will have the Doc as above.
For the bi-monthly patches I'm still checking
Thanks again
Don -
Can't find "Check for updates" option in Help menu
Hello
I am planning to update several adobe reader installations over a windows domain. First of all, I tried to do it in one particular machine without administrative privileges (not being Local Administrator).
I am surprised of not finding the "Check for updates" option. What is more, there is no topic in the forums about this issue (?).
Please, could anyone tell me what am I missing?
Thanks in advance.Yes I'm afraid that update must be run with administrative privileges... But there must be another way of updating a product across a network of 400+ clients without login in all of them ...
I'm trying with adobeupdatechecker, to see if it is possible some kind of automation. -
Previously, the "Check for updates" option is found under the Help menu. In Firefox 4, I cannot find this option; how will we be able to check if there are available updates?
Can this new version update itself automatically? How do I set this option?Why do developers move stuff just to move it?
-
CRVS 2010 beta 2 - check for update options
Hello,
In beta 1 on the Crystal Reports menu were 2 options to check for updates for the software.
I noticed in beta 2 that both options have been removed. I looked around the application but did not see the options someplace else.
Is there something new in the works to be able to check for updates when the product goes live?
Thank you
TracyHi Ludek,
I understand that the check for update options won't work now. What is confusing is that the options were in beta 1, even though they didn't work and now in beta 2, they were removed.
Are you saying that the options will be put back in for the final release? If so, from a programming perspective, it doesn't make sense to remove them to only have to pur them back, or am I missing something?
Let me know.
Thank you
Tracy -
Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
Thanks in AdvanceI don't think there is a way for Edge Code. I'm not sure about Reflow.
Why don't you just upgrade? That will stop the notifications.
Randy -
I have Firefox 2.0 (running Windows XP) and want to update it to 3.6, but the "Check for updates" option on the Help menu is grayed out and need to enable this option by changing permissions on the Firefox installation directory. I need detailed instructions on how to access the Firefox installation directory and change the permissions.
Can someone please assist?
Thank you.See http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
Trash the current Firefox application to do a clean reinstall.
Install the new version that you have downloaded.
Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.
Maybe you are looking for
-
Tried to download FF 3.6.13. File seemed to down load but when trying to open the file error message stated: File not recognized. Macintosh OS 10.6.5. When I when I tried to download the file again, the download ran for about a minute or so and then
-
Creating R/3 service orders from CRM
Hi Experts I am working on an scenario in the Interaction Center WinClient where complaints can be registered concerning iobjects. For now, we have made the design using activities, where the objective is to simple register complaints. However we wou
-
Time Machine and Networked external hard drive
My family has thee macs and one PC, all under the same roof. All the Macs are 2008 and later models (MacBooks and MacBook Pros, with Leopard or Snow Leopard). I lost a load of data last weekend and my i-disk did not contain a backup of all the data,
-
Issue with font of correct answers
As you can see below, the correct answer provided during question review is too large to fit within the box that is provided for it. I have scoured the user manual and forums to figure out which object this is in order to change its font, but I have
-
Signal booster that works ???
my signal was not bad here at my home, but lately I am dropping calls like crazy. Is there a signal booster that really works ?