Open hub Services - How to extract the master data related to a object ?

Hi Gurus,
I am implementing OpenHub services for our project, it's on BW 3.5, I have the list of required fields with which I am creating an InfoSpoke. Now I am stuck in some the info objects which are having master data associated with it.
Example : Business partner(BP) data, when I map the 0BP infobjects in infospoke it's extracting the BP ID (ex: CT065316,CT068638 etc) in flat file but I want the BP name, address & telephone number as well, which are coming from master data table. But I am able to map only 0BP infobjects as a part of ODS/Cube.
Can any one tell me how to get the master data extracted in the flat file with associated info object???
Answers will be highly appreciated.
Regards,
Kironmoy Banerjee
Edited by: Kironmoy Banerjee on Oct 1, 2009 3:34 PM

Hi Kironmay
Please follow the below mentioned procedure to create a transformation. This is applicable for BW 3.5 as well.
- Enter your infospoke in the edit mode.
- On the Transformation tab set the indicator for the Infospoke with Transformation with BADI so that the infospoke is activated.
- This will take you to the Addin implementation/BADI builder.
- Enter the short text/description for the implementation. The implementation name is always the same as the technical name of the infospoke
- The implementation of the BADI is always filter dependant.
- In the properties tab of the infospoke enter your infospoke under the Filter specifications.
If you do not specify an InfoSpoke under Filter Specifications, then this implementation is valid for all InfoSpokes. This means that this is called up for all InfoSpokes during the extraction.
- Activate your class
- From your interface tab page, double click on the Transofrm Method and you will arrive in the class builder page
- Here you can enter the code
- To do a look up of the master data you have to write a code similar to the one I've given below. This is just an example for looking up material master.
IF FLT_VAL = 'Your infospoke'.
    T_DATA_IN[] = I_T_DATA_IN[].
Select zstd_cost from /bi0/pmaterial into table T_return
For all entries in T_DATA_IN
WHERE material = T_DATA_IN-material.
...Continue with your code.
Append output from T_return to your output E_T_DATA_OUT
- Activate your method. Return to the BAdI builder. Return to your InfoSpoke.
I hope this helps.
Thanks.

Similar Messages

  • How to upload the master data from legacy to SAP

    Hi Frends,
    how to upload the master data from legacy system to SAP System once the configuration is over.how to carry forward the open items of vendors and customers while uploading.who will upload functional consultantsor ABAPER.
    please clarify me
    Regards
    Sap Guru

    Hi ,
    use LSMW  or BDC for uploading Master & transaction data.
    This work is done by the Respective Functional team.
    Chandra

  • How to Lock the master data. R/3 Conflict ESS

    Dear Gurus,
    Please guide me how to lock the master data for a nos of days(say 7 days).
    Recently we had encountered an issue, related to ESS. While Uploading the Time data through t-code: PT60, our core team encountered a problem, that such and such employee number is locked.
    While checking, they identified it, system shown error against those employees, who are accessing their ESS. We check and came to know they are accessing the master data by changing their personal record i.e. address.
    Do we have any other provision to lock the master data without setting the control record to release for payroll.
    Please help .

    Create a custom transaction involving a custom views of table T7XSSSERSRV  with the following field for each service
    "V_T7XSSSERSRV-ISDISABLED"
    when HR wants to lock it, the will enter this table and check this field.
    this will disable the servcies in the front end.
    Once the 7 days are over, HR will uncheck this field. this will re-enable the services in the froint end.
    Hope this helps.

  • How to extract the historical data from R/3

    hi
    I am extracting data from R/3 through LO Extraction. client asked me to enhance the data source by adding field. i have enhanced the field and wrote exit to populate the data for that field.
    how to extract the historical data into BI for the enhanced field. already delta load is running in BI.
    regards

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • How to fill the master data in ecc

    Hi,
             0product_attr having zero records i ecc,how to fill the master data in ecc can you pls provide me the setps?
    Regrads,
    devi.

    Hi Devi,
    Loading data is ECC is not the part of BI Activities. Contact your functional consultant to load data. 
    BDC and LSMW both are used for loading data into SAP system.
    Or ask even directly they can create in ECC.  If it is for your testing purpose, it is better to ask them to create master in source system .
    Thanks
    BVR

  • How To Transfer the master data from R/3 to APO System

    hi this is mohamed .i m new to APO..
    can any one guide me the configuration for transferring the master datas to APO system.i m using scm 4.0 version..
    Thanks in advance
    Regards
    Mohamed.

    Welcome to SDN.
    refer this link
    creating integration model
    Give ur mail id i will send the document which i have.
    With regards.
    Maya.

  • How to check the master data records in using SE16 transaction?

    Hi,
    Can you please help me to check the master data records using SE16 transaction?
    Loaded master data for Characteristic and want to check the records in the master data tables.
    Thank you for your help!
    Lakshmi

    Hi!
    Welcome to SDN.
    you have to check the master data tables.
    soo in Se16 you have to select the appropriate master data table and view the data.
    following thread explains about masterdata tables
    MasterData table?
    regards
    mohan
    Message was edited by:
            Mohan Krishna

  • How to reflect the Master data changes from ECC to MDM

    Hi Experts,
    We need to reflect the master data changes of company code and cost center groups  from ECC to MDM.
    what methods available and which would be best in performance.
    kindly let me know if you need further information for better undrstanding.
    Thanks in anticipation
    looking forward to hear from you all,
    with regards,
    Chandhan.S

    Hi,
    You need to use change pointer to do this. Go to transaction SALE,
    expand MODELLING AND IMPLEMENTING...
    expand MASTER DATA DIST...
    expand REPLICATION OF MODIFIED DATA
    You may need to maintain distribution model in SALE.
    Cheers.
    Reward if useful

  • Reading the master data for an info object

    hi experts,
    I have a requirement, can i use the read master data option in transformations of a cube and store the text data related to material ??
    thanks and regards
    vijay
    Edited by: pedamarla on Apr 17, 2009 12:25 PM

    Hello Vijay,
    As suggested above, you wont be able to read master data text of an InfoObject in your transformation, if you need to achive this, in the transformation routine, for the InfoObject, where you need to feed the material text, you would need to read the text table of InfoObject 0MATERIAL.
    Please let me know if you need any more information.
    Regards,
    Pankaj

  • [CS3] How to get the geometry data relative to the page?

    Hello!
    I have the inner geometry data (IGeometry) of a page item.
    There is a routine ::TransformInnerPointToPasteboard() which calculates the points relative to the origin of the pasteboard.
    But I want the geometry data relative to the page's origin, which is to top-left of the page
    Can anybody help me?
    Thanks,
    Alois Blaimer

    Hi Alois,<br /><br />I would make it like that..<br /><br />//just get page from an item (Splineitem, IGraphicframe...)<br />InterfacePtr<IGeometry> itemGeo ( mItemRef, UseDefaultIID() );<br />InterfacePtr<IHierarchy> itemHier ( mItemRef, UseDefaultIID() );<br />mPageRef = UIDRef( mDB, ::GetOwnerPageUID(itemHier) );<br /><br />//get position of item and page in pasteboard coordinates..     <br />PMRect fItemRect = inGetStrokeBounds ( mItemRef  );<br />PMRect fPageRect = inGetStrokeBounds ( mPageRef  );<br />          <br />//just calculate what you want<br />PMRect fRelItemRect;<br />fRelItemRect.Top()   = fItemRect.Top()  - fPageRect.Top();<br />fRelItemRect.Left()  = fItemRect.Left() - fPageRect.Left();<br /><br />PMRect inGetStrokeBound ( UIDRef& ref ) {<br />PMRect itemRect = Utils<Facade::IGeometryFacade>()->GetItemBounds( ref,Transform::PasteboardCoordinates(), Geometry::PathBounds());<br />return itemRect;<br />}<br /><br />Greetings<br /><br />Michael Bauder

  • Master Data Service: how to remove the dirty data from master data service from a table using store procedure?

    hello, we need to remove the dirty data from MDS, but we found we can only do this from MDS web, and we need to do this by store procedure to make this process automatically. is there any easy method to remove the data from MDS automatically? thank.
    Warren

    Hi Warren,
    Assuming the dirty data is easily identifiable, all you need to do is use the staging process with import type of 5 (de-activate - i.e., soft delete) or import type of 6 (hard delete).
    Could give more details if I knew the version of MDS you are running (SQL 2008R2 or SQL 2012).
    Kind regards,
    M

  • How to extract HRM master data from R/3 into LDIF file?

    Recently I have been asked to provide an extract from our R/3 system
    with some Human Resource master data. The extract has to be in the LDIF
    format (LDAP data interchange format). It is needed to import into a
    DirX metahub solution from Siemens.
    How can this be done most easily?
    (does SAP provide tools, can XI do this?) or do we have to write a
    customized abap to do this?
    Thanks in advance
    Kind regards
    Alex Veen

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • How to extract Hierarchical Master data into flatfile

    Hello Experts,
    I have a requirement to extract Master data (Texts, Attr, Hierarchies)  of all Info Objects pertaining to a given Infocube ( say BoxA)
    I am aware that I can manually dump the data / use infospoke to get data into flatfile without hassle in case of texts/attributes.
    (1)But I doubt it for hierchical data. In case of hierarchical data I have to create an ABAP code to extract master data.
    Below is the link I got when I am searching SDN.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?quicklink=index&overridelayout=true
    But I didnt understand it the mechanism behind the extraction.
    Can anyone please give me a detailed explanation on how to do it or some other reference documents.
    Note: I am going to use that master data and import that again into different box ( say BoxB) and there is no connection between two systems (BoxA and BoxB).
    Thanks.
    Edited by: saptrain on Mar 18, 2010 12:24 AM
    Edited by: saptrain on Mar 18, 2010 12:32 AM
    Edited by: saptrain on Mar 18, 2010 4:18 AM

    Hi,
    You can use the Program Z_SAP_HIERARCHY_DOWNLOAD to download as flat file. Upload this flat file into another system.
    Regards
    Arnab

  • How to delete the master data of a Customer created in a SALES AREA?

    Hi All,
    I've deleted a Customer (master data) by t.code OBR2. But it exists again in its SALES AREA.
    Could anyone tell me how to delete it in the sales area too?
    Thanks

    Hi,
    I dont think you can delete a customer. you can market it for deletion in XD06.
    for deleting customer master data you have to setup an archiving project.
    Also check the similar thread
    doubt in obr2
    Hope it helps you.
    Regards,
    Sats.

  • How to restrict the Master data in HR reports .???

    Dear SAP-ABAP Experts .
    I am facing a problem regarding HR reports which is appearing from HR Master Data .
    we want to restrict that a employee whose payroll area is AB (say) can only able to access the out of reoprt for payroll area AB only He/She not allowed to access the data for anyother payroll area .
    What help is required from Basis side , regarding Role / Profile etc .?
    How do we restrict this thing .
    PLease help me out .
    Kind regards : rajneesh

    Hi ,
    i think u are using LDB's in ur Reports , so LDB will take care of Authorizations.
    Regards
    prabhu

Maybe you are looking for