Mdm to sap r/3 by using xi

iam creating multiple metirials in mdm as frant end
tha com in to sap r3 system throught xi.
in xi i want to convert this multiple metirials in to deffarent idocs how can i do this ?
iam using file adapter for mdm to xi
and
idoc adapter for xi to sap r/3
how can i do this ?
pls help me
many  many thanks with advance

Srikanth,
Once you read the file into XI for example if you have abc,abd,xzc,sss as string then in this case you have to four idocs with abc, abd, xzc and sss. If this is correct then change the occurrence of idoc from 1..1 to 1..unbounded.
Then write a udf for creating idoc for each comma separator. So create a  Queue  udf with one argument as “input” and name the function as “AddNode”.
Import:  java.*;
Add this code:
String werks = input[0];
StringTokenizer st = new StringTokenizer(werks,",");
while(st.hasMoreTokens())
result.addValue(st.nextToken());
Then in mapping map like this:
input>udf>Idoc so with this function you have four idocs.
Regards,
---Satish

Similar Messages

  • Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's

    Hi all,
    I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve   all of the fields excluding the Lookup[Hierarchy] fields like-  FACILITY CODE  etc...
    please update me if anyone has any experience on this.
    Thanks and regards,
    Aastha Mehrotra

    Hi ,
    Any one worked in the MDM API to retrieve Hierarchy fields ???
    Regards,
    Arun.

  • Need help - MDM -XI - SAP R/3

    Hi,
    we have got requirment that is to transfer chart of accounts from MDM to SAP r/3 through XI. As i have not worked on MDM Side, can anybody suggest some points , how to do that.
    Regards,
    Raghu.

    Hi Gurus,
    I have a few questions regarding my XI and MDM installation ....
    1: Can we have XI and MDM installtion done on the same box using same
    hostname.??
    2. Can you please let me know as to what should be the minimum or a good
    server configuration for a MDM Installation.
    3.Also if someone can please provide the configuration steps for a
    successful MDM installation or can provide a helpful link where i can
    find the confiuration steps.
    4. Any realtime e.g of XI interfacing with MDM.
    I hope i get to hear from the gurus very soon .
    Thanks,
    Sanjay.

  • SAP MDM == PI== SAP ECC, IDOC posting

    Hi,
    We are integrating SAP ECC 6.0 with SAp MDM 7.1 SP04 using PI 7.1 as a interface. Scenario is SAP MDM ==>PI==> SAp ECC. I would be creating record in ECC and will be posted in SAp ECC through PI. We will be creating Basic Data (MARA), Plant level data (MARC), Sales Level data (MVKE), and Valuation level Data (MBEW) in MDM.  IDOC used is MATMAS05.
    Plant level data (MARC) will activate various views in Material master like Purchasing, Sales plant general data, MRP views and accounting views...right
    I donu2019t want to activate MRP view but need plant level data i.e. Plant and profit center to populate in MARC table. Means same Material Type but some Materials donu2019t have MRP view activated and some may have alongwith other plant related views.
    I tried creating record without passing MRP related fields but still IDOC failed saying MRP type is mandatory. (Which means it is activating MRP view)
    Do we have separate IDOC for MDM integration?? Do I need to enhance IDOC??
    Warm regards,
    Rc
    NOTE - This is possible while manual creation as will as through BAPI.

    Hi,
    Have you checked MDM71_Material_Content.pdf page no 20.
    3.3.2 Business Scenario: MDM710_Outbound.
    You also need MDM PI content to install and run this Scenario..
    Hope it helps if you go through MDM71_Material_Content.pdf
    As you said, I tried creating record without passing MRP related fields but still IDOC failed saying MRP type is mandatory
    Try  passing  any constant through PI Message Mapping to inbound IDOC (Receiving System, ECC)
    Thanks and Regards,
    Mandeep Saini

  • Is MDM mandatory if we plan to use Catalog in SRM 7.0

    Dear SAP gurus,
    We are implementing SRM 7 EHP 2. Is it mandatory for use to use MDM server if we want to use catalog functionality in SRM?
    Please enlight me...
    Best regards,
    John

    Hi,
    As the other people specified MDM is mandatory in SRM 7.0, refer the bellow link which provide more info on MDM.
    http://wiki.sdn.sap.com/wiki/display/SMSETUP/MaintenanceofProductintheSystemLandscape
    Regards,
    Goutam Kolluru.

  • Read data from MDM For Lookup and Flat table using MDM ABAP API

    Hi,
    I have requriment to read data from MDM from FLAT and Lookup table using MDM ABAP API. My design  is like this ,
    I have one ITEMS (Main table in MDM) and inside that i have one Lookup flat table ITEM_TYPE , my requriment is to read Item number and its related Item type.
    From ABAP.
    Please help if any body has any idea.
    Regards,
    Shyam

    HI Guys,
    I found my solution by myself. Below is the solution , hope this will help others:-
    Retrieve data from MDM  using MDM ABAP API.
    Step- 1. Create structure in SAP with the same name as that of MDM field code for MDM Main table.
    Step-2. Create another structure in SAP having all  lookup fields of MDM , fieldname in ECC must be same as that of MDM field
    code.
    Step-3.Create structure in SAP for  individual lookup field(Single Field only)   with the same name as MDM Field code.
    Step-4.
    DATA: IT_QUERY            TYPE STANDARD TABLE OF MDM_QUERY,  "MDM_QUERY_TABLE,
          WA_QUERY            TYPE  MDM_QUERY,
          WA_CDT_TEXT         TYPE  MDM_CDT_TEXT,
          IT_RESULT_SET_KEY   TYPE  MDM_SEARCH_RESULT_TABLE,
          WA_RESULT_SET_KEY   TYPE  MDM_SEARCH_RESULT,
          WA_STRING           TYPE  STRING.
    DATA:<Internal table> TYPE STANDARD TABLE OF <SAP Str Having all LOOKup Fields>    
    DATA: :<Internal table>TYPE STANDARD TABLE OF <SAP Str one LOOKup field>,
         <Workarea> LIKE LINE OF :<Internal table>.
    *PASS LOGICAL OBJECT NAME.
    V_LOG_OBJECT_NAME = 'Logical object name defined in Customization'.
    Define logon language, country & region for server
    WA_LANGUAGE-LANGUAGE = 'eng'.
    WA_LANGUAGE-COUNTRY = 'US'.
    WA_LANGUAGE-REGION = 'USA'.
    TRY.
        CREATE OBJECT LR_API
          EXPORTING
            IV_LOG_OBJECT_NAME = V_LOG_OBJECT_NAME.
    ENDTRY.
    CONNECT to repository. Apply particular logon language info
    CALL METHOD LR_API->MO_ACCESSOR->CONNECT
      EXPORTING
        IS_REPOSITORY_LANGUAGE = WA_LANGUAGE.
    *NOW PASS ITEM NO AND GET KEY FROM MDM.
    CLEAR WA_QUERY.
    WA_QUERY-PARAMETER_CODE  = <MDM FIELD CODE>. "Field code
    WA_QUERY-OPERATOR        = 'EQ'. "Contains
    WA_QUERY-DIMENSION_TYPE  = 1. "Field search
    WA_QUERY-CONSTRAINT_TYPE = 8. "Text search
    WA_STRING                = <Field Value>.
    GET REFERENCE OF WA_STRING INTO WA_QUERY-VALUE_LOW.
    APPEND WA_QUERY TO IT_QUERY.
    CLEAR WA_QUERY.
    *PASS ITEM NUMBER AND GET RELATED KEY FROM MDM.
    TRY.
        CALL METHOD LR_API->MO_CORE_SERVICE->QUERY
          EXPORTING
            IV_OBJECT_TYPE_CODE = <MDM Main Table>
            IT_QUERY            = IT_QUERY
          IMPORTING
            ET_RESULT_SET       = IT_RESULT_SET_KEY.
      CATCH CX_MDM_COMMUNICATION_FAILURE .
      CATCH CX_MDM_KERNEL .
      CATCH CX_MDM_NOT_SUPPORTED .
      CATCH CX_MDM_USAGE_ERROR .
      CATCH CX_MDM_PROVIDER .
      CATCH CX_MDM_SERVER_RC_CODE .
    ENDTRY.
    Pass record id into keys.
    LOOP AT IT_RESULT_SET_KEY INTO WA_RESULT_SET_KEY.
      WA_KEYS = WA_RESULT_SET_KEY-RECORD_IDS.
    ENDLOOP.
    WA_RESULT_SET_DEFINITION-FIELD_NAME = <Look field name>.
    APPEND WA_RESULT_SET_DEFINITION TO IT_RESULT_SET_DEFINITION.
    CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE
      EXPORTING
        IV_OBJECT_TYPE_CODE      = <MDM Main Table>
        IT_RESULT_SET_DEFINITION = IT_RESULT_SET_DEFINITION
        IT_KEYS                  = WA_KEYS
      IMPORTING
        ET_RESULT_SET            = IT_RESULT_SET.
    LOOP AT IT_RESULT_SET INTO
            WA_RESULT_SET.
    *PASS KEYS INTO MAIN TABLE TO GET Structure for FALT or Look up Table
      TRY.
          CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
            EXPORTING
              IV_OBJECT_TYPE_CODE = <MDM Main Table>
              IT_KEYS             = WA_KEYS
            IMPORTING
              ET_DDIC_STRUCTURE =<SAP Strct having all Look up fileds of MDM>         
      ENDTRY.
      LOOP AT <SAP Strct having all Look up fileds of MDM> INTO <Work area>.
        CLEAR WA_KEYS.
        APPEND <Work area>-field name TO WA_KEYS.
        CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
          EXPORTING
            IV_OBJECT_TYPE_CODE = <MDM Lookup table name>
            IT_KEYS             = WA_KEYS
          IMPORTING
            ET_DDIC_STRUCTURE   = <Single Structure in SAP For Lookup field>.
        READ TABLE <Single Structure in SAP For Lookup field>. INTO <Work Area> INDEX 1.
    Here you can get the value of realted lookup fields associated with main table data.
      ENDLOOP.
    ENDLOOP.
    LR_API->MO_ACCESSOR->DISCONNECT( ).
    Edited by: Shyam Babu Sah on Nov 24, 2009 4:52 AM

  • How to load data from SAP MDM to SAP BI/BW

    Hi Guys,
    I want to load master data from SAP MDM to SAP BI and would appreciate if some could provide me the step by step guide do the same. I found one of the document which talks about using generic DataSource "0MDM_Generic" but i dont find this datasource in BI content in my SAP BI 7.0 System.
    Please let me know if some has already worked on this scenario and have any document.
    Thanks,
    Amit

    Hi,
    Pls chk this links;
    MDM-BI Integration part 1 -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03b4c55-e63d-2b10-e2a2-f8310c8e795f
    MDM-BI Integration part 2 -
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a6985b-fbbd-2b10-76a5-de0ed43f1a96
    MDM-BI Integration part 3 -
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f08b9892-fbbd-2b10-4093-b2c21dfb90a7
    Regards,
    CSM Reddy

  • Extracting a Report from SAP Spool into a Useful Excel 2010 Format

    Hi All,
    Extracting a Report from SAP Spool into a Useful Excel 2010 Format.  I'm currently running the following report in SAP  and would like the
    ability to set this report up as a recurring report running weekly and
    subsequently access this report in a useable Excel 2010 format without
    much data manipulation.  Can you please assist me.  Below, I've tried to
    provide an example of what I'm encountering.   Thanks, beforehand for
    your assistance.
    Here goes:
    Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
    Inventory
    Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter  the
    desired company code and period I want thre report to run for and update
    the currency, if necessary. Having input my desired criteria, I believe
    I can either execute immediately, run in the background, preset to run
    at date in the future. For this example let's just execute, immediately.
    This is where the difference originates. Given, I run this report
    immediately, I'm able to simply extract the result to Excel via the list
    selection noted in the tool bar below.  The result is a data friendly
    excel 2007  report is automatically generated.
    Export to Excel via list:
    Select save and Excel 2007 opens automatically:
    That said, the method outlined above works perfectly fine if you want
    the report immediately.  Now let go back and run the exact same report
    with exceptoin of running it in the background and having to retrieve it
    from the Spool (SP01) uisng my user ID.  Given the report generated in
    the background,  I would now access the report via the spool and make
    the following selections:
    SP01 + execute to see my report
    I would hit the sunglasses to see the actual report, then want to
    extract this report to Excel by selecting the export option.
    I would at this point select spreadsheet and be given an option to save
    the spreadsheet to local file. However, upon trying to open the
    spreadsheet I will receive an error messageindicating that the format is
    different than that which the file I am currently trying to open it
    with.  I'm currently running Excel 2010 on my computer.  The currency
    format and other issues arrise with this extract.  Please help. 
    Thanks,
    Chowadary.

    Update to Latest GUI.
    Use   List -> Export -> Spreadsheet  to get the output to excel.
    I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
    Check your fieldcatog for header lengths.
    -Satya

  • What are the book names for MDM from SAP Education academy

    Hi SAP gurus,
    Can any one tell the name of the books for MDM from SAP Education academy.
    For example in SAP MM (material management) - it is TAMM40(part1,part2,part3,paret4...etc)
    So what are the names of the books for MDM from SAP Education academy. Just name and other deails enough.
    Thanks in advance.
    Vam C

    Hi Vamsay,
    I am sending you some books names of SAP MDM.
    1. SAP MDM Frequently Asked Questions (English)
    (Master Data Management Certification Sap Mdm Faq - ISBN: 9781603320153)
    Price range: $42.00 - $54.95 from 4 Sellers
    Publisher: Equity Pr
    Format: Paperback
    2. Build Foundations for Continual Improvements with SAP MDM
    Enterprise Data Management with SAP NetWeaver MDM
    Andrew LeBlanc
    3. English Edition
    Auszug aus:
    SAP NetWeaver Master Data Management
    ISBN 978-1-59229-131-1
    lieferbar –  EUR 69,95 • CHF 115,00
    [In den Warenkorb] [Auf den Merkzettel]
    Please rewrds if found helpful.
    Regards,
    Alok

  • Installing SAP GUI on windows using Bootcamp on (MACBook)

    HI SDN,
    I am looking forward to buy MACBook.
    Please provide your suggestions on installing SAP GUI on windows using Bootcamp on MACBook?
    Are they any issues installing SAP GUI on Mac machine on Windows
    OS?
    Running Bex Queries, any excel integration issues while running BEx reports on Mac machine with windows Bootcamp?
    I really appreciate if you can forward any related information .
    Thanks
    (Full points will be awarded for helpfull answers)

    Hi,
    [SAP Mac Users Forum|iPhone & iPad Application Development;  is right place for this question

  • How to upload data into SAP BW Info Objects using SAP XI

    Hi,
    I need to upload master and hierarchy data into SAP BW Info Objects using SAP XI as EAI.
    Can anyone suggest me the best solution to do it.
    Thanks in Advance,
    Volker.

    Hi! Have you not checked the BW-XI Integration document? It is available on the main page of the SDN section for XI. Almost all the steps for the integration are there...

  • Transfer the data from MDM to SAP R/3

    Hi,
    I have to transfer the material master data from MDM to R/3.I have syndicated the data and put the file in the .xsd format in the ready folder of the repository.Now I have to transfer this file to R/3 , one way is through XI(XI will pick the file from the current location and an IDOC from there will pass this data to R/3. The other way I was thinking a UNIX script can do it. The UNIX script will run and pick the data from ready folder and pass it to R/3.If somebody of you has done similar thing kindly reply.
    Regards,
    Ashutosh

    The best method of integrating MDM with R/3 is to use XI (PI).  There are a couple of reasons for this, but most importantly you can use the IDoc adapter to turn your XML message into an IDoc and send it to R/3.  This has a lot of advantages because IDocs are very easy to monitor, troubleshoot, and reprocess in the event of an error.  IDocs are definitely the preferred method of integration with R/3, therefore using PI is a very good idea.  A few years back I wrote a blog about how to configure XI for an interface between MDM and R/3, perhaps it will help you:
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario
    While it is possible to use a batch script, it's not recommended.  You would still have to write a load program (LSMW or some other type of load program) on the R/3 side.  Monitoring and troubleshooting is going to be more cumbersome, because you also have to monitor the message flow on the UNIX system.  If PI is serving as the middleware it does the end-to-end monitoring for you.

  • Transfer the Pur Order Info through BAPI's between SAP R/3 Systems Using XI

    How to Create a Purchase Order for the Vendor and transfer this data through BAPI's between SAP R/3 Systems Using "Exchange Infrastructure(XI)".
    Please kindly let me know the procedure for creating BAPI's and how to transfer this information between SAP R/3 systems. Please kindly mention the NAVIGATION for this scenario.

    Hi Revathi,
    If you want to do an IDOC to IDOC scenario, then the Points to be noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. You do not need a sender IDOC adapter, and no sender agreement, but a receiver IDOC adapter and a receiver agreement is needed.
    IDOC -> File scenario ref:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    File -> IDOC ->
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    (It concentrates on XSLT mapping but also gives an idea about the configuration part. Do go thru that, it might help you.)
    Apart from this if you need any info on how to configure your ALE, partnet profile,etc  drop me a mail, I have excellent tutors that can help you in the same.
    Regards,
    Bhavesh

  • Variant Creation in SAP BI To be used information broadcasting

    Dear Friends,
                            I want to create a VARIANT in SAP BI 7.0 Which is to be used in information broadcasting. I found One Document Named as "Variant Creation In SAP BI to be used in Information Broadcasting.pdf",in SDN Forums. I Couldn't able to Understand the Given Steps in it.
      Could any one of You Please send me the Procedure how to create a Variant.I should also see the "Determine from Variants" button in Work book precalculation Tab,which i am not able to see it currently under "Workbook Precalculation".
    Waiting for ur reply.
    Thanks in advance
    Regards
    Singam Bhaskar Reddy

    Hi,
    Even I have gone through the SDN document. It is clearly explained step by step. If you follow the same document thoroughly you will be able to see Determine From Variants radio button properly.
    Try to understand the document.....you will get the solution.
    Regards,
    Suman

  • In internal sessions sap memory will not use {export to...} statment

    SAP memory does not use "Export tou2026" statement for internal sessions

    hi,
    ABAP memory
    Within the same internal session
    SAP memory
    Across internal sessions
    IN SAP MEMORY
    SET PARAMETER ID <pid> FIELD <f>.-     Writes the contents of the field f to the global SAP memory under the key pid . If the key already contains a value, it is overwritten. 
    GET PARAMETER ID <pid> FIELD <f>.-     Transfers the value stored under the key pid from the global user-related SAP memory to the field f .
    IN ABAP memory
    EXPORT obj1 ... objn TO MEMORY.
    IMPORT f itab FROM MEMORY.
    hope it may help you.
    Thanks
    Sachin

Maybe you are looking for

  • Re: Portege R700-184 - Built in microphone not working

    I can't seem to get the built in microphone to work. However, it works fine with an external usb microphone. Have tried changing the settings in the control panel called 'Sound' where I click on the 'Recording Tab'. 'Microphone' shows a green tick as

  • Can't view site on Windows

    Hi Everyone, I created a website: <Edited by Moderator> and it was working fine for a while on both Mac and PC. Then, all of a sudden on PCs, the text would show up but there would be no background image. This happened right after I replaced the .hta

  • When a web site page can't be found why does it go to yahoo with a message

    I will be on a web site doesn't matter which one and if I click to go to the next page, and it can't find it yahoo comes up with some crap I hate yahoo and if I can't fix this I will delete firefox and use something else

  • To set a default role according to the user.

    Hi, I would like to set different default roles according to users. For example, we have the following prerequisites: 1) 3 roles: roleA | roleB | roleC (in this order). 2) 3 differents users: user1, user2, user3. So, if I log-in with the user1, the d

  • Differential VS Cumulative

    In comparison of differential and cumulative, cumulative uses more storage space but faster recovery as differential might require more than one level in order for recovery to be completed; where cumulative only required the latest level of backupset