ALV Filter : Not working for a text field - Strange problem
Dear All,
I have a Z-program where the ALV filter is not working on a particular text field.
The output on that text field is as below :
ABCD
JKLM
YYZZ
ABCD
JKLM
ABCD
JKLM
YYZZ
YYZZ
When we try to filter on YYZZ, it gives blank list. But for other options given abobe it works fine.
I know it is because of the negative sign , but how can we over come this problem ?
Thanks in advance,
Sandip.
Hi Sandip,
Use 'LOWERCASE' in the fieldcatalog.
For the particular text field when you are appending the Fieldcatalog structure to the Fieldcatalog Table
( Suppose LS_FIELDCAT)
Then check the LOWERCASE field.
(LS_FIELDCAT-LOWERCASE = 'X' )
This will serve the purpose.
Regards,
Sourav
Similar Messages
-
MN04 not working for free text PO
Hi All,
I have maintained a condition record through MN04 in purchase organisation, company code and vendor combination. This condition record is working fine for regular purchase orders. But it is not working for free text PO's. Could you please guide me why is it so?
I am maintaining same purchase organisation, company code and vendor combination for free text PO also. Question is why it is working for a purchase order with material inside it and why it is not working for purchase order with out material.
Thank you all in advanceHi,
Seems you are using a custom print program and form. I would suggest to change the program to SAPFM06P, form routine as "ENTRY_NEU" and the form as "MEDRUCK" in NACE transaction for the output type and check the scenario again. Also cross check the settings with the KBA: 1829682 - Output type is not determined in Purchase order
If its getting triggered, then check the custom program and the form with the help of technical team.
Regards,
AKPT -
If condtion not working in blank text field
I want that when the text field is blank it should go to the else if portion of the code below:
JTextField tf1=new JTextField(15);
if (tf1.getText() != null)
JOptionPane.showMessageDialog(tf1, "insert value in the range of a-z,A-Z,0-9");
} else if (tf1.getText() == null)
System.out.println("fdsafasdfasdfsdf");
System.out.println("1234");
JOptionPane.showMessageDialog(tf1,"Enter SmartTextID");
but control never goes to ==null,even i have initilaized textField with a text then also when i chk with tf1.getText() == "assigned text", its not working.
plz send me the correct code for this
thanx..if ( textField.getText().trim().equals("") );
-
Filter not working for session timeout
Hi all,
I am working on a struts application in portal. I want to logout of the application when a user does not perform any action, for say 30 mins. For this, i am using a filter and defined the filter as follows in web.xml.
<filter>
<filter-name>PageFilter</filter-name>
<filter-class>SessionFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>PageFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Also i gave the timeout in web.xml as follows.
<session-config>
<session-timeout>30</session-timeout>
</session-config>
And i had the filter servlet as follows.
public class SessionTimeoutFilter implements Filter
public SessionFilter()
public void init(FilterConfig conf) throws ServletException {
public void destroy()
// Create a new instance of SessionFilter
private static int firstRequest = 0;
public void doFilter(ServletRequest request,ServletResponse response,FilterChain chain)
throws IOException,ServletException
HttpServletRequest hreq = (HttpServletRequest)request;
HttpServletResponse hres = (HttpServletResponse)response;
HttpSession session = hreq.getSession();
try{
if (session.isNew()) {
if(firstRequest == 0){
firstRequest++;
else {
hres.sendRedirect("http://www.google.com");
firstRequest = 0;
return;
}catch(Exception e){
e.printStackTrace();
chain.doFilter(request,response);
When trying to execute this one i am getting a portlet 500 internal error. I am not sure where i went wrong. Can anyone give me a suggestion for this to work in a portal.?
Thx in advance....Hi,
Thx for ur reply, Here i am using firstRequest as a counter variable. when the session is new and firstRequest is 1, it means that the session has expired and new session started and this is where i am redirecting to another page. The problem is, i think is mainly because of the sendRedirect i am using there in the code. I think sendRedirect will not work in portal, because when i test this application locally , it is working fine. But when i deploy it in portal, i am getting the error. Can you suggest me an alternative for sendredirect in portal.Even i tried with forward but no use.
Thx.... -
Bind.ref not working for dynamically added fields
I am working on a template that has a table with rows added at the run time. I have to attach fields in each row to an XML tag and child tags. I am using SOM Expression to identify each field in the run time. I have written the code to go in a loop and bind the field at run time but it was not working. So I am just kind of trying out for binding one field using the SOM Expression.
This code was written in the initialize event of the TextField2 with Java Script as the scripting language.
var fieldPath = xfa.resolveNode("xfa[0].template[0].Message[0].Page1[0].Table1[0].Row1[" + 0 +"].TextField2[0]");
fieldPath.bind.ref = "$record.COMMAND.sendApplicationInformationRequest.formNumber";
xfa.form.remerge;
I also tried by changing the reference this way but no luck..
var fieldPath = xfa.resolveNode("xfa.template.Message.Page1.Table1.Row1[" + 0+ "].TextField2");
Can any one help on this?
Thank you
SriniHi Steve,
Thank you for your response..
I could not able to open your attachments.. They both say QUEUED..
dynamic-subform-with-data-binding.pdf (150.4 K) QUEUED
form1.xml (533 bytes) QUEUED
Thanks
Srini -
Delta is not working for custom appended fields (ZAKNA1) form R/3 to CRM
Hi, This question pertains to Customer Master (KNA1) replication from R/3 4.7 to CRM 5.0 system via middleware.
Standard fields are working fine. The custom fields also replicate fine during initial load and request loads however, delta is does not seem to be working. Any ideas or suggestions highly appreciated...Thank you.
Best regards,
---ManoharHello,
it's a long way since you post this question. I'm facing a similar problem. When i enter XD02 and change only something in the classification system, the trigger for CRM update doesn't happen. Only if i change also a master field...
I needed the force the trigger so he can update correctly when the system is only changed in the classification system.
At the time (3 years ago...:)) did you remember if you found a workaround for your problem??
Thanks,
Best regards, -
Filter not working for a Webi report
Hi There,
We have a BOBJ Webi report having variable selection screen when I run the report with default fiscal year Ex.2012 it's working fine. Then by click on refresh button and trying to change selection value to Ex. 2013 and I'm unable to see any values even though it has values for 2013.
When I click on the filter bar then the values are appearing. Could anyone please let me know what could be the reason for this issue and how can we avoid this.
We are in BOBJ 4.0 SP6.
Thank you,
Regards,
ShivaHi Jakub,
Thanks for the reply, Please find the screen shots below
1. Report initial screen running with the default prod year for 2012 and it's working.
2. Then I click on refresh and run for another prod year it's not displaying values even though it has values for that prod year.
3. When I click on filter bar then the values are appearing. Not sure why it's behaving like this?
Also note that there is no filter, under query filters. Please give me any idea about this issue.
Regards,
Shiva -
Query SQ07 Translation not working for default text
HI Experts,
In a query created with EN as default language, when execute - the selection screen will show the tiltle text (such as - Report-Specific Selection, Output Specification & Layout)
I am unable to translate these selection text to other language using SQ07.
When execute in different language - all text are translated except these 3 still remains in EN.
Do you know where can I change the text?
Should it not be standard and being translated automatically when log on to different language?
Kindly advice.
Thank YouThanks Sajid,
But are you suggesting to go into the program which was generated by SAP once created the query and do a change mode in SE38 ?
Isnt it not encourage to change from there & we need to register the object and get the access key ?
Correct me if i am wrong.
Any suggestions ?
Thank You. -
Filter not working for Supplier
Hi Experts,
When iam trying to apply filter on Supplier dimension ( options >Filter slect value) , system is giving following error message "Event Error occured from server Failed" in log it gave --Invalid info object type for a node of type 0XASUPPLIER.
following prechecks i have done :
> we have SP6 P1
>For supplier hierarchy is imbalanced
> In Bex query hierarchy is active
> in UI - user defualt -we maintained Supplier hierarchy
thanks in advence for your reply
Regards,
MadhaviHi Madhavi,
Please use the following steps to narrow down the issue.
First under data source administration check to make sure you can see the hierarchy under the supplier dimension and the numbers of levels show up correctly. If necessary perform 'Refresh Datasource' to ensure SPM has the most up to date definition of the BW query.
Secondly, when you receive this error message please check the portal logs which should give you more details as to what might be causing this issue.
Third, SP6 patch 2 was just released. Please apply this patch 2 see if this resolves the issue.
Regards,
Rohit -
Filter not working for all objects
I have 17 objects in one group with an applied "Repel" behaviour. All of the objects are affected except one, why is this?
Move the object that doesn't move slightly off of "dead center" (0,0,0).
-
After upgrade from 4.6c to ECC6.0 F4 Help is not coming for few date fields
Hi Friends
Just now we have completed upgrade project from 4.6c to ECC6.0.
After upgrade F4 help is not working for some date fields.
For example its working in MB11,Its not working in va01,vf01 like that.
In abap side we checked ...not able to find any issues in coding level, because its a standard SAP code.
So if any solution is there to correct this issue.Kindly help me to resolve this asap.
Thanks
Gowrishankar
Edited by: gowrishankar p on Nov 17, 2009 7:25 AMHi
Please refer to the SAP note 1278056 and 1278115 - PDS Display: F4-characteristic values are not selectable. Hope this will resolve your issue.
Regards,
JB -
Filter Not working in ALV grid
Hi All,
The filter button in ALV Grid is not working for some fields. if the filter button is selected for a particular field in the ALV grid then no entries are getting displayed in the ALV. For few fields it is working. for few fields is it not displaying any entries after selecting filter.
Please let me know what may be the possible causes for this issue.
Thanks in Advance!
Thanks & Regards,
Preethi GHi,
Ex: your output is something like this
A B C
1 2 3
4 2 5
5 3 6
When you filter B for value 2, then internally it creates one more internal table like this
A B C
1 002 3
4 002 5
5 003 6
it tries to matches value 2 to 002 and it fails to retrive the record.
The solution is try to do the conversion exit on the column/field you are trying to filter it. It will work.
Regards,
Ramesh. -
Allow Custom Text Entry for Drop down not working For Dynamic form
Dear All,
In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
If any body can please help me to solve this problem.
Thanks a lot in advance
Regards
RakeshDear Jimmypham,
Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
Can you please help me to find out the solution for this problem.
Regards
Rakesh -
Additional Fields for ESS-Business Card Not Working for Certain Countries
Dear Experts,
We were trying to configure the additional fields to be displayed in Business Card - Overview Screen for all countries. We don't have problem configure and get the new fields display for Malaysia (Molga = 14) but having problem for the field to display for Hong Kong (Molga = 27) and Singapore (Molga - 25).
The strange thing is I am following the same steps as I configured for Malaysia. Somehow it is not working for Hong Kong and Singapore. As I understand, there is only 1 place to configure in SPRO for this requirement:
Personnel Management -> Employee Self-Service -> Service-Specific Settings -> Own Data -> Customizing of Personal Information Screens -> Determine Fields for Business Card on Overview Screen
Please help!Hi Siddhart,
Thank you for the information. We are currently in EhP3 with below Support Components installed.
Software Component: SAP_HR
Release: 600
Level: 60
Highest Support Package: SAPKE60060
Software Component: EA-HR
Release: 603
Level: 34
Highest Support Package: SAPK-60334INEAHR
The note 1159911 provided is within SAPK-60304INEAHR. Thus, I don't think this is the root cause of this inconsistency base on the Highest Support Package installed in our system.
Anymore hint? Anyone? Please... -
Sound not working for text alert just vibrate
Sound not working for text alert just vibrate and no sound on keyboard
I'm having the same problem, it just started today (11/13/2012).
Settings > Sounds> Text Tone = Tri-tone
Lock Sounds = On
Keyboard Clicks = Off
The mute button is also in the correct place (ring, not mute).
Maybe you are looking for
-
Is it possible to get your money back from Itunes if you were hacked and they purchased items?
My itunes account that I primarily use on my phone was hacked. A movie and a ringtone that I did not purchase showed up on a reciept that was emailed to me. I have changed the password to both my email and my itunes account. But I want to know if the
-
"Ambiguous EUR/INR exchange rate relation "
Hi All, While saving stock in "MB1C" I encounter an error "Ambiguous EUR/INR exchange rate relation " I have tried to post new exchange rate in "ob08" for "M" but its not serving the purpose. Plz help Regards
-
Imac (Intel based) fan runs continuously and loudly.
Have done a SMC reset, and the fan is still running loudly and continuously. Only 1 application open - firefox. This has been an ongoing, continuous problem. Thanks in advance for any help you might offer.
-
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
-
By default first tab should open, when user clicks on the Open popup.
Hi Team, I am working on Jdev11g. I am facing problem to Open Fisrt tab from popup when i revisite to it irrespective of the Tab which was earlier selected while closing the popup. Currently i am populating one list for records in ADF table and in fi