Ack for Idoc

Can't getting get Acknowledgment once file is received R3 side?

Hi,
BPM is one way to req. for acknowledegments
More -
http://help.sap.com/saphelp_nw04/helpdata/en/55/65c844539349e9b1450581ab44a5e6/content.htm
for IDoc Ack - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
else for other scenarios you will have to use BPM and request for ack in the send step -
http://help.sap.com/saphelp_nw04/helpdata/en/86/80163f6b5baa09e10000000a114084/content.htm
Regards,
Vinod.

Similar Messages

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger

    Hi ,
    I'm Testing an Inbound ORDRSP using we 19  for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
    Thanks

    hello,
    I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
    Thanks.

  • MATERIAL LINK TO ONE SAP SYSTEM TO ANOTHER SAP SYSTEM FOR IDOC TRANSFER

    Hi Experts,
    How the  MATERIAL LINK TO ONE SAP SYSTEM TO ANOTHER SAP SYSTEM FOR IDOC TRANSFER?
    Scenario : when 2nd system create the invoice,it will create a po in the 1st system.
    51 error msg we are getting material does not exists.but the material is available in the receiving plant.
    Please suggest

    If you say the material master is available in the 1st system (where you create the order), then the material number in the IDOC  may not match with the material number in your database.
    leading zeros. material number stored as alphanumeris instead of numeric.

  • Business  system for idoc reciver communication channel.

    hi gurus,
    iam doing one file to idoc scenerio.
    for defining reciver idoc adapter ,which type of businees system i required that is configured in SLD.
    pls guide me .
    warm regards.

    Hi
    You can use th Buiness system as a receiver for IDOC.
    Making sure
    1. the LS of the system(R/3) is same in the SLD and it is also reflecting in the adapter specific attributes in the ID.
    2. Use the same LS name for the BS pointng to FIle in the SLD.
    Complete the IDOC configuration from XI
    1. Create the RFC dest from XI to ECC
    2. Create the Trfc port and call this RFC dest created..
    3. Use this Trfc port in the IDOC receiver
    On ECC:
    Make sure the Partner Profiles is created properly.
    it is suggested to use always the business systems when you deal with IDOC and Proxies.
    Edited by: Nisar Khan on Feb 27, 2008 1:31 PM

  • Issue loading Meta Data for IDoc Type WPUKSR01 in XI Integration Repository

    Hi,
    I want to load the Meta Data for IDoc Type WPUKSR01 in XI Integration Repository out of BI. Unfortunately, this IDoc is not available in the IDoc List. I checked in BI and the IDoc Type is available in WE60 and WE30. Also, I can load the Meta Data for the Idoc in XI ABAP (IDX2).
    Can someone tell me why the IDoc doesn't show up in XI Integration Repository Import Object List?
    Thanks in advance.
    Best Regards.
    Alex

    Hi Aamir,
    The Idoc is released since Release 30A. I also tried to load the IDoc Meta Data from ERP with the same result: it does not show up in the list.
    Thanks anyway.
    Alex

  • EOIO for IDOCs to XI

    Hi,
    My scenario is IDOC ---> xi ---> File.
    Need to implement EOIO(serialization) for IDOCs coming from ECC.
    Checked "Queue Processing" and assigned rule "FIRST_16_OF_MESTYP".
    When I send the IDOC using WE19, I get message "IDocs are stored in the queue".
    But, IDOCs are not coming to XI. Please help.
    Versions: ECC 6.0 & PI 7.0 SPS 13.
    Also, do I need to maintain an entry in IDXQUEUE table?

    Hi
    use similar thread
    How to implement IDOC Serialization(EOIO) using IDOC Adapter
    Re: Posting idocs in sequence in SAP from file (without BPM)

  • SA PI 7.1 EHP1 - Support for IDOC Adapter using AAE

    Hi,
    Can anyone confirm if the SAP PI 7.1 EHP1 supports the IDOC adapter in the AAE ?
    Cheers
    Colin.

    Hi Colin,
    I am workinngt on EHP1 PI7.1,but no support for IDoc Adapter in the AAE.
    The new features added for IDoc adapter is IDoc packging and new conversion module added .
    we have to wait till next release,but not sure...
    Regards,
    raj

  • Abstract Interface for IDoc Proxy

    Hi All,
              Do we need to make Abstract interfaces for IDocs and Proxys too if we want to use them in BPM?
    XIer

    Aamir,
    I agree with u that we can't create proxie's for Abstract interfaces. But consider the case I want to call Proxy inside BPM, is this possible?
    Yes its possible. As I mentioned in my previous replies for IDOC's .Similarly for Proxy receiver Interface determination we need to give Actual Inbound Interface name instead of Abstract. MI_Proxy_Abs --> use MI_Proxy_IB . Provided both the interfaces has the same structure.
    I hope it clears!!!
    Best regards,
    raj.

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts,
    There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
    Thanks in advance.
    Madhurima.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    [iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299]

  • Function module creation for IDOC processing...

    hi Experts,
                 i want to create a function module for idoc processing..
    message type: zashpmnt
    idoc type : shpmnt05
    plz tell me which standard FM is used... and tell me what changes i want to do in it....
    Tnx in Advance..

    Hello,
             If you are trying to process an Outbound IDoc for the SHIPMNT05 IDoc Type with an Extension, you can use the IDOC_OUTPUT_SHPMNT Function Module which is assigned to SHPM Process Code.
           In Addition, since you have an IDoc Extension, you are required to populate the Custom Segment / Fields. For this, there is a Customer Function / Exit called EXIT_SAPLV56K_002 which you can use it for adding your Custom Segments to the IDoc ZSHPMNT05.
           If you are writing code in this exit, make sure to create a Project in CMOD.
           Also, ensure that you've made the assignment in WE82 with the Message Type , IDoc Type & the Extension.
           For Inbound, if you would like to Create a Custom Function Module, you can follow the Naming Convention Z_IDOC_INPUT_SHPMNT for which you are required follow the below Steps.
    1. Register the FM as Inbound FM in BD51 T-Code.
    2. Assign the FM to IDoc Type & Extension in WE57.
    3. You'll need to Create a Custom Process Code in WE42 in which you are required to make add your FM.
    4. Maintain Partner Profiles in WE20.
    5. Have the Process Code Migrated to the Testing Environment as creation of Custom Process Code is a Customizing Activity and it requires a Customizing Request to be created / Migrated.
    6. Define the Parameters as defined in the Standard Inbound Function Modules such as IDOC_INPUT_ORDERS , IDOC_INPUT_DELVRY etc.
    Thanks and Regards,
    Venkat Phani Prasad K

  • What is the internal  processing for idocs

    Dear friends this is subbu working as a abap consultant.
    can any body explain the how idocs are transfered (inbound process and outbound process)

    1.Here out bound means sender.Inbound mens --receiver.
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    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
    go trough these links.
    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://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    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)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    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.
    Try this..Hope this will help.
    SAP ALE & IDOC<<<<
    Steps to configuration(Basis) >>
    1. Create Logical System (LS) for each applicable ALE-enabled client
    2. Link client to Logical System on the respective servers
    3. Create background user, to be used by ALE(with authorizaton for ALE postings)
    4. Create RFC Destinations(SM59)
    5. Ports in Idoc processing(WE21)
    6. Generate partner profiles for sending system
    The functional configuration(Tcode: SALE)
    • Create a Customer Distribution Model (CDM);
    • Add appropriate message types and filters to the CDM;
    • Generate outbound partner profiles;
    • Distribute the CDM to the receiving systems; and
    • Generate inbound partner profiles on each of the clients.
    Steps to customize a new IDoc >>>
    1. Define IDoc Segment (WE31)
    2. Convert Segments into an IDoc type (WE30)
    3. Create a Message Type (WE81)
    4. Create valid Combination of Message & IDoc type(WE82)
    5. Define Processing Code(WE41 for OUT / WE42 for IN)
    6. Define Partner Profile(WE20)
    Important Transaction Codes:
    SALE - IMG ALE Configuration root
    WE20 - Manually maintain partner profiles
    BD64 - Maintain customer distribution model
    BD71 - Distribute customer distribution model
    SM59 - Create RFC Destinations
    BDM5 - Consistency check (Transaction scenarios)
    BD82 - Generate Partner Profiles
    BD61 - Activate Change Pointers - Globally
    BD50 - Activate Change Pointer for Msg Type
    BD52 - Activate change pointer per change.doc object
    BD59 - Allocation object type -> IDOC type
    BD56 - Maintain IDOC Segment Filters
    BD53 - Reduction of Message Types
    BD21 - Select Change Pointer
    BD87 - Status Monitor for ALE Messages
    BDM5 - Consistency check (Transaction scenarios)
    BD62 - Define rules
    BD79 - Maintain rules
    BD55 - Defining settings for IDoc conversion
    WEDI - ALE IDoc Administration
    WE21 - Ports in Idoc processing
    WE60 - IDoc documentation
    SARA - IDoc archiving (Object type IDOC)
    WE47 - IDoc status maintenance
    WE07 - IDoc statistics
    BALE - ALE Distribution Administration
    WE05 - IDoc overview
    BD87 - Inbound IDoc reprocessing
    BD88 - Outbound IDoc reprocessing
    BDM2 - IDoc Trace
    BDM7 - IDoc Audit Analysis
    BD21 - Create IDocs from change pointers
    SM58 - Schedule RFC Failures
    Basic config for Distributed data:
    BD64: Maintain a Distributed Model
    BD82: Generate Partner Profile
    BD64: Distribute the distribution Model
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    There are two filtering in IDoc.
    Segment Filtering:
    Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.
    Data Filtering:
    Data filtering can be done in dustribution model (BD64) where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.
    Please check this link for more information.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Reward points..

  • Enhanced Interface Determination for IDOCs

    Hi All,
        I've a query on the usage of Enhanced Interface Determination for IDocs.
    I've to create IDocs based on the condition in the Message Mapping i.e. say if recordtype in the source is A then IDoc1 should be created and if recordtype is B then IDoc2 should be created.
    Is it possible to use Enhanced Interface Determination to achieve this??..  Because I was told by someone that Enhanced Interface Determination can't be used for IDoc based scenarios though am using External Definitions for the mapping purpose. Please clarify.
    Thanks in advance
    Regards,
    Joe.

    Hi Sridhar/ Bhavesh,
                           Thanks for your prompt reply. I think I wasn't clear in my previous post.
    The scenario is the input file has three different record types (3 different structures) and the IDocs should be created based on the record type. I don't think I can use the condition based scenario as the record types are totally different. Please suggest.
    Thanks,
    Joe.

  • Program logic for IDoc

    hi everyone,
    I am new to IDoc. Through some forums i came to know that we need to create
    segment in we30
    idoctype in we31
    i understand the above two
    msgtype in we80
    attaching msgtype to idoctype in we81
    i didnt understand how to do the above two, and also i want to know what to do next..like how to do the program
    my mailID is [email protected](for any materials if u have)
    Regards,
    Venkata
    Points will be rewarded to answers given
    Message was edited by:
            venkata k

    One very simple code:
    ==============================
    *abap program to generate a customized idoc and send it to the target *system.
    REPORT z_b8_ale .
    TABLES : ekko,ekpo.
    ***Data Declaration for IDOC Begin
    DATA : v_master_control LIKE edidc.
    DATA : BEGIN OF int_idoc_data OCCURS 0.
            INCLUDE STRUCTURE edidd.
    DATA : END OF int_idoc_data.
    DATA : BEGIN OF int_comm_control OCCURS 0.
            INCLUDE STRUCTURE edidd.
    DATA : END OF int_comm_control.
    DATA : BEGIN OF itab OCCURS 10,
           lifnr LIKE ekko-lifnr,
           ekorg LIKE ekko-ekorg,
           ekgrp LIKE ekko-ekgrp,
           kdate LIKE ekko-kdate,
           ematn LIKE ekpo-ematn,
           ktmng LIKE ekpo-ktmng,
           meins LIKE ekpo-meins,
           netpr LIKE ekpo-netpr,
           werks LIKE ekpo-werks,
           peinh LIKE ekpo-peinh,
           END OF itab.
    DATA : str LIKE edidd-sdata,
           sagrnum(10) TYPE c VALUE '5500000019'.
    DATA:itab1 LIKE ekko OCCURS 0 WITH HEADER LINE,
         itab2 LIKE ekpo OCCURS 0 WITH HEADER LINE.
    ***Data Declaration for IDOC End
    ****FILL_MASTER_CONTROL
    CLEAR v_master_control.
    v_master_control-rcvpor = 'ZPORTB8'.
    v_master_control-rcvprt = 'LS'.
    v_master_control-rcvprn = 'D12503'.
    v_master_control-mestyp = 'ZSCHB5'.
    v_master_control-idoctp = 'ZSCHIDOC'.
    ****FILL_IDOC_DATA
    CLEAR int_idoc_data.
    REFRESH int_idoc_data.
    int_idoc_data-segnam = 'ZSCHDLAGR'.
    SELECT single * INTO itab1 from ekko WHERE ebeln = sagrnum.
    SELECT single * INTO itab2 from ekpo WHERE ebeln = sagrnum.
      MOVE itab1-lifnr TO str+0(10).
      MOVE itab1-ekorg TO str+10(4).
      MOVE itab1-ekgrp TO str+14(3).
      MOVE itab1-kdate TO str+17(8).
      MOVE itab2-ematn TO str+25(18).
      MOVE itab2-ktmng TO str+43(16).
      MOVE itab2-meins TO str+59(3).
      MOVE itab2-netpr TO str+62(13).
      MOVE itab2-werks TO str+74(5).
      MOVE itab2-peinh TO str+80(5).
    int_idoc_data-sdata = str.
    APPEND int_idoc_data.
    write : / str.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
         EXPORTING
              master_idoc_control            = v_master_control
         TABLES
              communication_idoc_control     = int_comm_control
              master_idoc_data               = int_idoc_data
         EXCEPTIONS
              error_in_idoc_control          = 1
              error_writing_idoc_status      = 2
              error_in_idoc_data             = 3
              sending_logical_system_unknown = 4
              OTHERS                         = 5.
    COMMIT WORK.
    WRITE : / 'IDOC Number created : ', int_comm_control-docnum.
    Regards,
    Gajendra.

  • Pls send material for idocs in ECC 6.0

    Pls send material for idocs in ECC6.0

    Hi sitaram s ,
    IDoc
    - IDoc (for intermediate document) is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system. IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
    A large enterprise's networked computing environment is likely to connect many geographically distributed computers to the main database. These computers are likely to use different hardware and/or operating system platforms. An IDoc encapsulates data so that it can be exchanged between different systems without conversion from one format to another.
    IDoc types define different categories of data, such as purchase orders or invoices, which may then be broken down into more specific categories called message types. Greater specificity means that an IDoc type is capable of storing only the data required for a particular transaction, which increases efficiency and decreases resource demands.
    An IDoc can be generated at any point in a transaction process. For example, during a shipping transaction process, an IDoc may be generated that includes the data fields required to print a shipping manifest. After a user performs an SAP transaction, one or more IDocs are generated in the sending database and passed to the ALE communication layer. The communication layer performs a Remote Function Call (RFC), using the port definition and RFC destination specified by the customer model. The IDoc is transmitted to the receiver, which may be an R/3, R/2, or some external system.
    Archiving Processed IDocs
    IDoc archiving is a two-step process:
    1. Archive the IDoc.
    2. After that another job will be generated. You can see in your SARA for your trigger to delete those archived IDocs.
    Have a look at transaction WE47, set "Archiving - Possible" for all statuses to be archived. Use transaction SARA with object IDoc to archive. If the above is set then all IDocs are archived the same way.
    Transaction SARA works in the following way:
    On the main screen enter IDoc as the object. Click on Customising -> Technical settings. This shows the logical filename (configured via transaction FILE & SF01) that will be used to get a filename when writing the archive files. It also shows the document type (that links to an archive via transaction 0AC0) or the archive, depending on SAP version. You can also set the size of the archive files and whether the deletion and storage jobs should execute automatically or not.
    On the main screen there are, amongst others, buttons for ARCHIVE, DELETE and MANAGEMENT. When you click on ARCHIVE you will go to a screen where you can create variants, and set the parameters for the archiving job. The EXECUTE button will schedule this job. If the "start automatic" tic for the deletion program was not set in customising, you will need to go to the DELETE button on the main screen to schedule the deletion jobs, after the archive job has finished. This schedules a job per archive file. In MANAGEMENT you will be able to see the statuses of each archive run.
    SAP Integration Using ALE(Application Linking and Enabling)
    - IDOCS -
    http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
    Updating IDoc data in segments,Changing a control record of an IDoc,Getting IDocs linked to Application documents,
    Displaying and IDoc in a report,Read IDoc from Database,Creating and sending an IDoc,Update IDoc status on the database
    ALE Inbound Pre-Processing
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    cheers!
    gyanaraj
    reward points if u find this helpful

Maybe you are looking for

  • Error in adding attachment

    Hello Experts, We are facing a strange issue after reverse proxy migration,  as of now external users are not able to attach file in a custom transaction iview from external facing portal , flow is from reverse proxy to ITS server to backend FILO box

  • Printing photos with dates

    Is there any way to have the date and time when a photo was taken displayed on the prints?

  • Send a file attached to a mail send with sendmail

    Hello, I'd like to send a report with a short mail to a mailing list. This task will be done every day by executing a ksh script. May I do it with sendmail ? how ? Is there another way to do it ? Thanks for your help. Ncg

  • WF not working

    Hi expert, We set up a worklfow on SOD. However, it works on my colleagues' laptop not mine. The only possible explanation we can think of is the IE version. I am on IE7.O while my colleagues are on 6.0 or earlier version. I am not sure if this is th

  • XML message going for sheduldeld for outbonding process

    HI, I am new to XI..during SAP to SAP scenario  i am getting message in sxmb_moni XML message schedule for outbounding process. Can anyone tell how it can be converted in checkered flag.