Combine and map datasources

In Oracle BI I want to combine two datasources and then map them to a third datasource.
Combining the two datasources, both with the same structure, works fine. To do this I use the option “Fragmentation Content”.
Also using one datasource and map it to the third datasource, works fine.
But when I combine the two datasources to the third datasource I get the following error:
[NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured. [nQSError: 46008] Interne fout: File .\DataType\SUKeyCompare.cpp, row 714. (HY000)
Does someone know if this is possible of that I am doing something wrong?

Delivery split depend on Shipping point ,Ship to party , Forwarding agent , Incoterms & delivery date at item level .
Check Tcode VTLA
Suppose line item 2 has different abaove mentioned parameter than one in the sales order then it will create two different delivery .
This is control by routine in Copy control . It will all these detail and then copy the data from order to delivery .
Sma is the case with Invoice split . It is also control in Copy Control by a routine in the field VBRK/VBRP --- 007  in Tcode VTFA at item level.
Invoice split depend on Payer , Billing date, Incoterms & Payement terms at header level and item level.
One imp thing u can create ur own routine with some additional criteria for split to happen .
Hope this will help.

Similar Messages

  • Combining 2 files and mapping it to a single destination file

    hi all;
    if i am combining 2 files and mapping it to a single destination file then do we need to define 2 sender communication channels and 1 receiver communication channel

    i have done with the BPM.
    steps
    1 Block with corelation name
    2 Fork with end condition counter not equal 2
    3 fork branch 1 -- receive with corelation and container incrementing count by 1
      fork branch 2 -- receive with corelation and container incrementing count by 1
    4 transformation
    5 send
    i have source file structure during mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:SenderData1 xmlns:ns1="http://multimapping.com">
             <Name>AAAA</Name>
          </ns1:SenderData1>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:SenderData2 xmlns:ns1="http://multimapping.com">
             <Name>BBBB</Name>
          </ns1:SenderData2>
       </ns0:Message2>
    </ns0:Messages>
    i breaked the structure in 2 and placed it in different files
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SenderData1 xmlns:ns0="http://multimapping.com">
       <Name>AAAA</Name>
    </ns0:SenderData1>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SenderData2 xmlns:ns0="http://multimapping.com">
       <Name>BBBB</Name>
    </ns0:SenderData2>
    is that all to be done

  • What is the diffrence between  map and map.entry in core java

    what is the diffrence between map and map.entry in core java . where it will be use ful. any one give one example plz.

    A Map contains Map.Entry's
    e.g.
            Map map = new LinkedHashMap(8);
            map.put(new Integer(1), "one");
            map.put(new Integer(2), "two");
            final Iterator iterator = map.entrySet().iterator();
            while (iterator.hasNext()) {
                Map.Entry entry = (Map.Entry) iterator.next();
                System.out.println("key=" + entry.getKey() + ", value=" + entry.getValue());
            }

  • Sending Idocs from SAP-R/3 to XI, bundle and map them to one XML-file

    Hi All,
    We need to send IDoc's (DEBMAS06) from R/3 to XI and  bundle and map them to a single xml-file. Please help us with your suggestions on how to proceed using a simple solution (probably need of BPM).
    Regards,
    Theo

    Hi Theo,
    there is an example in SAP Library: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm">Collecting and Bundling Messages - One Interface</a>. Plz post us your detailed quetions.
    Regards,
    Udo

  • New Gl 0Fi_GL_14 and impact on existing _4 AP and AR datasources

    We will be moving to new GL and I'm investiagting the  0FI_GL_14 Datasource for this purpose.I have couple of questions on this datasource.
    I couldn't find any related AP and AR datasources for new GL. Does this mean we can continue to use 0FI_AP_4 and 0FI_AR_4  for AP and AR reporting ??
    Our current dataflow for GL is 0FI_GL_4 -> GL_O02 ODS-> Custom cube
    Since we have lot of reports out of the GL custom cube can we set our new path as follows so that we do not have to re create all the queries. This way we will still be existing cube with ne wGL datasource and ODS.
    0FI_GL_14-> 0FIGL_O14->Existing customcube.
    Points will definetley be awarded. Thnaks

    Hi,
    I had also done 0FI_GL_10 in the past with a similar concept as yours and it did work. Plus, during that time I had researched on AP and AR datasources and I don't think there are any new ones like we have for GL. I believe the new datasources for GL are because of the 2 new tables in ECC (FAGLFLEXA/FAGLFLEXT).
    I think the solution that you are trying to build should work, will need some testing though, but there is a lot more to offer in the GL_14 datasource than the old GL_4, so you might want to build a new cube to accommodate that. Or you can update 2 cubes from the GL_14 ODS, 1 would be your existing one and other would a new cube, so when the users are ready you can migrate them from the existing to other.
    Regards,
    Nikhil

  • How to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    how to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    Hi ,
     Have you got any additional public IP Address from your service provider , If yes on router you can have static route for those additional IP Address pointing to your ASA  outside interface . 
    Accordingly you can configure NAT 
    HTH
    Sandy . 

  • What's the difference between using a connection pool and a datasource

    Howdy. I figure this is a newbie question, but I can't seem to find an
    answer.
    In the docs at bea, the datasource docs say
    "DataSource objects provide a way for JDBC clients to obtain a DBMS
    connection. A DataSource is an interface between the client program and the
    connection pool. Each data source requires a separate DataSource object,
    which may be implemented as a DataSource class that supports either
    connection pooling or distributed transactions."
    In there it says the datasource uses the connection pool, but other than
    that, what is the difference between a connection pool and a datasource?

    Thanks for the info. I think it makes some sense. But it's a bit greek.
    I'm sure it'll make more sense the more I work with it. Thanks.
    "Chuck Nelson" <[email protected]> wrote in message
    news:3dcac1f5$[email protected]..
    >
    Peter,
    Here is a more formal definition of a DataSource from the Sun site
    "A factory for connections to the physical data source that thisDataSource object
    represents. An alternative to the DriverManager facility, a DataSourceobject
    is the preferred means of getting a connection. An object that implementsthe
    DataSource interface will typically be registered with a naming servicebased
    on the JavaTM Naming and Directory (JNDI) API.
    The DataSource interface is implemented by a driver vendor. There arethree types
    of implementations:
    Basic implementation -- produces a standard Connection object
    Connection pooling implementation -- produces a Connection object thatwill automatically
    participate in connection pooling. This implementation works with amiddle-tier
    connection pooling manager.
    Distributed transaction implementation -- produces a Connection objectthat may
    be used for distributed transactions and almost always participates inconnection
    pooling. This implementation works with a middle-tier transaction managerand
    almost always with a connection pooling manager.
    Does that help clarify the distinction?
    Chuck Nelson
    DRE
    BEA Technical Support

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all,
    This is related to inbound to  SAP ECC via SAP PI.
    There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3.
    To have this scenario developed , do we have any other  option than the Proxy ?
    My understanding is as follows : File --> SAP PI --> Proxy
    You suggestions are welcome.
    Regards,
    Rachana

    Hi Ravi,
    As suggested by Inaki, you can use proxy communication in recever.
    but you can also use the below
    FILE -----> PI -------> PROXY
                                  RFC
                                  IDOC
    to communicate to ECC system.
    Regards
    srinivas

  • Data Type, Message Type and Mapping for FTP

    Thanks in advance for your replies.
    As our first production XI scenario, we need to move several (at least 46) files from our SAP instance to a couple of different servers to support our legacy systems.  Once all locations are on SAP this requirement should go away.
    I only want to pick up the file from the one server and place it on the other and this leads me to some questions.
    How do I define the Data Type and Message Type for each of the files?   Do I need to consider the size of the record in each interface and create DT/MT with different sizes.
    Do I need a mapping program that simply maps one structure to the other?

    I recently completed a similar exercise.
    It looks like this...
    server1 ftp (Sender - delete file) - XI - Server2 ftp (receiver - create file).  This will move the file from one server to another.
    I used the same schema and mapped fields on a one to one basis.
    The Size of the files I process are between 6kb and 500kb each, but the mapping/fields remain constant, just the numebr of items change.
    Worked seemelessly for the last three weeks (since go-live)

  • Cant start up on my Macbook pro. All I get is a grey spinning wheel. Tried all the Startup key combinations and nothing works. I reset the NVRAM and nothing. I booted with start up disk , ran disk repair and all is ok. Tried to re-install OS but when I ge

    Can not start up on my Macbook pro. All I get is a grey spinning wheel. Tried all the Startup key combinations and nothing works. I reset the NVRAM and nothing. I booted with start up disk , ran disk repair and all is ok. Tried to re-install OS but when I get to designating drive its blank. When I go to startup disk there is a "?" mark. When I restart under startup disk search for a drive it still comes up with nothing.  Before I got the grey spinning wheel I had a locked screen. Could not move curser or click on anything. Finally just shut down. Thank you in advance for any help!

    Shouldn't still have a 'beachballing'... if the drive is being found and the system is trying to boot from it but is having problems, I would suggest looking over ds store's user tip - Step by step to fix your Mac.
    It's likely either something corrupt in your system files or a failing hard drive. But follow ds's steps until you find the cause of the problem.
    Good luck,
    Clinton

  • PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute

    Hello All,
    We have a requirement which involves taking in an input PDF file and mapping it to a message type with binary attribute and sending it to an R3 system.
    Can anyone please detail the steps or point us to the correct documents for setting up the scenario.
    The scenario is file to Proxy adapter. The part which we need assitance is pulling up the input pdf and mapping it to binary field.
    Thanks.
    Kiran

    Thanks Praveen,Mayank,Sarvesh and Andreas for your  valuable help with the issue.
    I was able to successfully pick up the binary PDF file from a file server , encode it using Base 64 and post it to R3.
    I used the following code snippet and added the mentioned jar files to create a new jar file which was used as java mapping in the operation mapping.
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.*;
    import com.sap.aii.utilxi.base64.api.*;
    import java.io.*;
    import java.util.*;
    public class Base64EncodingXIStandard implements StreamTransformation{
         String fileNameFromFileAdapterASMA;
         private Map param;
         public void setParameter (Map map)
              param = map;
              if (param == null)
                   param = new HashMap();
         public static void main(String args[])
              Base64EncodingXIStandard con = new Base64EncodingXIStandard();
              try
                   InputStream is = new FileInputStream(args[0]);
                   OutputStream os = new FileOutputStream(args[1]);
                   con.execute(is, os);
              catch (Exception e)
                   e.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream)
                   DynamicConfiguration conf = (DynamicConfiguration) param.get("DynamicConfiguration");
                   DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   fileNameFromFileAdapterASMA = conf.get(KEY_FILENAME);
                   if (fileNameFromFileAdapterASMA == null)
                        fileNameFromFileAdapterASMA = "ToBase64.txt";
              try
                   while ((len = inputstream.read(buffer)) > 0)
                        baos.write(buffer, 0, len);
                   str = Base64.encode(baos.toByteArray());     //buffer);
                   outputstream.write("<?xml version=\"1.0\" encoding=\"utf-8\"?><ROOT>".getBytes());
                   outputstream.write(("<FILENAME>" + fileNameFromFileAdapterASMA + "</FILENAME>").getBytes());
                   outputstream.write( ("<BASE64DATA>" + str + "</BASE64DATA></ROOT>" ).getBytes());
              catch(Exception e)
                   e.printStackTrace();
         byte[] buffer = new byte[1024*5000];
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         int len;
         String str = null;
    I had to do the following configuration settings
    1)  Create a Sender Comm Channel with Adapter Specific message attributes and Filename checkbox checked.
    2) Use the Java Mapping in the Operation mapping.
    The scenario is working smoothly with out any issues.
    Thanks.
    Kiran

  • Hi!!I want to scale an analogic signal, and I don´t understand very well how interpolated option works in "Scaling and Mapping".

    Can anyone explain to me, the option Interpolated, in the function , "Scaling and Mapping?
    Thank you!!!!!

    When you select Interpolation you then define a table of value pairs; basically the raw data versus actual data.
    For example
    2 5
    4 10
    6 20
    What the VI then does is if the input signal has a value of 3 the Express VI will linearly interpolate between 5 and 10 and will map your value of 3 to 7.5. Again a value of 5 would then be interpolated and mapped to 15.
    Take a look at the attached VI.
    Evan
    National Instruents
    Attachments:
    mapandscale.vi ‏89 KB

  • GL AND AR datasource and data targets - question for BI 7.0

    Folks,
    It has been sometime I did GL, AP and wanted to know if this still holds good
    GL Balance : Extract via 0FI_GL_6 and load it to 0FIGL_C01 with or whihout an ODS OFIGL_O06.
    GL Line itms: Extract via 0FI_GL_4 and load to ODS 0FIGL_O02.
    Similiarly use AP_6 and AP_4 Data sources for Accounts Payable. I am assuming GL and AP Data sources are coupled.
    Now has anything changed in BI 7.0 or because of ECC5 or ECC6.
    For All the above I did not see any transformation BI Content I only still see 3.x flow.
    whats up with 0FIGL_C10  and 0FI_GL_10 ?.
    At the end of the day I only need GL balance and their line items. So what should I use ?.
    thanks
    Gman

    Hi GMAN,
    1) GL and AP datasources extract from 2 different sets of OLTP tables. They are NOT coupled
        from BW extraction pointof view....But In R3...when a financial posting is made to a GL
        account....a related posting made into AP tables......
    2) In GL or AP functionality nothing has changed due to:  BI 7.0 or because of ECC5 or ECC6.
    3) In the new Business Content Release...."SAP NW 7.0 BI Content Add-on 3 SP06"....
        SAP gave new cubes, ODS etc....
    New Business Content link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    Good luck, BB

  • Problem in Creating .wsdl file and mapping.xml with ant

    hi
    i am created my .wsdl file and mapping.xml file with wscompile tool but when i run this by ant tool it show a problem.
    the command runs on command prompt but when run throught ant file it shows a following error :-
    Execute failed: java.io.IOException: CreateProces: wscompile -define -mapping build\classes\META-INF\mapping.xml -d . -nd build\.................and so on
    so if anybody have any idea then plz help me asap
    thanx

    The following Ant snippet is the way I've defined my wscompile task. I'm creating a web application and it looks like yours might be an EJB endpoint, but you can adjust where necessary:
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
         <classpath refid="compile.classpath" />
    </taskdef>
    <target name="init">
         <echo message="-------- ${appname} --------" />
    </target>
    <!-- This target compiles the server components using an existing WSDL as the driving document.
           The configuration file must use the <wsdl> element giving the location (local file system
           or URL) of the WSDL document.
           Note: the fork argument is needed to over come a bug when using the mapping argument. See
           http://forum.java.sun.com/thread.jspa?threadID=592994&tstart=0
      -->
         <target name="generate-server-from-WSDL" depends="init">
              <wscompile fork="yes"
                           keep="true"
                           base="${basedir}/WebContent/WEB-INF/classes"
                           import="true"
                           features="wsi"
                           xPrintStackTrace="true"
                           verbose="true"
                           mapping="${basedir}/WebContent/WEB-INF/jaxrpc-mapping.xml"
                           sourcebase="${basedir}/src"
                           config="${config.server.doclit.file}">
                   <classpath>
                        <path refid="compile.classpath" />
                   </classpath>
              </wscompile>
         </target>
         <target name="compile-server-from-WSDL" depends="generate-server-from-WSDL">
              <javac srcdir="${basedir}/src" destdir="${basedir}/WebContent/WEB-INF/classes" debug="${compile.debug}">
                   <classpath refid="compile.classpath" />
              </javac>
         </target>Just make sure that the named destination directories exist before you run the script.
    If you'd like more details on the wscompile Ant task, I found the following pages invaluable:
    https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html

  • Coding for ABAP Proxy and mapping

    Hi XI Ds
    which one need coding neither ABAP Proxy nor ABAP Mapping
    Thanks

    Hi Kushee  ,
    We need coding for both ABAP Proxy and mapping. We need to know some OO(Object Oreinted) ABAP concepts.
    We can also import JAVA CODE for certain functionality.
    Check the following websites for clarity:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    cheers!
    gyanaraj

Maybe you are looking for

  • Officejet Pro 8500 A909G Can't Scan to Network Folder - Install won't detect Printer

    I have installed an 8500 on a wireless network.  There are 2 PC's;  1 is XP Home, the other is XP Pro, both are Service Pack 3.  The Router is a Linksys WRT54G2, Wireless adapters in both PC's are Linksys Wireless G - PCI cards.  Both PC's are runnin

  • ITunes displays wrong iPod

    I am plugging my iPod Nano into my PC at work. When I do, another iPod comes up with a different name and different contents. How can I get iTunes to recognize my iPod? My computer at work is networked to others as well.

  • How to see the Complete Line In SO10??

    Hi All, In the satndard text So10, when we enter any text and if it exceeds more than the length of the line. It is not shown to us in the display. In order to see the text what are the control keys we use? Can anyone give me the idea?? Cheers, Simha

  • Import Excel Worksheet

    I can get Numbers to import my Excel worksheets and make changes. However, how do I save the changes in the new Numbers format? Whenever I try it says I don't have permission to make changes or save. Thanks.

  • Where is Java Startup parameters?

    Where does sapinst store its Java Startup parameters? I need to remove som  space from parameters from Java. Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine. services.ts.jts.ots.PortableInterceptor.JTSInitializer Any help Thanks.