IF WE DOES NOT SELECT ANY VALUE IN SELECTION SCREEN WHAT WILL BE THE OUTPUT
hi
plz give me the answer for this
Hi bhuthapalli,
1. Normally, all reports are designed so that
if we do not enter any thing on screen, it will show all records.
2. Normally reports use SELECT OPTION and use IN for the query.
This would take care if nothing is entered in select option.
Nothing entered in select option means all records.
3. If there is a parameter on the screen,
it is usually made obligatory.
Bcos if we do not enter anything in parameter,
it may not give records.
(Bcos for parameter = is used in query)
regards,
amit m.
Similar Messages
-
Function Does Not Return any value .
Hi ,
I am wrtting the below funtion without using any cursor to return any message if the value enters by parameters
does not match with the value reterived by the function select statement or it does not reterive any value that
for the parameters entered .
E.g:
CREATE OR REPLACE FUNCTION TEST_DNAME
(p_empno IN NUMBER,p_deptno IN NUMBER)
RETURN VARCHAR2
IS
v_dname varchar2(50);
v_empno varchar2(50);
V_err varchar2(100);
v_cnt NUMBER := 0;
BEGIN
SELECT d.dname,e.empno
INTO v_dname ,v_empno
FROM scott.emp e , scott.dept d
WHERE e.empno=p_empno
AND d.deptno=p_deptno;
--RETURN v_dname;
IF p_empno IS NOT NULL AND p_deptno IS NOT NULL
THEN IF v_dname is NULL THEN
v_err :='Not Valid';
RETURN v_err;END IF;
ELSIF p_empno IS NOT NULL AND p_deptno IS NOT NULL
THEN IF v_dname is NOT NULL THEN
RETURN v_dname; END IF;
ELSE
RETURN v_dname;
END IF;
END;
Sql Statement
SELECT TEST_DNAME(1234,30) FROM dual
AND IF I enter a valid combination of parameter then I get the below error :
e.g:
SQL> SELECT TEST_DNAME(7369,20) FROM dual
2 .
SQL> /
SELECT TEST_DNAME(7369,20) FROM dual
ERROR at line 1:
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "SCOTT.TEST_DNAME", line 24
Where I am missing .
Thanks,Format you code properly and look at it:
CREATE OR REPLACE
FUNCTION TEST_DNAME(
p_empno IN NUMBER,
p_deptno IN NUMBER
RETURN VARCHAR2
IS
v_dname varchar2(50);
v_empno varchar2(50);
V_err varchar2(100);
v_cnt NUMBER := 0;
BEGIN
SELECT d.dname,
e.empno
INTO v_dname,
v_empno
FROM scott.emp e,
scott.dept d
WHERE e.deptno=d.deptno
AND e.empno=p_empno
AND d.deptno=p_deptno;
--RETURN v_dname;
IF p_empno IS NOT NULL AND p_deptno IS NOT NULL
THEN
IF v_dname is NULL
THEN
v_err :='Not Valid';
RETURN v_err;
END IF;
ELSIF p_empno IS NOT NULL AND p_deptno IS NOT NULL
THEN
IF v_dname is NOT NULL
THEN
RETURN v_dname;
END IF;
ELSE
RETURN v_dname;
END IF;
END;
/Both p_empno and p_deptno in
SELECT TEST_DNAME(7369,20) FROM dualare not null. So SELECT will fetch some v_dname and v_empno. Since p_empno and p_deptno iare not null your code will go inside outer IF stmt and will execute its THEN branch. That branch consist of nothing but inner IF statement. And since v_dname is NOT NULL it will bypass that inner IF and exit the outer IF. And there is no RETURN stmt after that outer IF. As a result you get what you get - ORA-06503. Also, both if and elsif in your code check same set of conditions which makes no sense.
SY. -
Constant PCORP for Ledger !* does not contain any value
Dear SAP Guru's,
I have a user attempting to process a credit memo via t-code FB75 and is receiving the following error message while attempting to post the transaction.
Constant PCORP for Ledger !* does not contain any value
The user was able to post to other customer accounts but this one. The customer master looks fine.
POINTS AWARDED.
Thanks!Hi,
Pls go to the following path
GL accounting(new)-business transaction-Doument Spiltting-Activate doument spiltting.
Praobaly you would have chosen the standary a/c assignment check box and constant.
That's y this error occured even i have got same error and it resolved now. -
Netweaver 04s F4 on Fiscal Year / Period Variable does not retun any value
Netweaver 04s
F4 on Fiscal Year / Period Variable does not retun any list. When I tried to run the same query in RSRT, It gave a screen where it stopped at a break point.
62 *_____________________________________________________________________
63
64 * error in >> l_repid <<
65 * >> l_include <<
66 * >> l_source_line <<
67 *__________________________^^^^^^^^^^^^^^_____________________________
68 BREAK-POINT. "#EC NOBREAK
69 l_message = rs_c_true.
70 ELSE.
71 CALL FUNCTION 'RRSV_SYSTYPE_GET'Press F5 after that..lets see wat happens to it.
and tell wat value is there in your 0FISVARNT infoObject.
Regards,
San! -
I have prepared a photo book, made a pdf and when I press "buy thhe book" it tells me that the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?
You are missing one or more photos - youprobably have a page background that requires a photo which is behind a page with photos on it - all pages must either have a photo or be a color - if you have a gray background it requires a photo - look through the book carefully and be sure to look at the background on any full page photos - you will find one or more missing photos
LN -
I have a problem that my phone only vibrates but does NOT ring any more. No matter what I try to do with settings turning off "silent" or whatever nothing helps. Do I need to reset. what are the consequences of resetting?
What a numpty! Yes of course you're right.
Couldn't find the answer when searching the forum but then came accross this.
Next dumb question coming up! :-( -
Match code in report selection screen does not show any values for 0FISCPER
Hi Experts,
I have problem with selection screen in several reports. When I use match code for fiscal period selection I get only # as a possible value. I have checked the master data they seem to be correct. I work with 7.0 BW system. Can you please give me any hint what I should check?
Thank you,
MichalHi,
maybe I ask different way - how do you add characteristic values for a characteristic in the BEx? Is it automated somehow in SAP (e.g. from master data)? For the fiscal period I use custommer exit to fill in the default value, which is the current fiscal period. But this is something different, right?
<removed by moderator>
Michal
Edited by: Arun Varadarajan on Nov 14, 2008 3:55 PM -
Multicolumn does not show any value when I tried to put a value on column 4 or above
When I put a value in column 4 or above ( in any row ) multicolumn listbox doesn't show me any return. I got a example from NI forums and changed it to see if it works , but the results are the same.
Does anyone know about it. I'm using labview 2009 9.0f3
Thanks in advanceCan you link to the example you are using?
What is a "return" that it does not show? I am not familiar with these terms.
Why don't you attach a simplified version of your VI with steps to demonstrate the problem
LabVIEW Champion . Do more with less code and in less time . -
Hi,
Please help me in the following.I'm desperate...
I'm using PreparedStatement to do multiple queries in the same Table of a Database(ACCESS).
The rows of the Table look i.e like this :
(TABLE NAME == PERSONS)
PERSON_INDEX__TIME_PERIOD_________SPORT
1_______________1________________Basketball
1_______________2________________Football
1_______________3________________Tennis
2_______________1________________Something
I populate my PreparedStatement using something like :
java.sql.PreparedStatement st = con.createPreparedStatement("SELECT SPORT FROM PERSONS WHERE PERSON_INDEX=? AND TIME_PERIOD=?");
Now, when I do something like :
try
st.setInt(1,1);
st.setInt(2,1);
st.addBatch();
}catch(SQLException e){}
st.executeQuery();
ResultSet results = st.getResultSet();
while ( results.next() )
System.out.println("->"+results.getString("SPORT"));
I trully get as output :
->BasketBall
But when I populate it some more :
try
st.setInt(1,1);
st.setInt(2,1);
st.addBatch();
//***Query some more***
st.setInt(1,1);
st.setInt(2,2);
st.addBatch();
}catch(SQLException e){}
... and I execute I DON'T GET :
->BasketBall
->Football
but NOTHING!!! - the ResultSet HAS NO ROWS
This thing is driving me mad.
Can you please help me out?
Please post the code if neccessary...There is something wrong in your understanding of batching the statements. Basically you will add either update or insert or delete statements to your batch.
If you add a select statement, it will throw 'java.sql.BatchUpdateException: invalid batch command'. And moreover 'st.executeBatch()' is the method you need to invoke.
If you don't execute the batch using 'executeBatch()' method then, it must throw the exception,
'java.sql.SQLException: error occurred during batching: batch must be either executed or cleared'.
You need to rework on your code, I believe.
Sudha -
Being connected to a network with SMB (because AFP is apparently broken atm) and trying to search PDF files (as example file type) in a folder does not bring up any search results. It would be correct if the search should not include sub folders, but usually I would like to have subfolders included.
Tried keyword search, file type search, file name search, result is always the same.
Is there some sort of magic trick in OS X Lion to include subfolders in the search? I remember Snow Leopard doing this right off the bat!Let me see if I can help you with the basic WDS configuration steps:
Note: To help facilitate the setup, temporarily connect the AXn directly to the AEBS LAN port using an Ethernet cable. Once the setup is complete, you can move the AXn to the desired location. For all configuration steps you will be using the AirPort Utility. Before starting, be sure to jot down the AppleIDs for both base stations.
802.11g AirPort Extreme Base Station (AEBS) Configuration
AirPort Utility > Select the AEBS > Manual Setup > Wireless tab
Wireless Mode: Participate in a WDS network
Manual Setup > WDS tab
WDS Mode: WDS main
Allow wireless clients (checked)
WDS Remotes: <enter the AppleID for the AXn here>
Click on Update and allow the base station to restart.
802.11n AirPort Express Base Station (AXn) Configuration
AirPort Utility > Select the AXn > Manual Setup > Wireless tab
Wireless Mode: Participate in a WDS network (Note: You may have to hold down the Option (Mac) or Control (PC) key to see this option in the list.)
Manual Setup > WDS tab
WDS Mode: WDS remote
Allow wireless clients (checked)
WDS Main: <enter the AppleID for the AEBS here>
Click on Update and allow the base station to restart. -
HTTPBC POST does not contain any values on the recieving end.
I have a BPEL which reads the content of a file as String and send it to a Servlet using the HttpBC Post method.
But when I want to get this value on the recieving end (The Servlet), the httpRequest object is empty and it returns Null value?
If I do the same thing using HttpBC Get method, it works fine (I can't use the Get method because the content of the file is sometimes too long, and for that reason I HAVE to use the Post method).
I was just wandering where the Object is, when I use the Post method? How do I have to read the httpRequest object if I used the Post on HttpBC?
Thanks in advance.
Here is more info about my code:
The WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="caPostOverHttp"
xmlns:tns="caPostOverHttp" xmlns:ns="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlABSFile" xmlns:file="http://schemas.sun.com/jbi/wsdl-extensions/file/" xmlns:ns1="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlError" xmlns:ns2="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlHttp" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:fi="http://java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/service" xmlns:tcp="http://java.sun.com/xml/ns/wsit/2006/09/policy/soaptcp/service" xmlns:wsp="http://www.w3.org/ns/ws-policy">
<import namespace="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlABSFile" location="../jbiServiceUnits/bpPostOverHttp/wsdlABSFile.wsdl"/>
<import namespace="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlHttp" location="../jbiServiceUnits/bpPostOverHttp/wsdlABSHttp.wsdl"/>
<portType name="dummyCasaPortType"/>
<binding name="casaBinding1" type="ns:wsdlABSFilePortType">
<file:binding/>
<operation name="wsdlABSFileOperation">
<file:operation verb="poll"/>
<input name="input1">
<file:message fileName="EP.xml" pollingInterval="1000" part="file_IN"/>
</input>
<output name="output1">
<file:message fileName="output.xml" part="file_OUT"/>
</output>
</operation>
</binding>
<binding name="casaBinding2" type="ns2:wsdlHttpPortType">
<http:binding verb="POST"/>
<operation name="wsdlHttpOperation">
<http:operation location=""/>
<input name="input1">
<http:urlEncoded/>
</input>
<output name="output1"/>
</operation>
</binding>
<service name="casaService1">
<port name="casaPort1" binding="tns:casaBinding1">
<file:address fileDirectory="C:\Temp\input" lockName="filebc.lck" workArea="filebc-in-processing" seqName="filebc.seq"/>
</port>
</service>
<service name="casaService2">
<port name="casaPort2" binding="tns:casaBinding2">
<http:address location="http://localhost:8080/waPollFileToHttp/Process"/>
</port>
</service>
<wsp:Policy wsu:Id="casaBinding2Policy">
<wsp:ExactlyOne>
<wsp:All/>
</wsp:ExactlyOne>
</wsp:Policy>
</definitions>
The Servlet:
public class Process extends HttpServlet {
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String httpIn = request.getParameter("http_IN"); // http_IN is the string variable used in the BPEL which contains the content of the file. Using Post returns null for this parameter, but using GET it returns the actual value.
System.out.println("SERVLET PROCESS:");
System.out.println(request.getQueryString()); // using POST returns null but using GET returns the actual value.
System.out.println("HTTP_IN:");
System.out.println(httpIn);
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
}you are using request.getQueryString() in servlet to read the content however as per the specification it returns the query string that is contained in the request URL after the path. To read the content of the post request, use getInputStream method or any open source API.
Edited by: Adhir_Mehta on Mar 4, 2010 3:57 AM -
I just bought an airport express but when trying to configure it my mac is not capable of detecting the devise. The airport is plugged right next to the modem and the wireless internet is running perfectly. does any one experience this before?
You don't mention what function you want the AirPort Express to accomplish.
If you are trying to configure it to "join" your existing wireless network, you need to know the exact type of security that your wireless network is using fo you can use that same information to provide the correct settings to the AirPort Express.
You may be getting a message that the settings have been stored successfully, but unfortunately the settings that you have provided to the Express are likely the wrong settings.
The only way that you really know if the settings that you entered were correct is if you get a green light 20-30 seconds after you click Update. If you don't get a green light on the Express, the settings that you provided were not the correct settings.
When you click Update, the Express will "disappear". This is normal. Up until the time that you click update, AirPort Utility is communicating to the Express on a wireless network with a name like Apple Network xxxxxxx. As soon as you click Update, the Express switches (or tries to switch) to another network, so of course it will disappear from the AirPort Utility window.
As soon as you click Update, close AirPort Utility. There is no reason to keep watching a window when the Express will never appear. -
Vendor Search not returning any values in SRM
Hi Gurus
Has any one come accross the following issue? Kindly advice.
SRM 3.0
Search Vendor (F4) not returning any value although Vendor exist in SRM (system allows to raise Cart if Requestioner keys in the Vendor Number manually, ie. Vendor has very much got replicated in SRM)
Steps to replicate the issue
1) Log on to SRM portal
2) Expand the Go Shopping and click on Shop (Extended Form)
3) Click on Create Limit Item
4) Fill in the Description, Select the Product Category, Enter the Value Limit & Expected Value & fill in the required date
5) To search for Supplier, click on the find button
6) In the Find Vendor screen press the start button without entering any restriction
7) System throws a message "No Vendor found"
Kind regards,
Mehul ShahHi Muthu,
Thanks for replying Muthu.
Entries do exists in VENMAP.
No filters are set while searching for Vendor.
In fact, If I find the Vendor code from ERP and key in the vendor number in the Supplier field in SRM, it rightly picks up the vendor from the Vendor code.
The only issue is....while I try to search for Supplier using the Supplier search functionality (by clicking on the binocular), the search functionality does not return any values (I put no restriction).
By the way, Is there any missing Attribute in PPOMA_BBP that may be causing this?
Regards,
Mehul. -
File Screening Audit Report does not contain any data : report statistics is empty
Hi ,
I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008.
I am getting details of file screen audit in Event log , But incident report file screen audit report does not contain any value.
Getting report for each incident of file screen audit , But it does not contain any data in report statistics.
Data available in scheduled report of file screen audit.. not available in incident report only..
Please assist...
Thanks,
Vasanth.M
Thanks, Vasanth.M.Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
technet library :
https://technet.microsoft.com/en-us/library/cc754540.aspx
Carlo -
Hi,
I am getting this error from visual studio 2012 whenever i try to create the following project types:
- Workflow Custom activity
- Web parts
The error is as mentioned below
"The partial project item type does not have a value for this property"
Due to this the when I add above type of items in my project, they show a red cross icon against them.
Please let me know If have you any solution?Hi
I had same issue. Below is the solution
Installing
"Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
"http://www.microsoft.com/en-in/download/details.aspx?id=39305")
Hansraj Rathva
Maybe you are looking for
-
Hi All, I am having a problem with the Date format in a Dashboard prompt. Using the following SQL for a default value, I get a date and time result, i.e. yyyy-mm-dd hh:min:ss SELECT CASE WHEN 1=0 THEN "Leach Center - Visits"."Visit Date" ELSE CAST(TI
-
Linking to specific tab on different page
Hey everyone, I want to link to a tabbed panel on one of my pages using the navigation menu on the home page. The problem is that I keep getting sent to the default tab on the new page instead of the tab I want to open. This is my code, can anyone he
-
I am runnning itunes 11 I can use command-u to open a URL how can I add this stream to a playlist?
-
I'm trying to figure out how the CBO works and what are the parameters that I should change to get it work without "surprises". My Oracle version is 11.1.0.7, and this test was run in both single-instance and RAC. These run on Suse 10. Here's the que
-
Installed OS 10.3 can't seem to get it to run...
I have a 933 G4 with 10.4.8 on it but my ProTools LE isn't supported beyond 10.3, thus I decided to install 10.3. I saved OS 10.4.8 saved in a system folder and installed 10.3. It seemed to install fine but at the end I got a screen with "My Name's C