No_data_found raised when data exists

Hi
I have a function which is returning no data found in forms 10g (Forms [32 Bit] Version 10.1.2.3.0 (Production))
FUNCTION get_orderno RETURN VARCHAR2 IS
cursor x_cur (c_picklist in varchar) is
select distinct order_no
from x where picklist_no in (c_picklist);
c_plist varchar2(100) := '80H059071','80H059083' ; <--for argument sakes this is what c_plist should be and is returning after some processsing
c_rlist varchar2(100);
begin
open x_cur(c_plist);
fetch x_cur into c_rlist;
close x_cur;
message(c_rlist); pause;
return c_rlist;
end;
when i call this function, c_rlist is NULL
and the value used to call this function is also null;
*** in sql*plus
SQL> SELECT distinct order_no
2 FROM x
3 WHERE pick_list_no in (&list);
Enter value for list: '80H059071','80H059083'
old 3: WHERE pick_list_no in (&list)
new 3: WHERE pick_list_no in ('80H059071','80H059083')
ORDER_NO
R7115829
1) I am connected to same database
2) if i hard code those values in '80H059071','80H059083' in my cursor it returns correct order no
Any suggestions please
Cheers

hi, thanks for replying. I just tested in ToAD
declare
c_picklist varchar2(100);
l_picklist varchar2(100);
begin
dbms_output.put_line('here');
c_picklist := ''''||('80H059071'',''80H059083')||'''';
dbms_output.put_line('val of input picklist is '||c_picklist);
SELECT distinct order_no
into l_picklist
FROM x
WHERE pick_list_no in (c_picklist);
dbms_output.put_line('val of output picklist is '||l_picklist);
exception when no_data_found then
dbms_output.put_line('val of picklist input is '||c_picklist);
dbms_output.put_line('val of picklist output is '||l_picklist);
end;
**output***
here
val of input picklist is '80H059071','80H059083'
val of picklist input is '80H059071','80H059083'
val of picklist output is
Ok so you are not surprised that I received no values, why is that? is it a feature of Forms? or is there something else I need to do??
Thanks

Similar Messages

  • Displaying calculated field only when data exist

    Hello,
    Is there a way to display my calculated value only when the data entry field is being used. For instance, if I have several fields vertically aligned, I don't want to display a bunch of zeros if their data fields are not being used.
    THANK YOU!!!!

    You can check for the rawValue in the Calculate event before any script.
    Event: Calculate
    //FormCalc
       if(Field1.rawValue ne null) then
         // write your script here
       endif
    //JavaScript
    if(this.rawValue != null){
       // write your script here
    Thanks
    Srini

  • Should not raise no data found error

    Hi Experts,
    I am using select into statement in procedure and put some condition in select statement.
    I want if condition failed then it sould put null in to target variable . It should not raise no data found error
    e.g
    select abc into v_abc from table
    where cond1=cond;
    if this select statement no give any record it should put null into v_abc and not raise no data found error
    pls suggest something
    UG

    You could do...
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT
      5      CASE
      6        WHEN (select COUNT(*) from emp where empno = 1234) > 0 THEN
      7          (select ename from emp where empno = 1234)
      8        ELSE
      9          null
    10      END
    11    INTO v_abc
    12    FROM dual;
    13* end;
    SQL> /
    PL/SQL procedure successfully completed.But that's no better than doing a check first as a seperate SQL in the PL/SQL.
    I would do this... (if I really didn't want the no_data_found exception)
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT max(ename)
      5    INTO v_abc
      6    FROM
      7      (
      8      SELECT ename from emp where empno = 1234
      9      UNION
    10      SELECT null from dual
    11      );
    12    dbms_output.put_line(NVL(v_abc,'!null!'));
    13* end;
    SQL> /
    !null!
    PL/SQL procedure successfully completed.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT max(ename)
      5    INTO v_abc
      6    FROM
      7      (
      8      SELECT ename from emp where empno = 7782
      9      UNION
    10      SELECT null from dual
    11      );
    12    dbms_output.put_line(NVL(v_abc,'{null}'));
    13* end;
    SQL> /
    CLARK
    PL/SQL procedure successfully completed.
    SQL>

  • SAP Business Workplace - No log data exists message

    Hi,
    We have the work items of EDI 810 configured to reach the workflow inbox of certain users.  The users have 300+ items in their workflow inbox - but when they click the Workflow Inbox they get a message - "No log data exists".
    The message is an error type: Message BL 223
    The message is coming from the function module BAL_CNTL_REFRESH.
    We tried to get the same workflow positions assigned to our user id and the unprocessed 300 + items came to our inbox and we are able to view and process the work items without any issue.
    The issue pertains only to the two users. It seems like it has something to do with the filter / layout settings set for the two users alone.  Could you please advice.
    Regards,
    Prabaharan

    Hi
    i am using SAP GUI at client place via Citrix.
    it was working fine till yesterday
    pls suggest. wat could be other possible reason
    thanks

  • No data Exists for this selection in PSA.

    Hi Guys,
    I received an Error message with loading of 2lis_03_bf datasource..
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    PSA Table
    DETAILS Tab: Processing (data packet): Errors occurred
                       : Data Package 6 ( ? Records ) : Errors occurred
                       : Update PSA ( 0 Records posted ) : Errors occurred
                       : No data exists for this selection in PSA
    For DataPacket 6 (Records sent :21572 - Records Received : 0) 
    All other datapackets are updated fine with almost 10,00,000 records..Any help on this ,guys..
    Manythanks
    Arun

    Hi,
    While the load was in progress some one might have deleted the data in PSA or there might be a PSA deletion job running or there might be a PSA deletion chiain which includes this table. Check all these to find out how it got deleted.
    In order to load the data again you can do a reload and probably it works fine this time.
    Anup.

  • No organizational data exists on item level (error message)

    Hello everybody,
    I still have this error message when try to create a shopping cart : 'No organizational data exists on item level'
    Following a lengthy discussion with SAP Support, SAP recommended that I remove the reference of the Purchasing Organization and Purchasing Group to the backend system (R/3).
    After removing the reference I was able to complete the SC creation process, but I got an error at the PO creation process, where I am unable to release the PO since it is not linked to a backend (R/3) Purchasing Organization/Group.
    I am currently using SRM 4.0 with EBP 5.0 in Extended Classic Scenario.
    I need an Urgent help on this issue !!
    Thanks,
    Lina

    Hi,
    If You have own PO document type (ZCS) then don't hange it.
    in SYS attrib add a local EBP system
    If you don't use local categories, You don't need to add product cat. * for local system.
    in my ppoma_bbp company have two purch orgs.
    -for local (fields with purch org and system id is empty)
    -for backend (fields with purch org is filled from backend system.)
    Example:
    Company (function with company code PW01\R3100)
    - Purch org local (function purch. org. checked but not filled)
    - Purch group local (function purch. group checked bud not filled)
    - Purch org backend (function purch. org. checked with values PZ1\R3100)
    - Purch group backend (function purch. group checked with values PZZ\R3100)
    Regards,
    Marcin Gajewski

  • RRMX - No log data exists

    Hi experts
    when i am entering RRMX tcode. i am getting error message at status bar as " No log data exists"
    Please help me out. What could be reson and how can i reslove it
    thanks
    pavan

    Hi
    i am using SAP GUI at client place via Citrix.
    it was working fine till yesterday
    pls suggest. wat could be other possible reason
    thanks

  • UWL CATS time approval error "No data exists that needs to be approved"

    Hi all,
    We approve CATS working time through SAP portal UWL. The user can see the workitem in her UWL inbox, but got an error u201CNo data exists that needs to be approvedu201D when he tried to execute the workitem. But the user is able to execute the workitem using Business workplace in ECC. We are using the standard UWL application.
    This happens only to CATS time entries for certain type of employees (for example, the employees who do not report directly to the approver).
    SAP Portal 7.0
    SAP MSS 600 SP19
    SAP UWLJWF 7.00 sp23
    SAP ECC 6.0
    Here is what I have found from my trouble-shooting. When I test (preview) the UWL iView, it seems to be working fine. But when I call up the iView from the portal MSS role, I got the error message u201CNo data exists that needs to be approved.u201D
    Please let me know if you need more information.
    Thank you,
    Qi

    I have found that the workitem ID is not passed to the CATS approval web dynpro program. Here is what is in the Item Type configuration XML. Is there anything missing?
    <!-- Work items for CATS -->
        <ItemType name="uwl.task.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.OpenTasksTimeApp" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria externalType="TS31000007" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="CatManagerApprove"/>
                <Property name="WebDynproDeployableObject" value="sap.com/msscatapproval"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="true"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
        <ItemType name="uwl.forwardedtask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.ForwardedTimeApp" defaultAction="viewDetail"/>
        <ItemType name="uwl.futuretask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.FutureTaskTimeApp" defaultAction="viewDetail"/>
        <ItemType name="uwl.completedtask.webflow.TS31000007" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.CompletedTimeApp" defaultAction="viewDetail"/>
    Thanks,
    Qi

  • MSS No data exists. Is working - or not

    Hi,
    We have configured the MSS EMBORGCH and it is working or kind of working.
    We have added a new selection called Furture employess, so the manager are able to see the future employees.
    If there is no future employee, then the user gets this error: "No data exists for user XXXXXX in hierarchy MSSBIZVIEW".
    And then if the user Log off the portal, then next time the manager log on. This message is shown: "No data exists for user XXXXXX in hierarchy MSSBIZVIEW". and the drop down selections are empty.
    How to avoid this?
    Kim

    Hi
    The problem is, that we have created a new view called "Future Employees". When you have future employees, this is working fine.
    But if you do not have future employees, you will get this error message. If you then log out of the portal then the next time you log in, you will see this error and the dropdowns with the Views are empty, and you cannot navigate.
    I just want the view to be empty and the navigation to work.
    Right now, we are showing the manager, just to avoid this situation.
    Kim

  • No data Exists error while retrieving the data from a table

    Hi Everyone!
    I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding this

    Hi !
    thanks for ur response...
    I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake....

  • How to find all intersections of children of currency dimensions and currentmembers of all other dimensions where data exists

    Hi all, I have a requirement where I need to find all intersections of children of currency dimensions and currentmembers of all other dimension wherever data exists for them.
    Its a ASO cube with and version is 11.1.2.2.
    If I try to write the formula in a the below way to test, I get an error that 'Currenttuple can only be used with a named set'. But when I try to create a named set with the 'WITH' keyword, it not able to recognize the 'WITH' keyword. I think I am missing something obvious and this may not be the correct way to achieve this. Please help.
    1st try with just Currenttuple - error 'Currenttuple can only be used with a named set'
    iif(
      (isgeneration([Time].currentmember,4)),
      CASE
      WHEN NOT ISEMPTY(
    Crossjoin([Currency].Children,
    {([Time].currentmember,[Org].currentmember,
    [S Org].currentmember,[C Code].currentmember,
    ).Currenttuple
      THEN  Missing
      ELSE Missing
    END, Missing)
    2nd try to create a named set with 'WITH' keyword - syntax error at WITH
    /*with set [NewSet] as                                      
    'Crossjoin([TC].Children,
    {([Fiscal].currentmember,[Organization].currentmember,
    [Sales Org].currentmember,[Company Code].currentmember,
    [Measures].currentmember,
    [Product].currentmember,
    [Channel].currentmember,
    [Order Reason].currentmember,
    [Country].currentmember,
    [Billing Type].currentmember,
    [Business Area].currentmember,
    [Sales District].currentmember,
    [Data Source].currentmember,
    [View N/A]
    iif(
      (isgeneration([Fiscal].currentmember,4)),
      Filter([NewSet], NOT IsEmpty([NewSet].CurrentTuple))
    , Missing)

    Hi Tim,
    Thanks for you reply and sorry for my delayed response. Actually there is one more requirement in this, which makes it a bit complicated. There are another set of members in the Measure dim called FXDirrate and FXIndrate. The logic is :
    1. If data exists for the combination of a Currency.children, FXDirrate and current member of all other dims
    then convert the value for Currency.children by diving by FXDirrate
    2. If data exists for the combination of a Currency.children, FXIndrate and current member of all other dims
    then convert the value for Currency.children by multiplying by FXIndrate
    3. Then value of the calculated members will be sum(all FXDirrate converted + all FXIndrate)
    Currency does roll up but as the data for its children can either be in Dirrate or Indrate and the sum needs to be taken after the conversion, there I am not able to proceed as I am not able to check the existence of data in individual children of currency as Isempty isn't working on a set . Thanks a lot for your help.

  • Import button remains grayed out when adding existing folder to LR 4

    Greetings.  I'm following the steps in the following link from Adobe:
    http://help.adobe.com/en_US/Lightroom/3.0/Using/WSE828B644-9097-46ab-98A7-E2719BBB6647.htm l
    The final step, after selecting the folder I want to add, is to select Import.  Except, the Import button remains grayed out.  I'm not sure what to do in order to select Import and add the folder I already have.
    Thanks,
    Mike H.

    Thank you for the information.  Yes, that seems to make sense based on what I've discovered using LR 4.  Still trying to come up to speed.  Appreciate everyone's help with their tips and insight.
    Date: Tue, 24 Apr 2012 01:44:25 -0600
    From: [email protected]
    To: [email protected]
    Subject: Import button remains grayed out when adding existing folder to LR 4
        Re: Import button remains grayed out when adding existing folder to LR 4
        created by LRuser42 in Photoshop Lightroom - View the full discussion
    Folders per se cannot be imported - only pictures (or movies) in a folder can. So, you have to select a folder containing at least one picture or movie (all pictures and movies found are automatically selected when the import dialog opens). This is probably not the case for the folder you want to add, so "no photos found" is displayed in the dialog center and the "Import" button is greyed out.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4356518#4356518
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4356518#4356518. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Lightroom by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Empty Aggregation Level - Need user to put in entries when none exist

    Hi, I have an aggregation level for Version, Material Family, and a Key Figure.  The Cube has no data planned at this level when the user 1st starts to work with their version. 
    I am trying to find a way to get the user to be able to input a Key Figure Value for some Material Families.
    I would either like the users to see a list of Material Families and input the Key Figure Next to the Material Family
    or
    I would like the user to input a Material Familly and the associated Key Figure for each family value they have.  Thus creating entries for the Material Family Values they would like to run a planning function on.
    I have been able to create a query that shows a list of Material Families and an input enabled Key Figure Field.  When I put the value in and Save the Value gets saved to "Unassigned" Material Family even though I put the Key Figure Value next to a displayed Material Family.
    I have also been able to create a query that does not show the Families but has an input record.  The same thing seems to happen.  I input a family value and key figure value, save, and it gets saved to "Unassigned".
    I have tried working with Characteristic Relationships, but it doesn seem to work when I'm just working with 1 characteristic like Material Family.  Here's an example of my issue:  Link:[http://i27.tinypic.com/n1a1wn.png|http://i27.tinypic.com/n1a1wn.png]
    Am I going about this in the right Way
    Is there a way to have the user add data where there is none?
    It seems I have such a simple scenario.

    Hi, Thanks for following up.  I simply need to have users input the Key Figure Values for a single "Family" Characteristic.  I am simply trying to create "Family" Records for which no planning data exists and it is totally eluding me.  The Aggregation Level only has Family, Version, InfoProvider.  Version and InfoProvider are in the filter. 
    I have successfully created an input enabled query and also added a input line at the bottom.  If I input input a value next to a Family or if I input a new family and save the data the values just end up in the unassigned family.   To get the families to show up in the query I have the Family Characteristic Advance settings (in query settings) set to Master Data
    Please take a look at the below link for an example.
    Please let me know what I have to do so users or myself can create Family records in my aggregation level!
    Link: [http://i25.tinypic.com/1qmz5w.png|http://i25.tinypic.com/1qmz5w.png]

  • Hierarchy leaf not shown while data exists

    Hi experts,
    We have the following issue regarding the (in)visibility of hierarchy leafs:
    We know that transactional data exists for a particular item in the hierarchy (total value is zero). This item is not shown by default in the report output (while zero suppression has been turned off). There are a few ways to make the item visible, e.g:
         1. Deactivate the hierarchical display
         2. Filter on the item
         3. Filter on another characteristic value for which the transaction data doesn't add up to zero.
         4. .........
    However, we would like to show the item in any case, so even when the underlying transactional data sums up to zero.
    Has anyone faced a similar problem before? Any idea how to solve the issue?
    If necessary, I can send some screenshots with detailed information by email.
    Thanks in advance !
    Kind regards,
    Rene

    Hi,
    We had a similiar issue in the Cost Element Hierarchy & got resolution.
    I followed the below method an extract from SDN Forum reply.
    You need to make the InfoObject an InfoProvider. Then you create a multiprovider with your InfoCube and the InfoObject. When you create a query, insert a new column that contains the key figure 0ROWCOUNT and a restriction on 0INFOPROV to your InfoObject.
    When you right click on 0INFOPROV you now have the option to select Constant Selection. When you've turned it on you do a right click again and you're able to activate "Display non-posted values."
    Finally hide the new column and execute the query.
    Also we found out that for the nodes that were not appearing , the master data was incomplete. there was no source system assignment to those, we updated the field manually & with the above method the query worked.
    Regards
    Lalan

  • J1INUT Error - No data exist for processing with the given selection option

    Hi Guru's,
    I am using transaction J1INUT utilization of provision of TDS on Services for which in have made the provision with the help of J1INPR, But when I am executing J1INUT transaction .The following error message is displaying:
    No data exist for processing with the given selection options
    I have followed the below steps.
    1) ME21N - OP Creation
    2) ML81N - Service Entry
    3) J1INPR - Provision of TDS
    4) MIRO -  Invoice Posting
    I have checked the Table J_1IEWTPROV In that system is updating the table also. Even I have activated table TRWCA for field IND
    But still I am getting the same error. Any suggestions to resolve this.
    Appreciate your inputs. Thanks in Advance
    Regards,
    DeepaK

    Hi Deepak,
    Refer the below link and follow the steps - Provision for Taxes on Service Recieved.
    Re: Provision for Taxes on Service Recieved
    Hope it may useful to you.
    Regards,
    Govind Bhaskaran

Maybe you are looking for

  • Can I change the background on each page of the iPad?

    I know how to set home screen and lock screen, but was wondering if there is a way to change the background to each page on the iPad. I am a teacher and would like each page to have a background set to a specific picture or word so my students know w

  • Bing Bar at the top of webpage

    When I updated to the newest version of firefox, at the top of most webpages, excluding pages like google and youtube, I'll get a "Search Bing" at the top. This therefore is annoying, and also if you hover over it, It links to conduit, not Bing. I th

  • Apple 3.01 Streaming Issues.  Why?

    Just did a scientific experiment: Setup: iMac Core Duo with 2 gigs ram. Connected by 802.11G (no N on the non core2duo). iTunes library is stored on external 1Tb drive over USB2. 80 gigs of music. Apple TV 3.01 40 gig connected to DLINK 802.11 G/N ro

  • ADGENDBC.SH가 FND_APPLICATION_SERVERS에 UPDATE안 하는경우

    제품 : AOL 작성날짜 : 2004-05-19 ADGENDBC.SH가 FND_APPLICATION_SERVERS에 UPDATE안 하는경우 ================================================== PURPOSE adgendbc.sh가 돌아갈때 fnd_application_servers 에 row를 생성하는데 11.5.8 부터는 record가 생기지 않는 이유를 설명하고 있다. Explanation 11.5.8부

  • Scenario in which Conversation ID will not get generated

    Hi all, I have a requirement wherein i need to capture the conversationID for logging purpose from my BPEL processes. However i have noticed that ora:getConversationId() is giving me NULL sometimes. Could anyone tell me what are the scenarios where c