Mapping IDoc - only one Segment is mapped!

Hi, well i am trying FCC IDoc to File. FCC i already discussed quite extensive with no result. So i checked the other parts of my scenario where i found out that only one of my source segments in the idoc is mapped.
Source:
<?xml version="1.0" encoding="UTF-8"?>
<ZBC01_OUTPUT_ZEIT>
   <IDOC BEGIN="1">
      <EDI_DC40 SEGMENT="1">
         <TABNAM>EDI_DC40</TABNAM>
         <SERIAL>20070612110222</SERIAL>
      </EDI_DC40>
      <ZBC01_OUTPUT_ZEIT SEGMENT="1">
         <DUMMY01>** Y0000</DUMMY01>
         <AUSWEISNR>1775</AUSWEISNR>
         <DUMMY02>00400FFFF00</DUMMY02>
         <TAG>1306</TAG>
         <DUMMY03>01</DUMMY03>
         <SALDO>+90000</SALDO>
         <DUMMY04>.</DUMMY04>
      </ZBC01_OUTPUT_ZEIT>
      <ZBC01_OUTPUT_ZEIT SEGMENT="1">
         <DUMMY01>** Y0000</DUMMY01>
         <AUSWEISNR>1776</AUSWEISNR>
         <DUMMY02>00400FFFF00</DUMMY02>
         <TAG>1306</TAG>
         <DUMMY03>03</DUMMY03>
         <SALDO>+4</SALDO>
         <DUMMY04>.</DUMMY04>
      </ZBC01_OUTPUT_ZEIT>
      <ZBC01_OUTPUT_ZEIT SEGMENT="2">
         <DUMMY01>** Y0000</DUMMY01>
         <AUSWEISNR>1777</AUSWEISNR>
         <DUMMY02>00400FFFF00</DUMMY02>
         <TAG>1306</TAG>
         <DUMMY03>02</DUMMY03>
         <SALDO>+820</SALDO>
         <DUMMY04>.</DUMMY04>
      </ZBC01_OUTPUT_ZEIT>
   </IDOC>
</ZBC01_OUTPUT_ZEIT>
Target-Output in test environment:
<?xml version="1.0" encoding="UTF-8"?>
<MTZEIT>
     <ZeitRecordSet>
          <ZeitDetailsStructure>
               <DUMMY01>** Y0000</DUMMY01>
               <AUSWEISNR>1775</AUSWEISNR>
               <DUMMY02>00400FFFF00</DUMMY02>
               <TAG>1306</TAG>
               <DUMMY03>01</DUMMY03>
               <SALDO>+90000</SALDO>
               <DUMMY04>.</DUMMY04>
          </ZeitDetailsStructure>
     </ZeitRecordSet>
</MTZEIT>
So it's only the first segment of the source.
The source datatype (IDoc) has the occurence of 1.999999999 and the attributes in it 0..1.
The target has
                                  Occurence
MTZEIT                       1..1
-ZeitRecordSet             1..unbounded
--ZeitDetailsStructure    1..unbounded
---DUMMY01                0..unbounded
---AUSWEISNR            0..unbounded
---others                       0..unbounded
The Output should contain all segmets given from source. What is wrong?
br Jens

Hi Sumit
Well my problem is not solved, unfortunately i am not able to put the single given segments among each other in the target file.
RecordsetStructure:ZeitRecordSet, ZeitDetailsStructure
ZeitDetailsStructure.fieldFixedLengths = 8,4,14,4,2,6,1
ZeitDetailsStructure.fieldNames = 'DUMMY01','AUSWEISNR','DUMMY02','TAG','DUMMY03','SALDO','DUMMY04'
ZeitDetailsStructure.fieldSeparator = 'nl'
ZeitRecordSet.endSeparator='nl'
the target file is written like:
Y0000177500400FFFF00   13060190000.   ** Y0000177600400FFFF00   1306034    .  ** Y0000177700400FFFF00   130602+820  .               
any ideas?!
Solved it on my own now....thx   !
Message was edited by:
        Jens S

Similar Messages

  • File to Idoc - Generate one segment where sourcfields have identical values

    Hello Team,
                          This is a Flat File to Idoc scenario where one idoc is generated at the target.
    As i have mapped the Record(1..unbounded) with the E1MBXYI (1..9999), one record  in the file would create one E1MBXYI- segment in the Idoc. So if the source has four records then this would create an idoc with four E1MBXYI-segments. The requirement is, it has to generate only 1 segment for the input records(Order,Item and Date) if they have identical values.
    eg., 1234,66,01032009 (Order,Item,Date)
           1234,67,01032009
           1234,68,01032009
           1234,69,01032009  - this would generate four E1MBXY1 segments in the target each for item value 66,67,68 & 69 as it has no identical item values.
    eg., 1234,66,01032009
           1234,67,01032009
           1234,66,01032009
           1234,68,01032009  - this would generate three E1MBXY1 segments each for item value 66,67 & 68 in the target.The 2 identical item values for item 66 creates one segment.
    How could i achieve this in the mapping, Should i go for an UDF or could it be achieved using standard functions?
    Appreciate your replies....
    Thanks,
    Rag

    Hi Raghavendra,
    U can achieve this by simple graphical mapping.
    U can do ir using following functions,
    If
    equlas
    and
    context changes.
    eg.
                                                                                    order                           order
                         order
                         item                   equalsS                                                         then
                                                                                 and                       if
                         date
                         order                   equalsS                                                      else
                                                                                    order(context change)             order
    repeat the same for other fields also,
    item and date....
    If any doubt pl post the problem....
    I hope this will be helping u...

  • Process inbound Idocs only one at a time

    Hi all,
    I'm searching for a solution to the following problem:
    We are receiving ORDERS-Idocs into our R/3 4.6C-system. These Idocs are processed by our own Z-function module. The function module's coding should assure that e.g. the first idoc of each day sent by a certain customer should create a new sales order (VA01), whereas the following idocs of that same customer should only add items to that sales order (VA02).
    To make this work, we must make sure that no two idocs of the same sender are processed simultaneously, or even better that the function module is running only once at a time. I tried the following practices, which didn't satisfy our needs:
    - create own ENQUEUE/DEQUEUE object and call the ENQUEUE at the beginning of my function module - didn't work!
    - use GET PARAMETER ID to read a flag and SET PARAMETER ID to set the flag - didn't work, second idoc was too fast!
    - write a record into own DB table and check existing entry with SELECT SINGLE FOR UPDATE - worked only sometimes, needs COMMIT WORK.
    - check if there are any flags you can set in WE20 - couldn't find any!
    Does anyone have a idea for my problem?
    Greetings
    Klaus

    Hi Klaus,
    form the mentioned options, I would give enqueue / dequeue a second try.
    I would use customer (/sender) as key field for your locking object.
    If you try to set the lock right in the beginning of your FM, whole customer should be locked for processing. Second test is of course, if already a sales order exists.
    Maybe here the problem occurs: when you have some parts in update task, select for sales order is not successful for some (micro-)seconds.
    Solution for this part: use synchronic booking / commit work and wait. Maybe make a test with a select for VBAK in the end of your FM to test existence -> if not successfull, you know you identified your problem.
    If this is your problem, you should make a new enqueue after commit (because it will be deleted by commit) and wait until DB gives you new VBAK entry.
    I would start with a test, why all this different locking options don't work (instead of looking for a different locking option): make a select after your sales order creation. If this is not successfull, then here is your starting point.
    Regards,
    Christian

  • Multi-Mapping without BPM (Multiples IDoc To one EDI output?)

    Hi all,
    We are currently working for a client that want us to create, based on a multiple IDoc (an idoc that contains data of more than one idoc) only one output
    Meaning that we have to do a mapping that based in this multiple input generates only one output that cointains all that data in only one flat file
    example:
    Idoc: PERX2002.PAYTEXT generates an EDI 820 with this structure:
    LIST
    /S_ISA (first input)
    /S_ISA (second input)
    At this moment we tried to use "Collect IDoc" option in SAP, and as seen in other blogs we changed the ocurrency of the message mapping to "0.unbounded", but when we release several idocs (WE14) we only get multiples output files (3 idoc collected and released give us 3 different edi files) instead only one edi file with all the data gathered together as ISA segments
    In this required process possible???
    Thanks in advance

    As you can see in the following pics..
    http://img201.imageshack.us/img201/8352/process1xz1.jpg
    http://img244.imageshack.us/img244/4954/processvc9.jpg
    i already made those changes, the multi-mapping is set, and also the option for collecting the IDocs and the "enhanced" option in the Integration Directory, but when i release all the idocs i still get multiple outputs (2 files), instead one file with all the gathered data
    Could someone tell me if  i'm missing some step?
    Thanks for your time
    Edited by: Alexis Alanis on Jan 7, 2008 7:24 PM

  • Mapping Issue: one IDoc to multiple IDocs concerning incoming segments

    Hi,
    i want to devide one incoming IDoc to two or more outgoing IDoc's of same type concerning the appearance of one segment.
    Incoming is:
       <IDOC BEGIN="">                   1...1
          <EDI_DC40 SEGMENT="">
          </EDI_DC40>
          <..>
          <Z1MOV SEGMENT="">  0..99999
          </Z1MOV>
       </IDOC>
    Target should be:
    for each Z1MOV one IDOC.
       <IDOC BEGIN="">                   1...1
          <EDI_DC40 SEGMENT="">
          </EDI_DC40>
          <..>
          <Z1MOV SEGMENT="">  0..1
          </Z1MOV>
       </IDOC>
    I already did the occurance change, like imported target IDoc with changed attribute maxOccurs="unbounded".
    I mapped the segment Z1MOV to IDOC but when Z1MOV occurs more than one time the target gets generated only one time. I changed the occurance of the IDoc to maxOccurs="unbounded".
    What do i have to do to make it run?!
    br

    Can someone help?
    When i switch to debug while testing message mapping i get following:
    Close tag
    Close tag
    Start tag
    Targetelement /ZIDOC/IDOC[2]/BEGIN kann nicht angelegt werden. Prüfen Sie, ob die XML-Instanz für die Ausgangs-XSD und die Zielfeldzuordnung die Anforderungen der Ziel-XSD erfüllt. Zielelement /ZIDOC/IDOC[2]/BEGIN kann nicht angelegt werden. Prüfen Sie, ob die XML-Instanz für die Ausgangs-XSD und die Zielfeldzuordnung die Anforderungen der Ziel-XSD erfüllt.
    I hope you can get the idea of this error because i can't tanslate.
    But the BEGIN is required for each message so how to get rid of it. This also concerns the SEGMENT-tag under each Segment of the IDoc.
    br

  • I facing one situtation in mapping  Custmosied IDOC  a new segment is add t

    HI Gurus
    I facing one situtation in mapping  Custmosied IDOC  a new segment is add to that IDOC.... i want to display values in queues in mapping test.. but queue is empty it showing ,,,
    already i have checked IDX2 .. in that it is updated about the segement .. let me know solutiuon y it is not populate in that segemnt ..\
    thanks in advance.

    Hi ,
    Have you imported the IDOC into ESR after the changes were done in the ECC side?
    Is the mapping done for the new segment/fields properly?
    Please check what values are passed in the segment from ECC?Try triggering a message from WE19 with test values and check if you are receiving the same?
    Please explain little more on this...
    Regards,
    Srinivas

  • Ovi Maps Updates for E72 - Am I the only one who h...

    I received a "new updates available" message when I opened my Ovi Maps application this morning.
    Like a fool I did the update and now every time I open Ovi Maps the app crashes and reboots the phone.
    Am I the only one?
    I thought that this time it would be OK.
    It crashed last time I got an SMS Ovi Update notification.
    Luckily I backed up yesterday.
    John K
    E72 user

    I use the TomTom app. Unlike Google maps which you connect to online, TomTom updates their maps on a specified period. There is an advantage though, if you are driving in an area with no cell coverage you still have maps and GPS. The more up-to-date Google maps won't do you any good in that case. And with the current system you still don't have turn-by-turn.
    My understanding is with the new Maps app TomToms map database will be online so it will be updated on-the-fly the same as Google. Downside: won't be available without a data connection.
    Again, if you prefer Google look at one of the many Android phones. Or try the new Maps system on iOS 6. Apple's only other option was to have no Maps app at all.

  • ALE-IDOC- Multiple IDOCs gets triggered with only one output exists

    Dear Gurus,
    We need you help to resolve the issue being faced with IDOC in our system.
    From Sales order , an EDI output ZF40 gets trigggered which is a order confirmation. This is being sent to a Logical system
    (Partner type LS in IDOC) which is F4F (Partner no.)
    Now the issue is at sales order level, only one output line with ZF40 is triggered and in processing log one IDOC no. is showing.
    We have received complaint from the external party F4F that for a same sales order , multiple IDOCs (around 500 IDOC's each in 3min interval )are being received at their end. We have checked in SAP ,  all these IDOC's were triggered from SAP only. All IDOC's are in green in SAP. But from where these IDOC's got originated is not known.
    We have checked the batch jobs and not seems to be triggered from there.
    Is there any other way that IDOC can originate automatically.? Please advise your valuable inputs as it will help to stop triggering of IDOC's (around 11,000 so far) in SAP and in receiving system.
    Regards
    Anand MOhanasundaram.

    In t.code V/30, go to the output details. Here uncheck the box for multiple issuing and check again.
    Regards,

  • Only one round trip to database from BizTalk per message irrespective of number of records in message per table.

    I am creating biztalk application to store the data into sql server.
    and my client says this line what i am not understood .
    "Only one round trip to database from BizTalk per message irrespective of number of records in message per table."
    Any one can help me to understand this line.!
    Thanks,

    One more option is -
    Create a stored procedure to perform batch insert, you can insert into any number of tables you want.
    --sample SP code...just added the steps you need to know to extract XML and perform insert
    CREATE PROCEDURE <SPName>
    @YourXML XML
    AS
    BEGIN
    EXEC sp_xml_preparedocument @idoc OUTPUT, @youXML
    SET @j = 1
                WHILE @j <= @recordCount
                BEGIN
                     SET @xpath = '//ns1:RootNode/Record[' + CAST(@j AS VARCHAR(11)) + ']'
                     ;WITH XMLNAMESPACES('record namespace' as ns0, 'rootnode namespace' as ns1)
         INSERT INTO YourTable
                      (field1, field2....field20)             
                      SELECT                                 
                            field1, field2....field20
                      FROM OPENXML(@idoc, @xpath, 2)
                            WITH(field1 varchar(2), field2 varchar(20)........field20 varchar(100))                        
                      SET @j = @j + 1
                END    
    END
    On BizTalk side its quite simple...generate schema for your stored procedure...and in your map transform your XML to StoredProcedure schema using CDATA.
    Hope it helps!!

  • Need to use only one sender and receiver communication channel.

    Hello Experts.
    I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
    For Eg;
    Sender                              
    D://dir1/file1 --->                  E://dir1/File1
    F://dir2/file2 ---->                 G://dir2/file2
    H://dir3/file3----->                 I://dir3/file3.
    Can this be achieved by using pass through scenario?
    Please let me know if the requirement is not clear.     
    Thanks in advance.
    Advit Ramesh

    Hi Advit,
    I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
    For Polling from multiple directories:
    http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
    Dynamic Configuration:
    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

  • Disable only one radio button in a Radiogroup using Dynamic Actions.

    Hello everyone,
    I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit with Application Express 4.1.1.00.23
    I have a radio group which has 3 radio buttons. Now in certain situations I want only one of the radio buttons to be disabled.
    I don't want to resort to Javascript for this as that would mean another piece of code that can go wrong and introduce bugs.
    Is this possible using a Dynamic Action? Although DA is also JS, I feel its much easier to maintain.
    Regards,
    Arijit

    I know, you did ask for DA
    Try to put this code in DA and run this code on page load
    =-==========================================
    var pOption = 3;
    var nameArray = $('input[name=p_v01]').map(function(){
                        return this.getAttribute('value');
                    }).get();
    for (i=0;i<nameArray.length;i++){
        if(pOption == nameArray[i]){           
            $("#P2_CHECK1_"+i).attr("disabled", true);
    ==========================================
    Plain Javascript
    <script type ="text/javascript">
    function disableCheckBox(pOption){
        var nameArray = $('input[name=p_v01]').map(function(){
                            return this.getAttribute('value');
                        }).get();
        for (i=0;i<nameArray.length;i++){
            if(pOption == nameArray[i]){           
                $("#P2_CHECK1_"+i).attr("disabled", true);
    $(document).ready(function(){
        var chkOption = 3;
        disableCheckBox(chkOption);
    </script>
    Thanks,
    Ramesh P.

  • When defining copy rules, only one source field allowed

    Our users have requested the facility to allow them to copy pricing condition records when in in VK12 transaction. But when configuring the copy rules, we have come across the following problem:
    When configuring copying rules for copying pricing condition records,
    there is no possibility to use more than one source/target fields.
    In our example, the condition table created for a certain pricing
    access sequence contains keys such as Sales Organization, Sold-to Party
    "and" Product Hierarchies level 1 to level 9 (e.g. PH1 - PH9) .
    In the condition table definition, fields PH1 to PH9, although key
    fields, are also defined as footer fields. This means that per sales
    organization and sold-to party, we can create more than one condition
    record based on different combinations of PH1 to PH9.
    However when setting up copy rules for conditions in SPRO (SD -
    Pricing Control - Copy Control for Conditions) to allow our users to copy the condition records, for a given Source /
    Target table, the standard selection screen only allows us to define one Source / Target field.
    In our case, this is not helpful. The configurator should be allowed
    to select more than one source field (i.e. PH1 and PH2 and ..... PH9). At this moment,
    we can only select as source field PH1 or PH2 or PH3., etc..
    Steps for the Reconstruction:
    - Run Spro.
    - Select SD --> Pricing --> Pricing control --> Copy control for conditions -- > Copying rule for conditions
    - Select 'New Entries'. Selection screen is displayed. The issue is that in this selection screen, the configurator is allowed to select only one source field. He should be allowed to select multiple fields.
    Can you help us with this problem please?
    Your help is much appreciated!
    Edited by: C. Hassink on Feb 2, 2008 3:50 PM
    Edited by: C. Hassink on Feb 2, 2008 3:52 PM
    Edited by: C. Hassink on Feb 2, 2008 3:53 PM
    Edited by: C. Hassink on Feb 2, 2008 3:55 PM
    Edited by: C. Hassink on Feb 2, 2008 3:56 PM

    Hi Ralph,
    I don't like that methode. Importing the same transport 15 times, each time changing the source-system mapping and making sure, that source-system gets the changes seems to be a huge source of errors, which will be hard to find.
    What do you think of the following idea to solve the issue a totally different way:
    All transfer-rules directly connected to the source-systems are stripped of all Coding, so there is a plain 1 by 1 transformation including 0logsys.
    The InfoSources attached all lead to one ODS-Object, which has the only purpose to collect the data from the source-system without any transformation. So some fields a filled by a system and other fields maybe not.
    The coding specific for source-systems is moved to transfer- / update-rules from that ODS-Object to the original ODS-Objects / Cubes and the "collecting" ODS-Object is emptied after every loading process.
    This will result in a single point of change. It will be quite a huge program (maybe in startroutine) but it's the one and only point, where changes and corrections have to be made.
    Regards
    Robert

  • Multiple IDOCs from one Flat file

    HI Gurus,
    Sender file is of such format
    Header1,Item1 details
    Header1,Item2 Details
    Header2, Item1 Details
    Header2,item2 Details
    Header3, Item1 Details
    I need to map this file format to IDOC strucutre, In Header there is a filed which is the Key value to identify the change in header.
    Eg: Order Number is the field in the following file which identifies the change in header: First three fields are header details and following are the item details:
    ABC,ON1,22,Item1,XX
    ABC,ON1,33,Item2,FF
    ABC,ON2,44,Item1,MM
    ABC,ON3,66,Item1,LL
    How would be the Data type strcuture to capture this type of falt file strcuture and FCC parameters?
    I need to send a single IDOC per one header with multiple Items. is it possible to achieve?
    Thanks
    Rajeev

    Hi Satish,
    Do we need to do some configuration  to produce 3 IDOCs from the below strcuture?
    ABC,ON1,22,Item1,XX
    ABC,ON1,33,Item2,FF
    ABC,ON2,44,Item1,MM
    ABC,ON3,66,Item1,LL
    From the above structure 3 IDOCs should be generated as below:
    1st IDOC as
    ABC,ON1 (Header Details)
    22,Item1,XX (Item1 Details)
    33,Item2,FF  (Item2 Details)
    2nd IDOC as
    ABC,ON2 (Header Details)
    44,Item1,MM  (Item1 Details)
    and 3rd IDOC as
    ABC,ON3 (Header Details)
    66,Item1,LL  (Item1 Details)
    Do following Data type for the above file structure is valid? or I can use one flat DT?
    Record
    Header(1..Unbounded)
    ---F1 (Field 1)
    ---ON (Key Field Order Number)
    Item Details(1..Unbounded)
    ---F1 (Field1)
    ---F2
    ---F3
    If the above DT is correct then how would be the FCC parameters?
    Thanks
    Rajeev

  • [solved]RAID1 array is showing only one disk

    Hi,
    I configured RAID1 on my Arch Linux system. Sometime during the past few days (I don't know when) I think SATA cable of one of the disks (sda) went loose. I got a hint by some error messages in dmesg output.
    I realized this only today. To minimize the damage I rebooted the system, made sure that all connectors are connected properly and booted it again. Now the system is up and running, but what I see is that only one disk is being used at this time around.
    # cat /proc/mdstat
    Personalities : [raid1]
    md0 : active raid1 sdc6[1]
    915811008 blocks super 1.2 [2/1] [_U]
    bitmap: 6/7 pages [24KB], 65536KB chunk
    I want to enable the other disk as well. The other disk has sda6 as the partition with is used in RAID1 array.
    Can somebody help me how to go about this? I don't want some inconsistency to creep in, because of my doing something wrong.
    Last edited by slash_blog (2015-04-29 04:47:12)

    I am seeing the following. I am booting from this system and yet it says no md superblock detected on /dev/md0, while for the two partitions which are part of this RAID1 array there doesn't seem to be any problem.
    This is getting confusing. Can somebody kindly comment?
    # mdadm --examine /dev/md0
    mdadm: No md superblock detected on /dev/md0.
    # mdadm --examine /dev/sda6
    /dev/sda6:
    Magic : a92b4efc
    Version : 1.2
    Feature Map : 0x1
    Array UUID : 00a62e18:a8c29e17:77d4627c:91a94994
    Name : ncdl-desk:0 (local to host ncdl-desk)
    Creation Time : Thu Apr 2 03:00:39 2015
    Raid Level : raid1
    Raid Devices : 2
    Avail Dev Size : 1831622064 (873.39 GiB 937.79 GB)
    Array Size : 915811008 (873.39 GiB 937.79 GB)
    Used Dev Size : 1831622016 (873.39 GiB 937.79 GB)
    Data Offset : 262144 sectors
    Super Offset : 8 sectors
    Unused Space : before=262056 sectors, after=48 sectors
    State : clean
    Device UUID : 88809386:57f1b788:8f3a0e82:72b0ac87
    Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Apr 28 00:36:18 2015
    Bad Block Log : 512 entries available at offset 72 sectors
    Checksum : 672755a9 - correct
    Events : 10520
    Device Role : Active device 0
    Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
    # mdadm --examine /dev/sdc6
    /dev/sdc6:
    Magic : a92b4efc
    Version : 1.2
    Feature Map : 0x1
    Array UUID : 00a62e18:a8c29e17:77d4627c:91a94994
    Name : ncdl-desk:0 (local to host ncdl-desk)
    Creation Time : Thu Apr 2 03:00:39 2015
    Raid Level : raid1
    Raid Devices : 2
    Avail Dev Size : 1831622064 (873.39 GiB 937.79 GB)
    Array Size : 915811008 (873.39 GiB 937.79 GB)
    Used Dev Size : 1831622016 (873.39 GiB 937.79 GB)
    Data Offset : 262144 sectors
    Super Offset : 8 sectors
    Unused Space : before=262056 sectors, after=48 sectors
    State : clean
    Device UUID : 9d297b70:3ce0ec72:49be866b:52e5b83b
    Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Apr 29 00:07:35 2015
    Bad Block Log : 512 entries available at offset 72 sectors
    Checksum : d8cb5560 - correct
    Events : 36218
    Device Role : Active device 1
    Array State : .A ('A' == active, '.' == missing, 'R' == replacing)

  • Dimension which belongs to only one of the several fact tables

    Hi,
    I'm newbie in BI. I have good knowledge of DW and Administration (OCP).
    Firstly could you give me, please some link expalining aspects of creating "Business Model And Mapping" better than SE Tutoarial.
    Now how my problems looks like :
    I have several fact tables and dimensions.
    But not all dimensions are shared among all facts.
    So when i try to put in Answers measurements from all facts it's ok - results are retrieved.
    But when i try to add to report some Dimensions attributes which belongs to only one of the facts all facts measurements are gone except measurements for fact table to which dimension attribute is linked to.
    I think i know what is the reason but i don't know how to simply solve it :
    Below is session trace excerpt only with facts measurements :
    RqList
    Liczba Transakcji:[DAggr(Fakty - Transakcje (ZSFK).Liczba Transakcji by [ Słownik - Daty.Nr Miesiąca, Słownik - Daty.Miesiąc Rozliczenia, Słownik - Outlety.Outlet Numer (MID), Słownik - Outlety.Outlet Nazwa, Słownik - Terminale.Nr Terminala, Słownik - Daty.Rok Rozliczenia] )] as c7 GB,
    Kwota Opłaty Netto:[DAggr(Fakty - Opłaty za Terminale (CBD).Kwota Opłaty Netto by [ Słownik - Daty.Nr Miesiąca, Słownik - Daty.Miesiąc Rozliczenia, Słownik - Outlety.Outlet Numer (MID), Słownik - Outlety.Outlet Nazwa, Słownik - Terminale.Nr Terminala, Słownik - Daty.Rok Rozliczenia] )] as c11 GB,
    Below iis session trace excerpt with facts measurements and added dimension attribute:
    RqList
    Liczba Transakcji:[DAggr(Fakty - Transakcje (ZSFK).Liczba Transakcji by [ Słownik - Rodzaje Walut.KOD_WALUTY, Słownik - Daty.Nr Miesiąca, Słownik - Daty.Miesiąc Rozliczenia, Słownik - Outlety.Outlet Numer (MID), Słownik - Outlety.Outlet Nazwa, Słownik - Terminale.Nr Terminala, Słownik - Daty.Rok Rozliczenia] )] as c7 GB,
    Kwota Opłaty Netto:[DAggr(Fakty - Opłaty za Terminale (CBD).Kwota Opłaty Netto by [ Słownik - Rodzaje Walut.KOD_WALUTY, Słownik - Daty.Nr Miesiąca, Słownik - Daty.Miesiąc Rozliczenia, Słownik - Outlety.Outlet Numer (MID), Słownik - Outlety.Outlet Nazwa, Słownik - Terminale.Nr Terminala, Słownik - Daty.Rok Rozliczenia] )] as c12 GB,
    Second plan is the plan when report retrieves only results for one fact table and null's for others
    Problem is with attribute : "Słownik - Rodzaje Walut.KOD_WALUTY" which is from dimension which belongs only to one fact table.
    So other fact table are not linked to this dimension and therefore this plan cannot retrieve results for them.
    It is obvious that some of the facts cannot share some dimensions with others but i would like to join them on other common attribute
    and my question is how ?
    Thanks's in advance Arkadiusz Masny
    Edited by: Arkadiusz Masny on Dec 10, 2009 6:49 AM

    It's normal behavior. How would fact measure know the value for accurate "non-fact" dimension
    Workaround:
    First solution is:
    Add into logical source of each fact (in logical layer) tables to which belongs dimension attribute and join dimenstion to that fact.
    Second you may:
    Create fact table which join all needed dimensions with some useless fact ( i.e. count). Next you have to set option "Implicit Fact Column" in presentation catalog to use this fact table.
    I can explain it to you in Polish by mail or phone
    You bring me a next topic for my blog (in Polish) http://obiee.pl so I'll write sth about such behavior :)
    Regards

Maybe you are looking for