Hp v5061u test function problem

I've noticed a lot of people having the same problem. My camcorder is stuck in test function mode PLEASE HELP ASAP......

The real error message should be in the alert log of your database. With the error code therte you could log into metalink and check out what the problem is.
What I suggest is first to remove the CURSOR from the select-subquery.
example untested
function print_mul_cursor return sys_refcursor
as
l_ref sys_refcursor;
l_code varchar2(10);
cursor c1 is select a.emp_code, (select b.dependant_first_name from t_pis_dependant b where b.emp_id=a.emp_id) x
from m_pis_employee a
where rownum<2;
begin
open c1;
fetch c1 into l_ref;
return l_ref;
end print_mul_cursor;Furthermore I don't see why you return a ref cursor if you want one line only. This whole concept doesn't make any sense.
If you want to return all dpendents, then you need to build a different query.
example2 untested
function print_mul_cursor return sys_refcursor
as
l_ref sys_refcursor;
cursor c1 is select b.dependant_first_name, a.emp_code
   from t_pis_dependant b
   join m_pis_employee a
   on b.emp_id=a.emp_id;
begin
open c1;
fetch c1 into l_ref;
return l_ref;
end print_mul_cursor;

Similar Messages

  • SE37 and test function module

    I have an importing parameter in function module interface, type BEGDA (type DATUM), default value SY-DATUM.
    When I execute test function module via SE37 and F8, the default value gets value "02....20.3" instead of 03.02.2012 as set up in SU01 for my user.
    What can be wrong?

    At the risk of also incurring your scorn, let me add that I cannot make this fail, using exactly what you have in the original post.  Obviously, something unusual is happening this client/instance, or in code that is manipulating the incoming date value.... my dd.mm.yyyy input defaulted to sy-datum shows 20120306 in begda duringe execution (in debug).  Without being able to debug the mentioned FM at every step, it would be hard to pinpoint a specific problem.

  • AVERA Relevancy test function

    Hello,
    I have a problem. I'm using AVERA for calculating averages and I have own relevancy test function for determinig relevant payrol  sequences.
    This function has tables parameter RESULTS with some payrol results sequences among which there is a relevancy test. But in this table there are not all sequences I need and AVERA does not work well. I'm missing payrol result with additional payment which is relevant.
    Any clues or good documentation for AVERA or own relevancy test?
    Thanks,
    Kumako

    Hi Kumako,
    did you check[ this documentation|http://help.sap.com/printdocu/core/print46c/en/data/pdf/PYINT/PYSOME_AVERTECH.pdf]?
    Regards,
    Clemens

  • Has anyone had a problem with TapMedia File Manage on iPhone 5. I reported a WIFI functionality problem to the developer and asked for support. Instead they have been very unprofessional by name calling me instead of logically evaluate and troubleshoot th

    Has anyone had a problem with TapMedia File Manage installed on iPhone 5? I reported a WIFI functionality problem to the developer and asked for support. Instead the company has been very unprofessional by name calling me instead of logically evaluate and troubleshoot the problem

    Hi AKE1919,
    Welcome to the Support Communities!
    The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933?viewlocale=en_US
    Cheers,
    Judy

  • Genericall​y compacting arrays using a test function

    Is there a way to do the following (or at least this stuff in the box) generically. Is there a name for this algorithm?
    Essentially I want to reduce an array to just its elements that pass a test. The test can just be another array of booleans which say whether the array passed the test or not. I feel like I write this code a lot and it bothers me that I write it so much.
    Thanks!
    Solved!
    Go to Solution.

    Thanks all for the responses.
    I find it so frustrating that Labview sometimes can't even do things that are so simple in other languages (see like http://docs.python.org/2/library/functions.html#fi​lter) or that can be trivial to implement in other languages (see C++). 
    My hope was that no variants would be necessary at all as they add clutter and bypass compile time type checking. Clearly one way to make functions like this generic is to use variant data. I was kinda hoping to avoid it all together. The reason I wrote out the function the way I did is because it's space and time efficient in more cases, generally.
    It's true you're probably fine doing this in one loop (using a preallocated array with the same size as the input array). Consider though that if you want to avoid making a full sized copy of the array, generally, seperating out the loops is needed. Labview doesn't make a copy of any array data until it passes the data into the test function (and if the test function isn't even a vi then it doesn't make a copy at all) which it will only do one or P at a time, depending. Then the only new allocation of significance is the allocation by initialize array, which in many cases will be substantially smaller than the input array.
    This time the performance doesn't matter. But I'd sure like to make generic functions like these that could be generally performant. One day maybe.

  • Where i can get all test functions and details of those function

    Hai
    Actually i was a beginner in teststand can any one tell me where i can download the test functions details list ,the datatype of those function,
    Thankyou

    Hi,
    Not sure what you are after!!!
    Have you tried the TestStand Programmer Help or any of the User Manuals.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • When dragging an image onto a fresh canvas, the resizing feature presnaps the image into the canvas size. I can confirm that this has not happened to me in previous projects. I've also tested this problem by making a new larger document size and dragging

    Contexts: I am very competent with GFX and have worked on many projects.
    When dragging an image onto a fresh canvas, the resizing feature presnaps the image into the canvas size. I can confirm that this has not happened to me in previous projects. I've also tested this problem by making a new larger document size and dragging in the same render. It snaps again. I don't want to re-size from the canvas dimensions, I want to resize from the render's original dimensions.

    Ap_Compsci_student_13 wrote:
    ok sorry but doesn't sscce say to post the whole code?the first S is Short, and yes, it needs to be all the code needed to illustrate the problem and let use reproduce it. If you were developing a new Web framework, your example might be short, but for a student game it's very long.

  • Question about the 'TEST' function of BAPI

    I have run a BAPI function 'BAPI_GOODSMVT_CREATE' using 'TEST FUNCTION MODULE'.
    The process is successful and I can see the return material doucment number and year.
    However, when I search the table MKPF, no such document exists.....
    It seems that a document no. has been used but no such document is really created...as when I create a material document manually using transaction code MIGO, a doucment with doc. no. = that return by BAPI by using test function module + 1.
    I want to know is there any way to commit the transaction created by test function module? and it is wierd that it makes my document number becomes discontinue....
    thanks!

    Gundam,
    whenever you use TEST facility, the changes are never committed to the database. However, you loose the serial number because of Serial Number Range Object. Once you take a number of the object, that number is lost and that is why you are missing the sequence.
    Regards,
    Ravi
    Note : please reward the posts that help you.

  • Question about the function module testing function

    Dear everyone
    I am trying to use the testing function of a function module in order to understand how the following
    function module works.
    <Function module>
    BAPI_SALESORDER_CREATEFROMDAT2 --> This function module is to create a sales order
    I input several data in the test function, and I was the successful result with some sales order number.
    However, this sales order is not actually registered in the system.
    Would it be possible to run the function module (in the test mode), so that it would actually
    register those documents (ex. sales orders) in the system.
    I would like to see the actual sales orders to understand how the function module works.
    Thank you very much in advance
    Takashi

    Dear everyone
    ※Sorry, my initial message was hard to understand. So I will write it again.
    I am trying to use the testing function of a function module in order to understand how the following
    function module works.
    <Function module>
    BAPI_SALESORDER_CREATEFROMDAT2 --> This function module is used to create a sales order
    I input several data in the test function, and I've got the successful result with some sales order number.
    However, this sales order is not actually registered in the system.
    Would it be possible to run the function module (in the test mode), so that it would actually
    register those documents (ex. sales orders) in the system?
    I would like to see the actual sales orders to understand how this function module works.
    Thank you very much in advance
    Takashi

  • Test function

    hi,
    I know how to test function if it's return type is item_list,number...or others(ex:select dynamic_test.get_product_group_index from dual;).But I don't know how to test function if it's return type is GenericCursor.I use pl/sql developer SQL window for my test.
    Thanks for your reply!
    jing

    create or replace package pak_test as
    type rc is ref cursor;
    procedure test(p_cursor in out rc);
    end;
    create or replace package body pak_test as
    procedure test(p_cursor in out rc) is
    begin
    open p_cursor for select * from emp;
    end;
    end;
    variable x refcursor
    set autoprint on
    exec pak_test.test(:X)

  • Firefox 33 is about to come out soon and you should test for problems

    Next week, Firefox 33 is going to come out. You should test for problems and have them fixed. In Firefox 32, people had problems with videos buffering at 0:14 and videos buffering when you skip through them.

    That is what Beta test versions are for. But sometimes something gets thru.

  • Configuring "Test Function"

    Hi,
    I'm working on EP12 with VC 6.00.0050.
    I can import the BAPI as data service in my VC model. And I can test the simple BAPIs with the "Test Function" given.
    But, in one of the BAPI, I'm required to fill in with 2 rows. As VC, by default doesn't give this functionality for testing, how can I configure testing tool for that?
    Thanks and regards,
    Mausam

    Hi Ignacio,
    Thanks for the answer...and after your answer I gathered the courage of deploying it to portal and now its working fine.
    Thanks again......
    Regards,
    Mausam

  • Common SAP MM Functional problems

    Fellows
    Is there anyone who can explain some common SAP MM daily functional problems. im junior consultant and want to be prepared for interviews. you may just state them in point form briefly.
    thanks
    rash

    Common Issue
    1)Vendor is not created for Purchasing Organisation XXXX.
    2)Though Vendor Master is Flag for Deletion ,Vendor is shows at the time of PO Creation.
    3)How to extend the materials for another storage location
    4)How to Create the PO for Different Currencies.
    5)While Posting The Doc . Error Occure,1) Account Determination for Entry 1000 BSV _ _ not Posssible.2)  Account Determination for Entry 1000 FRL _ _ not Posssible.
    6)Not Authorisation for Movt Type ......,Transaction Code......
    7) Account Determenation for transaction ....  Cost center ...does not maintain.
    8)While Creation of GR -Authorisation missing for Company Code 0000 Asset Class XXXX,
    9)While Removing The Stock of material by Cancelling the Goods Receipt Doc.Error occur that Stock Qty difficial by xx No.
    10)While GR Cancellation error occure that document does not contain any selected item.
    11)While Creating Service Entry Sheet Error occured that Qty entered  exceeded by Qty in PO
    12)While cancelling the matl.Doc Error occure that matl is deficit of sales ordr stock.
    13) Error-Tax code does not Exist while creating Miro
    14)TDS Amount is not Captured at Miro entry.
    15)While Miro error occure that No suitable item found for Purchase Order.
    16)User ID gets Blocked due to wrong Password entered more than 3 times.
    18)Error-Gl account does not created for Chart of account XXXX while Miro
    19)In Purchase Order Service tax is 12.24 % and at Bill service tax is 10.5 .How to adjust it and How to cancell Wrong Miro
    20)Stock Statement not matched Value still lying into Stock A/c
    Rewards if Helpful...
    Regards
    Sanjay L

  • Virtual function problem with SC 4.2

    Hi
    I'm using SC CC 4.2
    [CC -V
    CC: WorkShop Compilers 4.2 18 Sep 1997 C++ 4.2 patch 104631-04]
    not the latest patch, I realize.
    The following bit of code:
    ProcessParameters *ppp = &(_config.process_params_);
    ppp->save_to_file(String("abc"));
    config.processparams_.save_to_file(String("xyz"));
    does not work as I'd expect it to!
    config.processparams_ is of type ProcessParametersEnhanced,
    and the definition of this, and its base class, looks like:
    class ProcessParameters
    public:
    virtual int save_to_file(String filename);
    and
    class ProcessParametersEnhanced : public ProcessParameters
    public:
    virtual int save_to_file(String filename);
    (I've cut everything else out of the class definitions for clarity, and I've changed the names a bit as well, hopefully without typos).
    ppp->save_to_file(String("abc"));
    calls ProcessParameters::save_to_file(String)
    even though ppp points to an instance of ProcessParametersEnhanced, and the function is virtual.
    I've tried building a small test application, using the minimum class interfaces, but this works as I'd expect (it also works fine with gcc).
    I'm getting deseperate. Is there a bug in SC4.2 whereby it fails to resolve virtual functions correctly?
    TIA
    Paul Floyd

    Oh well, it was an SC4.2 bug
    Patch-ID# 104631-07
    Keywords: C++ 4.2 SC4.2
    Synopsis: SPARCompiler C++ 4.2: C++ 4.2 patch for Solaris 2.x
    Date: Jul/17/98
    4066271 C++ has a problem with a copy constructor using virtual and multiple inheritance
    It seems as though the copy ctor doesn't copy the vtbl.
    Cheers
    Paul

  • CRM_ORDER_MAINTAIN Save Function problem

    Hi
    We are trying to create Grantor applications in SAPM CRM 6.0 using Function Module CRM_ORDER_MAINTAIN.      
    From an ABAP program we are passing the parameters in order to recreate the same scenario that is used in the Standard SAP CRM Web to create this type of applications.
    When the CRM_ORDER_MAINTAIN function is called the returned code is 0 (zero), we think that is no problem. Then, the CRM_ORDER_SAVE function needs to be call passing the u201CGUID of a CRM Order Objectu201D as parameter that is generated with the last order. But in this case the returned code is 1 which means u201Cdocument_not_saveu201D.
    We also tried calling the CRM_ORDER_MAINTAIN function passing as parameters only the u201Cct_orderadm_hu201D table with the value u201CGAPu201D in the field u201Cprocess_typeu201D, and the table u201Cct_input_fieldsu201D with the value u201Corderadm_hu201D in the field u201Cobjectnameu201D; all this in order to create the u201CGUID of a CRM Order Objectu201D. And then use that GUID again in the CRM_ORDER_MAINTAIN function.
    When calling the CRM_ORDER_MAINTAIN function a DUMP is generated because of the data contained in the table CT_DOC_FLOW. This dump has the type of message u201CCRM_DOC_FLOW No. 010u201D u201CDocument flow record could not be generatedu201D. The table result is:
    4ABA4D7B372E0194E1008000AC137072 (Grantor ID in which the application will remain)
    BUS2100010 (Business Transaction Type of Grantor application)
    4AEA377815A301E6E1008000AC137072 (ID generated for the application)
    BUS2000270 (Business Transaction Type)
    If the ID is not sent, no error message is generated but also the record is not created.
    We also test the CRM_TEST_ORDER_MAINTAIN function with the standard program passing the operation type u201CGAPu201D as parameter. But the execution of the program generates a DUMP. If the function is test with another type of operation as parameter, the program executes correctly generating the corresponding records.
    If the u201CGUID of a CRM Order Objectu201D is generated calling the GUID_CREATE function, when calling the CRM_ORDER_SAVE function a DUMP is generated with type message X of class CRM_ORDER Nol 009  u201CIncorrect values in interface parametersu201D.
    Please any idea to solve it.
    Thanks in advanced,
    Osmany

    Hi,
    concerning first part of your post - "document_not_save" is usually posted if some validations were not passed by new document.
    it could be for example implementation of badi order_save.
    You should debug function module crm_order_save and look for message with reason for not saving.
    Regards
    Radek

Maybe you are looking for