HELP WITH IDOCS

I need to build idocs from external systems to SAP, how can I do that?  Do I have to use structures EDIDC and EDIDD? What fields should I fill and how?
Does some one has somekind of manual that describe basic idocs and how to use them?
Thanks in advance
Christian

You can check the IDOC type and it's structure .
check out Xns WE30/31 ...Also you can use Xn WE64 to get the structure of IDOC type.
You can use test tool WE19 to manually create a test IDOC ( outbound with file port ) just to get the IDOC in a file.
And then create you inbound file based on the generated outbound idoc file. The direction and other control data will change.
Cheers,
Ram

Similar Messages

  • Help with idoc-file scenario

    Hello,
    I am doing IDOC - File scenario.
    (source is DEBMAS and reciever end, there is flat DT with no heirarchies as of now. )
    The requirement is that  if the segment at the source side has multiple lines of " sold to party " values, then customer bill should also have multiple lines with account number different for each line. Can I acheive this using "split by value"?  if yes please help me.
    Regards,
    Haritha

    Use the sold-to-party node to create the row node of the file...if some of the elements in the  sold to party node have to duplicated/repeated use the one as many function.

  • Help with IDOC acknowledgement

    Hi,
    We are using version 4.6.c to interface SAP to a non-SAP system. When we are sending the IDOC to the RFC destination, the system says that the "Data passed to port OK". However, our non-SAP partner says that they have not received any data.
    My question here is what and how to setup in order to monitor status of the idocs we have sent to our partner.
    Any assistance is very much appreciated and will be rewarded with points.
    Thanks.
    Kind Regards,
    Darwin V. Cabrillas

    Hi,
    It seemed that you have a similar scenario as ours. How then should I know that our Program ID is wrong? Do we need to activate it or set it up somewhere??
    Also, I tried running RBDSTATE. I put in the logical system and dates as my parameters. But the system prompts only "No data relevant to audit were selected.". What do I need to setup in order for ALEAUD to work?
    In the Parter Profiles (WE20), I have added ALEAUD as an outbound message type and identified the RFC Port. Is this settings enough?
    Thanks.
    Kind Regards,
    Darwin

  • Help With IDOC Change Pointers

    Hi guys,
    I'm trying an IDOC to file scenario. The scenario is working fine. I have activated change pointers for my IDOC. My understanding was that if there will be any change in my master tables, then because of the activated change pointers, the IDOC will be generated automatically. But in my case, for eg if i'm inserting any new record say Vendor data, no new IDOC is generated. For sending IDOC i have to use bd14 to send my IDOC explicitly.
    Is my idea of change pointers wrong???Or am i missing some setting, so that the IDOC should be generated automatically???
    Please help me on this guys...
    Regards
    Varun

    <b>Automatic generation of IDOC when we change the MASTER DATA:</b>
    <b>Change Pointers:</b>
    Change documents are working based on change document technique which
    tracks changes made to the key documents (Material Master, Customer Master,
    Vendor Master.Etc) in SAP.
    Changes made to the keydocuments are recorded in the change document Header
    table i.e. CDHDR and Item table CDPOS, Additional change pointers are written
    in the BDCP and BDCPS tables.
    Change pointers technique is used to initiate the outbound process automatically
    when master data is created or changed.
    A standard program RBDMIDOC is sechuled to run on periodic basis to evaluate the change pointers for a message type and starts the ALE process for distributing the Masterdata to the appropriate destination. 
    'Object' is collection of fields of different database tables. T.code for creating an object
    is SCDO.
    <b><u>Configuration for Change Pointers:</u></b>
    1. BD61 Active change pointers generally
         - Check the checkbox "Change pointers activated -generally"
         - Save it
    2. BD50 Active change pointers for Message Type
    Message Type     Active
    MATMAS              Check the check box
    3. SCDO Change Document Objects
         - Check whether the "MATERIAL" is available in the object list.      
    4. BD52 Maintain Table Views
    -     Enter the Message type "MATMAS" and press enter.
    For example
    OBJECT     TABLE NAME     FIELD NAME
    MATERIAL     MARA     BISMT
    5. BD60 Additional data for message types:
    For example:
    Message Type                Function Module                         Table
    MATMAS                 MASTERIDOC_CREATE_SMD_MATMAS        MARA
    6. WE21 Port
    7. WE20 Partner Profile
    8.  BD64 Distribution Model
    as michal said we have to use RBDMIDOC program.for executing this program we need to give message type like
    MATMAS or
    DEBMAS or
    CREMAS
    depending on your requirement.
    go to SE38 tcode
    --- copy RBDMIDOC to zprogram(i'e., ZRBDMIDOC)
    ---create variant
    use this zprogram(ZRBDMIDOC) in BACKGROUND SCHEDULING SM36
    <u>STEPS IN BACKGROUND SCHEDULING:</u>
    Use tcode SM36
    Click Job wizard in the button set
    Click Continue
    Enter Job name and press continue
    Select ABAP program and press Continue
    enter Program name and press continue
    and again press Continue
    set Schedule type immediately and continue
    Select periodic job checkbox, press continue
    Select none of the above and click on other periods – give one-minute and then press create
    Press continue and then press complete.
    recently i did this requirement
    if u have any doubts plz let me know
    Best Regards,
    Srikanth     
    Reward the useful answers and you will get one point yourself

  • Need help with IDOC CREMAS_03 mapping

    i was not able to figure out what values to assign to the following mandatory fields.
    BEGIN
    EDI_DC40(node not mandatory)
    SEGMENT
    TABNAM
    DIRECT
    IDOCTYP
    MESTYP
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPOR
    RCVPRN
    i am trying to map the following structure to the CREMAS_03
    Vendor_MT
    VendorNumber
    LastName
    SearchTerm
    Currency
    Address
      Street
      City
      Zip
      Country
    i appreciate ur time and help

    you dont need to map EDI_DC40, In the message mapping right click on the EDI_DC40 segment and click on disable field.
    In the IDoc receiver communication channel, you should uncheck <b>Apply control record values from payload</b>
    regards
    SKM

  • Help with idoc selection

    Hi
    i want to read all the idocs created based on the date and user name.
    select  uname credat cretim docnum into  table
    itab from edids
                   where credat in s_rsdat and
                          uname in s_user and
                          countr = ' '.
    In edids table for different countr field the user name differs for same idoc number what does that mean
    thanks

    hi
    atleast the countr 0 indicates the date on which it is created for countr 1 the date may be different.
    iam guessing that that the countr would be created when the idoc is created right.
    thats the reason i am using it in my selection criteria.
    i can read from edid4 table but again there is no user name field.
    pls let me know.
    if iam wrong pls let me how to read the idoc created based on date and and person responsible for creation
    do you have any idea about the second question.
    i.e for different counters the user name differs
    thanks

  • Tax with the help of idoc and EDI

    Dear gurus,
    how can we process tax data that is used between two systems through the help of IDOC and EdI? It would be great for ur kind support.

    Hi Amit,
         I do not understand how a non-sap system having an idoc adapte?
    Do you mean the non-sap system has the ability to understand the IDOC files?
    If yes, then your scenario is typically a IDOC-to File scenario.
    Read this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    If you do not intend to use XI in between, then you can just configure the outbound IDOCs in your SAP system and configure a file port in we21 transaction and create the partner profile in we20 transaction.
    Regards,
    Ravi

  • Inventory count w/o reference doc "MI09" with IDoc WVINVE02

    Dear forum,
    I am trying to create an inventory count without reference to a document and I thought I would use IDOc WVINVE02 with message code WVINVE. We don't have an SAP inventory document, but would like to use just an external reference.
    When running transaction MI09 in the GUI it's quite easy to create an inventory count using:
    Plant
    Storage location
    Special stock
    Count date
    Material
    Quantity
    Unit of measure
    That's all we want to have.
    I have tried to post an IDoc WVINVE02 inbound using FM IDOC_INPUT_STORE_INVENTORY with the corresponding data, but without success. The IDOc interface only states "IDoc not fully processed".
    I need some help with how to input data and also need to understand if it is possible to use this IDoc for inventory count WITHOUT a reference document. The documentation available is not clear enough on this. Has anyone experienced a similar challenge?
    Thanks!
    ::Ellen

    Hi Ellen,
    Were you able to find the solution?
    We are facing a similar issue.
    Please help.
    Thanks,
    Pratibha

  • Mapping Problem with IDOC HRMD_A05

    Hi All,
    When i am mapping source structure with IDOC HRMD_A05 i am getting Mapping not sufficiently defined...
    The idoc is used to change the address of employee(infotype 0006)..
    my source structure is
    EMPADDR_MT
       EmpAddr1
         Trans_INFTY *
        Address1
          AddressType *
          PERNR       *
          EFdate      *
          Addr1       *
          Addr2       *
          ADDR4       *
          City        *
          Country     *
          state       *
          Postalcode  *
    the fields to be mapped
    So can any one help me out what r fields to be maintained for <b>HRMD_A05</b>...
    Regards,
    Sridhar
    Message was edited by: sridhar reddy kondam

    All the required fields & segments(shown red in mapping editor or min occurence:1) of idoc need to be mapped.If any of the fields are not available in your source for mapping..map those fields with empty constants using constant option of the mapping editor.

  • 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

  • Check in BAdi if delivery processed with IDOC or with transaction

    Hello to everyone!
    I have encountered an issue and hopefully you could help me in solving this.
    I have developed an enhancement (BAdi) in delivery processing.
    Every time delivery is being changed - method is triggered and line item is being validated against some conditions
    But now I would like to prevend BAdi from being launched when delivery comes in IDOC.
    For this purpose I just put a simple condition in BAdi method:
    IF sy-batch NE 'X'.
         //here perform validation.
    ENDIF.
    Unfortunately validation is still performed. Looks like when IDOC is being sent to ECC from PI, sy-batch is empty.
    I would also like to prevent validation from being launched when IDOC re-processed manually (BD87 or sth.)
    But then sy-batch is also empty.
    Could you please advise some solution for this?
    How to check in BAdi if delivery is being processed with IDOC or with transaction (VL32N, VL31N, VL32, ...)
    I would appreciate every comment on this.
    Kind Regards,
    P.
    Edited by: Piotr Wojciechowski on Jul 28, 2011 8:59 PM

    Hi Max,
    Thanks a lot for your reply!
    Yes, indeed, IDOC is processed by FModule IDOC_INPUT_DELVRY.
    You mean I should for example
    find some place in this FModule (exit/enhancement point/...)  where I could put-Z-code
    and raise a delivery number (or just some flag) to memory (EXPORT TO MEMORY..)
    and later on catch it from memory in my BAdi method (IMPORT FROM MEMORY ...)
    to check if delivery processed by IDOC/not IDOC ?
    Kind Regards,
    Piotr.
    PS. Maybe you also have some idea how to debug such communication triggered from PI to ECC?
    I have posted this in separate [thread|PI-ECC connection (IDOC scenario), how to debug? (External BP);.

  • 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

  • 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

  • Logic to update the table with IDOC numbers

    Hi all,
    I have an issue while I am running my interface. The IDOCs are getting generated and are displaying in WE02 successfully. But in my logic, I have a requirement to update these created IDOCs in a customized database table. This table has the IDOC number as the first key field.
    Now the issue is that when a file is placed on the FTP server with the data, the IDOCs get generated with no doubt but the table is not getting updated with these IDOC numbers due to which my other data is also not seen in my table.
    Please help with the logic that I need to place to update these IDOC numbers in my table.
    Thanks.
    Taarikha

    Also, this is happening when the file is placed. But when i run it manually through WE19 one by one, it has no problem. When it collectively run thorugh the file in background, this issue is ocuuring. Please help.
    Thanks.
    Taarikha

  • Control Material Master Views with IDOC load

    Hello all,
    I am wondering how best to control which views are available during IDoc processing for Material Master. 
    For example I just want the Basic Data 1 and Basic Data 2 tabs, I am only populating the relevant data and placing a value of u201CKu201D in the Maintenance Status fields.  This seems to work and avoids the warnings I seem to encounter when I neglect to add values for the Maintenance Status fields. 
    The warning I get at times tell me the IDoc is attempting to extend all available views, then it makes them available once I view my Material with MM03, however because there is no data in them I canu2019t go into the tabs.  That is fine because I can go to the Basic data tabs, but I was disappointed to see the other tabs enabled, but inaccessible.
    With Direct Input I used to be able to simply indicate which views I want.  Now it seems I must request the maintenance views that then translate to actual views.
    Please help.
    Thanks

    Yes I have experience in that area, and I fill the PSTAT as well. But you can also run a program (is in IMG > Logistic Gerneral > material master) to regenerate PSTAT after you have loaded all materials.
    I use IDOC loading method for SAP system mergers. Sent Material master in legacy system using ALE as IDOC collection to a file, then use this file as source for LSMW, and as IDOC to IDOC mapping is just 1:1 I use use this methd in this case.
    When loading from Excel file, I started using BAPI import method a few rollout waves back (but not because there is something difficult with IDOC, just to get used to this method).

Maybe you are looking for

  • Error Message when installing adobe reader 9.1

    I have a relatively new HP Pavilion dv6936us Entertainment Notebook PC with Windows Vista Home Premium 64-bit.  I cannot get adobe reader installed.  I always get an error message or it says the install was interrupted.  VERY frustrating!  Please hel

  • Pricing : Frieght calculation - differentiate Header and Item level

    Dear friends, I have a requirement wherein I have to find the sum of the gross weight of all line items at header level and round off the value to the next 500 gms.This value will be shown at the Header Conditions tab in the condition record ZFRD. Th

  • Entourage 2008 support

    Just noticed that the latest version of Aperture is not supporting Entourage 2008. When you go into the preferences pane, the only option seems to be MS Outlook. Any thoughts anyone?

  • Q10 not answering incoming calls

    Incoming calls go right to voicemail. Subject Title edited to reflect new topic.

  • Screen Exit for TCode: QM01

    Hi Champs, I would appreciate if anyone could solve my problem. <b>Problem is I have to add one field in the standard program (Service Order Notification TCode: QM01).</b> Can you please provide me any screen exit name or any other solution on which