IDOC'S - useful material - urgent

Dear sap gurus
pls. send me some material on idocs. what it is all about. till what extent as a SD consultant should i have exposure on this. and  ALE's (applcation. link enablg.) also.
my email id. [email protected]
advance thanks.

IDOCs are safe to transfer data, but less volume of data. User is not allowed to access(modify) the data like PSA. IDOCs have 3 parts.
1. Control Record - SOURCE & TARGET details,
2. Data Record - Here comes your query....
Info IDOC - It contains all the technical details related to the data load i.e. Request NO, No of Data Packages, USER, DATE, TIME, LOGICAL SYSTEM, etc. Info IDOC is also ONE segment, the 1 sr segment.
Here data will not be there.
Data IDOC - These are the ones which hold the data. The total no of records are made into Data IDOCs i.e. if 99 records are there then 99 Data IDOCs will be there and all these will be divided into 99 segments.
Hence the total number of Segments in IDOC is 100.
Info IDOC + Data IDOCs = Total no of Segments
1 + 99 = 100.
3. Status Record - Here the status of the data transfer will be available.
<b>ALE:</b>
Pl go thr below links as they provide all the required info on ALE & IDOC's:
ALE / IDOC:
Please check this online document for ALE and IDoc.
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
u will have enough material from above .....
mostly SD consultanct doesnot deal with EDI , Idocs but its allways good to have knowledge ,,,,
reward points if u think it was atleast some useful
thanks
Madhan

Similar Messages

  • IDOC for finished Material transfer

    Hello Experts,
    Can anyone help me to find out the idoc which suits to my requirement.
    I want to send an idoc to some third party system which contain information related to finished material.
    Suppose we have created purchase order in sap thru me21n then we can use ORDERS idoc to post to third party.
    But through standard po we can create idoc for semifinished material and not for finished material.
    In tcode MIGO we are converting that semifinished material into finished material and I want to capture this data into idoc and want to send it to third party.
    Can any body suggest which idoc shall i use.
    (I want to send this info Mat_Cod,Mat_Plant,Mat_Sto_Loc,Stk_Box,Stk_Quantity,Stk_Unit,Mat_Name,Mat_Batno)
    Regards,
    Jayesh.

    U can use either INVCON message type with IDOC type as INVCON01 or 02
    or
    Message Type MBGMCR  with IDOC type MBGMCR01/02/03

  • Can a IDOC be used for data exchange from R/3 to CRM

    Hi All,
    First, can a IDOC be used for data exchange from R/3 to CRM
    I need to update few fields of SAP CRM Sales order with fields from SAP R/3 Work Order.
    To achive this can I use IDOC?
    Or do I update the R/3 sales order from R/3 Work order(using some interface or workflow), so that the sales order data flows from R/3 SO to CRM SO.
    Please respond immediately.
    Regards,
    Gopinath

    IDocs can be processed by the CRM system via XML/XIF adaptor. As this will be most probably a new interface that is not yet set up, it would be easier to change the orders in R/3 via an appropiate FM which should automatically generate a delta download BDoc.
    Even if they are not downloaded automatically a request download (defined via R3AR2 / 3 / 4) should take care of this.
    Hope this helps,
    Kai

  • Error in quantity translation in CO-PA valuation using material costing

    Dear SAP Gurus,
    While releasing the billing document to accounting I am getting the following error:
    Error in quantity translation in CO-PA valuation using material costing
    Message no. K/821
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to use a material cost estimate to translate the unit KG for the material KG into the base unit of measure EA for that material.
    The system could not do this.
    System Response
    The document cannot be processed further.
    Procedure
    Check the quantity entered in the affected CO-PA quantity field &V4 .
    If necessary, change the material master to allow the unit KG as an alternative unit for the material 970000000000000016.
    Can anyone provide me with a solution to the said problem.
    Regards
    Nikit

    Hi Piet,
    That does not seem to be the solution as i cant define for all the materials how many units EA = how many kgs. Thanks for the reply anyway

  • Multi-Mapping in IDOC without using BPM ?

    Hi ,
    Please check ..
    Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards
    PS

    Solved .. Thx every one .
    Approache Used :
    1. Created mapping  with Change signature on target Message type(idoc) with 1..N Occurence.
    2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
    3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity).

  • How to get IDoc number using sdata records

    Hi Experts,
    I have executed a report program in background. Its generating few IDoc's. I can view those idoc's in WE05 also. But now i want to display those idoc number in the result output of the report. One of the segment having materrial number and plant details in the IDoc. Using this details i want to display the IDoc number in the output screen. Even i have tried with EDID4 table its taking huge time to get a single IDoc. Is there is any simplest way is there to get those idoc's .
    Otherwise how to achive this?
    Thanks and Regards,
    Mohana

    Hi,
    1.)If you want the ouput in the same report program which triggers the idoc, it is better to use the control record information.
    You will get IDoc Number from XEDIDC(check the below code) and you can store the idoc number into an internal table if more idoc is expecting to be triggered.
         call function 'MASTER_IDOC_DISTRIBUTE'
              exporting
                MASTER_IDOC_CONTROL        = EDIDC
              tables
                COMMUNICATION_IDOC_CONTROL = XEDIDC
                MASTER_IDOC_DATA           = XEDIDD
              exceptions
                others                     = 5.
       read table xedidc index 1.
      append xedidc-docno to it_docno.
    And finallly use this to display in the output.
    2.) if u want it in a seperate report, then select based on date, idoctype, messagetype
    Regards,
    Sajith

  • File -- IDOC scenario using XI 3.0

    Hi
       I tried out a simple flat file to IDOC scenario using XI as the middleware and tried to post documents of type CREMAS03 on the backend R/3 system.
    Now, I see that there is an IDOC number generated in the XI layer by the IDOC adapter. This IDOC number is seen under <SAP:DOCNUM>XXXXXXXXXX</SAP:DOCNUM>in the
    Response-->IDOCOUTBOUND section of the pipeline in SXMB_MONI
    According to SAP documentation :
    <b>To enable you to select IDocs in the target system later on, the system transfers the message GUID and the IDoc number in the ARCKEY field of the IDoc control record.</b>
    Now, I do find the XI msgid given as arckey in the control record of the Inbound in the target R/3 backend system. But I cannot find the XI IDOC number being cross referenced in the control record of the IDOC in the R/3 backend.
    1.Is there a way to cross reference the IDOC number in XI with the IDOC number in the R/3 backend ( we have two different IDOC numbers, right ) i.e a IDOC number to IDOC number cross referencing in this File-->IDOC inbound into the R/3 system scenario involving XI
    2. In the XI box, do we get as a part of async.reponse from the R3 system, the IDOC number that is created within the R3 system ? This would serve directly as a cross reference. Or do we have to indirectly query EDIDC table in the R/3 backend with the arckey value = msgid in XI - to retrieve the IDOC number created in the R3 backend ?
    Thank you in advance for your time.

    Hi,
    Pls look into following link about Acknowledgement.
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Pls note that , you can't get/receive the Acknowledgement for Sender File Adapter. Because File System acts as an Async system. But you can get the Idoc response and you can write it into another file. For this you need to use BPM.
    Hope this helps..
    Regards,
    Moorthy

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • Collecting Idocs without using BPM

    Hi Experts,
    I am working on a sceanrio, where Idocs are coming from sap and we need to generate a single Flat file out of them.
    For this scenario first we need to collect the Idocs and then process them to make a single file output.
    To achieve the same I am using the BPM to first collect the Idocs and make a packet out of them and then processs it to generate a single flat file.
    Can someone please suggest me that, How can we  achieve the same without the BPM.
    If yes, how can we do that?
    Thanks in advance.
    Regards
    Pradeep

    Pradeep ,
    Option 1 : /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    here you collect them as a file and file is picked up and sent to the target
    Option 2 :
    in WE20 in ERP set idoc package to 50
    in XI sender idoc channel - package to 50
    XI will receive 50 IDOCs at once...
    (courtesy Michal....till then i thought there is no sender idoc adapter )
    Option 3 : collect using BPM.
    Option 4 : This is what i woould suggest....no need of collecting you can send one idoc at a time generate the file.....why do u want to collect?
    Edited by: Tarang Shah on Mar 20, 2009 7:38 AM

  • Idoc monitoring using WE06

    Hi all,
    I want to do Idoc monitoring using the tool Active Idoc Monitoring(Programm: RSEIDOCA;Transaction : WE06).
    So when ever something goes wrong in an Idoc,depending on the idoc type ,I want to inform the concerned person by email using SAP mail( Business Workplace).
    My questions are with regard to the 2 possibilities(I thought) stated below for achieving this.
    [1]
    Is it possible to directly send an email to the SAP mail inbox of the concerned person,using this program depending on the Idoc type and other conditions if they exists .Because depending on the idoc type different users need to be informed of the error.
    I made a variant as said below in the link.
    http://help.sap.com/saphelp_470/helpdata/En/dc/6b81b943d711d1893e0000e8323c4f/frameset.htm
    Is it possible to test this case immediately by sending a error ORDERS Idoc.If yes,How?
    Is the configuration said in the above link sufficient or Is there any need to make any further changes.
    OR
    [2]
    Using transaction WE06,I want to the send the email to my sap mailBox and from there forward it to other users depending on the conditions said above.
    How could I achieve it? Test it immediately
    I would like to go forward with this 2nd solution,if thats better and easily configurable.
    How to configure this scenario.
    Any help is greatly appreciated.
    Regards
    K

    Closing this thread.Moving it to a more appropriate forum.

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Problem in using Materialized View in VO

    Hi i am trying to use Materialized View in my Vo, Sql+ i am able to run the View but i am not able to use the same view in View Object i am getting Invalid Table Name on Testing View Object.
    Thanks
    Babu

    Did you verify the above suggestion?
    --Shiv                                                                                                                                                                                                                   

  • Is there any function module to get vc characteristics and its value using material number?

    Hi Experts,
    I am using BAPI_CLASS_GET_CHARACTERISTICS, BAPI_OBJCL_GETCLASSES to get characteristics description and its values.
    Is there any other Function module to pull this values using material number?
    Thanks in Advance.
    Ramkumar

    Have you tried this BAPI_OBJCL_GETDETAIL
    Import parameters
    MATNR value in the OBJECTKEY
    MARA in OBJECTTABLE
    Class name in CLASSNUM
    '001' in CLASSTYPE
    You will get the Class Characteristics data into these tables:
    ALLOCVALUESNUM
    ALLOCVALUESCHAR
    Jogeswara Rao K

  • Vendor Evaluation using Material Group

    Dear all
            Kindly let me know whether Vendor evalation is possible using material Group.
    Regards
    M.Chandra mohan

    Dear all
         What I mean to say it, we do not have follwoing master in our company.
    Material master, Vendor master & Pur.Info records,I did not know what configuration has been there in PRD server,But once we gave Authorization to our user regarding Vendor Report, they are getting the Vendor evaluated automatically,So I thought It is taking the material Group as a reference for Evaluation,That why i requesting your guy how we can do configuration in related to Vendor Evaluation.
    Regards
    M.Chandra mohan

  • Excise Invoice no. using Material document no.

    Hi Masters
      How to find Excise Invoice no. using material document no.(In my case it is GR No.)
    Regards
    Mohan

    Hi,
    Use: J1I7 , In selection range you can give Excise Group, Excise Transaction Type as GRPO , Vendor Number, Material Document , Material or Purchasing Document , select  Part 1 and part 2 Posted , Off.No is Excise Invoice No entered at the time of Excise Capturing.
    Regards,
    Vikas

Maybe you are looking for