Data Trasfer with IDoc

Hi,
   Can anybody please provide the document and/or more information on R/3 to APO data transfer using IDOC and XI. R/3 version is 3.0 and CIF is not possible.
Thanks,
Sanju

Hi Sanjay,
since APO is based on BW technology, it is possible to transfer R/3 data using BAPI via ALE/RFC to APO if CIF is not available.
there are lots of business content around SCM, please have a look, maybe it is helpful:
http://help.sap.com/saphelp_nw04/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
Lilly

Similar Messages

  • Data transfer with IDoc

    Hi All,
    Can any one please explain me about "Data transfer with IDoc".

    Dear Prasad,
    Using the IDoc option , you will not have a staging in BW like PSA were you can do corrections if required,
    We can use IDOC option when we are very sure that data we are loading is error free,
    and in older versions we are forced to use only IDOC option when doing hierarchy loads and its ruled out now,
    Data transfer with IDoc
    The data is packed into IDocs by the source system and sent to the Business Information Warehouse. In BW your data is saved persistently and intransparently in the IDoc store. From there the IDocs can be updated in the IDocs manually or automatically.
    It is used for hierarchies load Limitations with IDoc is:
    transfer structure must not have more than 1000 Bytes in the character format.
    If it is a critical data we can use IDocs it can't be modified here. In case the load fails we need to load data from source system.
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/724d3caa70ea6fe10000000a114084/frameset.htm
    Hope this helps u..
    Best Regards,
    VVenkat.
    Edited by: Venkata Narayana Jakkampudi on Dec 23, 2008 12:03 PM

  • Add new bank account in master data client with idoc DEBMAS.

    Hi friends,
    I have an issue.
    I am trying to add new bank account in master data client with idoc DEBMAS.
    But when I submit, then just overwrite the bank data but not add.
    I try playing with MSGFN code with value '009' or '004' but nothing done.
    Someone has met this issue ?
    Thanks for your answers.

    Thanks,
    But what do you mean ? where can I find this path , in img ?
    Fields->Set Qualified Update ->Append Option
    I think we have to use another idoc :
    BUPA_C_BANKDETAIL_ADD01 SAP BP,  BAPI: Add Bank Details
    I'll try...

  • Posting Data Issue with IDOC Type : COND_A03

    Friends,
    I'm posting the data from Middleware(Message Broker) to SAP using the IDOC Type : COND_A03 with Message Type : COND_A.
    For this IDOC,I'm populating the below Segment's data.
    Segement :E1KOMG:
    Fields:
    KVEWE,KOTABNR,KAPPL ,KSCHL,VAKEY ,KONDA,MATNR .
    Segement :E1KONH:
    Fields:
    KNUMH,DATAB,DATBI
    Segement :E1KONP:
    Fields:
    KSCHL,STFKZ,KSTBM,KSTBW,KRECH ,KBETR,KONWA,KPEIN,KUMZA,KUMNE,MXWRT,GKWRT,ZAEHK_IND ,KBRUE,VALTG,
    VALDT,ANZAUF,MIKBAS,MXKBAS,KOMXWRT,KLF_STG,KLF_KAL
    Problem:  In SAP, IDOC's are processing successfully with status 53 and updating the tables : KONH,KONP  successfully.
    But Table A957 which is passing against KOTABNR field is not pupulating with the Materials passing.
    Can anyone please guide me why the Materials are not populating in the table : A957.
    Regards,
    Sreeram

    Hi,
    I guess there might be some issue with VAKEY population.
    All the key fields in A957 should be concated properly while populating VAKEY. (Leading zeros must be prefixed to the material)
    Regards,
    Ganga

  • How to edit data from an IDOC with errors and reprocess it

    Hi,
    We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3).
    Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be processed directly.
    We had seen posts like:
    But we wanna to do it with no ABAP editor.
    ¿Can we change the data from the IDOC in other way (transaction) and reprocess it?
    We tried with /WE05, pushing EDIT button, but can't edit the data from the IDOC.
    Thanks in advance for your help
    Regards,
    Federico Martin

    Keep Looking at forums i founded:
    change idoc data
    To change the Inbound IDoc,
    1)Go to WE05/WE02, enter the Inbound IDoc number and Execute.
    2)Double Click on the segment (Page Icon) where you want to change the Data.
    3)In the Screen 'Display data record for IDoc' , Go to menu 'Data record' and click on 'Display - > Change'. Then it display a popup information 'Changes to the IDoc are written to the database' , then press enter .
    To Process the Edited Inbound Idoc , execute the program 'RBDAGAIE' in SE38 and enter the IDoc number.
    Thanks
    Sekhar
    AND
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    Also if you have something to say about it will be appreciated
    thanks

  • Export Material and Price Data with IDOC or BAPI?

    Hi SAP Experts,
    I found two ways to implement a Master Material and Price Export to an external system, first with IDOC MATMAS01 and Idoc COND_A with an enhancement VKOE0001 PRICING CONDITION.
    Here I don't know how I can match a material with tht sales price?
    And the second one with the BAPI. But how I create a BAPI for Material and Sales Price?
    And which is the better way?
    Thanks and Bye,
    Frederic

    Amit,
    it seems that the FU BAPI_MATERIAL_SAVEDATA is only for Create and Change Material Master Data. Is that correct?
    I've following Use Case, I will send e.g. one Material with the sales price to an external system (later all material with their sales price). And for that case I'm searching for a solution. Can you bring me on the correct way to implement something like that.
    I would be very pleased if you can help me.
    Bye,
    Frederic

  • Configuration data on sales order not update with idoc ORDERS05

    Hi All,
    I'm trying to post Inbound ORDERS05 to create a sales order with configuration data. In particular i'm using the messsage type ORDERS, process code J3AA (identification J_4A_IDOC_INPUT_ORDERS).
    On the IDOC tree, segments E1CUREF,E1CUCFG,E1CUINS,E1CUVAL are correctly valorized.
    It is creating the order but not updating the configuration data, can someone please let me know if there are other fields/Segments that need to be populated in order to get the config updated in the sales order ?
    Thanks
    Piergiorgio

    Hi ,
    I am facing similar issue ( Configuring data in orders idoc )
    Please give  your inputs if your successfully
    Thanks,
    Raghu..

  • Message with IDOC number, created by LSMW, missing in job log in SM37

    Hi gurus,
    We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
    A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
    This is what it looks like in the dev system:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW   509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW   502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW   513    I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')       /SAPDMC/LSMW  516    I
    And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW  509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW  502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW  513    I
    File 'XXX.lsmw.conv' exists                                                                              /SAPDMC/LSMW   502   I
    IDoc '0000000002489289' added                                                                      E0                         097   S
    File 'XXX.lsmw.conv' transferred for IDoc generation                                      /SAPDMC/LSMW   812   I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')      /SAPDMC/LSMW   516   I
    In both cases the IDOC is created and update works fine.
    My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
    I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
    Regards,
    Lisbeth

    Hi Arun,
    If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
    Regards,
    John.

  • How to find out the table, data for the IDOCS is pulled from?

    HI
    The ZFPH9999397 VENDOR FEED job runs the RBDMIDOC program with the variant Z9999_397.  This creates IDOCS that are sent out and eventually wind up in IMOS.
    The IDOC Type is CREMAS.
    Can you tell me which table or tables the data for these IDOCS is pulled from?
    Or tell me the procedure to find out the table name.
    Thanks,
    das.
    Edited by: sathish dasari on Dec 10, 2009 11:54 AM

    You can use Transp. Table      TBD62 .
    enter Message Type                      CREMAS
    you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table      BDCP.

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys!
    I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
    REALLY strange...
    Any suggestions?
    IDX2 metadata loaded.. I think, all needed settings are done.
    Question - do I need to set up LS in XI ABAP part?
    Thanx, Olian!
    P.

    Hi Olian ,
    just check if u have followed all the following steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name
    Regards,
    AshwinM

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.

    convinient is the method that you can handle.
    but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
    In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
    the data can be in one source file, but need then to be maintained in a certain way
    Example1: all data in 1 structure
    GD1 - CC1 - SO1
    GD1 - CC2 - SO2
    GD1 - CC2 - SO3
    in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
    Example2: all data in 3 sturcures but one file
    GD1
    .CC1
    .CC2
    ..SO1
    ..SO2
    ..SO3
    Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
    FILE General data:
    GD1
    GD2
    GD3
    file Compamy code data:
    CC1
    CC2
    CC3
    file Sales org data:
    SO1
    SO2
    SO3
    LSMW is flexible and can handle each of this scenarios, are you flexible too?

  • Receive data for same IDOC from 2 different scenarios

    Hello,
    I have already scenario that received xml file and transfer data to IDOC (The IDOC is purchase order).
    This scenario works fine.
    Now I try to add more scenarios. This scenario takes files from other xml source work with new mapping and transfer data to same IDOC.
    The problem is in integration builder u2013
    When I try to create receiver agreement the message the message "Object already exists" appear.
    How can I solve this issue?
    Elad

    Hi Elad,
    +Now I try to add more scenarios. This scenario takes files from other xml source work with new mapping and transfer data to same IDOC.
    The problem is in integration builder u2013
    When I try to create receiver agreement the message the message "Object already exists" appear.+
    Does this mean that the other xml source is from the same party? If yes, then that party is already configured in your receiver agreement as explained by the error "Object already exists".
    If the xml source is from a different party. What you can do is to delete the existing receiver determination. Make a new one and replace the party with an "*", in that way, increasing the parties would only consist of one receiver determination for that particular interface. You would only have to add sender and receiver agreements.
    Hope this helps,

  • To write data as an IDOC for EDI 858 (bill of lading) through reports.

    Hey everybody,
    I need serious help about this. I am back to my question that I asked before. I don't understand still how to write out the data as an IDOC when we are not doing EDI through a VAN but dumping the file onto both application and presentation server and then taking the file from there and manually uploading the file to the website. So it is basically a flat file created where the data is written out in the same way as it would be done when an IDOC is generated. In this there is no XML data conversion involved or anything but writing out data as an IDOC for an EDI 858.
    Please somebody explain and if possible give me some bit of code or link to where I can find something similar that would help.
    Thanks,
    Minal

    Hey thanks for all ur help..
    Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...
    See we have only CRM and no R/3 here...right
    Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...
    Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....
    So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?
    Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will
    1. define the RFC
    2. define the Logical system
    3. define the receiver port
    4. define the partner profile
    5. create the site and assign it to the interface type.
    But how will I map the Bdocs to the idoc ...can u please help me with this?
    Priyanka

  • How to start with Idocs??

    Hi,
    I am a novice in sap. Can you please guide me how to start working with IDocs?? I know the basics about ale, edi, message type, idoc type and transactions associated with it.
    Essentially, Can I have sample problems to practice IDocs so that i could become confident in this topic??? Plz. give hints as well...... to avoid getting bothered with further queries.
    Thanks
    Gaurav.

    Hi Gaurav,
    Check this info.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    how to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    Please check this PDF documents for ALE and IDoc.
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Also check this links for additional information.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Create Info record with IDOC

    Hi gurus,
    I would like to create info records from external system through IDOC. Can someone help me with this?
    Regards,
    Marina

    Thanks for the fast answer.
    We are trying to make Info record with IDOC INFREC (function module idoc_input_infrec). We create successfully info record, but the problem is that the NETPRICE = 0 and also VALID TO DATE = 31129999 (because no price).
    Please, if you need some more details, let me know.
    Thanks!
    Marina

Maybe you are looking for

  • How to load flat file in existing Architecture.

    Hi everyone! There is an existing architecture that I have to upload data into.  There is a cube on top, followed below by an ODS and its update rules to the cube, followed below by an Infosource and its corresponding update rule to the ODS above it,

  • Temp folder in memory card

    when i connect my memory card to pc. I found a 'temp' folder in it while i dont see in using the phone. What is this and is is bad to delete it? Solved! Go to Solution.

  • My i phone 4 very slow when downloading  from wifi..

    please help me out what should i do my ip 4 very slow when downloding  with wifi....

  • Production Order to storage bin link

    Hi Experts, I have to develop a report where the client wants to track a FG (Batch managed) based on production order. One of the columns is storage bin as well. Is there a link to production order no and storage bins in SAP tables. Please suggest. R

  • 'processing file' for downloaded items.

    I have been trying to download a TV show for a couple of days now and all it keeps saying is 'processing file'. Why isn't it downloading completely?