Different filetypes from source

Hi, I want to know what I can do if I'm receiveng txt files that has to been loaded to a Oracle's DB.
When analyzing the data we found that there were rows that seemed to be empty('') using TOAD but then we changed to SQL -Developer and we could see the info on those rows.
So we went to our source files and found that the file types were "Little-endian UTF-16 Unicode character data, with CRLF line terminators" and we were expecting to receive only UTF-8 files, so , is there a way I could identify what kind of file am I receiveing and write some code to process every file according to its type?
I want to know if I can do this or I should work it into small processes like first verify the type and if it is different make a conversion and then load it.
What do you think?
Any advice will be appreciated.

Version:
Oracle Enterprise 11g running on RAC (4 nodes)
SQL:
SELECT SUM (TRI.IMPORTE) IMPORTE, TRA.ID_PUESTO
FROM RAPIPAGO.RP_TRANSACCION_ITEM@LINK_OL TRI,
(SELECT TR.ID_TRANSACCION TRANSACCION,
PU.PUESTO,
PU.ID_PUESTO,
TR.TIPO_OPERACION
FROM RP_PUESTO PU
INNER JOIN
RAPIPAGO.RP_TRANSACCION@LINK_OL TR
ON ( PU.ID_PUESTO = TR.ID_PUESTO
AND TR.IS_DELETED = 'N'
AND TR.ID_ENV = 'RPPRI')
WHERE TR.ID_OPERACION_CAJA IS NULL
AND PU.ID_AGENTE_SUCURSAL = '28966273343800000332'
AND PU.IS_DELETED = 'N'
AND PU.ID_ENV = 'RPPRI'
AND TR.TIPO_OPERACION = 3) TRA
WHERE TRA.TRANSACCION = TRI.ID_TRANSACCION
AND TRI.IS_DELETED = 'N'
AND TRI.ID_ENV = 'RPPRI'
GROUP BY TRA.ID_PUESTO
Explain plan:
It doesn't show, obviously, the resolution of the remote select, but neither a problem in the access. In fact, the query goes fine from TOAD.
Thanks, and sorry for the missing details.

Similar Messages

  • REG: 4 different folders from the source side and we need to have the BPM t

    Hi All,
    We are using a BPM for file-idoc scenario. Previously we use to have one source folder which sends file and the bpm worked fine. Now we have a requirement where the files come from 4 different folders from the source side and we need to have the BPM to run independently for each folder.
    What are the changes to be made in IR and id for this..
    Thanks & Regards,
    Kiran.

    File adapter has a option advance selection of source file setting which can be used for picking files from different folder.

  • Robo HTML 9 will not open our project from Source Control after initial start.

    We have a project in version control that we have been using forever, since 2003 or so and many versions of RH.  Now that we have upgraded to 9, this project will open the first time in version control and work normally.  Once you close the project and attempt to reopen from the starter screen, it opens just great, just not in version control.  The files are still set to read only.  I have done this several times and the only way i can work on my project in version control is to act like i am opening a project from scratch, then it needs to overwrite all of my local files with the server files.  It would not be so bad but I am 3000 miles away from the server and 13 hops plus a slow firewall on the other end.  While this has never been a problem in the past it is a big problem because it takes hours for all the files to download and overwrite my local files.
    This only happens with RH9 and Version Control 3.1.  RH8 works no problem.  So, I don't know if this is a RH9 starter problem or a Source Control Problem.  Maybe I will make a similar thread in the RH area.  I'll wait to see if I get any useful hits from this one first.
    It is very strange, I had RH9 open for several days because I was afraid to close the project for this reason and yesterday I published for the month so the heat is less right now but today, it opened with no source control.  If I go to Source Control the only thing i can select is put project in source control.  That is how it got into source control after converting to RH9.
    We have another project that seems to open from version control normally but we can only save topics in HTML view.  No useful answers to that topic after a week.
    Got any ideas???
    I have tried different folder names, different paths, etc.
    Thanks,
    dv

    Ok, here is a wierd one, I used the add to version control icon in the menu bar, It already knew the path so I figured I'm the only one who has been editing these files for the past few days so I clicked add to version control.  It added it. I closed and reopeded and still had the same files checked out.  Closed, checked in all, then reopened and it is working in SourceControl.  Strange that after opening from source control and closing that you need to reopen and tell it to put the project into source control.  Obviously some flag is not getting set somewhere.  This might help others having problems reopening source control files.
    dv

  • How to connect two different tables from different server?

    Dear all expert,
    I need to develop a report where i need to connect 2 different tables from 2 different servers. For examples:
    BUT000 tables from CRM and KNKK from R3.
    Is it possible to do so? Because i try to link these 2 tables together and when i preview the report, it run very slow and sometime it hang. I did not get any result.
    Thank You.

    Moved to SAP Integration kit forum
    Appears you are using SAP data sources.
    And yes you can but the linked field types must match and be able to be converted into the WHERE portion of the SQL. Click on Database, Show SQL... and see if there is one. If not CR can't figure out how to so it brings all data client side and filters on the second pass.
    Thank you
    Don

  • TDMS Shell - DB Export from source/sender system taking a VERY long time

    We're trying to build a TDMS Receiver system using the TDMS Shell technique. We've run into a situation wherein the initial  DB Export from source/sender system is taking a VERY long time.
    We are on ECC 6.0, running on AIX 6.1 and DB UDB v9.7. We're executing the DB export from sapinst, per instructions. Our DB export parallelizes, then the parallel processes one by one whittle away to just one remaining, and there we find out that the export is at that point single-threaded, and exporting table BSIS.
    BSIS is an FI transactional data table. We're wondering why is the DB export trying to get BSIS and its contents out??? Isn't the DB export in TDMS Shell technique only supposed to get SAP essential only config and master data, and NOT transactional data?
    Our BSIS table is nearly 700 GB in size by itself.  That export has been running for nearly a week now, with no end in site.
    What are we doing wrong? We suspect we may have missed something, but really don't think we do. We also suspect that the EXCLUSION table in the TDMS Shell technique may be the KEY to this whole thing. It's supposed to automatically exclude very large tables, but in this case, it most certainly missed out in excluding BSIS for some reason.
    Anyway, we're probably going to fire up an OSS Message with SAP Support to help us address this perplexing issue. Just thought we'd throw it out there to the board to see if anyone else somewhere has run into similar circumstances and challenges.  In the meantime, any feedback and/or advice would be dearly appreciated. Cheers,

    Hello
    Dont be bothered by the other TPL file DDLDB6_LRG.TPL, we are only concerned with DDLDB6.TPl.
    Answer following questions to help me analyze the situation -
    1) What is the current size of export dump
    2) Since when is the exports running
    3) What is the size of the source DB? Do you have huge amount of custom developments?
    4) Did you try to use table splitting?
    5) Do you doubt that there may be other transaction tables (like BSIS) which have been exported completely?
    6) Did you update the SAP Kernel of your source system to latest version before starting the Shell package?
    7) Were the DB statistics update during the shell or were they already updated before starting Shell?
    8) Is your system a distributed system i.e. Central instance and Database instance are on different application servers?

  • Can't Read from Source File

    Hi Guys
    I'm using PPr CS5 on Win7 64bit.
    I'm not sure if this is strictly for here but can I pick your brains please? I edited in PPr and exported three versions of the same video to AVI (mainly different intros and titles) and they all play fine. I back up my movies to an external disk but one of them always creates an error in the back-up "Can't Read from Source File". The file sizes are 5.3gb for the offending movie and 8.3 for the other two.
    I know the answer is to re-export the movie but I'm just trying to get a bit of a handle what could have caused this problem in the first place and if this is a common problem?
    Any views?
    Regards,
    Graham

    That doesn't help much.  What exactly are you doing when you get the error message?
    Are you trying to open a PP project which contains the file?
    Are you trying to play a sequence which has clips from that file?
    Are you trying to play it in a media player?
    Are you trying to import the file into PP?

  • Compiling JDK 1.4.2 from source, under win32

    Hi,
    Here is how I compiled JDK 1.4.2 from source-code under win32. I hope this helps the many others who are interested in doing the same.
    1) Download the sources from here: http://wwws.sun.com/software/communitysource/j2se/java2/download.html
    Be sure to download all packages (SCSL source, SCSL binaries, mozilla binaries)
    2) Download gnu make from here: http://ftp.gnu.org/pub/gnu/make/
    3) Download Info-zip "zip" and "unzip" packages: http://www.info-zip.org/pub/infozip/UnZip.html and http://www.info-zip.org/pub/infozip/Zip.html
    4) Request and evaluation copy of MKS Toolkit: http://www.mkssoftware.com/eval/
    The key point here is that MKS Toolkit is a commercial product and even once you request an evaluation copy, it'll take a day or two for one of their salespeople to contact and harass you. Tell him whatever you must to get an evaluation copy out of him ("I might buy a copy in 3 months, honest!")... I personally wish Sun would move away from this commercial product and replace it with cygwin or something. It was very annoying getting past this stage.
    5) Download the DirectX 9.0 SDK from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=124552ff-8363-47fd-8f3b-36c226e04c85&displaylang=en
    Sun actually requires DirectX 7.0 SDK but I couldn't find a copy anywhere so we have no choice but use a newer copy. This is another issue Sun should really address.
    6) Install DirectX SDK, MKS Toolkit, Info-zip zip and unzip
    7) Unpack gnu make into a directory and build it using the special steps for the MKS Toolkit shell. If you're trying to build make 3.80 be sure to fix this bug before you proceed or else it won't build: https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1687
    8) Set your build environment variables. Here are my personal settings:
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
    set ALT_UNIXCOMMAND_PATH=c:\mksnt
    set ALT_MSVCRT_DLL_PATH=c:\windows\system32
    set ALT_BOOTDIR=c:\j2sdk1.4.2_04
    set ALT_DEVTOOLS_PATH=c:\j2sdk1.4.2_04\source\utils
    set path=C:\make-3.80\WinRel;%path%
    set include=%include%;c:\program files\microsoft sdk\include
    set JAVA_HOME=
    9) You must build against Visual C++ 6.0 (Visual C++ .NET won't work because its missing non-standard header files used by Sun, such as iostream.h)
    10) "cd <jdk source dir>\control\make"
    11) Edit <jdk source dir>\j2me\make\common\Sanity.gmk line 1135. Replace:
    ifeq ($(PLATFORM), windows)
    with
    ifeq ($(PLATFORM), windows_skip)
    This will cause the build process to ignore the fact that you have DirectX 9.0 when it requires version 7.0
    12) Start the build process: "make scsl"
    13) If the build process dies because you have a different service-pack of Visual C++ 6.0 than it expects, edit <jdk source dir>\j2me\make\common\Sanity.gmk lines 71-72 and modify the expected version numbers to the ones you have.
    14) If you see a "'c:\program' not found" error while compiling. Be sure that the paths set by VCVARS32.BAT use short-names not long-names, because make gets confused by paths with spaces.
    15) If you see an error "No rule to make target `/usr/src/j2sdk-1_4_2-src-scsl/control/build/linux-i586/lib/fonts/LucidaTypewriterRegular.ttf'" it means you forgot to extract the "SCSL binaries" package into the source-code directory
    I will post solutions to further compiler errors as I encounter them, I encourage you to do the same.

    hey
    i m trying to install JDK 1.5 from source under win XP
    dev-sanity pass so i suppose i have all installed correctly
    the problem is when i run the command "make scsl" to compile all
    i got an error which is into "link.exe" at the begin of the compilation :
    cd generated && NMAKE /NOLOGO /f C:\cygwin\Sources\hotspot\build\windows
    \makefiles\generated.make DIR=.\generated BUILD_FLAVOR=product
    link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
    vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib Wsock32.lib winmm.lib /n
    ologo /machine:I386 /opt:REF /opt:ICF,8 /map /debug /subsystem:console /out:adl
    c.exe main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.ob
    j forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
    link: too many arguments
    Try `link --help' for more information.
    NMAKE : fatal error U1077: 'link.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio\VC98\bin\n
    make.exe"' : return code '0x2'
    Stop.
    make[3]: *** [generic_build2] Error 2
    make[3]: Leaving directory `/Sources/hotspot/make'
    make[2]: *** [product] Error 2
    make[2]: Leaving directory `/Sources/hotspot/make'
    make[1]: *** [hotspot-build] Error 2
    make[1]: Leaving directory `/Sources/control/make'
    make: *** [scsl-build] Error 2
    i installed visual studio professional 6 sp3 as required ine the "build-windows-i586.html" file ! is the file link.exe incorrect in the pack 3??
    Thanks

  • URGENT: Change categories which can be attached from Sourcing Home Page

    Hi,
    I wanted to change the categories which can be attached from Sourcing Home Page. My requirement is, when a buyer enters
    Sourcing Super User Responsibility -> Sourcing Home Page
    and create RFI.
    In that page there ia button to 'Add Attachment'. When user clicks that button there is popup list where different categories are displayed. So my requirement is to change those categories manually like, to add more number of categories or to remove some of the categories from the list. Could anyone please help me in this? Its very urgent.
    Thanks
    Harsha

    Here is the way to get rid of the problem once and for all:
    http://forums.avg.com/ww-en/avg-forums?sec=thread&act=show&id=196402#post_196402

  • Bulk select from source

    I am trying to insert into my target table by selecting all records at once from source table. For this I need to use a DB link because source and target are on different databases, but cannot get ODI to place the DB link at the correct position when I modify the Knowledge Module (LKM SQL to SQL).
    We did this optimization on another ODI process where the source and target are in the same database and it speeds up loading a lot.
    I changed the Load Data command of the KM as such:
    Removed the code in Command in Source
    Added the following to Command in Target:
    insert /*+ APPEND */ into <%=snpRef.getTable("L", "COLL_NAME", "A")%>
    <%=snpRef.getColList("", "[CX_COL_NAME]", ",\n\t", "","")%>
    select     <%=snpRef.getPop("DISTINCT_ROWS")%>
         <%=snpRef.getColList("", "[EXPRESSION]\t[ALIAS_SEP] [CX_COL_NAME]", ",\n\t", "", "")%>
    from <%=snpRef.getFrom()%>@billing.xxx.com
    where (1=1)
    <%=snpRef.getFilter()%>
    <%=snpRef.getJrnFilter()%>
    <%=snpRef.getJoin()%>
    <%=snpRef.getGrpBy()%>
    <%=snpRef.getHaving()%>
    The execution failed and when I check the Description in the Operator, it contains the following code:
    insert /*+ APPEND */ into BIUSER.C$_0DIM_APN
    C1_ACCESS_POINT_NAME_V
    select     
    GPRS_HOME_CDRS.ACCESS_POINT_NAME_V     C1_ACCESS_POINT_NAME_V
    from ABILLITY3.GPRS_HOME_CDRS [email protected]
    where (1=1)
    And (GPRS_HOME_CDRS.CALL_DATE_DT >= sysdate -1)
    The problem is that is places the DB link after the table alias. I tried to move the DB link inside the value : <%=snpRef.getFrom()%> but then I get a lot of errors.
    Please help.
    Kind regards
    Bonita

    Good day,
    I tried this, but get stuck again. Will you please assist.
    I copied your code in my LKM SQL to SQL.
    I am getting an error in this part:
    @<%=snpRef.getInfo("SRC_DSERV_NAME")%>
    I tried several ways to define the source data server name. (I tried the DB link created by our DBA, the JDBC URL in the topology and even 'hardcoded' the name)
    The error:
    declare cursor myCursor is
    select     
    EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME,
         EXPRESSION     ALIAS_SEP CX_COL_NAME
    from     ABILLITY3.MMS_HOME_CDRS@[PROPERTY: "BILLING.MTC.COM.NA" not found.] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! error
    where     (1=1)
    And (MMS_HOME_CDRS.PROCESSED_DATE_D >= sysdate -2 and
    MMS_HOME_CDRS.PROCESSED_DATE_D < sysdate )
    TYPE V_TABLE_TYPE IS TABLE OF myCursor%ROWTYPE; V_TABLE_ARRAY V_TABLE_TYPE; begin
         /* Loop over the Cursor and execute the insert statement */
         OPEN myCursor;
         LOOP
         FETCH myCursor BULK COLLECT INTO V_TABLE_ARRAY LIMIT 10000;
         FORALL I IN 1..V_TABLE_ARRAY.COUNT
              insert /*+ APPEND */ into     Exception getTable("L", "FACT_ABIL_MMS_TB", "A") : Unknown flexfield code.
                   VALUES V_TABLE_ARRAY(I);
         COMMIT;
         EXIT WHEN myCursor%NOTFOUND;
    END LOOP;
    CLOSE myCursor;
    end;
    Ok, then I hardcoded the source data server name. It pass the previous error, but then I am getting this error:
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:534)
    My code:
    declare cursor myCursor is
    select     <%=snpRef.getPop("DISTINCT_ROWS")%>
    <%=snpRef.getColList("", "EXPRESSION\tALIAS_SEP CX_COL_NAME", ",\n\t", "", "")%>
    from     <%=odiRef.getSrcTablesList("", "ABILLITY3.MMS_HOME_CDRS", ", ", "")%>@196.20.21.32:1521:mtcabill
    where     (1=1)
    <%=snpRef.getFilter()%>
    <%=snpRef.getJoin()%>
    <%=snpRef.getJrnFilter()%>
    <%=snpRef.getGrpBy()%>
    <%=snpRef.getHaving()%>;
    TYPE V_TABLE_TYPE IS TABLE OF myCursor%ROWTYPE; V_TABLE_ARRAY V_TABLE_TYPE; begin
         /* Loop over the Cursor and execute the insert statement */
         OPEN myCursor;
         LOOP
         FETCH myCursor BULK COLLECT INTO V_TABLE_ARRAY LIMIT 10000;
         FORALL I IN 1..V_TABLE_ARRAY.COUNT
    insert /*+ APPEND */ into <%=snpRef.getTable("L", "COLL_NAME", "A")%>
         <%=snpRef.getColList("", "[CX_COL_NAME]", ",\n\t", "","")%>
    values V_TABLE_ARRAY(I);
         COMMIT;
         EXIT WHEN myCursor%NOTFOUND;
    END LOOP;
    CLOSE myCursor;
    end;
    Kind regards and thank you for assisting me.
    Bonita

  • Data Load from Source to Destination

    Hello Forum Members,
    I have to databases on different solaris servers.
    I have to load data from Source Table[Server 1] to Target Current Table[truncate existing data and load from Source Table] [Server 2]and on every Wednesday from Target Current Table into Target History Table[Data always appended][Server 2].
    Any advice how to solve the issue is highly appreciated.
    Thanks and Regards,
    Suresh

    Unless there is a history table on the remote server, the history table would not appear to be an appropriate candidate for a materialized view.
    You could, in theory, create the live table as a materialized view rather than doing a TRUNCATE (or DELETE) and INSERT INTO SELECT in your stored procedure. Since it sounds like you need to have some coordination between the refreshing of the materialized view and the population of the history table, it's not obvious that creating the live table as a materialized view buys you anything.
    Justin

  • Installing Software from Source

    This question might sound a little bit retarded, but I'm just starting out, so I'd appreciate a little bit of help. I'm trying to install software from source, but it does not seem to work. Or at least, not for lynx, so I'm wondering if pacman is the only way of installing software on Arch (which I pretty much doubt).
    I've downloaded lynx, unarchived it, went into its directory, and typed ./configure, followed by make and make check. Everything seemed OK, as I have even got the "Welcome to Lynx!" message. So I went on and typed sudo make install, and no errors occurred. But when I tried launching it with lynx, it said the command is not found. What am I doing wrong?
    Also, one more thing: when I loose the prompt, how do I get it back? I mean, like this (http://bit.ly/4tkurS)
    Thanks in advance!
    Last edited by XLR3204S (2009-12-01 15:01:04)

    XLR3204S wrote:Thing is, I'm trying to learn my way around Linux, not specifically Arch Linux. I've got lynx through pacman before, but this time I wanted to get my foot wet with installing programs from source, as, in fact, I don't need lynx at all. I'll look more into it as soon as I get other things I want to built from source.
    This isn't really arch specific. Installing from source without using the package system is a bad idea(tm) on (almost) any distro. Only the method used to create a package differs.
    Edit: not that you "learn GNU/Linux" by compiling anyway. The best way to learn GNU/Linux is just to use it, and to read. There are several good books on the kernel, init systems, userland basics and so on.
    Last edited by Mr.Elendig (2009-12-01 17:30:51)

  • QName error while calling a web service from Sourcing

    I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
    Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
    IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
    java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
    The same jar and same code works fine when called from a standalone java program.
    I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
    Can anyone please help me out in figuring out what is the issue?

    This is the stack trace of the error:
    #2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
    #BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
    Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
        at $Proxy2539.grantOrganizationRoles(Unknown Source)
    I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response

  • Missing field from source DSO in transformation to other DSO

    Hi SDN,
    I am facing the following problem:
    I have created DSO "A" and a transformation rule to DSO "B". InfoObject 0RATE_TYPE is available in both DSOs... BUT: when I am creating the transformation rule the field from DSO "B" (on the right side) is not connected to any filed from source DSO "A" because there the field 0RATE_TYPE is not offered.
    What I have tried so far:
    - reactivate DSO "A"
    - remove 0RATE_TYPE from DSO "A", activate DSO "A", include 0RATE_TYPE again, reactivate DSO "A"
    - newly created DSO "A"
    All this has not resulted in any other than the problem described before. One thing I recoginized: when doubleclicking on the DSO "A" I see the field 0RATE_TYPE, when doing a right click and selecting "Object overview" the field is also missing!
    I have run out of ideas and I would like to see if any of you has had the same problem and has found any solution.
    PLEASE help me!
    Thank you in advance!!

    Hi,
    Did you try to logoff and logg on again?
    (sometimes BI show things after leaving the transaction)
    IS the DSO activated?
    Is the field compounded to another field that is not in the DSO?
    You might try a work around:
    Make a routine that reads your DSO to get the field.
    (If the ABAP-editor also gives an error on thing field something very strange is going on indeed)
    Success,
    Udo

  • Matrialized view not refreshing all records from source.

    My materialized view is not refreshing a fixed number of rows i.e 198 every time from source to target.What are the reasons for such behavior. Also what should i do to resolve this discrepancy.
    My mv is a FAST REFRESH ON DEMAND based on ROWID.
    It has a simple sql query select col1,col2,col3 from testschema.mytable@mydb;
    Thanks,
    Sandesh

    Hello Raman & KV,
    Thanks for your Suggestions.
    Unfortunately, I would not be able to implement any of your suggestions because, I m not allowed to change the DTP Settings.
    So, I m working on finding the root cause of this issue and came across a SAP Note - 1506944 - Only one package is always extracted during direct access , which says this is a Program Error.
    Hence, i m checking more with SAP on this and will share their insights once i hear back from them.
    Cheers
    Shiva

  • DTP does not fetch all records from Source, fetches only records in First Data Package.

    Fellas,
    I have a scenario in my BW system, where I pull data from a source using a Direct Access DTP. (Does not extract from PSA, extracts from Source)
    The Source is a table from the Oracle DB and using a datasource and a Direct Access DTP, I pull data from this table into my BW Infocube.
    The DTP's package size has been set to 100,000 and whenever this load is triggered, a lot of data records from the source table are fetched in various Data packages. This has been working fine and works fine now as well.
    But, very rarely, the DTP fetches 100,000 records in the first data package and fails to pull the remaining data records from source.
    It ends, with this message "No more data records found" even though we have records waiting to be pulled. This DTP in the process chain does not even fail and continues to the next step with a "Green" Status.
    Have you faced a similar situation in any of your systems?  What is the cause?  How can this be fixed?
    Thanks in advance for your help.
    Cheers
    Shiva

    Hello Raman & KV,
    Thanks for your Suggestions.
    Unfortunately, I would not be able to implement any of your suggestions because, I m not allowed to change the DTP Settings.
    So, I m working on finding the root cause of this issue and came across a SAP Note - 1506944 - Only one package is always extracted during direct access , which says this is a Program Error.
    Hence, i m checking more with SAP on this and will share their insights once i hear back from them.
    Cheers
    Shiva

Maybe you are looking for