For sel. field 'PERNR', no selection with SIGN = 'I'; OPTION ' ' allowed
HI,
I am getting this error when i m wrintg this routine.
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'PERNR'.
l_idx = sy-tabix.
L_T_RANGE-IOBJNM = '0EMPLOYEE'.
L_T_RANGE-FIELDNAME = 'PERNR'.
L_T_RANGE-SIGN = 'I'.
L_T_RANGE-OPTION = '<>'.
L_T_RANGE-LOW = '1004586'.
L_T_RANGE-HIGH = '1006263'.
modify l_t_range index l_idx.
l_idx = sy-tabix.
For sel. field 'PERNR', no selection with SIGN = 'I'; OPTION '<>' allowed
when you are defining low and high value, u have to use
l_t_range-option = 'BT'.
Similar Messages
-
No selection with SIGN = 'I'; OPTION 'GE' allowed
Hello All,
I have added an ABAP routine in one of the InfoPackage to filter a field CREATDATE(char,8).
Whenever I am executing the InfoPackage I am getting the following error:-
For sel. field 'CREATDATE', no selection with SIGN = 'I'; OPTION 'GE' allowed
Message no. RSM1607
Through debugging I have noticed that after the EndForm of the InfoPackage filter the Program control goes to a System Program "RSS2_INTERPRET_SELOPTS_DS". All the Selection Options (EQ, BT, GE, GT, NE, LT, etc ) are defined in this program and the program control ignores the 'GE' option code specified in the program "RSS2_INTERPRET_SELOPTS_DS".
if not l_s_so-ge is initial.
clear l_s_selopts.
l_s_selopts-sign = 'I'.
l_s_selopts-option = 'GE'.
l_s_selopts-single = 'X'.
append l_s_selopts to e_t_selopts.
endif.
Can anyone help how to resolve this.
Thank You
Edited by: RACHANA_CG on Sep 27, 2010 2:28 PMHi,
I guess in Infopackage filter routine, you can only declare multiple single values or a range i.e technically I EQ & I BT.
Excluding or greater/less functions are disregarded. You can create a dynamic infopackage filter to have all the dates say for the next two years from the start date & run it.
--Akashdeep -
Possibele entries are not populating for the fields on the selection screen
Hi,
Possible entries are not populating for the fields on the selection screen for the query.But its working fine in Development and Quality Systems.
Can any body help me out
Regards,
Amit.Hi,
In the Selection screen,go to Settings->Value Restrictions tab->Read Mode Settings->Custom radio button and select the options Values in Master Data or Only Values in InfoProv or Only Posted values for navigation.
After this setting,check whether you are getting the data or not.
Rgds,
Murali -
Input help for AUART field on the selection screen
Hi,
I need to create a Z search help for the Field AUART ( sales document type ) .
The search help should be created in this way :
i need to group these Document types under one name ( say SALO) ZCM1, ZCM2,ZDM1,ZDM2,ZRE1,ZRE2,ZS01,ZS02,ZS04.
Then i need to group these document types under another name ( say PRJO) ZCM3,ZDM3,ZS03.
Then i need to group both SALO and PRJO under one name 'BOTH'.
So my new search help will be SALO
PRJO
BOTH
If i select SALO , it should pull data from the Table for all the document types specified. Similarly for PRJO and BOTH .
Can anyone please advice me in this regard at the earliest
With Best Regards
Mamatha.Hi Mamtha,
Your Scenario can be achieved be defining Search help Exit available in the search Help creation Screen
Regards,
Kasi S -
For abap-hr i need datatype and length for the fields which i selected
hi seniors,
I got one task for which i have to get the data type and length for the fields of a table in abap-hr. I am using dd03l table, but my team leader told me to not to use this. So, please anybody can help, i will be thankfull.
I have to select PA30 fields in which pernr and choic, subty and whatever i have selected the infotypes fields. If there is any function module to find data type and length or else any other table.
thanks,
sekhar.Hi,
Try using the Function Module "DDIF_FIELDINFO_GET". You can use this for fetching the complete details of a structure or, a specific field.
Input:->
TABNAME PA0001
FIELDNAME PERNR
Output:->
Check the DFIES_TAB it will contain all the details you need for the specific field.
Sample--->
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
TABNAME = 'PA0001'
* FIELDNAME = ' '
* LANGU = SY-LANGU
* LFIELDNAME = ' '
* ALL_TYPES = ' '
* GROUP_NAMES = ' '
* UCLEN =
* DO_NOT_WRITE = ' '
* IMPORTING
* X030L_WA =
* DDOBJTYPE =
* DFIES_WA =
* LINES_DESCR =
TABLES
DFIES_TAB = MY_DFIES_TAB
* FIXED_VALUES =
* EXCEPTIONS
* NOT_FOUND = 1
* INTERNAL_ERROR = 2
* OTHERS = 3.
Hope this was of some help.
Best regards,
Sagar. -
Change Pointers for the fields PERNR, GBDAT and PERID
Hi,
I want to know, how we can delete/de-activate and then add/activate Change Pointers for these fields. Is my Question a valid one? Please guide me if I'm wrong and help me in this issue.
Thanks in advance,
Exertive.
Message was edited by:
ExertiveHi Suresh,
I didn't get your point exactly. With this report, we can only Log the Changes that has been performed on a Particular Pernr or an Infotype. Actually, if see go through my Previous Post, you will get Clear Idea. Actually, I'm looking for the Concept below:
Actually, I'm using the Standard ALE Process for Masking Master Data fields (PERID and GBDAT) with default values from one system to another using the Message Type, HRMD_A (which will be used as a Standard Message Type for HR Personnel Administration and Organizational Management). For this, I' have used two Conversion Rules in the above Message Type. To make this ALE trigger, I have to Run the Report, RBDMIDOC. But, before trigerring the ALE for all the Employees in the System, I want to test the ALE for few Employees, whether it is working properly or not. For this, I think, I need to delete the Change Pointers for all the Employees except for the few Employees whom I want to Test. But, I don't have any idea, how to delete those Change Pointers. Please guide me some solution or provide me some document where I can find exact procedure for doing this. Guide me, If I'm going in wrong procedure.
Thanks in advance,
Exertive. -
How to get the F4 help for a field in the selection screen
Hi all,
I am working on a report program. In the selection screen, I have the field 'Brand Node ID'(ZNODEID). The requirement is to have the F4 help for this field. This field is available in a 'Z' table ZNODETAB. There is no Value table maintained for the corresponding data element. So, without disturbing the table data element/domain, I should get the F4 help in the selection screen of the report. In the F4 help, data should be fetched from the table ZNODETAB and the field is ZNODEID. Is there any way to do this.
By searching the function modules, I could find that, we can use the FM F4IF_INT_TABLE_VALUE_REQUEST. But, I am not Sure. Can someone tell me the parameters to be passed to this function module to get the F4 help and the procedure to follow. S_NODEID is the select option used in the program. Please help me in this regard. Thanks in advance.
Thanks & Regards,
Paddu.look at this code and try
select-options : S_NODEID for ZNODETAB-ZNODEID.
at selection-screen on value-request for s_nodeid-low
perform f4_nodeid using 'S_NODEID-LOW'.
at selection-screen on value-request for s_nodeid-low
perform f4_nodeid using 'S_NODEID-HIGH'.
end-of-selection.
FORM f4_nodeid USING p_field.
declare it_node.
select znodeid from ZNODETAB into table it_node.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ZNODEID'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = p_field
value = space
value_org = 'S'
display = 'F'
TABLES
value_tab = it_node
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
endform -
Select for partitioned table, will this work with sign?
Hi,
I have partitioned table and select for it like :
PARTITION BY RANGE ( "INDATE" )
( PARTITION "PRT_20091201" VALUES LESS THAN (TO_DATE(' 2009-12-02 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')...
SELECT COLUMN_LIST FROM TABLE1 WHERE
( indate >= to_date(t_indate || t_timefrom, 'mm/dd/yyyy HH24:MI:SS')) AND
( indate <= to_date(t_indate || t_timeto, 'mm/dd/yyyy HH24:MI:SS')) AND... so selecting all info for the given date withing specifiied time period, and I'm using >= condition on partitioned column, do you think it will work correctly getting directly to the single partition, or Oralce requires me put strictly = sign for that column, and then additioanly I can probably select time period, something like:
SELECT COLUMN_LIST FROM TABLE1 WHERE
( indate = to_date(t_indate , 'mm/dd/yyyy')) AND
( trim_to_time(indate) >= to_char(t_timefrom, ' HH24:MI:SS')) AND
( trim_to_time(indate) <= to_char( t_timeto, ' HH24:MI:SS')) AND... Tx all
Trtrento wrote:
Hi,
I have partitioned table and select for it like :
PARTITION BY RANGE ( "INDATE" )
( PARTITION "PRT_20091201" VALUES LESS THAN (TO_DATE(' 2009-12-02 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')...
SELECT COLUMN_LIST FROM TABLE1 WHERE
( indate >= to_date(t_indate || t_timefrom, 'mm/dd/yyyy HH24:MI:SS')) AND
( indate <= to_date(t_indate || t_timeto, 'mm/dd/yyyy HH24:MI:SS')) AND... so selecting all info for the given date withing specifiied time period, and I'm using >= condition on partitioned column, do you think it will work correctly getting directly to the single partition, or Oralce requires me put strictly = sign for that column, and then additioanly I can probably select time period, something like:
SELECT COLUMN_LIST FROM TABLE1 WHERE
( indate = to_date(t_indate , 'mm/dd/yyyy')) AND
( trim_to_time(indate) >= to_char(t_timefrom, ' HH24:MI:SS')) AND
( trim_to_time(indate) <= to_char( t_timeto, ' HH24:MI:SS')) AND... Tx all
TrI agree with David that the first example looked okay, but you should test to make sure. You can check individual partition contents by executing a query using the PARTITION option to specifiy a specific partition to check the values there. -
Search help for a field using a selection method which has a text table.
Hello all,
I am trying to create a search help for one of the fields in a structure say RFCDEST. Now for this i am giving the selection method as the DB table where all the RFCDEST are maintained. However there is a text table which is also comes up for this selection method and the description of the filed RFCDEST is in that text table and the description is not stored in the main table which i specified as the selection method.
My query is that on F4 now all the rfc destinations are being shown however the description i am not able to show them because there is no field in the table specified in the selectionmethod which hold s the description but instead it is there in the text table, how can i fetch the description from there and display in the search help.
Warm Regards,
Naveen Mlook at search help FC_RFCDEST. that problem has already been solved with this search help.
-
F4 ( Search Help ) for date field on the selection screen
Hi Freinds,
i have used WDR_SELECT_OPTIONS In my component, i have one date field on selection screen(BUDAT), for this date field i want seach help
this is my code
create a range table for Posting Date
lt_range_table = wd_this->m_handler->create_range_table(
i_typename = 'BUDAT' ).
add Posting Date to the selection
wd_this->m_handler->add_selection_field( i_id = 'BUDAT'
i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
I_VALUE_HELP_ID = '??????'
I_DESCRIPTION = 'Posting Date'
it_result = lt_range_table ).
can any one help me
Thanks
Srinihi sarbjeet
i created search help in dictionary and i used that search help in my program, but still its now working , any other ideas
Thnx
srini -
Initialization for Date Fields on PNP Selection screen
Hi All,
I need to initialize the date on the LDB PNP selection screen to today.
I gave the following code in the Initialization
Set the Key Date to Today
pnptimr1 = 'X'.
but this doesn't get reflected on the selection screen.
Please suggest.
Thanks,
Suryakiran D.Hi Suryakiran,
1. Only as Default.
2. Use this.
DATA : firstover TYPE c.
AT SELECTION-SCREEN OUTPUT.
IF firstover = ''.
firstover ='X'.
pnptimr6 = ''.
pnptimr1 = 'X'.
ENDIF.
regards,
amit m. -
Are free ios apps for sell if you download them with an unathorised pc
when im downloading free apps on itunes store it says buy because my computer is not authorised since i have authorised 5 computers already does this mean free apps are now for sale when i download them via my unauthorised machine. please help
If you purchased back in June, you are not eligible. The free apps are available only for devices first activated on or after September 1.
Regards. -
Selection screen control for a field in the report painter report
Hi,
Could you please advice me as to how we can add exclude selection functionality for a field on the selection screen of a report made by trhough report painter report.
Your prompt reply will be really appreciated.
Thanks,
Ramesh.look at this code and try
select-options : S_NODEID for ZNODETAB-ZNODEID.
at selection-screen on value-request for s_nodeid-low
perform f4_nodeid using 'S_NODEID-LOW'.
at selection-screen on value-request for s_nodeid-low
perform f4_nodeid using 'S_NODEID-HIGH'.
end-of-selection.
FORM f4_nodeid USING p_field.
declare it_node.
select znodeid from ZNODETAB into table it_node.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ZNODEID'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = p_field
value = space
value_org = 'S'
display = 'F'
TABLES
value_tab = it_node
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
endform -
Matchcode Object for ORGEH field in Selection-Screen
Hi,
I need to create a Matchcode Object for ORGEH field in my Selection-Screen. But, I want to have the selection Criteria as the Tcode: Po10 does. Please guide me how to do it. Is there any Standard Matchcode Object provided by SAP for this kind of functionality?. Please provide some kind of solution. I am in urgent need of this.
Thanks in advance,
Exertive.Hi,
You can try the following are the search helps (matchcode objects) available for ORGEH (Org Unit).
HRBAS00OBJID
RESP_ORG_UNIT
H_T527X Help View for Organizational Units
H_T527X_1 Seach help for T527X
Regards,
Suresh Datti -
HI all,
in the report selection screen i have one field for which F4 HELP doesnt exits, even in the table for that field F4 HELP is not there but the user requests me to get the F4 HELP for that field in the selection screen .
please help how to get F4 HELP for the field
thanks in advance.The following are the options for F4 help
Code:
PARAMETERS: p_ccgrp LIKE rkpln-ksgru. "Cost Center Group
*Input help for Cost Center Group
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ccgrp.
TYPES: BEGIN OF ty_ccenter_group,
setname TYPE setnamenew,
descript TYPE settext,
END OF ty_ccenter_group.
DATA: it_ccenter_group TYPE TABLE OF ty_ccenter_group.
CLEAR it_ccenter_group.
SELECT a~setname
b~descript
INTO TABLE it_ccenter_group
FROM setheader AS a INNER JOIN
setheadert AS b ON
asubclass EQ bsubclass AND
asetname EQ bsetname
WHERE a~setclass EQ '0101' AND
b~langu EQ sy-langu.
CALL FUNCTION
'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
ret field = 'SETNAME'
dynpprog = v_repid
dynpnr = SY-DYNR
dynprofield = 'P_CCGRP'
value_org = 'S'
TABLES
value_tab = it_ccenter_group.
F4IF_FIELD_VALUE_REQUEST:
This FM is used to display value help or input from ABAP dictionary. We have to pass the name of the structure or table (TABNAME) along with the field name (FIELDNAME). The selection can be returned to the specified screen field if three
parameters DYNPNR, DYNPPROG, DYNPROFIELD are also specified or to a table if RETRN_TAB is specified.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = table/structure
FIELDNAME = 'field name'
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNR
DYNPROFIELD = 'screen field'
IMPORTING
RETURN_TAB = table of type DYNPREAD
Getting F4 help based on other field .
Suppose if there are 2 fields on selection screen user name and Purchasing Document and the case is getting values of Purchasing Document Number based on user name
Code:
TYPES: BEGIN OF ty_match_nast,
objky TYPE na_objkey,
END OF ty_match_nast.
Data: it_match_nast TYPE STANDARD TABLE OF ty_match_nast.
Data: it_dypr_val TYPE STANDARD TABLE OF dynpread.
DATA: wa_dypr_val TYPE dynpread.
DATA: it_return TYPE STANDARD TABLE OF ddshretval.
Case when only username value is entered.
SELECT objky
FROM nast
INTO TABLE it_match_nast
WHERE kappl = c_ef
AND kschl = c_neu
AND usnam = wa_dypr_val-fieldvalue.
ENDIF.
*Read User name on selection screen field value
CLEAR wa_dypr_val.
REFRESH it_dypr_val.
wa_dypr_val-fieldname = 'P_UNAME'. "User name
APPEND wa_dypr_val TO it_dypr_val.
*FM to get the value
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
translate_to_upper = 'X'
TABLES
dynpfields = it_dypr_val_h.
*Pass the values to f4 table
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = u2018OBJKY'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_EBELN'
value_org = 'P'
TABLES
value_tab = it_match_nast
return_tab = it_return.
Maybe you are looking for
-
"Print" to pdf function missing in Word and other strange print behaviour
I'm trying to narrow down an issue I'm having with printing. I just noticed that the ability to creat a pdf in Word (print -> save as pdf) has disappeared. The button is now gone for some strange reason. I also noticed when trying to print a Keynote
-
How do I have a Server send my workstation an alert when it shuts down?
We have a rack containing all 6 servers (including our DC) running Server 2008 R2 that are connected to an APC UPS. We have an issue where there is an Emergency Shutoff switch in one of the classrooms that gets "accidentally bumped into" on occasions
-
Changing resolution and image size doesn't change result on screen?
I'm using Photoshop CS3. I am trying to change the resolution of several images that will be printed in a newspaper. So the current images are 72 ppi and really huge -- for example 36 x 27 inches (document size), and when I change them to 300 ppi, th
-
GROUP BY (for summary counts) clause in ViewObject ?
I'm trying to create a ViewObject based off an EntityObject. I want this ViewObject to perform simple summary counts. For example: SELECT COL1, COUNT(*) FROM TABLE1 GROUP BY COL1 but when I try this in Query Expert Mode , JDeveloper wants to pull in
-
My iPhone 5c dies during the night
I charge my phone every night before I go to sleep and when I wake up its in the verge of dying. It's ways at 3,5, or ten percent! What's going on i dont know what to do!!!