XML function not getting compiled in Pro C

Hello
I have written following statement in ProC
          EXEC SQL
          select extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal(),
extract(x.xml_data,'//ADDRESS/SERVERS/text()').getNumberVal()
          INTO :h_refsystem,
          :h_reftext
from xml_str_table x
where key_no = 1234
and x.xml_data.existsNode('//ADDRESS/SERVERS[@REFSYSTEM="ORACLE"]') = 1 ;
and when compiled it give error " extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal()
                                                  *. should be replaced with date, time etc*
Above query is returning output when I run on Oracle, but same code is not getting compiled in Pro C. Can you please advise what should be done to resolve this issue?
Thanks in advance,

Hello!
I found out that the problem was not in the variable os_create_id as I described before, instead in the another variable, l_temp_sku.
But a strange behaviour persists.
The program aborts strangely, if the following variable l_temp_sku isn't initialised like this:
l_temp_sku[0] = '\0'; (if this is done the pro*c runs ok)
This variable gets it value from a Output variable of the package called, and these have the same length, as you can see above.
In the old machine (version 8.1.3.0 as already mentioned) it worked fine without initialisation.
The (strings) precompiler options are the following:
dbms=v8
char_map=string (We already tried to change this to VARCHAR2)
My questions are:
Is this a normal behaviour or is this a non documented feature (bug) ?
Is there any precompiler option that solves this kind of problems ?
We have lots of Pro*C´s with situations like this one, our problem is if all these programs start to blow without warning. Only after lots of time spent around this Pro*C we found where was the problem, and what kind of problem.
/* Code Extract: */
char ls_error_msg[NULL_ERROR];
EXEC SQL VAR ls_error_msg IS STRING(NULL_ERROR);
char l_temp_sku[NULL_SKU];
EXEC SQL VAR l_temp_sku IS STRING(NULL_SKU);
EXEC SQL EXECUTE
DECLARE
L_table VARCHAR(50) := NULL;
L_sub_sku WIN_WH.sku%TYPE := NULL;
L_avail_stock WIN_WH.STOCK_ON_HAND%TYPE := NULL;
O_error_message VARCHAR2(255) := NULL;
BEGIN
if NB_SUB_SKU_SQL.NB_F_CHECK_SUB_SKU(:os_sku,
:os_from_loc,
:os_to_loc,
:os_tsf_no,
:os_tsfalloc_no,
:os_create_id,
to_date(:os_system_date,'YYYYMMDDHH24MISS'),
L_sub_sku,
L_avail_stock,
O_error_message) = FALSE then
:plsql_pkg_failed := -1;
:plsql_pkg_message := O_error_message;
SQL_LIB.BATCH_MSG(:ol_sql_holder,
L_table,
:plsql_pkg_message);
:table := L_table;
else
/* Only if ret true and the sub sku, everything its ok */
if L_sub_sku IS NOT NULL then
:l_temp_sku := L_sub_sku;
:plsql_pkg_failed := 0;
Best Regards,
JAP

Similar Messages

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • I can not get my MB Pro to recognize my cox e-mail worked with cox for about an hour and a half last night  and they said it has to be somthing in the app on the computer or the computer itself

    I can not get my MB Pro to recognize my cox e-mail worked with cox for about 1 1/2 hours they said it was the operating system or the computer we tried everything and different ways to set up but no luck

    Hello Manny1212,
    The following article provides some useful troulbeshooting steps that can help get your Mail working.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/TS3276
    Cheers,
    Allen

  • SOADEMO - deploying SOAOrderBooking build.xml "Could not get Deployment M..

    Hi All, I have seen a few issues with the SOA demo but still not able to resolve my issue so posting a thread.
    First off using SOA suite 10.1.3.1.0 and Jdev 10.1.3.1.0, so the same versions. Downloaded the demo from the same oracle page as downloaded suite from etc so should be compatible. Installed SOA Suite on an OE Linux 4 update 5 install. Using jdev on Vista laptop. I appreciate that these are not the most current versions but they should work as on the Oracle site and I am not able to install newer versions for the next few weeks.
    Going through the install guide for the demo and hitting a problem with deploying the build.xml for SOAOrderBooking as a few others have. The first error I am getting is:
    [deployDecisionServices] Failed at "Could not get DeploymentManager".
    I have checked the build.properties file which matches exactly that from the 'SelectManufacturer' which deployed fine.
    One of the main differences between these two is that the 'SelectManufacturer' does not have any decision services.
    One thread I saw suggested changing in the properties file
    platform=ias_10g
    #platform=oc4j_10g
    to
    # platform=ias_10g
    platform=oc4j_10g
    I did do this and the deployment when further but then fails at a later stage. I should not have to make this change anyway as I am using ias_10g so I have gone back to the original. Why would this change allow me to get further?? Appreciate any comments on this bit apart from my general problem.
    Any ideas why the deployment of the decision services would fail?
    I have spent a fair bit of time as you do trying to resolve it but no luck so any help greatly appreciated. Searched google, metalink, technet etc.
    FYI I have edited the properties file to use a different port for HTTP etc. Again these settings worked fine for 'SelectManufacturer' so do not think there is a problem with the URI being used.
    Also appreciate on debugging could anyone tell me under the IAS control panel which log component I should set to get some more debug info on this deployment error. I have tried a few without success and cannot find a clear explanation of the various component logs.
    Thanks for reading my post Cel

    Hi James, thanks again for your reply.
    I went on to the linux server and ran the below to validate the URI:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/appserver/oc4j_soa oc4jadmin <password> -validateURI
    This is the same command being executed by jdeveloper when I try to deploy the decision service.
    I get the same error as with jdev:
    Failed at "Could not get DeploymentManager".
    I had a further look at the command and omitted the name of the application server instance which in my case is 'appserver', the default when you install SOA Suite.
    so now ran:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/oc4j_soa oc4jadmin <password> -validateURI
    This validated the successfully. Went back to jdev and commented out the line from the build.properties:
    # asinstancename=appserver
    Re-ran the ant build and this time the deployment of the decision service succeeded.
    This has now failed on the next stage of the build on compiling the bpel process SOAOrderBooking which I shall look at now.
    Do you know why the above would not work with the appserver instance name. I have checked and it is the correct name and spelling?
    I have another error now on the next stage of the build and wonder if this is related to it.
    The error I am getting is that could not read the wsdl and:
    Error happened when reading wsdl at "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : Connection refused: connect".
    Thanks for your suggestions and welcome any other comments on this next error as I wonder if it is related to the first one that I have worked around.
    Thanks Cel

  • Idoc - Partner Function not getting captured.

    Dear all,
    I am using IDOC (type - /NFM/ORDERS05) to send a Purchase Order. The Idoc is getting created but the only a few partner function is getting captured from the Partners tab in the ME22n transaction. The remaining partner functions that are not captured are SP (Forwarding Agent) and ER (Employee responsible).
    Any bright ideas how to solve this problem.
    Points will be awarded.

    Hi Vivek,
    Thanks for your reply.
    1. Where do i have set the receiver port and the message type for each "partner fuction". We do this generally for a Partner Type. (Please clarify)
    2. If I remove the syntax check box then my PO is not getting created in ME21n transaction.
    3. I have checked the Partner types there is not problem with that.
    Regards,
    Gajanan.

  • Middleware-Partner Functions not getting attached after BP replication

    Dear SDN team,
    We have an problem related to CRM middleware . We have enabled Middleware to download BPs from SAP R/3 system to CRM 5.2 system.
    Problem: We are able to download the individual BPs like Sold to party and Bill to party from SAP R/3 system to the CRM system. _But the Partner function relationships are not getting attached to these BPs after the replication from ERP to CRM _. I mean the Bill to party is not getting attached to the respective Sold to Party in the CRM system .
    Strangely the Contacts for individual BPs is getting replicated via BP relationships
    Can someone help me to solve this problem.
    What should we do on the MW settings to replicate the respective BP relationships ??
    Kindly get back urgently . Suitable points will be awarded for the useful solution.
    Regards
    Ritvij

    Ritvij,
    You can try as suggest to setup a filter on CUSTOMER_REL on KVNK.  I would exclude any entries where PARNR is a non null value.  Beyond that you may need to do a middleware exit to block that data on the R/3 side.
    For your second question:
    R/3 Account Group = CRM BP Grouping
    Your settings PIDE should transfer the the account group to CRM.  You will need however to maintain a corresponding grouping with number range on the CRM.
    I believe from a business partner "role" perspective, you need to do a middleware exit if you want to replicate the custom account group into a custom role.
    If you do however have a relationship then you need need to do the mapping configuration for this.
    In the CRM IMG you can use the Menu Path:
    CRM->Basic Functions->Partner Processing->Data Transfer.  This will alow you to map in any custom partner functions from R/3 into CRM and be linkded on the business partner master.
    Take care,
    Stephen

  • Equipment Partner Function not getting upload from CRM to ECC

    Hi,
    We had download Equipment from ECC to CRM. In CRM we can view this Equipment as Install Base with all partner function which are assigned.
    Now in CRM we had changed the partner function against the instal base but it is not getting replicated to ECC. In SMW01 BDoc is generated and it status is in "Green"
    In case if anyone has encounter this issue then please help us to get this issue fixed.
    With Regards
    Ankush Rai
    Mob: 9423404043

    Hey Ankush,
    Am also getting the same problem.....any luck?
    Regards,
    -Sweta

  • Partner function not getting determined automatically in delivery

    Hi,
    I have a requirement to determine custom partner function in delivery related to STO. I have maintained the below settings.
    1. Created new partner function (type KU) & extended to account groups.
    2. Maintained the partner function in the delivery partner determination procedure.
    3. Defined partner function in ship to party
    Now the new partner function is not getting determined automatically.
    Kindly provide your inputs.
    Thanks
    Rama

    Hi Rama,
    . Defined partner function in ship to party
    Sorry for editing i just read that it is a STO order,Now can you please check the partner function in PO doc.
    Hope it will help.
    Thanks,
    Davinder
    Edited by: davinderpalsingh on Sep 21, 2011 5:20 PM

  • Problem using the IMAQ Extract function.Not getting two different image out

    Hi, I am trying to use the multiple IMAQ extract functions to get certain parts of the webcam image and then using the color extract function to get the average RGB values. The problem is that both the IMAQ extract functions give the same image on its output port. The block diagram snippet and VI are attached below. Also, please let me know if there is a better way of doing this. I need to expand this later to extract rgb values of about 40-50 different parts of the image instead of just two shown below.
    Solved!
    Go to Solution.
    Attachments:
    Extract RGB Data.vi ‏104 KB

    You did not create another image that you should wire to the input "Image Dst" of "IMAQ Extract".  That's why you always operate on the original image (which you should not do if you intend to operate on several regions of the image).
    Solution: 
    (1) Create a new image and wire this to "Image Dst".
    (2) Apply the histogram operation sequentially (e.g. in a loop).
    That way you will notice, that Image Dst contains actually(!) the region you have specified.  (Put a probe on the image wire that goes from the Extract VI to the Histogram VI).

  • Responder function not getting identified..

    Hi All,
    In my mxml file, my responder function is not getting identified even though i did import flash.net.Responder;
    Any ideas, why this would happen?
    Regards
    S.

    This is done.
    I did the call to method giving full class path.
    like - flash.net.Responder();
    That worked for me.
    Thanks

  • Xml file not getting loaded locally...

    Hi,
    I have created a project and it uses an xml file which I have used in assets folder within the src of the project(The project was created in D:\C Drive\Documents\SAP UX\go_green\wasl_DB\bin-debug). The url path which I have used in HTTPService is :
    <mx:HTTPService id="srv" url="assets/datafile.xml" result="srvResultHandler(event)" fault="srvFaultHandler(event)"/>
    This works fine when I run it through flex, i.e, it gets into srvResultHandler result function. But when I moved the bin-debug folder to some other drive and to some other folder, and when i tried opening the swf file, it fails. It is getting into srvFaultHandler fault function, where I have given a alert message, "Error reading xml file.".
    Can someone please let me know where am I going wrong??? I don't want to run this in any server, I want this to run in 3 desktops locally always.......
    Please help,....
    -Deepak

    add a compiler argument -use-network=false in your project compiler setting:
    - right click on project ( it must be open ), go to properties
    - go to Flex Compiler section.
    - add the above argument in Additional Compiler Arguments box ( you may have -locale en_US already there, put a space after it and paste above one.)
    hope it helps.

  • HT3625 Audio line function not available on Macbook Pro mid 2012

    Does Macbook Pro 13 inch (Mid 2012) with OSX Mountain support Audio line?  Its seems that OSX Mountain Lion disabled audio line in function in headphone port. This is a bad move by Apple because I am sure that everyone would like to use line in to record audio from external source.

    I am trying to connect an external audio source (line in) to a MacBook Pro 15" (Retina, Mid 2012). The built in phones port does not accept input signals (@Branduan: I can't confirm that itis a dual in/out port). I attached an external soundcard (M-Audio Fasttrack USB), but no signal made it into the MacBook Pro.
    Any chance how to get an audio signal into that machine??

  • Can not get Final Cut pro to capture HD footage from Canon HV10

    Ive had soo much trouble with no success, in trying to get footage from my HD camera into Fina cut Pro HD 4.5. I can get normal dv footage when i cahnge the setting s on the camera, and Final cut pro, but HD is not been possible so far.If any one can inform me of anything, is it possible at all to capture from my camera in HD, do i need Final Cut Pro 5? Do i need pluggins? Anything!! I want to capture HD quality!
    Powerbook G4   Mac OS X (10.4.9)   1.5GB MEMORY

    You need to list the camera you are using, the settings you shot on and the settings on your sequence (easy set up etc)

  • XML file not getting transferred to archive folder once upload is done!!

    Hi all,
            I am working on a scenario where SAP R/3 sends data to SAP MDM 5.5 (SP04 PATCH 2) with XI as middleware.The XML file sent by XI is getting uploaded from the FTP folder using Manual Import (Import Manager).
    But after importing for the first time, the XML file does not go automatically to the
    Archive folder.
    Any suggestions would be appreciated.
    Regards,
    Ravi Verma

    Hi Ravi,
    it's possible that this was a bug in SP4 Patch 2. I know that it worked with Patch 3 because this was the first time I used this feature. Is it possible for you to upgrade to the latest SP4 Patch?
    Fact is that this should work with IM automatically. But I'm afraid that, if you report this in a OSS ticket, you'll get exactly the same reply as I've given to you above...
    Kind regards
    Michael

  • A PDF function not working correctly in Pro and Reader

    Here is more information from the field staff who informed me of the issue:
    As far as adding pictures to Live Cycle form.
    When field personnel entering the inspection data into the form, if it opens in Reader, they cannot add a photo by clicking on the “paperclip” in the lower left of the form.   The “Add” button is not there.  The can add an image in the field in the form, but I cannot get it out of the form to put into the database…you cannot manipulate the image at all once it is in the field area of the form.  No right click to copy, cut or delete.
    In Adobe Acrobat Pro 9, you can click on the paperclip, add an image file, BUT cannot right click on file to copy elsewhere..which is what I would want to see us be able to do.  I have to save the file as something else, then put it in my database…I don’t want to have to save it as something else due to our numbering system that we are using to file these…A HUGE HEADACHE..
    IF I try to add an image directly to the field in the form, once it is there, you cannot right click to delete it (copy it, cut it)..you cannot get rid of it…only “replace” it with another image….not exactly user friendly if you attach a photo by mistake…
    those are the issues I have with the live cycle form.  we are working on trying to get the information dumped directly into a database, if there are instructions on doing that I would like to have those.  It would save me a lot of time and effort.

    Is this a LabVIEW or a signal express question?
    (You post in the LabVIEW forum but only mention signal express. There is a dedicated signalexpress forum. If this is a LabVIEW question, please explain in more detail.)
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How to fetch data from different standard table to own customize table.

    Hi Experts, I want to develope an INVENTORY TURN OVER REPORT in SAP R/3.As I dont know much about Inventory.I want some one here to guide me regarding this with example so i can develope Inventory Report in R/3. Also guide me which filed from which t

  • Google calendar and iOS 8 - no longer synchronizing

    Updated my iPhone 4s to iOS 8 and suddenly my gmail calendar is no longer synchronizing on the phone.  I've already done the restore to factory settings because after the upgrade to iOS 8, my phone lumped a bunch more files into "other" which weren't

  • Moving Logic Studio 9 to an external drive

    My internal HDD is almost full and I need to move some of my data to an external drive before it fills up completely. Logic Studio and all the samples, loops etc strike me as a good candidate but I wish I had thought about this before I installed it.

  • Error CX_SY_CONVERSION_NO_DATE_TIME with value 99991231 when calling a WS

    I'm calling a Web Service in a SAP system from an external program which is written in Java. I got exception CX_SY_CONVERSION_NO_DATE_TIME when I tried to pass value 99991231 to a date field Bapie1Maw1Rt-ListStTo. Do you know other workarounds for th

  • Export multiple pages in InDesign...

    Did anyone try to export for print (this means with all the bleeds, marks, color coding, etc etc...) an entire magazine into single pages? I found various solutions but non are realistic. I shoot with a D800e and D810 (this means massive 36 megapixel