To Replicate Material DATA from SAP R/3 to SAP-BW

Hello,
I need the Material Master data from SAP R/3 in SAP BW. The material Data is to to moved in Info object: 0MATERIAL. In SAP R/3 the data for material is stored in table:MARA. Which Business content needs to be activated in BW.
Please give the step by step method to push this data from R/3 to BW.
What are the pre-requisites for the same.
Thanks for the information.
Regards,
Sumita

Hi
If you want to get data for material...
go to R/3 Side and tcode  rsa5>find for 0material>you will get 0material_attr,0material_text and some hierarchy ..
Activate these data sources...
Goto BW side transaction RSA1-->replicate the data sources....
Go to Business content tab of the RSA1-->take grouping as 'in data flow before'
and select object type as info object in the left pane,find for 0material object.
drag and drop to right pane...click on install...now your 3 data sources(0material_attr and 0material_text and hierarchy will be assigned to 0material)..now you can create infopackage and load data(it is master data only)...
If you want to load transactional data,first of all you need to find out the cube and data sources to be loaded...once you find out your data sources,do same as above in r/3 side..and bw side take your required infocube as same as above...
If you want to get data specifically from mara table,Create a generic data source on table mara...
RSO2-->data source type transactional>give name and then click on create-->give description and application component to which this belongs to and give the name of the table(mara in table field) and then click on save...your generic data source is ready...go to rsa6 and there you can choose required fields for selection..
Then go to bw create infosource,cube and assign all these and load data...
Hope it helps
Thanks
Teja

Similar Messages

  • How to extract Inventory data from SAP R/3  system

    Hi friends How to extract Inventory data from SAP R/3  system? What are report we may expect from the Inventory?

    Hi,
    Inventory management
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20handle%20inventory%20management%20scenarios.pdf
    How to Handle Inventory Management Scenarios in BW (NW2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Loading of Cube
    •• ref.to page 18 in "Upgrade and Migration Aspects for BI in SAP NetWeaver 2004s" paper
    http://www.sapfinug.fi/downloads/2007/bi02/BI_upgrade_migration.pdf
    Non-Cumulative Values / Stock Handling
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
    Non-Cumulatives
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
    Here you will find all the Inventory Management BI Contents:
    http://help.sap.com/saphelp_nw70/helpdata/en/fb/64073c52619459e10000000a114084/frameset.htm
    2LIS_03_BX- Initial Stock/Material stock
    2LIS_03_BF - Material movements
    2LIS_03_UM - Revaluations/Find the price of the stock
    The first DataSource (2LIS_03_BX) is used to extract an opening stock balance on a
    detailed level (material, plant, storage location and so on). At this moment, the opening
    stock is the operative stock in the source system. "At this moment" is the point in time at
    which the statistical setup ran for DataSource 2LIS_03_BX. (This is because no
    documents are to be posted during this run and so the stock does not change during this
    run, as we will see below). It is not possible to choose a key date freely.
    The second DataSource (2LIS_03_BF) is used to extract the material movements into
    the BW system. This DataSource provides the data as material documents (MCMSEG
    structure).
    The third of the above DataSources (2LIS_03_UM) contains data from valuated
    revaluations in Financial Accounting (document BSEG). This data is required to update
    valuated stock changes for the calculated stock balance in the BW. This information is
    not required in many situations as it is often only the quantities that are of importance.
    This DataSource only describes financial accounting processes, not logistical ones. In
    other words, only the stock value is changed here, no changes are made to the
    quantities. Everything that is subsequently mentioned here about the upload sequence
    and compression regarding DataSource 2LIS_03_BF also applies to this DataSource.
    This means a detailed description is not required for the revaluation DataSource.
    http://help.sap.com/saphelp_bw32/helpdata/en/05/c69480c357354a8846cc61f7b6e085/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/ed/16c29a27db6e4d81a015be8673eb80/content.htm
    These are the standard data sources used for Inventory extraction.
    Hope this helps.
    Thanks,
    JituK

  • Question on the flow of the data from SAP R/3 to SAP BW

    hai bwgurus,
    I am learner of  sap bw ,i have small doubt in the extracting the data from sap r/3 to sap bw  i.e
    Extraction is always performed only on master data table not on transaction table , Am I right or wrong pls correct me with an detailed explanation ?
    EmailId:[email protected]
    Regards
    Raju

    Hi raju,
    Extraction is always on Masterdata and as well as transaction data.
    a transaction is event that ocurs on masters(like business example would be there will be a distributor who orders certain quantity of material so Disturbutor will be the companies sole distrubutor who comes under master and transaction data is the qty of materila he purchsed).All the transactions occur in SAP r/3 and that data will be replicated to BW for Data ware hosue and reporting.
    Reg
    Ram
    ""assign points if it helps""

  • Material transfer from SAP R/3 to SAP Business One is blocked

    Hello experts,
    Please I need your help for the following scenario:
    Our client has B1iSN and SAP R/3 in the headquarter company and B1if and SAP B1 in the subsidiary. The material transfer from SAP R/3 to SAP Business One failed and the following message is diplayed:
    Result message :
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: DI Error: (-2028) No matching records found (ODBC -2028)
    The Material database transfer is blocked due to message in status
    failure which block all other messages.
    We tried to restart the server (Business One and B1iSN) but it didnu2019t solve the issue.
    Any idea please? Thank you.

    Hi Nadia,
    did you check the WRITE-POLICY settings of your scenario?
    when reading the displayed DI Error message, it looks like B1iSN is trying to update an B1 item which does not exists.
    Please open SAP B1iSN Tools -> Development Tools -> Graphical scenario Design and select your Bizpackage, BizStep and BIUMETA.
    Open the WRITE-POLICY symbol and check the entries:
    Insert on Exist = error or fallback2U
    Update on Miss = fallback2I
    The Update Policy should stay to value regular.
    To activate changes of the WRITE-POLICY please deactivate, modify and reactivate your Business Process instance.
    If a WRITE-POLICY change has no effect, please check your data mapping (BIU) and especially the parameter <QueryParams>, which mustn't be filled for "insert/Add" operations into B1.
    Best regards
    Bastian

  • How to retrieve the data from SAP-BAPI by using VB Code

    Hi ,
    I am new to BAPI.
    V have created an application in Visual Basic with the following fields
    EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
    We have written the code for SAVING the data into SAP. Already we have
    constructed a table with the respective fields in SAP.
    For that we ourself created our own BAPI Structure / Function Group /
    Function Module/ Business Object - RELEASED related elements.
    1)Established the connection successfully.
    2)Stored the data into SAP Successfully and v r in need of
    3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
    Following is the code :
    'BAPI Structure  : ZBAPIEMP
    'Function Group  : ZBAPIEMP
    'Function Module : ZBAPI_EMP_CREATEFROMDATA
    'Business Object : ZBAPIEMP
    'Function Module : ZBAPI_EMP_GETLIST
    Dim bapictrl As Object
    Dim oconnection As Object
    Dim boEmp As Object
    Dim oZEmp_Header As Object
    Dim oImpStruct As Object
    Dim oExpStruct As Object
    Dim oreturn As Object
    Dim x As String
    Private Sub Form_Load()
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set oconnection = bapictrl.Connection
    oconnection.logon
    Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
    Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
    Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
    End Sub
    Private Sub cmdSave_Click()
        oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
        oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
        oZEmp_Header.Value("ADDR1") = txtAddr1.Text
        oZEmp_Header.Value("ADDR2") = txtAddr2.Text
        oZEmp_Header.Value("CITY") = txtCity.Text
        oZEmp_Header.Value("PHONE") = txtPhone.Text
        boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
        x = oreturn.Value("Message")
        If x = "" Then
            MsgBox "Transaction Completed!..."
        Else
            MsgBox x
        End If
    End Sub
    Private Sub cmdView_Click()
    End Sub
    COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.

    I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
    -Tim
    Option Compare Database
    Dim SAPLOGIN As Boolean
    Dim FunctionCtrl As Object
    Dim SapConnection As Object
    Sub SAPLOGOUT()
    On Error GoTo LogoutFehler
        SapConnection.logoff
        SAPLOGIN = False
    Exit Sub
    LogoutFehler:
        If Err.Number = 91 Then
            Exit Sub
        Else
            MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
        End If
    End Sub
    Function SAPLOG() As Boolean
    'Verbindungsobjekt setzen (Property von FunctionCtrl)
       Set FunctionCtrl = CreateObject("SAP.Functions")
       Set SapConnection = FunctionCtrl.Connection
    'Logon mit Initialwerten
       SapConnection.Client = "010"
       SapConnection.Language = "EN"
       SapConnection.System = "PR1"
       SapConnection.SystemNumber = "00"
       'SapConnection.Password = ""
       SapConnection.GroupName = "PR1"
       SapConnection.HostName = "168.9.25.120"
       SapConnection.MessageServer = "168.9.25.120"
         If SapConnection.Logon(0, False) <> True Then  'Logon mit Dialog
             Set SapConnection = Nothing
             DoCmd.Hourglass False
             MsgBox "No connection to SAP R/3 !"
             SAPLOGIN = False
             SAPLOG = False
             Exit Function
          End If
        SAPLOG = True
    End Function
    Function MatDescr(MatNr As String)
    Dim func1 As Object
    Dim row As Object, X As Integer, ErsteNr As String
    Dim DatensatzZähler As Long
    Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
        If Not SAPLOGIN Then
            If Not SAPLOG() Then
                MsgBox "No connection  to SAP !", 16
                SAPLOGOUT
                Exit Function
            End If
        End If
    ' Instanziieren des Function-Objektes
    Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
    ' Export-Paramter definieren
    func1.exports("MATNR") = MatNr
    func1.exports("SPRAS") = "EN"
    DoEvents
    If Not func1.call Then
        If func1.exception <> "" Then
            MsgBox "Communication Error with RFC " & func1.exception
        End If
        DoCmd.Hourglass False
        SAPLOGOUT
        Exit Function
    Else
      MatDescr = func1.imports("MAKTX")
    End If
    If MatDescr = "" Then
        MatDescr = "PART NO. NOT FOUND"
    End If
    End Function

  • Importing of material master from SAP to MDM

    Hi all
    we are working for a scenario where we need to import data from SAP R/3 to MDM using IDoc and XI.MDM already provides standard T codes for collective generation of IDocs for vendor and customer master( what i mean is single IDoc is generated for a selection of mastres) but no such option is there for material master.
    This means in the READY folder in case of material we will have say 1000s of xml files in case we are importing 1000 records from R3.
    What is the way out??It becomes difficult to import all files one by one.What are different options we have?
    regards-
    Ravi

    Hi Ravi,
    Go to the transaction MDM_CLNT_EXTR.
    Select Extraction Object:MATERIAL_EXTRACT
    Give Target sytem ( XI Sytem)(This should create with SALE transactio, ALE IDOC Settings)
    Distribution Mode:I
    Create a variant for this and save
    Come to the same transacction again, select the saved variant.
    Press ENTER button
    Click 'Start Extraction ' button.
    Then this program will send all the material from SAP R/3 system to the target system.
    Regards,
    Nikhil

  • Transfer Data from SAP system to non-SAP system

    Hi all,
    I want to send material no, site and price data from SAP system to non-SAP system. Would you tell me how can I do it
    Thanks
    Arif
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Oct 16, 2011 10:38 PM

    Hi,
    you can create the same...
    but normal practice what we do is create swc for each system so that it is easy to maintain and easy to extend in the future..
    or else follow some conventions if you are just starting the things..
    HTH
    Rajesh

  • Loading data from SAP BW standard table to master data text

    Hi,
         Can anyone please tell me the steps to load data from SAP BW standard table to master data text?
    How should the data source be created?
    Thanks in advance.

    Hi aparajith,
    Have you loaded the master data attr ?
    ECC Steps
    then load the attr text
    create the ztable using standard table using generic data source using table function.
    there you can select the which field you required
    check the data in RSA3
    BI STEPS: -
    check the source system connection.
    replicate the data source
    create of find the master data object for text (including attr)
    map the transformation
    run the info package
    create the DTP.
    check the data in target object.
    Thanks,
    Phani.

  • Want to fetch Material Data from R/3 to cFolders...

    <b>Hellow All,
       I want to fetch material data from R/3 to cfolders..Actually I need to use the skeliton of the material,I don't need to create actual material over here..How can I do that? Secondly,when we create a material inside cfiolder,where is it stored?Is it stored there in R/3 or it is stored somewhere else? If any one of you need more clarification,then please ask me..</b>

    I'm not aware of any SAP tools to automate the export to cfolders - perhaps you could get a developer to have a look at the available function modules for CFX* and see if there'e something you could build (e.g. using CFX_API_DOC_MATERIAL_WRITE - use the Webservicebrowser to find the other CFX* functions).
    However, I'm not sure what exactly are you trying to achieve and why? To have all (or a subset) of material records available and updated in cFolders at all times? How would you structure these in cFolders without making it difficult to browse?
    Also see Badri's comment about cFolders 4.0 (which I'm going to look into too - Thanks Badri, I'd missed that ) perhaps that also allows you to pull in materials 'on demand'??

  • How to pass data from SAP to JAVA ( very urgent )

    Hi Experts,
    I have worked in ABAP, but now I joined to a new company. Here in my project requirement is as below:
    1. Need to transfer data ( account information ) from SCRM to SAP ( Business partner) using JCO.
    2. Need to transfer material information from SAP to SCRM through JCO.
    for 1st one I got solution in java and JSP , but for 2nd requirement I am unable to get. Can u please help me in this. How to do this and if any code required for this can u send me to me. 
    Very urgent , please help me.
    Thanks in advance,
    HP.

    Hi,
    Follow the below link..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=crm+jco%27s&cat=sdn_all&start=11
    Award Points If Useful...

  • Upload data from SAP R/3 to BPC

    Hi Expert
    We need to upload data from SAP R/3 Payroll to BPC into to use in a butget process. We actived 0HR_PY_1 extractor and we have data at PCA area. My question is how i can to load this data into a appset in BCP.
    Please give any idea to do that.
    Thanks

    Hi,
    There are multiple ways of extracting data from ECC to BPC.
    If you have SAP BW implemented for your HR area then you can load data from SAP BW info provider to SAP BPC.
    check out the following thread.... all these things are already widely discussed in the forum.... all thats required is to search.....
    you have got to use Transformation and conversion files.....
    [How to load Transaction Data from BW to BPC]
    If SAP BW is not implemented then the other way is to extract the payroll data into Flat files and use the data manager package to upload the data.... you got to prepare transformation and conversion files for this as well.
    Directly from ECC is not possible as of now.....
    Regards,
    Surya Tamada.

  • How to get purchasing data from SAP R/3 to OWB (Oracle warehouse builder).

    Hi,
    My name is Pavan Tata. I work as a SAP BW developer. Here is the situation at my client place. Client decided to retire BW system and wants to replace with OWB(Oracle warehouse). In all this currently we have purhchasing application in BW production system and wants to move this application to OWB for the same type of reporting what they are getting currently.
    Here is my question:
    How to get purchasing data from SAP R/3 to OWB(Warehouse) with initial full loads and deltas mechanism in the same way as we do in BW.
    Please help on this, also send me any documentation about this if you have.
    Thanks,
    Pavan.

    Hello,
    here is a short report which converts S012 entries to strings with separator semicolon. Perhaps this will help you?
    Regards
    Walter Habich
    REPORT habitest2 LINE-SIZE 255.
    TYPES:
      strtab_t TYPE TABLE OF string.
    CONSTANTS:
      separator VALUE ';'.
    DATA:
      it_s012 LIKE s012 OCCURS 0,
      wa_s012 LIKE s012,
      strtab TYPE strtab_t,
      strele TYPE string.
    SELECT * FROM s012 INTO TABLE it_s012 UP TO 100 ROWS.
    PERFORM data_to_string
      TABLES
        strtab
      USING
        'S012'. "requires it_s012 and wa_s012
    LOOP AT strtab INTO strele.
      WRITE: / strele.
    ENDLOOP.
    *&      Form  data_to_string
    FORM data_to_string TABLES strtab TYPE strtab_t
                        USING  ittab TYPE any.
      DATA:
        h_zaehler TYPE i,
        line_str TYPE string,
        l_tabellenname(10) TYPE c,
        l_arbeitsbereichsname(10) TYPE c,
        h_string TYPE string,
        h_char(255) TYPE c.
      FIELD-SYMBOLS: <l_tabelle> TYPE ANY TABLE,
                     <l_arbeits> TYPE ANY,
                     <feldzeiger> TYPE ANY.
      CLEAR strtab.
      CONCATENATE 'IT_' ittab INTO l_tabellenname.
      ASSIGN (l_tabellenname) TO <l_tabelle>.
      CONCATENATE 'WA_' ittab INTO l_arbeitsbereichsname.
      ASSIGN (l_arbeitsbereichsname) TO <l_arbeits>.
      LOOP AT <l_tabelle> INTO <l_arbeits>.
        CLEAR: h_zaehler, line_str.
        line_str = ittab.
        DO.
          ADD 1 TO h_zaehler.
          ASSIGN COMPONENT h_zaehler OF
            STRUCTURE <l_arbeits> TO <feldzeiger>.
          IF sy-subrc <> 0. EXIT. ENDIF.
          WRITE <feldzeiger> TO h_char LEFT-JUSTIFIED.          "#EC *
          h_string = h_char.
          CONCATENATE line_str separator h_string INTO line_str.
        ENDDO.
        APPEND line_str TO strtab.
      ENDLOOP.
    ENDFORM.                    "data_to_string

  • How to extract PS data from sap r/3 to bw

    Hi,
    How to extract PS data from sap r/3 to bw
    PS data like plans,budget,accurals&commitmnets
    can any one help me regarding this..
    Thanks in Advance,
    Shankar.

    HI sankar,
    you can refer the belkow link to find the details on the relevant extractors and infoproviders
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/17/416d030524064cb2b8d58ffb306f3a/frameset.htm
    Regards,
    Sathya

  • Help Required -- Can we use SQL Query to READ data from SAP MDM Tables

    Hi All,
    Please help.........
    Can we use SQL Query to READ(No Creation/Updation/Deletion  just Read) Data from SAP MDM tables directly, without using MDM Syndicator.
    Or direct SQL access to SAP MDM tables is not possible. Only through MDM Syndicator can we export data.
    Thanks in Advance
    Regards

    All the tables you create in Repository comes under A2i_CM_Tables in Database named as your repository name. So the tables names are fields of table A2i_CM_Tables. Now i tried it but cant make it.
    Now, I dont think its possible to extract all fields in tables and there values using select query. May be pure sql guy can do that or not.
    But there is no relation of data extraction and syndicator. Data is viewed in Data Manager. and you can also store data in a file from DM also.
    BR,
    Alok

  • Erasing Sales data from SAP

    Hello everyone,
    We are going to give the SAP server to another company from inside our organization and we are 'cleaning' up the data they won't need.
    For instance, we will use transaction code OBR1 to clean up some credit movements, etc..
    I know that there are some transactions/programs to clean up the masterdata, but, is there any program I could exclude the following data from SAP:
    - Sales Orders
    - Deliveries
    - Invoices
    - VK12 registry as well
    Thanks for the help!
    Ricardo Sancio Lóra - Brazil

    Hi,
    Did you give a thought about Archiving of data? I guess by Archiving you can Archive all old data and keep in your record and can free SAP database.
    Thanks,
    Raja

Maybe you are looking for

  • What is default value of the javax.xml.transform.Transformer sys property?

    Hi all In my other thread "javax.xml.transform." last replied to on 17/04/05, I described that having & in my xml was causing TransformerExceptions when I attempted to apply a stylesheet to the xml. I've now deployed exactly the same xml, xsl and jav

  • How do I invoke an ActionListener on a page when the page initially loads?

    How do I invoke an ActionListener on a page when the page initially loads? Page 1: A user clicks on a h:commandButton and is navigated to Page 2. Page 2: When the page loads and goes through RESTORE_VIEW, APPLY_REQUESTS and RENDER_RESPONSE, I need to

  • How to Delete a Pattern? Plz Help.

    Hello: OS: Windows 8 64bit  Photoshop CC I made a few patterns and went to Edit > Define Pattern and named it. Then I made a new document window and made a shape and then used the Layer Styles to try out my new pattern as an overlay. The pattern was

  • SAPXPG error

    Hi I have a distributed system, with no gateway installed. I am trying to get DB13 to function, but I am getting an error from SAPXPG_DBDEST_<DBHOST> RFC. I am not sure what is the message "No storage allocation available" referring to?! This is the

  • How can I mirror all ports on CISCO 3750 switches to one Gigabyte port?

    Hi, I have a requirement to mirror all the ports on my 7 CISCO 3750 switches, which are in 3 separate stacks, to one single Gigabyte Ethernet port. Does anyone know how I can do that? Thanks in advance.