DBMS_OUTPUT on these Standard functions..?

Am i using the right version ?
FUNCTION getDocumentElement(doc DOMDocument) RETURN DOMElement IS
docelem NUMBER;
delem DOMElement;
BEGIN
if doc.ID = -1 then
raise_app_error(NULL_ERR);
end if;
dbms_output.put_line('The id is' | | doc.id);
docelem := xmldocumentcover.getDocumentElement(doc.ID);
dbms_output.put_line('The id is' | | docelem);
delem.ID := docelem;
return delem;
END getDocumentElement;

I'm getting the following error while calling the above function
The id is97
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.ClassCastException
is this a bug ?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by as as ([email protected]):
Am i using the right version ?
FUNCTION getDocumentElement(doc DOMDocument) RETURN DOMElement IS
docelem NUMBER;
delem DOMElement;
BEGIN
if doc.ID = -1 then
raise_app_error(NULL_ERR);
end if;
dbms_output.put_line('The id is' | | doc.id);
docelem := xmldocumentcover.getDocumentElement(doc.ID);
dbms_output.put_line('The id is' | | docelem);
delem.ID := docelem;
return delem;
END getDocumentElement;<HR></BLOCKQUOTE>
null

Similar Messages

  • Currency Translation at the Web Template level (standard functionality)

    Hi Experts ,
    We are currently working in BI 7.0 env. with source system ECC 5.0.
    We are working for a task where we need to make the BEx  queries enabled for currency translation .
    The requirement is :-
    The user should be enable to give/opt/choose for the follwoing options:-
    Currency type (target currency in which the translation is aimed)
    Exchange Rate ( Standard(M) or other(P) or something else) and
    Key date: The translation will be performed taking the exchange rate on that particular date.
    We do have 2 option to perform the task...
    1:- Either we do it thru currency translation type definition(RSCUR) and then attaching this currency translation for every amount key figure values at each query level. OR
    2:- If we can go and find something at the Web Template level and add/modify the template in such a way so that it gives us the functionality to translate a source currency into a desired one with desired exchange rate type (currently either M or P) and for a specific date.
    At this point of time when we do have numerous sub-areas holding hundreds of queries, we want something which should be available as the modification/addition to standard functionality at the web template level and not at the query level as changing each and every one of them and testing would be a cumbersome process and would be costly and risky at the same time. So we are just wondering if we can find something with option no. 2 and add/modify something in the standard functionality.
    Please ask for any more information required.
    Thanks very much.
    regds.

    Hi Amit,
    You would still need to define the Currency Translation using RSCUR where you would specify
    -the exchange rate type (either fixed or variable)
    -the target currency (either fixed or variable)
    -the reference date
    You don't need to modify any of your queries. You can instead use 'Translate Currency'/[SET_CURRENCY_TRANSLATION] command in WAD & specify the Currency Translation as defined in RSCUR. If you want the target currency & exchange rate type to be driven by user input, you can define these as variables in RSCUR & invoke the variable screen using 'OPEN_VARIABLE_DIALOG' in WAD for user input just before calling 'SET_CURRENCY_TRANSLATION' command.
    --Priya

  • Several Standard functions are not working properly in CRM Web

    We are working on different ABAP developments embedded on a Web environment, and we are facing some issues with different standard functions. This functions such as GUI_DOWNLOAD, GUI_UPLOAD, MS_EXCEL_OLE_STANDARD_DAT, POPUP_TO_CONFIRM which are used in the ABAP developments work fine on the GUI environment while in the WEB environment they do not work.
    This functions allow us to perform files uploads and downloads in .txt format as well as in .xls format.
    Some of the suggested solutions were to solve this by using BSP application or Web Dynpros.
    Does this WEB tool contain any update, SAP note or any function which may replace the 4 functions mentioned above is order to solve this issue?
    Thanks in advance
    Best Regards,
    Alexis Chavero.

    There are no standard functions in Web UI  that replicate what these functions do in GUI. This was discussed before [here|Read file from presentation server (like GUI_UPLOAD);. As far as I know, we have to code ourselves. One way to try is published [here|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI-UploadingdatafromExcelfiles].

  • I NEED TO KNOW IF IN SAP WE HAVE THESE STANDARD REPORTS FOR PP Division.

    i NEED TO KNOW IF IN SAP WE HAVE THESE STANDARD REPORTS FOR PP Division. OR I NEED TO CREATE BI/ABAP REPORTS
    PLEASE HELP.
    Please tell me how to check in sap these reports exists if not on functional report how to give fields and table name etc.............i am pretty new and i need to submit this work by monday its matter of survivial please please help
    1. lOSS ORDER REPORT as PER GAAP
    2. wWORK IN PROCESS SUMMARY (FIELDS ARE JOB NUMBER,ORDER TYPE,CUSTOMER NAME, NET SELLING PRICE,MATERIAL,MATERIAL OVERHEAD,labor hrs,labor, labor ovehead, total)
    3. 1099 REPORT (VENDOR,VENDOR CODE,DISCRIPTION AND VENDOR AMOUNT)

    If you are collecting your responses outside of Formcentral your forms will continue to work past June. This can be done by email or the Acrobat Pro mechanism. If your data is being collected in a Formscentral response table then it will cease working in July.
    Andrew

  • Use standard Function kyes as custom in PF ststus

    Hi all,
    I want to use standard Function kyes(such as F1 & F3) as custom in PF ststus so that I will perform my code by these function keys. Is it possible.
    Thanks
    Sanket sethi

    Yes it is possible.

  • Do we have standard function module or program to activate transformation?

    Hi Gurus,
    Do we have any standard function module or program to activate transformation in BI system? If yes please let me know or let me know how to proceed with to create custom program to activate transformation.
    Thanks,
    Manoj

    Hi Sven,
      Thanks for your help.
    Even I am facing the same problem, we didnt want to open the production system to activate the transformation also it take time to transport them every time from development
    can you please explain how to use these methods, what parameters to pass
    do you have a sample code, it will be of great help.
    use this methods
    cl_rstran_trfn=>factory
    cl_rsds_rsds=>if_rso_tlogo_general~get_instance
    l_rsds->if_rso_tlogo_maintain~is_active
    l_rsds->if_rso_tlogo_maintain~activate

  • Fix Values Standard Function

    Hi
    My question is regarding the standard function Fix Values :
    There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
    I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
    Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI  deriving it from an excel sheet or somewhere?
    The same are not stored in SAP and thus can't be looked up  !
    Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
    Thanks
    Dev

    >
    sd wrote:
    > Hi
    >
    > My question is regarding the standard function Fix Values :
    > There is a Table where a field from the Legacy File ,if has a value X then 123 has to be passed to ERP and so on .....
    >
    > I want to use Fix Value (key-Value Pair) in the same , but the limitation is that there are 200 such combinations
    > Is it advisable to manually fill these or is there a way that it can be accomplished in SAP XI  deriving it from an excel sheet or somewhere?
    >
    the best is to go for a value mapping instead of fixed values when the count is high
    > The same are not stored in SAP and thus can't be looked up  !
    >
    > Kindly advise if there is an alternate if the Key value pairs are of large number of the order say 500 etc
    >
    > Thanks
    > Dev
    For mass loading of values, value mapping replication can be used - /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario

  • Standard function- create order from contract.

    Hi Experts,
    Is there any standard function module which create a followup sales order(TA) for sales contract (QCTR).
    Regards,
    Rahul

    Hi,
       The release order means the PO item created with reference to the contract item. There can be multiple items in the PO in which some items can be with reference to contract - these items eventually becomes the release orders and other items can be without reference to contract.
       In short, you can add multiple items in PO where some items can be with reference to contract item and some are not. This is standard behavior.
    Regards,
    AKPT

  • Standard function module for checking the sales organization and plant

    Hi all,
        Does have standard function module for checking the relationship between sales organization and plant?
    Thanks a lot!
    Nina

    hi
    good
    check these BAPIS
    BAPI_SALESGROUP_GET_DETAIL     Sales Group: Display Name                                                
    BAPI_SALESOFFICE_GET_DETAIL    Sales Office: Display Name                                               
    BAPI_SALESOFFICE_GRP_EXIST     Sales Office / Sales Group: Existence Check                              
    BAPI_SALESORG_EXIST            Sales Organization: Existence Check                                      
    BAPI_SALESORG_GET_DETAIL       Sales Organization: Display Data                                         
    BAPI_SALESORG_OFFICE_EXIST     Sales Organization / Sales Office: Existence Check                       
    PLANT=>
    BAPI_PROMO_GETSITEPLANNING     Detailed Data for the Plants Involved in a Promotion   
    thanks
    mrutyun^

  • Want to overwrite the standard functionality.

    Hi All,
    I have table name on selection screen field, then if I execute I want the selection screen like se 16 as it
    shows differnt fields filter criteria and further if I say execute, it should not show standard functionality,
    like se 16, but it should show , what ever I have to show in the output. means I have to overwrite the std functionality currently happening in se 16..
    if I enter VBAK and got the selection screen fields and I do execute(like se 16), but if I want to supress the further execuation as happening currently (as per the standard code), and I want to write my own functionality when I execute the seclection screen of different fields of VBAK..
    can anybody help me ?
    the thing is my selection screen (both selection screen coming in se16- like first is only "table name" and another is "table fields") is same as like se 16 but further functionality is different..
    Regards,
    Mrunal

    Hi Asha,
    Thanks for the input. My exact requirement is, I don't want to supress any field, the current functionality of SE 16 is showing some selection screen fields when we enter the table name and after that, It show
    the data base entries, In my case, I need the exact same selection screen with table name and further selection screen fields under that table but I don't want the further entries as per the existing code of se16, I want to use theses slection screen only and want to write my own functioality.
         As I want same selection screen as per se 16,so I used call transaction for se 16 or different
    function modules, so by using theses , I got the selection screen but by default when u execute, It will show the entries like se 16, but I don't want that..
    Regards,
    Mrunal

  • Standard Function  modules for t-codes FBV3 and FB03

    Dear SDN Community,
      Can you please tell me what are the standard function module that I should use to simulate the following transaction codes from Web.
    FBV3- Display Parked document
    FB03 - Display posted document
    Thanks!
    Surya.

    Hi,
    Please check these BAPI and FM.
    BAPI_ACC_DOCUMENT_DISPLAY
    FI_DOCUMENT_DISPLAY_RFC
    Regards,
    Ferry Lianto

  • What are the standard functions in XI ?

    What are the standard functions in XI ?

    Hi,
    The target field mapping is possible by using below typs of functions
    1. Standard functions
    2. Runtime procedure
    3. User Defined functions
    Standard functions are the APIs provided in Graphical mapping to process the values of the fields used for target field mapping.
    Technically all these values are trated as string thus all standard functions expect strings as input argument and string as an export aurgument
    Please find here with you more details about it at below link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    2. Runtime procedure
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
    3. User Defined functions
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
    Thanks
    Swarup

  • Standard function keys in specific applications

    Just wondering whether there is any way to use the standard functions of F1, F2 etc in specific applications without having to have this function enabled in Leopard as a whole. For example, in general, I want to be able to adjust the volume and brightness on my Macbook Pro without having to push the fn-key. However, when, and only when, I use Pages, I want to use these keys as standard-function keys in order to be able to switch between styled. Is there any way I can make this happen??

    I would settle for knowing how to do that again, but what I would really like is the ability to either quickly turn on and off the Mac default uses for the function keys or, better yet, have it turn off in certain apps.
    I've tried the "Use all F1, F2, etc. keys as standard function keys," button in the Keyboard & Mouse System Settings, but I don't see where that has any sort of effect.
    yes, it does have an effect. it lets you use F-keys as regular keys and map them to what you want.
    The reference there to the 'fn' key makes me think it's only for laptops.
    no, this is for any keyboard that has a fn key. if you have it on your keyboard then you get that checkbox in keyboard system preferences. if you don't have it the checkbox won't even show up. when the box is checked you have to hold fn to get the functionality of the F-keys written on them. otherwise they act as regular keys that can be mapped to whatever you want. you can do this in system preferences->keyboard&mouse->keyboard shortcuts.

  • How to find query_only and standard functions (AOL)

    Hi,
    There are many functions which are attached to menus and which inturn are attached to responsibility.
    Also, we can have a function view only by creating the same function by entering QUERY_ONLY="YES" in parameter.
    For ex:- I have a function called "Customers Standard" by which you can create customers. I can create another
    function using the same form and make it query only by entering QUERY_ONLY="YES" in the parameters column.
    My question is, I want to know for which responsibilities i have this query_only function attached and for
    which reponsibilities i have this normal standard function is attached to. If it is Query_only, then i want
    to populate a comment saying " Query Only Customer" and if not then populate with " Standard Customer Function".
    I wrote a query which displays all the menus, sub-menus and user-function-names for all responsibilities. But
    i need to populate another column with this "Query-only" or "Standard Customer" by checking the parameter values.
    Like this, i need to check for all like "customer" , "invoices", "order entry", "vendors" etc etc.
    If it is hard to understand my problem, to make it simple, " A query to Display all the menus, sub-menus, sub-sub-menus,
    user-function-names for all menus, sub-menus, sub-sub-menus for all reponsibilities. After writing this query,
    I want to populate one more column in which i want to display whether it is query_only or not_query_only."
    Help Appreciated
    Thanks

    Hi Adwinn,
    Do you have any query for this.
    For ex:- for AR reponsibility, the screen looks like this:-
    -Transactions
         Batches
         Batches Summary
         Transactions Summary
         Credit Transactions
    -Receipts
         Batches
         Batches Summary
         Receipts
         Receipts Summary
         Remittances
         Remittances Summary
    -Lockbox
              Transmission History
              Maintain Transmission Data
    -Collections
         Scheduler
         Customer Calls
         Customer Account
         Account Overview
         Aging
         Correspondence
    -Customers
         Standard
         Quick
         Summary
         Profile Class
         Merge     
    and so on.....
    In this, there are may be query_only functions created and attached to these menus. I need a report which shows me all the menus, sub-menus, sub-sub-menus and tell whether that is standard or query_only with that prompt description.
    for ex:- output:-
    AR reponsbility | AR_NAVIGATE_GUI | Customers | Standard | Customers-Standard-Query Only
    help appreciated
    thanks

  • Question about SAP standard functionality related to the GL master record.

    My question is;
    Is this a SAP standard functionality to update the description ( long text or short) of a GL account (in master record) in one company code when we change the description of the same GL account in another company code which is assigned to the same chart of account?
    For example we have two company codes and both are assigned to the same chart of account and we are changing long text of one GL account in one CoCd. Should it update the long text of the same GL account in other CoCd assigned to the same chart of account? If so, then is this a standard SAP functionality or there is any setting where we can turn this functionality on or off.
    Thanks in advance for help n answer.

    Hi 
    GL accounts control takes place two leval
    1.Chart of account leval
    2.Comapany code leval
    In chart of account leval  Type/Description,Keywoard Translation,Information of Chart of Account of account tabs are controlled ,if u made any changes above tabs that should be applicable to all company codes using same chart of accounts.
    u r changing the short text,long text these are controlled by char of accounts leval this should be applicalbe to all company codes, u can't maintain company code leval type and description.

Maybe you are looking for

  • Change layout of Adhoc query output list for Custom infotype

    Hi All, The fields in the Infoset query output on a custom infotype are aligned with the fields u2018payment typeu2019 and u2018amountu2019 appearing repeatedly(in columns) as declared in the Infotype and the output will be a long horizontal list. In

  • Working with AS3 External Classes

    Ok... trying to work with AS3 external classes. I have a movieClip that I want to also function as a button. Instance name is "_onDemand". This movieClip is on the stage of my Home.fla.  "_onDemand" movieClip properties   Class:HomePage  Base clase:

  • Suddenly reduced BB download speed - again!

    Many months ago, I suffered a drastic reduction in BB speed.  Please can you help?  According to BT website, I should get BB download speed of 12.0 to 14.5 Mb/s but since September this has been around 9 Mb/s.  On 19 December 2012, the speed suddenly

  • Problem Importing .SCR Subtitles

    I've got a .SCR (Scenarist) subtitle file I'm trying to import into my DVD Studio Pro 4 project - and it refuses to import - providing this error message: "No corresponding subtitles found. The video asset timecode may not correspond with the timecod

  • Preview stopped working macbook

    Preview crashed a few days ago and now it's stuck in a crash loop. Everytime I try to open a file with preview, it tells me that the last time it was opened that it crashed and would I like to reopen it. If I click "reopen" it crashes again. And then