How to use g++ to build shared libraries for labview in linux?

does anyone knows if it's possible to compile a shared library in linux with g++ that could be recognized by labview?
thks
JP

Hi JP,
Yes you can use g++ to build shared libraries that labview can use. You'll want to give your C++ library a C interface. This is really common practice. You can do this by simply declaring functions as 'extern "C"'. Here is a link with more information:
http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-30.8
I've personally worked on projects that do exactly what you want to do.

Similar Messages

  • Building Shared Object for LabView

    All;
    I'm trying to build a C++-based shared object to be called from LabView and use SunCC instead of gcc. The compile stage looks like:danny@traveler:~/tubes/dielectric/rod_software/lookup> make -f Makefile.unix suncc=1
    sunCC -I/usr/local/lv71/cintools -I/home/danny/src/NR_C301/code -c -KPIC -m32 -Di686 lookup.cc
    "/home/danny/src/NR_C301/code/interp_1d.h", line 183: Warning: n hides Base_interp::n.
    "/home/danny/src/NR_C301/code/mins_ndim.h", line 103: Warning: n hides Linemethod<extern "C" double(const NRvector<double>&)>::n.
    "lookup.cc", line 176:     Where: While instantiating "Powell<extern "C" double(const NRvector<double>&)>::minimize(const NRvector<double>&)".
    "lookup.cc", line 176:     Where: Instantiated from non-template code.
    2 Warning(s) detected.and the load stage fails like this:sunCC -G -m32 -o lookup.so lookup.o /usr/local/lv71/AppLibs/liblvrt.so.7.1 /usr/lib/libGL.so /usr/lib/libOSMesa.so.6
    /opt/sun/sunstudio12/prod/lib/crtn.o:(.text+0x0): multiple definition of `_etext'
    make: *** [lookup.so] Error 1Is my problem obvious? Is there a simple example on how to build SOs? I found the switch definitions in the Sun documentation, but no good examples yet.
    ...Dan

    If your library links to other shared libraries, use -L options to point to directories other than system directories, and the -l option for the library name after "lib".
    When building shared libraries, you also need to list all system libraries explicity, unfortunately, to ensure your library has the right dependencies.
    You should also add -zdefs to force the linker to complain about unresolved symbols. The default when building shared libraries is not to warn about them.
    You want to be sure you have included all the needed libraries in the link.
    Your link command should look like this :
    sunCC -G -m32 -o lookup.so lookup.o -zdefs \
      -L /usr/local/lv71/AppLibs -llvrt.so.7.1 -lGL.so -lOSMesa.so.6 -lCstd -lCrun -lm -lcYou don't need a -L option for /usr/lib or the directories in the Sun Studio installation. The CC driver knows where to find system libraries.
    That said, I don't think the command line issues are the cause of the multiple definition error.
    Binaries created by Sun C++ are not compatible with binaries created by other C++ compilers like g++. Is liblvrt.so.7.1 a g++ library?

  • Building shared libraries on linux with SunStudio

    Hi,
    I installed the sunstudio-compilers on my system (SuSE 10.0/x86-64) and try to build a shared library.
    For my (c++-)library I use autoconf/automake, so I hoped it to be trouble-free, but it is not. I configured my library with:
    ./configure CC=cc CXX=CC CFLAGS=-fast CXXFLAGS=-fast -D_GNU_SOURCE(I needed this -D_GNU_SOURCE to have pthread_rwlock_*).
    The compiler run fine, but the linker does not produce any output. I guess the command, which should have created the library is:
    /bin/sh ../libtool --tag=CXX --mode=link CC  -fast -D_GNU_SOURCE   -o libcxxtools.la -rpath /usr/local/lib -lpthread -version-info 3:1:0 base64stream.lo cgi.lo dlloader.lo hdstream.lo hirestime.lo httpreply.lo httprequest.lo iniclass.lo log.lo md5.lo md5stream.lo multifstream.lo net.lo pollclass.lo query_params.lo tcpstream.lo tee.lo thread.lo udp.lo udpstream.lo xmltag.lo iconvstream.lo  ../libltdl/libltdlc.la  -lnslIt creates a src/libcxxtools.la and symbolic links src/.libs/libcxxtools.so and src/.libs/libcxxtools.so.3, but no shared library src/.libs/libcxxtools.so.3.0.1, where the links point to. Is there any chance to get automake running with sunstudio?

    libtool problem is that it has embedded knowledge about compiler options, and it is platform-dependant.
    libtool knows that it should use -G to link shared library with SunStudio on Solaris.
    It has no clue about existance of SunStudio on Linux.
    Anyway, if you are compiling with SunStudio you should always link with SunStudio (cc, CC or f90).
    Thus proper configure line should include LD=CC for C++, LD=cc for C programs.
    If you use default linker (ld) it will fail to resolve dependancies specific to SunStudio compiler.
    Thats what happens in your case.
    However even if you specify LD=CC it will not do shared libraries for the cause mentioned about - when configuring libtool tries to figure out how to build shared library and deciding not to build it at all.
    You can get out with LD=cc (as our cc driver supports gnu-style -shared option).
    Though you will have to specify all the SunStudio C++-specific link dependancies manually.
    Another option is to modify libtool script. Which version do you use?
    regards,
    __Fedor.

  • Any tutorials on how to use the daily build of the Flex SDK to create Flash Player 10 content?

    Is there a tutorial on Adobe on how to use the daily build of
    the Flex SDK to create Flash Player 10 content?

    The approach you take might depend on a few things, but it boils down to using mouse interactive coding to trigger whatever effect you eventually realize.  The code you use will depend on the version of Actionscript you plan to use.
    You could make this as a movieclip that is normally stopped at its first frame and when you mouseover or click the movieclip, it animates along its own timeline to its enlarged state.  If the thumbnail is very small and the larger version is substantially larger, and both need to be clear images, this might be the better approach.
    If this only involves enlarging something, you could also probably realize it just using Actionscript Tween coding rather than timeline animation.

  • V.Important: How to use se24 to build a class step by step:  Points assured

    hi all
    I am new to OO based abap programming.  I want to build a class using SE24 but i dont know where to put the various pieces of code in SE24.
    Can anyone please provide a step by step procedure (including screenshots) on how to use SE24 to build a class using most of the features like constructor, attributes , interface , friend etc.
    Documents would be more helpful as compared to links.
    Points will be awarded
    thanks in advance

    Hi,
    Just follow the below givenlink. Using this you can create a class in SE24.
    http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm
    I think the below document would be
    a very good introduction
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0a33479c-0b01-0010-7485-dc8c09d6bc69
    See the Following Dem Program:
    DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
    DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
    DEMO_ABAP_OBJECTS_DIALOG_BOX Splitter Control for Screen with Dialog Box
    DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
    DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
    DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
    DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
    Regards,
    Padmam.

  • How do i disconnect other peoples shared libraries from showing up in my itunes

    how do i disconnect other peoples shared libraries from showing up in my itunes

    Edit > Preferences > General tab. Untick Shared Libraries.
    Control the visibility/accessibility of your library from the Sharing tab.
    tt2

  • Idea about how-to using 'Agilent Wireless Test Manager' interfaces in Labview ?

    Hello everyone,
    I am not sure whether it is appropriate to post this here.  
    Currently I got a Wireless Test Manager CD(Agilent E6560A) and is trying to convert some functionalities inside class 'cdmaTXMeasTests' into labview.
    I am doing the 'code domain power testing' module with labview, which is well done in that 'cdmaTXMeasTests'.
    I am wondering if any one could provide me some idea how to use that 'cdmaTXMeasTests' in my labview without rebuild the wheel.
    ( I am not sure whether that would work,  Are the libaries used by wireless test manager a  ActiveXDLL that could be used by labview ? Or there is some other way to do it or not?)
    Any idea is well appreciated,
    +Kunsheng Chen

    Good Afternoon Kunsheng Chen,
    It seems like you are trying to port your DLL.  Rather, I would suggest using a Call Library Function Node (right-click the Block Diagram, Functions>>Connectivity>>Libraries & Executables>>Call Library Function Node).
    From the Agilent website, this is a C dll so you will be able to access it using this VI in LabVIEW with no problems.  You might want to contact Agilent to see if this DLL has ActiveX components.  Alternatively, you can simply browse the list of ActiveX components on your computer.
    The following links may provide some useful information for using a DLL in LabVIEW.
    An Overview of Accessing DLLs or Shared Libraries from LabVIEW
         http://zone.ni.com/devzone/cda/tut/p/id/3009
    Call Library Function Node
         http://zone.ni.com/reference/en-XX/help/371361E-01​/glang/call_library_function/
    Using Existing C Code or a DLL in LabVIEW
         http://decibel.ni.com/content/docs/DOC-1690
    Regards,
    Charlie Piazza
    Staff Product Support Engineer, RF
    National Instruments

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • How do use my ITunes balance to pay for Apps

    How do use my ITunes balance to pay for Apps?

    You just buy what you want.  If you have a credit (balance), it is automatically used before you are billed (if you run over your balance).
    How to manage unused iTunes Gift Card and Gift Certificate balances
    "Each time you purchase content, iTunes will deduct funds from the credit until it's depleted."

  • How to use same Data Type and Length for two fields

    How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
    SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
    FROM bsik
    INTO TABLE it_bsik
    WHERE bukrs = p_bukrs
    AND lifnr IN s_lifnr.
    IF it_bsik IS NOT INITIAL.
    SELECT belnr gjahr awkey awtyp
    FROM bkpf
    INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_bsik
    WHERE belnr = it_bsik-belnr
    AND gjahr = it_bsik-gjahr.
    IF it_bkpf IS NOT INITIAL.
    SELECT belnr gjahr lifnr xblnr
    FROM rbkp
    INTO TABLE it_rbkp
    FOR ALL ENTRIES IN it_bkpf
    WHERE belnr = it_bkpf-awkey+0(10)
    AND gjahr = it_bkpf-awkey+10(4).
    ENDIF.
    ENDIF.
    Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
    Kindly clarify.

    Hi Saurabh,
    Please see the example code that I have developed for you. It will help you solve the problem.
    REPORT ZTEST_3 .
    tables : BKPF.
    data : begin of it_bkpf occurs 1,
             belnr type RE_BELNR,
             awkey type awkey,
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf.
    data : begin of it_bkpf1 occurs 1,
             belnr type RE_BELNR,
             awkey type gjahr,              " change the data type
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf1.
    data : begin of it_rbkp occurs 1,
             belnr type BELNR_D,
             gjahr type gjahr,
             lifnr type LIFRE,
             xblnr type XBLNR,
           end of it_rbkp.
    select belnr
           awkey
           awtyp
           gjahr
           from bkpf
           into table it_bkpf
           where BUKRS = 'TELH'.
    loop at it_bkpf.
    it_bkpf1-belnr = it_bkpf-belnr.
    it_bkpf1-awkey = it_bkpf-awkey+10(4).           "Here only append the required length.
    it_bkpf1-awtyp = it_bkpf-awtyp.
    it_bkpf1-gjahr = it_bkpf-gjahr.
    append it_bkpf1.
    clear it_bkpf1.
    endloop.
    select  belnr
            gjahr
            lifnr
            xblnr
            from RBKP
            into table it_rbkp
            for all entries in it_bkpf1
            where belnr = it_bkpf1-belnr
    This is just an example. Change the fields according to your requirement.
    Regards
    Abhii
    Edited by: Abhii on Mar 9, 2011 9:08 AM

  • Looking for NI-CAN Libraries for LabVIEW 6.1

    Hi,
    I'm looking for the NI-CAN Libraries for LabVIEW 6.1 environment. Actual driver installation did install the nican-Libraries in LabVIEW 7.1 and LabVIEW 8.6 directory only but not in LabVIEW 6.1 (..\LabVIEW 6.1\vi.lib\nican\...).
    Can anybody help? Thank you in advance.
    Kind regards
    Christian
    Test Engineering
    digades GmbH
    www.digades.com

    Hi
    I hope your OS is one of the following...
    NI-CAN 2.3 - Windows XP/2000
    http://joule.ni.com/nidu/cds/view/p/id/274/lang/de
    The readme file   "http://ftp.ni.com/support/softlib/can/driver/ni-ca​n/2.3/readme.htm"  says:
    Supported
    Development Environments
    The NI-CAN software supports the
    following development environments:
    LabVIEW
    6.1, 7.0, and 7.1
    Give it a try and please let me know if it works...
    Regards
    Chris

  • Using buildclient to build static libraries under Windows

    Hi All,
    I have been trying to use buildclient to build a static library
    but in vain. When i run the following command on the command line
    "buildclient -w -v -o GenSvcWrapper.lib -f GenSvcWrapper.cpp" ,
    i get the error (LINK : fatal error LNK1561: entry point must be
    defined), which i guess is asking for a main() in the program.
    I tried using the VC++ IDE to build the library, now i am able
    to build the library but the call to tpinit() fails.
    My conclusion is that buildclient can be used only to build
    exe's. Am i wrong in my conclusion? If not how do I build
    libraries using buildclient or VC++ IDE? What i want is to wrap
    Tuxedo ATMI calls like (tpinit() and tpcall()) and provide it as
    a library.
    Please help me out in this problem. I have pasted the build
    output below.
    Thanks,
    Santhosh
    Build Output <<<<<<<<<<<<<<<<<<<<<<<<<<<<<E:\Code\VC\GenSvcWrapper>buildclient -w -v -o GenSvcWrapper.lib -f
    GenSvcWrapper
    .cpp
    cl /MD -I"%TUXDIR%"\include -FeGenSvcWrapper.lib GenSvcWrapper.cpp
    "%TUXDIR%
    "\lib\libwsc.lib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR
    %"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib
    advap
    i32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-7b0.li
    b
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
    Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
    GenSvcWrapper.cpp
    Will automatically link with libbuft.lib
    Will automatically link with libwsc.lib
    Will automatically link with libengine.lib
    Will automatically link with libfml.lib
    Will automatically link with libfml32.lib
    Microsoft (R) Incremental Linker Version 6.00.8447
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    /out:GenSvcWrapper.lib
    -implib:BC-7b0.lib
    GenSvcWrapper.obj
    "E:\Program Files\bea\tuxedo8.0\lib\libwsc.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libbuft.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libfml.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libfml32.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libengine.lib"
    wsock32.lib
    kernel32.lib
    advapi32.lib
    user32.lib
    gdi32.lib
    comdlg32.lib
    winspool.lib
    LINK : fatal error LNK1561: entry point must be defined
    TUXNT_CAT:77: ERROR: Can't execute cl
    /MD -I"%TUXDIR%"\include -FeGenSvcWrapper
    .lib GenSvcWrapper.cpp "%TUXDIR%"\lib\libwsc.lib
    "%TUXDIR%"\lib\libbuft.lib
    "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.
    lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    win
    spool.lib -link -implib:BC-7b0.lib

    You can build libraries using buildclient by working out the VC++ command line
    argument used to build a static library and passing that in the -f option of buildclient.
    There's no real point in using buildclient to build a tuxedo client because the
    only thing it does for you is specify the tuxedo libraries that get linked into
    the exe or lib that you are creating, and complain if you don't have a valid SDK
    license. I just specify the tuxedo libraries myself to VC++ and completely forget
    about using buildclient. The only thing to keep in mind is to make sure you are
    using the correct tuxedo libraries for a native or workstation tuxedo client (pretty
    much libtux.lib for native and libwsc.lib for a workstation client followed by
    the other tuxedo libraries you need, libbuft.lib libfml.lib libfml32.lib libengine.lib
    etc. ).
    "Santhosh" <[email protected]> wrote:
    >
    Hi All,
    I have been trying to use buildclient to build a static library
    but in vain. When i run the following command on the command line
    "buildclient -w -v -o GenSvcWrapper.lib -f GenSvcWrapper.cpp" ,
    i get the error (LINK : fatal error LNK1561: entry point must be
    defined), which i guess is asking for a main() in the program.
    I tried using the VC++ IDE to build the library, now i am able
    to build the library but the call to tpinit() fails.
    My conclusion is that buildclient can be used only to build
    exe's. Am i wrong in my conclusion? If not how do I build
    libraries using buildclient or VC++ IDE? What i want is to wrap
    Tuxedo ATMI calls like (tpinit() and tpcall()) and provide it as
    a library.
    Please help me out in this problem. I have pasted the build
    output below.
    Thanks,
    Santhosh
    Build Output <<<<<<<<<<<<<<<<<<<<<<<<<<<<<E:\Code\VC\GenSvcWrapper>buildclient -w -v -o GenSvcWrapper.lib -f
    GenSvcWrapper
    .cpp
    cl /MD -I"%TUXDIR%"\include -FeGenSvcWrapper.lib GenSvcWrapper.cpp
    "%TUXDIR%
    "\lib\libwsc.lib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR
    %"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib
    advap
    i32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-7b0.li
    b
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
    80x86
    Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
    GenSvcWrapper.cpp
    Will automatically link with libbuft.lib
    Will automatically link with libwsc.lib
    Will automatically link with libengine.lib
    Will automatically link with libfml.lib
    Will automatically link with libfml32.lib
    Microsoft (R) Incremental Linker Version 6.00.8447
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    /out:GenSvcWrapper.lib
    -implib:BC-7b0.lib
    GenSvcWrapper.obj
    "E:\Program Files\bea\tuxedo8.0\lib\libwsc.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libbuft.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libfml.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libfml32.lib"
    "E:\Program Files\bea\tuxedo8.0\lib\libengine.lib"
    wsock32.lib
    kernel32.lib
    advapi32.lib
    user32.lib
    gdi32.lib
    comdlg32.lib
    winspool.lib
    LINK : fatal error LNK1561: entry point must be defined
    TUXNT_CAT:77: ERROR: Can't execute cl
    /MD -I"%TUXDIR%"\include -FeGenSvcWrapper
    .lib GenSvcWrapper.cpp "%TUXDIR%"\lib\libwsc.lib
    "%TUXDIR%"\lib\libbuft.lib
    "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.
    lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    win
    spool.lib -link -implib:BC-7b0.lib

  • Can client dynamically link to shared libraries for different versions ?

    Can Oracle client dynamically link to Oracle shared libraries if the versions are different ?
    Hi:
    I apologize for this newbie question:
    We are using PRO C to generate the client C code.
    We can compile both dynamic and static versions of our Oracle client.
    Our question is:
    is it possible to compile a dynamically linked Oracle client in say version 10.1.0.2 and actually run the application against say version 8.1.7.0 environment ?
    That is, can an Oracle client dynamically link to the Oracle shared libraries if the versions are different ?
    If it is possible, then how to modify the makefile
    to enable Oracle client to reference different versions
    of shared libraries ?
    Thanks
    JL

    What you describe is not supported.

  • How big a deal is the shared memory for video editing

    Hi,
    It looks like the portable Mac I have been waiting for has been released. The one thing that I am wondering about is the shared video? memory. How big a deal is it?
    It looks like it should not be an issue with iMovie. How about FCE?
    With the Macbook at $1,300 and the entry level MBP at $2,000, $700 is a lot to me- budget and otherwise- Especially since I will add a gig of ram, and the 3 year apple protection plan.

    Hi There,
    I use iMovie most of the time for around an hour project and went back and forth with iSlick FX, iTunes, garage band and iDVD, and I find my MAcBook serve me well (2.0 Ghz, 2 GB), and use external LCD for wider view editing area.
    The chipset is actually allowed to use up to 224 mb of shared memory (with based 80 mb on os X) and the bigger matched memory you install, the more flexibility for that graphic chipset to allocate shared memory.
    The only time my project getting choppy is when I select show waveform for entire clip in my project area. That is when the chipset is lack power to play it real time.
    But if you are serious about getting editing and planning to upgrade to Final cut (express or pro) later, MacBook Pro is a better investment and bigger screen too.
    Good Luck

  • ** How to use TO_DATE function in Stored Proc. for JDBC in ABAP-XSL mapping

    Hi friends,
    I use ABAP-XSL mapping to insert records in Oracle table. My Sender is File and receiver is JDBC. We use Oracle 10g database. All fields in table are VARCHAR2 except one field; this is having type 'DATE'.
    I use Stored procedure to update the records in table. I have converted my string into date using the Oracle TO_DATE function. But, when I use this format, it throws an error in the Receiver CC. (But, the message is processed successfully in SXMB_MONI).
    The input format I formed like below:
    <X_EMP_START_DT hasQuot="No" isInput="1" type="DATE">
    Value in Payload is like below.
    <X_EMP_START_DT hasQuot="No" isInput="1" type="DATE">TO_DATE('18-11-1991','DD-MM-YYYY')</X_EMP_START_DT>
    Error in CC comes as below:
    Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_EMP_DETAILS' (structure 'STATEMENT'): java.lang.NumberFormatException: For input string: "TO_DATE('18"
    Friends, I have tried, but unable to find the correct solution to insert.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.
    (But, the same is working fine if we use direct method in ABAP-XSL ie. not thru Stored Procedure)

    Hi Sinha,
    Thanks for your reply.
    I used the syntax
    <xsl:call-template name="date:format-date">
       <xsl:with-param name="date-time" select="string" />
       <xsl:with-param name="pattern" select="string" />
    </xsl:call-template>
    in my Abap XSL.  But, its not working correctly. The problem is 'href' function to import "date.xsl" in my XSLT is not able to do that. The system throws an error. Moreover, it is not able to write the command 'extension-element-prefixes' in my <xsl:stylesheet namespace>
    May be I am not able to understand how to use this.
    Anyway, I solved this problem by handling date conversion inside Oracle Stored Procedure. Now, its working fine.
    Thank you.

Maybe you are looking for

  • " An error occurred while creating the backup directory"

    Hi all, I recently bought an external drive because my mac was just about full. It's made by Lacie, model # P'9231... (1TB) I got it working, for moving and accessing files (I moved the iPhoto library-and that works fine)...  but... I told Time Machi

  • Is there a firmware upgrade to take USB 1.1 to USB 2 to run Egalato Video Capture

    We are running OS version 10.5.8 7 are using Elagato vidoe capture software.  The USB requirements are USB 2.0 however our USB port is USB 1.1.  We have all the required Apple software upddates.  Does anyone know of a how to upgrade the USB ports fro

  • Oracle BI 11g switch colors (styles and skins) back to 10g

    Hi all, Is there a way to siwtch back to the old colors of 10g? If you install oracle BI 11g the colors are complete different from 10g. We like to have the old colors back. Regards Stefan

  • EEWB's subobject

    Hi All, I understand that the EEWB's subobject decides the Database table in CRM in which the new field will be added. Example: Subobject in EEWB               SAP CRM db table Lead Header Data                CRMD_LEAD_H Opportunity Header Data      

  • Convert Premiere Elements 7 projects to Premiere Pro

    I took advantage of the recent promotion to upgrade to Premiere Pro from Elements 7.  Now I simply want to convert my old files created in Elements to Premiere Pro.  If I simply open the Elements file in Premiere Pro, it says it needs to convert the