Creating custom hierarchical data provider

Hi,
I'm trying to create a custom dataprovider for a 3rd party
chart control. As far as I can tell, it works just like any
Flex-provided hierarchical dataprovider control. My problem doesn't
have to do with the control directly, as I haven't yet even tried
to interface my dataprovider with their control (that's why I'm
posting here). I'm having a lot of troubling figuring out how to
implement IHierarchicalData and IHierarchicalCollectionView (or
figuring out what to extend and override to give me the
functionality). The documentation doesn't seem to be detailed
enough to help me .
I can't use a normal XML dataprovider because the XML I have
contains child elements that are data, so I can't just use the
hierarchy of the XML itself. I need to process the XML in some way
using code that actually understands its structure. I intend to
process this into a class that implements IHierarchicalData. The
documentation is really vague on what the results of a call to
getChildren() returns (and how the calling code then breaks the
children apart so it can call getData() on each), but I was able to
figure that out by looking at the source for the chart control I'm
using (it appears to expect an ArrayCollection... why isn't the
IHierarchicalData interface typed as such?). My biggest problem is
understanding the IHierarchicalCollectionView. It has methods to
add and remove child nodes, but I don't see how it's possible for
it to do that. It only has a reference to an IHierarchicalData,
which provides no methods to perform those operations. When I wrap
my IHierarchicalData in the default HierarchicalCollectionView
object (which is just what the chart does, as far as I can tell)
and use methods like addChild(), I get a null reference error, as
mentioned in this stack trace snippet:
Error #1009: Cannot access a property or method of a null
object reference.
at mx.collections::HierarchicalCollectionView/addChild()
I believe I need the HierarchicalCollectionView (or to extend
a class that implements the IHierarchicalCollectionView interface
or implement it myself) because I need to use its functions to
modify my tree structure so that when I change the data, the chart
will update. Is this a correct assumption? If so, how do I use
those functions on the HierarhicalCollectionView? What is it doing
internally? I don't understand how it can be manipulating the tree
in a type-safe manner having only an IHierarchicalData reference to
work with, and if it's doing it in a non-typesafe manner, I need to
know what methods it's calling on my tree or node objects, which
don't appear to be documented in the docs for
IHierarchicalCollectionView.
If I'm totally off-base in the best way to accomplish my
goal, please let me know. I'd also appreciate any information you
could give me, such as info on the hierarchy interfaces that goes
beyond the docs. Some source code for HierarchicalCollectionView
would be super helpful (only for reverse engineering; it should
really be documented somewhere), but I haven't been able to find
any. Isn't it open source?
Thank you very much for any help you can provide.

SAP Note 746227 has addressed this issue. I will close this question.

Similar Messages

  • Not able to create customer master data with country code US

    Hey All,
    I am not able to create customer master data in the Transaction Code XD01/FD01 with the country code as US.
    The error message for the same is NO JURISDICTION CODE COULD BE DETERMINED. I have checked the tax code settings but could not locate the problem.
    Request you to provide me with a solution.
    Thanks & Regards
    VK

    Hey all,
    I have checked the field in the account group(OBD2) but its in optional status
    and also checked the country settings for US in the transaction code OY17 still the same error message, but when i tried checking the settings for a differnt company code's customer data base i can see that there is a number mentioned in the address tab under tax jurisdiction feild (beside time zone) which is not populating for this company code.
    so, do anyone know where exaclty we mention this number so that it populates in that field of address.
    hope am clear
    hope to receive  a solution
    thanks & regards
    vinila

  • Steps to create customized Master  data infoobjects in BI 7

    Hi all,
    Can anyone please send the detailed steps to create customized master data infoobject in BI7,and also the data is to be extracted from two different datasources from two different source systems.
    Regards,
    G.Monica Roja Flora.

    Some data modelling tips while creating master data infoobject and extracting data from different source systems -
    If there are identical characteristic values describing different objects for the same characteristic in various source systems, you have to convert the values in such a way in SAP BW so as to make them unique.
    For example, the same customer number may describe different customers in different source systems.
    You can carry out conversion in the transfer rules for this source system or in the transfer routine for the characteristic.
    If work involved in conversion is too great, you can compound the characteristic to the InfoObject Source System ID (0SOURSYSTEM). This means it is automatically filled with master data. The Source System ID is a 2-character identifier for a source system or a group of source systems in BW. The source system ID is updated with the ID of the source systems that provides the data. Assigning the same ID to more than one source system creates a group of source systems. The master data is unique within each group of source systems.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6399e07211d2acb80000e829fbfe/content.htm
    Hope it Helps
    Chetan
    @CP..

  • How to create customer master data for walking customer in retail

    hi experts !!!!!!
    for retail industry e.g books trading industry
    how to create customer master data for walking customer in retail
    its dummy or one time customer
    if i create one time customer then same customer number can i use for every new order and every new customer how ?????
    thanks

    Dear Hanumant,
    As per my view,,
    You can use one time customer functionality to full fill your requirement.
    When you create sales order with one time customer system take you to the customer data maintanence screen through that you can maintain the one time customer data.
    Same one time customer number you can use for every new order through maintaining different data.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 19, 2008 6:08 AM

  • How to Create Customer Contact data in SAP CRM

    Hi All,
    Would want to create Customer Contact data in SAP CRM, could please guide me step by step that how can i create the customer contact data in SAP CRM?
    Regards
    Avinav

    Hello Avinav,
    In CRM 6.0 and 7.0 GUI is no more used, you can use WEB UI and login using SALESPRO role to create a contact.
    1. Logon to CRM web UI
    2. Choose Create Contact from the Navigation bar
    3. Enter all the data - Title, first name, last name, account id,
    street, stree2, street3, street4, street5, city, postal code, email,
    mobile no and website.
    4. Press the Save key.
    Hope it will help! Please award points in case this helps!
    Best Regards
    Lata

  • Error while creating customer master data

    dear sir,
    i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
      again while creating one with same name showing error while maintaing sales level data
    Check: Table KNA1 does not exist, table KNVI does
    Message no. F2061
    plz help how do i rectify this problem and maintain the same cutomer no (external) again.
    regards,
    Debesh

    Hi,
    you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
    XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
    Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
    If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM

  • BADi used for creating customer own data in transaction me52n

    Hi experts,
    please any one tell me what is the procedure for creating or changing. How to get access for customer own data in transaction me52n. How to get authorization checks.
    thank you,
    regards
    vijay krishna

    Hi
      check this link.
    Name of Badi used with transaction ME52N
    Thanks
    Viquar Iqbal

  • Bapi or function to create Customer FI data

    Hi,
    i'm looking for a bapi or function that it creates a new customer in FI data, I find BAPI_CUSTOMER_CREATEFROMDATA1 but it only creates customers SD data like address, name, telephone number....
    Could you say if there are something that it can help me or I need to make by myself?
    Many thanks!
    Raú

    look report rfbide00 and its docu
    A.

  • Dump while creating customer master data

    Hi,
    I am trying to create customer master record using XD01.  I am getting express document error:
    "Acct group Sold-to party uses ext. no. assignment. Specify an account number"
    I have maintained the external number range from 000000... to ZZZZZZ.... and have also maintained account group.
    Below are the error details:                                                                               
    "MESSAGE_TYPE_X" " "                                                                               
    "SAPLSZA0" or "LSZA0U47"                                                                     
        "ADDR_SAVE_INTERN"     
    Source Code Extract                                                                               
    Line
    SourceCde                                                                               
    523
           call function 'TR_WRITE_LOG'                                                         
      524
             exporting                                                                               
    525
               iv_log_type             = 'FILE'                                                 
      526
              iv_logname_file         = lv_logfile                                              
      527
          IV_LOGNAME_DB           =                                                          
      528
           iv_logname_memory       = lv_protfile                                             
      529
               iv_append_mode          = prot_append_mode                                       
      530
               iv_condense             = ' '                                                    
      531
             tables                                                                               
    532
               it_msgs                 = msg_tab                                                
      533
             exceptions                                                                               
    534
               invalid_input           = 1                                                      
      535
               file_access_error       = 2                                                      
      536
               db_access_error         = 3                                                      
      537
               others                  = 4                                                      
      538
    539
           if sy-subrc <> 0.                                                                    
      540
             message id sy-msgid type sy-msgty number sy-msgno                                  
      541
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.                                  
      542
           endif.                                                                               
    543
                                                                                    544
                                                                                    545
           message x842 with '&1' raising database_error.                                       
      546
                                                                                    547
         endif.                                                                               
    548
    Ende Fangschaltung -
      549
    *xxxi-                                                                               
    550
       END-OF-DEFINITION.                                                                       
      551
                                                                                    552
                                                                                    >>>>>
       write_to_db  adrc   .                                                                    
      554
    WRITE_TO_DB  ADRCT  .                                     "*912d                         
      555
       DELETE adrct FROM TABLE adrct_d.                          "*912i                         
      556
       IF sy-subrc <> 0.                                         "*912i                         
      557
         MESSAGE a840 WITH 'ADRCT' RAISING database_error.       "*912i                         
      558
       ENDIF.                                                    "*912i                         
      559
       UPDATE adrct FROM TABLE adrct_u.                          "*912i                         
      560
       IF sy-subrc <> 0.                                         "*912i                         
      561
         MESSAGE a841 WITH 'ADRCT' RAISING database_error.       "*912i                         
      562
       ENDIF.                                                    "*912i                         
      563
       MODIFY adrct FROM TABLE adrct_i.                          "*912i                         
      564
       IF sy-subrc <> 0.                                         "*912i                         
      565
         MESSAGE a842 WITH 'ADRCT' RAISING database_error.       "*912i                         
      566
       ENDIF.                                                    "*912i                         
      567
       write_to_db  adrp   .                                                                    
      568
       write_to_db  adcp   .                                                                    
      569
       write_to_db  adrt   .                                                                    
      570
       write_to_db  adr2   .                                                                    
      571
       write_to_db  adr3   .                                                                    
      572
       write_to_db  adr4   .                                                                    
    I will reward all the helpful answers.
    Thanks,
    Mohit.

    Hi Farhan,
    All the info you need is available in note 956054. This contains info on the customizing settings, etc.
    The role that you need to maintain is also a part of the customizing setup that is covered within the note.
    Hope this helps you.
    Cheers,
    Rishu.

  • Need to Create Customer Master Data under Multiple Sales Areas

    Hi Gurus,
             My requirement is to create a customer under multiple sales areas by processing the Inbound Idoc function module "IDOC_INPUT_DEBITOR"( After generating Outbound Idoc and outbound is processed successfully).
             But, when I am trying to send the multiple sales areas information in segment "E1KNVVM". It is creating the customer under first sales area filled in first E1KNVVM segment and it is giving error that "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1" and it is not creating the customer under other sales areas.
            Following are the details of the Outbound Idoc which I have processed.
            Idoc Basic type : DEBMAS06
            Message          : DEBMAS
            I have filled required fields in E1KNA1M and E1KNVVM segments. But filled E1KNVVM segments  twice with different sales area data.
          Please help in solving this problem?

    is it really just one IDOC?
    I have never seen that SAP just does a part of one IDOC.
    the structure of DEBMAS ist like this:
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    which means for your example it should be like this
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    and in this case I am very certain that it would never just process and create the part for one sales area.
    Maybe your customer already exists from ealier tests with just one sales area.
    Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field

  • Creating Custom fields (data type QUAN) using EEWB

    Hi all
    I tried to create two customised fields using EEWB for CRM Opportunity:
    1. Projected Volume (data type 'QUAN', length 13, 3 decimal places)
    2. Projected Unit (data type 'UNIT')
    In the SAP-generated tables, I have set the reference table field for 'Projected Volume' to point to 'Projected Unit'. However, I encountered errors that is related to Table Buffering and Restricted Transport for the Projected Volume field.
    If I were to change the data type to 'NUMC', field generation is ok. Does anyone know to resolve this issue? I need the Projected Volume field to be of data type 'QUAN' since decimal place is required.
    Thanks for your advice!

    SAP Note 746227 has addressed this issue. I will close this question.

  • Creating Dynamic hierarchical  Data Columns

    Hi All,
              I have to create a plan layout like figure below :
                                Oct...............Oct...............Oct...............Oct...............Nov...............Nov...............Nov...............Nov
                             Week1...........Week2..........Week3..........Week4.........Week1..........Week2...........Week3..........Week4
               P1
               P2
               P3
               P4
    Here for each calmonth i am showing 4 weeks to enter data. for calmonth i am using 0CALMONTH and for week i m using my own defined object say RCALWEEK.   P1.... are my products.  How i will achieve this in BW BPS.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Sep 12, 2009 12:03 PM

    Hi,
    I'm not sure about how your end users are flexible .
    Will they agree ig you craete a dynamic column on week with data displaying as week & calmonth ?
    In this way it will be easy to carve out the layout design.
    I mean to say .
    week1 calmonth week2 calmonth week3 calmonth wseek4 calmonth
    If not then did you try out  hierarchy variables in Layout ?
    Thanks
    Pratyush

  • Log  display/change/create  customer master data in Web UI

    Hi Gurus,
    We got a requirement to capture user activity when customer information or transctions associated to customer is accessed by any user from Web UI.
    Detailed requiremet is given below.
    - In the Identification screen of the Web UI,any search criteria entered by the user to search for BP needs to be captured.
    - when user create/change/display any BP , it should be logged
    - When user view the customer overview screen , it should be captured
    -When Buiness agreement/Contract account is viewed it needs to be logged
    -Any associated transactions of BP are accessed needs to be captured.
    Please suggest how this can be achieved.
    Any kind of help would be rewarded with points.
    Regards,
    Ravi

    are you using webdynpro or bsp?

  • End User Doc. Create / Change Customer Master Data

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    Hi Experts,
    I would appreciate, if anyone of you could forward me the end user documents for creating & changing customer master data.
    sonicasmailbox at rediff
    Points will be assigned.
    Regards
    Sonica

    Hi
    Refer to help.sap.com for creating customer master data.
    Copy this to word document and it will be become user manual.
    http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c64124811d2806f0000e8a495b3/content.htm
    Additionally refer to this weblink
    http://web.mit.edu/cao/www/AR/ar1/ar_FD01.htm - This if for FICO only.
    Changing customer master record.
    Use T.Code XD02.
    Enter Customer No,Company code,Sales Org, Distribution channel and division and press Enter or
    Enter Customer no,company code and click on customer's sales area, you will see Sales Org, Distribution channel and division,select the Sales org,Sales Org, Distribution channel and division and press enter.
    You can make necessary changes to customer master
    Please let me know if you need more information.
    Asssign points if useful.
    Regards
    Sridhar M

  • Reg: Custom Hierarchies in Designer

    Hi,
    I am working on BOXI 3.0, Using Designer client tool i have created universe by using the BI query connection. Using same BI query to customize the hierarchy level. In designer have the option for  custom hierarchy "Hierarchies". I have customized the hierarchy structure and using the universe in to Web Intelligence. In custom hierarchy have no relationship between the objects. So, the data would displayed not properly by using the query filter in Webi. It shows like separate fields based on the filter. There is no relationship.
    I need help for creating custom hierarchy in designer, how to create ?
    Please help me for this.
    Regards
    Prakash T

    Hi Prakash,
    Procedure for creating Custom Hierarchies is the same as Default Hierarchy. In custom hierarchy you can combine objects from different classes which is unlikely for default hierarchy which are generally trend based.
    Hierarchies are used to drill data based on different hierarchy levels like Region
    i.e. Continent->Country-> State->City
    if you donu2019t have relationship between objects, means table are not joined on common fields then WEBI will create Cartesian product for the object from 2 different in tables involved in the query. Even the data generated by the query is grouped on the objects involved in the query
    Definition of hierarchy says u201CA hierarchy is an ordered series of related dimensions.u201D
    Please elaborate more on statement u201CIn custom hierarchy has no relationship between the objectsu201D and. u201CIt shows like separate fields based on the filter. There is no relationshipu201D
    If you are combining different objects from different classes in to the hierarchy, check the General Drill option under u201Cpreferences->WEB Intelligence Document.
    1) Prompt if drill requires additional data and
    2) Synchronize drill on report blocks.
    if you are using multiple hierarchies altogether then whenever WEBI faces situation like which hierarchy to follow it will prompt user which hierarchy to use to drill down.
    Thanksu2026
    Pratik

Maybe you are looking for

  • Trying to connect my hp j6480 printer; software update not "currently" available on update site. What do I do?

    My HP J6480 has never connected well with my Macbook Pro (17" early 2011) (OS10.8.4). It and is online connects seamlessly to my HP Elitebook 8460p. Tried reinstalling printer (both via usb and wireless) to no avail. Wants a software update which is

  • Send PDF output directly to a printer

    Hi, I want to send a PDF Oracle Reports directly to a printer. I found a plugin (pdfprint) on http://www.oracle.com/technology/products/reports/pluginxchange/index.html but it doesn't work. REP-50159: Executed successfully but there were some errors

  • ATV2 upsamples 44.1K CD to 48K

    From ATV2 optical audio output my DAC lights up 48K when I'm streaming my ripped CDs (lossless) which are all 44.1K. The Airport Express previously in the exact position streamed at 44.1K. with the corresponding light lit. I wrote one of the designer

  • IPhone 3G:  Any way to filter inappropriate content on Safari?

    It's nice that the 3G has some parental controls and all, but is there any way to restrict content when using Safari without having to completely block use of the entire application? I'd like to able to get one for my kids without having to lobotomiz

  • Remote deskto freezes if idle

    Hi all; I got this weird problem: A computer which used to work perfectly well connecting with remote desktop while outside the network was brought into the network. Now if the remote desktop session is idle, it freezes and it takes 30 seconds  to 1