Idoc Configuration and interfaces related to 810

Hi,
  Can any one tell me the entire configuration of ALE and EDI810 supported tools?
Thanks
Shobi

<b>Hi,
ALE
To develop a new custom ALE scenario, comprises 5 steps:
1.     Design and develop the custom IDoc with it’s segments and a new message type
2.     Configure the ALE environment with the new IDoc and message type (customer model, partner profiles and linking IDoc to message type)
3.     Develop the outbound process which does the following:
•     Populates the custom IDoc with control info and functional data
•     Sends the IDoc to the ALE layer for distribution
•     Updates status and handles errors
4.     Configure the ALE inbound side (partner profiles with inbound process code)
5.     Develop the inbound process which does the following:
•     Reads the IDoc into a BDC table; selects other data that is required
•     Runs transaction using call transaction or BDC session
•     Updates status and handles errors
Below is a pictorial representation of the flow of a complete ALE scenario from the sending system to the receiving system.
Figure 1: ALE Scenario model
1.1.     ALE Example
For the purposes of this example we will develop a small ALE scenario. This scenario is described below.
“The receiver of an internal service must be able to reverse (cancel) the invoice receipt which will then cancel the applicable billing document automatically on the service provider’s system.”
Figure 2: Example Purchasing & Selling scenario
We will develop a custom IDoc to carry the billing number from the Service Receiver’s system to the Service Provider’s system. We will populate the IDoc in a user exit on the sending side and we will process the transaction on the receiving side using a custom function module and a BDC transaction call.
No rule conversion, segment filtering or version conversion will be implemented in the model as described in Figure 1.
Requirements
•     Working ALE environment - See ALE Basis Configuration Guide;
•     ALE scenario design together with the business requirement;
•     Development access; and
•     ALE configuration access.
NOTES:
1.     All IMG references to transactions are located in the transaction SALE which is the ALE portion of the IMG
2.     This is one way of developing a scenario where no message control exists. If message control exist (EG. On purchase orders) then NAST can be used to call an outbound function module that would create the required IDocs.
3.     Extensive knowledge of IDocs and ALE basis configuration is required in order to understand this guide.
2.     OUTBOUND PROCESSING
2.1.     Create IDoc type (WE30) Client independent
The IDoc type refers to the IDoc structure that you will require for your development. In our case the IDoc type is called ZINVRV01. This IDoc type will have 1 segment called Z1INVRV with 2 fields, LIFNR & XBLNR, in this segment. If you require many segments or nested segments then they are also created using the same procedure.
We will create the IDoc of the following structure:
ZINVRV01
Purchasing and Selling - Invoice receipt reversal
Z1INVRV     P&S - Segment 1
     Segment fields     
          LIFNR     Vendor account number
          XBLNR     Reference document number
Figure 3: IDoc type ZINVRV01
To create the IDoc type, follow these next few steps:
•     Enter transaction WE30 (ALE -> Extensions -> IDoc types -> Maintain IDoc type)
•     Type in ZINVRV01 and click on Basic IDoc type, click the Create icon
•     Click on Create new (we are creating an IDoc from scratch but you may want to copy another IDoc if it is similar to your requirements) and enter a description, and press enter
•     Click on ZINVRV01 and then on the Create icon
•     Enter Z1INVRV as the segment type (must start with Z1), check mandatory if the segment must exist (in this case check it), enter 1 in minimum number and 1 as maximum number. (Make the maximum number 9999999999 if there are going to be many of these segments in each IDoc. IE. When line items are passed via IDocs), click on Segment editor
•     Enter a description for your segment type and create
•     Enter a description for your segment, enter each field required in your IDoc, in our case type LIFNR across for Field name, DE structure and DE documentation, repeat for XBLNR and press enter to validate.
•     Save and generate, press back
•     To release the segment choose Goto, Release from the menu
•     Check the box on the line of your new segment
•     Save, back and enter
•     Your IDoc type structure should be displayed with your new segment
•     Save and back
•     To release the IDoc type choose Extras, Release type from the menu and Yes
Your IDoc is now ready for use. If you need to add fields or segments to your IDoc type, you will need to cancel the release of the IDoc type as well as the segment release using a similar procedure followed above (except now you uncheck the release box for the segment and you choose cancel release for the IDoc type).
2.2.     Create message type (WE81) Client independent
To create a new message type, follow these next few steps:
•     Enter transaction WE81 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> Create logical message type)
•     Choose Create logical message type by double clicking on it
•     Click on change icon to enter change mode
•     Click on New entries to add a new type
•     Enter the required message type, in our case it is ZINVRV and an appropriate description
•     Save and exit.
Your message type has now been created. The next step will be to link it to the IDoc.
2.2.1.     Link message to IDoc type (WE82 & BD69) Client independent
To link the message type to the IDoc type follow these next few steps:
•     Enter transaction WE82 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> EDI: Message Types and Assignment to IDoc Types)
•     Click on change icon to enter change mode
•     Click on New entries to create the link
•     Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01
•     Save and exit
•     Enter transaction BD69 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> Assign message type to IDoc for ALE)
•     Click on change icon to enter change mode
•     Click on New entries to create the link
•     Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01
•     Save and exit
Your IDoc is now linked to your message type. We still need to link object types and add the message to the model before we can use the message.
2.2.2.     Maintain object type for message type (BD59) Client independent
The ALE objects are used to create links between IDocs and applications objects, to control the serialisation, to filter messages in the customer model and to use listings.
For our own message type and IDoc you must maintain object types for the links.
If you want to check the serialisation for the message type, then you must maintain object types for the serialisation. If no serialisation object has been maintained for a given message type, then the serialisation will not be checked for this message type.
To add an object type to our message type, follow these next few steps:
•     Enter transaction BD59 (ALE -> Extensions -> ALE object maintenance -> Maintain object types)
•     Type in your message type ZINVRV and press enter
•     Click on New entries
•     Enter your object type, LIFNR (We need to use the vendor as a filter object), the segment name where LIFNR resides, Z1INVRV, a number 1 for the sequence followed by the actual field name LIFNR
•     Save and exit.
You have now created an object that we’ll use as a filter object in the customer model to direct the flow of messages to the various logical systems based on the vendors in the filter of the message type ZINVRV.
We now need to add our new message type to the distribution model.
2.3.     Configuring the Distribution Model
This task is performed on your ALE reference client.
2.3.1.     Manual Configuration (BD64) Client dependent
To manually configure the customer distribution model, read the ALE configuration procedure, and follow these steps:
•     Perform the Maintain customer distribution model directly function. (ALE -> Distribution customer model -> Maintain customer distribution model directly)
•     Specify the customer model you want to maintain and the logical system that is to be the sender of the messages OR create a new model. (Create model ALE with logical system ALELS1C400)
•     Choose the receiving systems to which the sending system must forward message type ZINVRV to.
•     For each receiving logical system allocate the message type necessary for communication to the receiving systems as per ALE configuration procedure.
•     Create filter objects (in our case LIFNR as the object type with the associated vendor number, 0000018001 with leading zeros, in the object area) for the message types.
•     Save the entries.
NOTES:
You cannot maintain a message type between the same sender and receiver in more than one customer distribution model.
Only the owner is authorised to modify the model.
To change the owner of a model, choose the 'Maintain ownership of customer distribution model' function. Make sure that all changes will be distributed to all systems that know the corresponding model. To do so, you can use the correction and transport system.
To transport the customer distribution model you should use the Distribute customer model function of the IMG as described below.
2.3.2.     Distribute customer model (BD71) Client dependent
After the customer model has been created centrally, it must be distributed to the other remote systems. This entails first of all setting up the communication for the distributed systems and then sending the model.
2.3.2.1.     Distribute Model (BD71) Client dependent
This task is performed on your ALE reference client. To distribute the customer distribution model, read the ALE configuration procedure and follow these steps:
•     Make the settings for the communication with the other decentral systems, you have not set them yet.
•     Define the RFC destination for R/3 connections whose names correspond to the name of the corresponding logical system.
•     Create the output partner profile.
•     Distribute the customer model
•     Specify the name of the customer model.
•     You must specify the target system to which you want to distribute the customer model.
•     You must repeat this function for every distributed logical system.
2.3.2.2.     Maintain sending system partner profile (WE20) Client dependent
With this function, you define the partner profiles for all outbound and inbound messages on the basis of the customer distribution model.
After you have defined and distributed the customer model, you will have to maintain the partner profiles locally. To do this read the ALE configuration procedure.
•     Enter the output mode (background, immediately) and the package size for outbound processing.
Requirements
•     The customer model must be maintained.
•     RFC destinations must be maintained.
•     The customer model must be distributed.
•     To ensure that the appropriate persons in charge are informed if a processing error occurs, you must make settings in: Error processing Maintain organisational units.
2.4.     Populate & distribute IDoc using ABAP
An IDoc consists of a control record with structure edidc and one or more data records with structure edidd. The control record contains the sender and recipient of the IDoc, as well as information on the type of message.
To be able to pass an IDoc to the ALE layer, you must set up a field string with structure edidc and an internal table with structure edidd. They are used to call function module master_idoc_distribute, which performs the save to the database and triggers the dispatch if necessary.
2.4.1.     Example code
The code displayed below does the following:
•     populates our IDoc segment Z1INVR with the 2 fields XBLNR and LIFNR, populates the segment name and appends this to an internal table used to store the IDoc data;
•     populates the control record info with the message type and IDoc type; and
•     calls the MASTER_IDOC_DISTRIBUTE function module which distributes the IDoc as configured in the customer distribution model.
*--- Data declaration statements
DATA:          C_INVREV_SEGNAME(7) TYPE C VALUE 'Z1INVRV',
          C_INVREV_MESTYPE(6) TYPE C VALUE 'ZINVRV',
          C_INVREV_IDOC_TYPE(8) TYPE C VALUE 'ZINVRV01',
          Z1INVRV LIKE Z1INVRV,
          C_INVREV_DOCTYPE LIKE BKPF-BLART VALUE 'YY',
          IDOC_CONTROL LIKE EDIDC,
          T_COMM_CONTROL LIKE EDIDC OCCURS 0 WITH HEADER LINE,
          IDOC_DATA LIKE EDIDD OCCURS 0 WITH HEADER LINE.
*--- Move the document header into a structure
LOOP AT DOC_HEAD_TAB INTO DOC_HEAD.
ENDLOOP.
*--- Move the document item data into a structure
LOOP AT DOC_ITEM_TAB INTO DOC_ITEM WHERE NOT ( LIFNR IS INITIAL ).
ENDLOOP.
*--- Populate the IDoc segment’s field with the required data
CLEAR Z1INVRV.
Z1INVRV-LIFNR = DOC_ITEM-LIFNR.          “Store vendor number for filter
Z1INVRV-XBLNR = DOC_HEAD-XBLNR.          “Billing number
IDOC_DATA-SEGNAM = C_INVREV_SEGNAME.     “Segment name
IDOC_DATA-SDATA = Z1INVRV.               “Segment data
APPEND IDOC_DATA.                    “Populate IDoc internal table
*--- Move the control data info required for the distribution
IDOC_CONTROL-MESTYP = C_INVREV_MESTYPE.
IDOC_CONTROL-DOCTYP = C_INVREV_IDOC_TYPE.
*--- Call the distribute function with the required parameters
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' IN UPDATE TASK
          EXPORTING
               MASTER_IDOC_CONTROL          = IDOC_CONTROL
          TABLES
               COMMUNICATION_IDOC_CONTROL     = T_COMM_CONTROL
               MASTER_IDOC_DATA               = 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.
Figure 4: Outbound processing example code
NOTE:
For debugging purposes, use transaction WE05 (IDoc overview) to see check your IDoc status, or to see whether an IDoc was created/
3.     INBOUND PROCESSING
3.1.     Create Function Module
This function module is called when a message type, of type ZINVRV, comes into the receiving system. This needs to be configured and is dealt with later in this section. The function module is passed the IDoc as a parameter.
Example parameters
Import parameters     Reference field     Opt Y/N
INPUT_METHOD     BDWFAP_PAR-INPUTMETHD     N
MASS_PROCESSING     BDWFAP_PAR-MASS_PROC     N
Export Parameters     Reference field     Opt Y/N
WORKFLOW_RESULT     BDWFAP_PAR-RESULT     N
APPLICATION_VARIABLE     BDWFAP_PAR-APPL_VAR     N
IN_UPDATE_TASK     BDWFAP_PAR-UPDATETASK     N
CALL_TRANSACTION_DONE     BDWFAP_PAR-CALLTRANS     N
Table Parameters     Reference field     Optional Y/N
IDOC_CONTRL     EDIDC     
IDOC_DATA          EDIDD     
IDOC_STATUS     BDIDOCSTAT     
RETURN_VARIABLES     BDWFRETVAR     
SERIALIZATION_INFO     BDI_SER     
Exceptions
WRONG_FUNCTION_CALLED
Example code
The code displayed below does the following:
•     populates a BDC table with the IDoc info;
•     calls the transaction via a BDC call; and
•     updates the IDoc status according to the BDC error status.
EXTRACT FROM: Z_IDOC_INPUT_ZINVRV
*--- Declaration of local variables
DATA: C_SEGNAM(10) TYPE C VALUE 'Z1INVRV'.
*-Loop through the IDOCs
LOOP AT IDOC_CONTRL.
*---Loop through the data for the IDOC
     LOOP AT IDOC_DATA WHERE DOCNUM = IDOC_CONTRL-DOCNUM.
          CASE IDOC_DATA-SEGNAM.
               WHEN C_SEGNAM.
*                    Here we get the info from the idoc table
                    IT_Z1INVRV = IDOC_DATA-SDATA.
          ENDCASE.
          PERFORM REV_INV.
     ENDLOOP.
     PERFORM UPDATE_IDOC_STATUS.
ENDLOOP.
FORM REV_INV               "Reverse invoice form
*--- Local variables & constants
DATA: C_TCODE LIKE BKPF-TCODE VALUE 'VF11'.  "BDC transaction code
*--- Now we can build the bdc table to call the reversal transaction start of screen 109
CLEAR BDC_TAB.
BDC_TAB-PROGRAM  = 'SAPMV60A'.
BDC_TAB-DYNPRO   = '109'.
BDC_TAB-DYNBEGIN = 'X'.
APPEND BDC_TAB.
*--- Document number
CLEAR BDC_TAB.
BDC_TAB-FNAM = 'KOMFK-VBELN(01)'.
BDC_TAB-FVAL = IT_Z1INVRV-XBLNR.     "Billing document number
APPEND BDC_TAB.
*--- OK Code for screen 109
CLEAR BDC_TAB.
BDC_TAB-FNAM = 'BDC_OKCODE'.
BDC_TAB-FVAL = 'SICH'.
APPEND BDC_TAB.
*--- Now we can call transaction 'VF11' with the populated bdc table. The transaction is called inside the idoc-contrl loop, so a transaction will be called for every idoc (journal). the transaction is called in no-display mode ('N') because this code runs in background as it is called by ale.  The update is specified to be synchronous ('S') because we have to wait for the result to update the idoc status correctly.
CALL TRANSACTION C_TCODE USING BDC_TAB MODE 'N' UPDATE 'S'.
*--- Store the return code for use in another form (status update)
RETURN_CODE = SY-SUBRC.
*--- Here we check the return code, if there was an error, we put the transaction in a bdc session for the user to review and correct.
IF SY-SUBRC NE 0.
     CALL FUNCTION 'BDC_OPEN_GROUP'
          EXPORTING
               CLIENT = SY-MANDT
               GROUP  = 'ZINVRV'
               USER   = C_ALE_USER
               KEEP   = 'X'.
     CALL FUNCTION 'BDC_INSERT'
          EXPORTING
               TCODE     = C_TCODE
          TABLES
               DYNPROTAB = BDC_TAB.
     CALL FUNCTION 'BDC_CLOSE_GROUP'
          EXCEPTIONS
               NOT_OPEN    = 1
               QUEUE_ERROR = 2
               OTHERS      = 3.
ELSE.                              "No problems
     C_EXISTS = 'N'.
  Select from the billing document table to get sales doc number
     SELECT * FROM VBRP WHERE VBELN = IT_Z1INVRV-XBLNR.
    Select from the sales document table to get user status number
          SELECT SINGLE * FROM VBAP WHERE VBELN = VBRP-AUBEL AND
               POSNR = VBRP-AUPOS.
    Select from the status table to change the user status to pending
          SELECT * FROM JEST WHERE OBJNR = VBAP-OBJNR AND
               STAT LIKE C_USER_STATUS.
               IF JEST-STAT = C_US_PENDING.   "User status is pending
                    JEST-INACT = C_UNCHECKED.    "Make pending the active status
                    UPDATE JEST.
                    C_EXISTS = 'Y'.            "I.E. An entry is already in table
               ELSEIF JEST-INACT = C_UNCHECKED AND JEST-STAT NE C_US_PENDING.
                    JEST-INACT = C_CHECKED.      "Make everything else inactive
                    UPDATE JEST.
               ENDIF.
          ENDSELECT.
          IF C_EXISTS = 'N'.    "I.E. Pending has never been a status before
               JEST-OBJNR = VBAP-OBJNR.
               JEST-STAT  = C_US_PENDING.
               JEST-INACT = C_UNCHECKED.      "Make pending the active status
               INSERT JEST.
          ENDIF.
     ENDSELECT.       "Select from VBRP (Billing document table)
ENDIF.
ENDFORM.                               " REV_INV
FORM UPDATE_IDOC_STATUS.                                              
*--- Now we check the CALL TRANSACTION return code and set IDOC status
     CLEAR IDOC_STATUS.                                                  
     IF RETURN_CODE = 0.                                                 
          WORKFLOW_RESULT = '0'.                                            
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.                          
          IDOC_STATUS-STATUS = '53'.                                        
          IDOC_STATUS-UNAME = SY-UNAME.                                     
          IDOC_STATUS-REPID = SY-REPID.                                     
          IDOC_STATUS-MSGTY = SY-MSGTY.                                     
          IDOC_STATUS-MSGID = SY-MSGID.                                     
          IDOC_STATUS-MSGNO = SY-MSGNO.                                     
          IDOC_STATUS-MSGV1 = SY-MSGV1.                                     
          IDOC_STATUS-MSGV2 = SY-MSGV2.
          IDOC_STATUS-MSGV3 = SY-MSGV3.                        
          IDOC_STATUS-MSGV4 = SY-MSGV4.                        
          RETURN_VARIABLES-WF_PARAM = 'Processed_IDOCs'.       
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.    
          APPEND RETURN_VARIABLES.                             
     ELSE.                                                  
          WORKFLOW_RESULT = '99999'.                           
          IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.             
          IDOC_STATUS-STATUS = '51'.                           
          IDOC_STATUS-UNAME = SY-UNAME.                        
          IDOC_STATUS-REPID = SY-REPID.                        
          IDOC_STATUS-MSGTY = SY-MSGTY.                        
          IDOC_STATUS-MSGID = SY-MSGID.                        
          IDOC_STATUS-MSGNO = SY-MSGNO.                        
          IDOC_STATUS-MSGV1 = SY-MSGV1.
          IDOC_STATUS-MSGV2 = SY-MSGV2.                         
          IDOC_STATUS-MSGV3 = SY-MSGV3.                         
          IDOC_STATUS-MSGV4 = SY-MSGV4.                         
          RETURN_VARIABLES-WF_PARAM = 'ERROR_IDOCS'.            
          RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.     
          APPEND RETURN_VARIABLES.                              
     ENDIF.                                                  
     APPEND IDOC_STATUS.                                     
ENDFORM.                               " UPDATE_IDOC_STATUS
Figure 5: Inbound processing example code
3.1.1.     Debugging inbound FM
Use transaction WE19 to test inbound function module in debugging mode. Also use WE05 to view the IDocs and their statuses.
3.2.     Maintain ALE attributes
The inbound function module needs to be linked to the message type and the message type needs to be linked to the appropriate inbound process code at the partner profile level before the scenario is enabled. These steps are described below in detail.
3.2.1.     Link Message Type to Function Module (WE57) Client independent
To link a message (ZINVRV) type to a function module (Z_IDOC_INPUT_ZINVRV) follow these steps:
•     Enter transaction WE57 (ALE -> Extensions -> Inbound -> Allocate function module to logical message)
•     Select an entry (EG. IDOC_INPUT_ORDERS) and copy
•     Type in module name Z_IDOC_INPUT_ZINVRV
•     Type in basic IDoc type as ZINVRV01
•     Type in message type as ZINVRV
•     Type object type as IDOCINVOIC (Invoice document) - Used for workflow
•     Direction should be set to 2 for inbound
•     Enter and save
3.2.2.     Define FM settings (BD51) Client independent
•     Enter transaction BD51 (ALE -> Extensions -> Inbound -> Define settings for input modules)
•     Click on New entries
•     Type in the name of the new function module Z_IDOC_INPUT_ZINVRV
•     Enter 0 for mass processing in the output column
•     Save and Exit
3.2.3.     Maintain process codes (WE42) Client dependent
A process code needs to be maintained on each client. It then needs to be linked to the message via the partner profiles on each client. This allows the various clients to use a unique function module for the same message type.
To maintain the process code follow these steps:
•     Log on to the appropriate receiving system client
•     Execute WE42 (ALE -> Extensions -> Inbound -> Maintaining process codes inbound)
•     Choose Inbound with ALE service
•     Choose Processing with function module
•     Click on Processing with function module and choose create icon
•     Click on New Entries
•     Type in process code ZINR and give it a description and save
•     Now you are asked to Please maintain codes added in ALE entry methods, enter and choose Z_IDOC_INPUT_FIRVSL and copy it. You should choose a FM similar to your one.
•     Enter your process code ZINR
•     Enter your function module Z_IDOC_INPUT_ZINVRV
NOTE: The next 6 steps are used in workflow error handling.
•     Enter IDPKFIDCMT in object type
•     Enter MASSINPUTFINISHED in End event
•     Enter IDOCINVOIC in IDoc object type
•     Enter INPUTERROROCCURREDFI in IDoc start event
•     Enter INPUTFINISHEDFI in IDoc End event
•     Enter IDOCINVOIC in Application object type
You will need to determine the task associated with object IDOCINVOIC, and then assign the appropriate position to it. This position will then receive the application error messages via workflow.
To set up the workflow area please consult the Workflow config guide.
3.3.     Create inbound partner profile
For each message type you need to maintain the inbound partner profiles.
3.3.1.     Maintain receiving system partner profile (WE20) Client dependent
To maintain inbound partner profiles read the document ALE configuration procedure:
•     Add the message type ZINVRV with process code ZINR.
•     Enter the output mode (background, immediately) for inbound processing and NO message code.
•     Enter the position S and choose the ALE administrator 50000085. This position will then receive all the technical ALE errors via workflow.
3.4.     Test
Once the inbound function module has been debugged the scenario should be ready to test in its entirety. If problems occur, read through the relevant areas of this document to check your configuration or code.</b>
  Foe EDI 810 Mapping Refer  <b>http://www.altova.com/videos.asp?type=0&video=edimapping</b>.
Online demo you can see,
Thanks
Manju

Similar Messages

  • IDoc to IDoc Scenario - Correct Interface Mapping configuration

    Hello All,
    i have to configure an Interface Mapping for an IDoc to IDoc scenario.
    IDoc Type for sending and receiving already imported and located under Imported Objectes\IDocs in respective Software Component Version.
    Now, how is the correct configuration? Add the sending respectively receiving IDoc Type directly to Source Interface/Target Interface under Display Interface Mapping or create first a sending Message Interface and a receiving Message Interface and add the IDoc type under configuration Message Types. Then add the Message Interface to the Interface Mapping.
    The selection for direct import of the IDoc structure under the Interface Mapping (Source Interface/Target Interface) is possible.
    Many Thanks in advanced!
    Jochen

    hi,
    for IDOCs (if you don't use a BPM)
    you don't need any message interface
    so if you have already created a message mapping
    you can put the IDOCs directly to your interface mapping
    then click on read interfaces
    and select your message mapping program
    if you want to learn more about IDOCs and XI
    have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Data transfer b/w SAP to Java using IDOC and Interface SAP Jco

    Dear Experts,
    The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
    For this data transferred we are planning to use IDOC process and for interface "SAP Java connector (Version 3.0.5)" we are planning to use. As per our understanding, from Java side one program needs to be written to connect with SAP as "Registered program". This registered program will appear in SAP GATEWAY automatically and using tRFC, TCP/IP connection both SAP and Java system will be connected.
    In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    5. Any sample Java program for the SAP Jco version 3.0.5 to create the "Registered program" with SAP..? (e.g. SAP Listener program).?
    If anybody has detailed steps or explanation please share it with us.
    Thanks in advance
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • IDOC type for interface between SAP ECC and SAP F&R

    Hi Experts,
    I need SAP standatd IDOC type for interfacing between SAP ECC and SAP F&R [SAP Forecasting and Replenishment] using message type u201CFRE_LOC_SITEu201D.
    Please help me in finding the idoc type?
    Regards,
    Krishan

    Hi Denish,
    You have 2 ways of loading data from R/3 to APO.
    1. R/3 to BW cube to APO-BW cube to APO planning area
    or
    2.  R/3 to APO-BW cube to APO planning area   
    BW can be a enterprise BW system ( independent) or you can use the BW inbuilt in APO also referred to as APO-BW.
    The only difference between the 2 BW systems is APO-BW can not take the load of reporting where as the enterprise BW can.
    Unless your company policy requires the enterprie BW system, I suggest using 2nd way.
    You can load the data from R/3 to APO-BW cube using extractors either generic or standard depending on your data. You need to have a RFC connection setup between APO-BW and R/3. ( This is not CIF).
    When you load the data into the APO-BW cube, you just have to load the data from the cube to APO planning area using the transaction /sapapo/tscube.
    Refer to [DP Data Mart|http://help.sap.com/saphelp_scm50/helpdata/en/13/5ada58309111d398250000e8a49608/frameset.htm] for more information about the data transfer between APO-BW and APO.

  • ALE and Idocs configuration

    Hi Gurus,
    Please tell me the ALE and Idocs configuration settings
    Thnaks in advance

    Hi,
    Please refer to the details mentioned in the hyper-links beow.
    You will get the details how to go about it.
    To see the IDOC & status check it in WE02/WE05
    You will get step by step process.
    ABAP Development
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
    http://help.sap.com/saphelp_45b/helpdata/en/35/b0ea5187a62488e10000009b38f9b7/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c4/6bc368fef411d28d0900104b56737d/frameset.htm
    ABAP Development
    Follow below steps to create custom IDOC.
    1.Create segments through transaction WE31.
    2.Create IDoc Type through transaction WE30 by attaching created segments.
    3.Message type through transaction WE81.
    4.Link Idoc and message type in WE82 transaction.
    Check the transaction WEDI for ALE settings
    Check these links for more details on IDoc's:
    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
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
    Hope this will help.
    Regards,
    Priyanka.

  • Question related to POF configuration and use-subclasses

    Hi,
    I noticed that the default POF configuration in coherence.jar (coherence-pof-config.xml) forces the use-subclasses flag to true (the ultimate use-subclasses value is true if whichever loaded POF configuration file specifies it to be true), and thus making it impossible to get error messages if a certain subclass of a registered type is not registered specifically in the POF-configuration, and users may silently lose data this way.
    My question is:
    Is the use-subclasses flag in the coherence-pof-config.xml set to true only because of Throwable-s, or are there other Coherence-provided classes which are serialized by subclass resolution and thus depend on the use-subclasses flag being true?
    If only the Throwable-s depend on that, then instead of setting it to true, we can set it to false and use the following class instead of ConfigurablePofContext as the Serializer class for the POF-enabled services:
    import com.tangosol.io.pof.ConfigurablePofContext;
    import com.tangosol.run.xml.XmlElement;
    * This class extends ConfigurablePofContext with the possibility to
    * configurably disable the subclass-allowed setting forced true in the
    * coherence-pof-config.xml, and still be able to use ThrowablePofSerializer for
    * each not specifically configured Throwable subclass.
    * @author Robert Varga
    public class ThrowableAwareConfigurablePofContext extends
          ConfigurablePofContext {
        * By setting this flag to true, it is possible to disable subclass
        * resolution. Interface resolution remains untouched.
       private boolean m_fDisableSubclassAllowed;
        * {@inheritDoc}
       public ThrowableAwareConfigurablePofContext() {
        * {@inheritDoc}
        * @param sLocator
       public ThrowableAwareConfigurablePofContext(String sLocator) {
          super(sLocator);
        * {@inheritDoc}
        * @param xml
       public ThrowableAwareConfigurablePofContext(XmlElement xml) {
          super(xml);
        * Sets the {@link #m_fDisableSubclassAllowed} flag. You can set this as an
        * &lt;init-param&gt; in the Coherence cache configuration file.
        * @param disableSubclassAllowed
       public void setDisableSubclassAllowed(boolean disableSubclassAllowed) {
          this.m_fDisableSubclassAllowed = disableSubclassAllowed;
        * @return false if disableSubclassAllowed is true, or result from the super
        *         implementation otherwise.
       @Override
       protected boolean isSubclassAllowed() {
          return (!m_fDisableSubclassAllowed) && super.isSubclassAllowed();
        * If the super implementation could not resolve the type id for the class,
        * and subclass-allowed is disabled and clz is a {@link java.lang.Throwable}
        * subclass then it falls back to the configuration for
        * {@link java.lang.Throwable}.
       @Override
       protected int getInheritedUserTypeIdentifier(Class clz) {
          int result = super.getInheritedUserTypeIdentifier(clz);
          if (result == -1 && !isSubclassAllowed()
                && Throwable.class.isAssignableFrom(clz)) {
             result = getUserTypeIdentifier(Throwable.class);
          return result;
    }Thanks and best regards,
    Robert

    dcarrano wrote:
    Hi Robert,
    If you are only interested in Java you are correct.
    If you need more detail please let me know but I hope this answers your question.
    Best regards,
    -DaveHi Dave,
    I am also interested in other environments, so I need more detail.
    I am looking at the portability of my POF Serializer generator in which I assume that use-subclasses is false, because supporting use-subclasses being true would be quite hard to define, not to mention implement.
    Thanks and best regards,
    Robert

  • T400 and Incompatibility with Advanced Configuration and Power Interface (ACPI) PC Hal.dll

    I manage the master XP image for our company and I have managed to keep 1 master image for every model of laptop hardware we have, from older P3's all the way to the T61's using the Advanced Configuration and Power Interface (ACPI) PC Hal.dll.  During the sysprep process, the user would have the option to update the HAL to the ACPI Multiprocessor PC.  Unfortunately, the new T400 and (W500's also) seem to be incompatibile with this HAL.  On the sysprepped image, I get a black screen on initial boot-up.  On reboot, I am asked if I want to start in safe mode.  I also played around with the Standard PC HAL and it also exhibited the same problems.  The only HALs that will work are the ACPI Uniprocessor PC HAL and ACPI Multiprocessor PC.  Using either one of these HALs on my master image could be incompatibile with older hardware.  I hate to have to move to maintaining two images.  Anybody have any experience in getting the Advanced Configuration and Power Interface (ACPI) PC HAL working on these new Lenovo models?  Thanks in advance.
    Solved!
    Go to Solution.

    I also have the same problem.
    I have a hardware independant image that i have built in MS VPC / MS VS05 which is then sysprep'd and captured into a WIM file.
    Before i built my base image in the virtual environment, i configured all the automation files used to install windows, to include the latest Intel Matrix drivers v8.5, including the sysprep files in the base image.
    I have a custom WinPE v2.1 that the machine boots of the network, and runs a vbscript in the background to partition the disks, and map drives to the network, it then extracts the WIM file to the hard disk, and copies the required drivers from the network share for the model being imaged, and then proceeds to updating the sysprep.inf.
    One of the process's that is performed is checking what HAL to write into the sysprep file.
    I have forced all the different types of HAL's by hard coding them in the sysprep, but after the machine reboots i get the black screen of nothing and no hard disk activity, if i reboot into safe mode it freezes on agpCPQ.sys.
    I use this build process to support around 5,000 different machines at two different companies, there is proberly about 30 different models of machines that are supported by this image, (HP, Acer, Toshiba, IBM, Lenovo)and i only have the issue with the new Lenovo x301, T400 & T500.
    I have spoken with Lenovo Australia, and dealt directly with the advanced system engineers and even forwarded them a copy of my image for testing, so far they have not been able to provide a solution.
    They also sent me a copy of the restore disks for those models and windows xp installed without an issue, but the difference is that their image does a fully automated install where as my image is a sysprep'd image.
    I checked the machines HAL type after it was imaged, and it is the same as the HAL used inside my VM Image.

  • Advanced Configuration and Power Interface - Slow boot on Neo2 Platinum

    Hi,
    Recently I bought myself a Neo2 Platinum mainboard but in WinXP I got some stuttering problems while playing music in winamp. I remembered from my last Nforce2 mainboard that changing the WinXP HAL from 'ACPI Uniprocessor' toAdvanced Configuration and Power Interface' fixes this problem.
    But when I try to do this it result in WinXP booting really slow (more than 10 minutes at least). Also a clean install of WinXP where I set the HAL manually during the installation gives the same problem after installing the nforce drivers.
    Anyone else had this problem?
    MSI Neo2 Platinum
    Amd Athlon64 3000+
    2* 512MB Corsair ValueSelect
    Leadtek GeForce 6600GT
    Seagate 120GB
    OCZ Modstream 450W
    WinXP

    I also have the same problem.
    I have a hardware independant image that i have built in MS VPC / MS VS05 which is then sysprep'd and captured into a WIM file.
    Before i built my base image in the virtual environment, i configured all the automation files used to install windows, to include the latest Intel Matrix drivers v8.5, including the sysprep files in the base image.
    I have a custom WinPE v2.1 that the machine boots of the network, and runs a vbscript in the background to partition the disks, and map drives to the network, it then extracts the WIM file to the hard disk, and copies the required drivers from the network share for the model being imaged, and then proceeds to updating the sysprep.inf.
    One of the process's that is performed is checking what HAL to write into the sysprep file.
    I have forced all the different types of HAL's by hard coding them in the sysprep, but after the machine reboots i get the black screen of nothing and no hard disk activity, if i reboot into safe mode it freezes on agpCPQ.sys.
    I use this build process to support around 5,000 different machines at two different companies, there is proberly about 30 different models of machines that are supported by this image, (HP, Acer, Toshiba, IBM, Lenovo)and i only have the issue with the new Lenovo x301, T400 & T500.
    I have spoken with Lenovo Australia, and dealt directly with the advanced system engineers and even forwarded them a copy of my image for testing, so far they have not been able to provide a solution.
    They also sent me a copy of the restore disks for those models and windows xp installed without an issue, but the difference is that their image does a fully automated install where as my image is a sysprep'd image.
    I checked the machines HAL type after it was imaged, and it is the same as the HAL used inside my VM Image.

  • Please help- error related to update edidc in idoc creating and postiong

    Hello,
    I am using 'IDOC_WRITE_AND_START_INBOUND' for idoc creataion and posting.
    I am posting in the same system.
    Geting following error-
    Update was terminated 
    Error Info...   EDI: Error during database insert/update in table EDIDC
    Please give suggestions.
    Thanks in advacne.
    Vaibhav

    Hello,
    I excuted SM 13.  Following details are coming. Any guess from this?
    Function Module        EDI_DOCUMENT_CLOSE_PROCESS_UPD
    Status                 Update was terminated
    Report                 LEDI1FU1
    Row                    39
    Error details   Class:     E0         Number:    057
    EDI: Error during database insert/update in table EDIDC
    Thanks,
    Vaibhav

  • How to configure and test Profibus network using NI part number 780161-01 Master/Slave interface

    I have purchased this board from NI. I have been in touch with Comsoft who it appears is the developer of this board. I have used the configurator II to try and build the network. The GSD file for my slave board is entered. I also can see the GSD file for the master. There appears to be no obvious way to test the bus from the configuration tool. I have tried the Express VI provided by Comsoft. Nothing happens. I have a purchased profibus cable with terminations installed. I know the cable works as another division has another Profibus master that does work using this cable How do I configure correctly for sure? How do I test?
    Thanks
    Rick
    Solved!
    Go to Solution.

    Hi Rick, 
    First, ensure that you have the correct drivers installed on your system: 
    Make sure NI-VISA 4.2 or later is installed on your system.
    First install 1.3x.x COMSOFT driver
    Second install a DF PROFI II Slave and Master board in your PC-System.  
    Reboot your computer System.  
    Install the NI-PROFIBUS driver, instructions can be found here. 
    However, it sounds to me like you may have an issue with your bus configuration or with the GSD file. First, did you obtain the GSD file from the manufacturer or from profibus.com? 
    Also, common issues with the configuration include specifying an improper baud rate (supported baud rates can be found here), or an incorrect PROFIBUS address. Were you able to successfully save the bus configuration and generate the configuration database? Were you able to load the configuration database into the master device successfully as well?  
    If you are unable to resolve this issue, can you provide me with some more information about your system setup and error? What PXI chassis are you using, version of LabVIEW, operating system? What devices are you testing on the bus? 
    Julianne K
    Systems Engineer, Embedded Systems
    Certified LabVIEW Architect, Certified LabVIEW Embedded Systems Developer
    National Instruments

  • IDOC configuration in 46C for BI 7

    Dear Experts
    Is there a set of  steps to create the idoc configurations in R/3 for data transfer between R/3 46C  and BI 7?
    After refresh, the idoc related configurations are lost and BI is unable to load from Source System R/3.
    Thanks for reading and hope you can advise on the above.
    Best regards
    Pascal

    Hello Pascal,
    Maybe a thread in the PI forum would help you better:
    Process Integration (PI) & SOA Middleware
    Check the following thread:
    Re: interface help
    Regards,
    Eduardo Rezende

  • IDoc Collection Scenario (IDoc to Mail Interface)

    Hi,
    I am configuring IDoc to Mail Scenario using BPM.
    I gone through following link for develop the scenario. I am still unable to complete the scenario.
    Collect Idoc
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    I have done following steps in my configuration. Please correct my steps if i am wrong.
    Source is Outbound Invoice IDoc (SAP System).
    Target is Inbound EDI 810 format send as a email(Mail System).
    1. Create an Abstract Interface for Invoice IDoc(MI_IDoc_ABS)
    2. Create a Message Interface for EDI 810 for Inbound(MI_EDI810_IN)
    3. Create an Abstract Interface for EDI 810(MI_EDI810_ABS)
    4. Message Mapping between Outbound IDoc and Abstract Invoice IDoc.  I did this as per one of the above link. but did not understand the importance of this. On Message tab of Message Mapping, it shows the occurance as 1 for both source and target. I did not see the mention of this mapping in the BPM. Not sure if this was required?(MM_IDoc_ABS)
    5. Message mapping between Abstract Invoice IDoc to Abstract EDI 810. On the message tab of message mapping, occurance of Source message is changed to 0-unbounded and occurance of target is kept as 1.(MM_EDI810_ABS)
    6. Define Interface Mapping for above mappings
    a) IM_IDoc_ABS - Outbound Invoice IDoc + MI_IDoc_ABS
                                  MM_IDoc_ABS
    b) IM_EDI810_ABS - MI_IDoc_ABS + MI_EDI810_ABS
                                 MM_EDI810_ABS
    7. Create a BPM in Integration process. Define 3 Containers namely
    a) collectIDoc - Abstract Interface - MI_IDoc_ABS
    b) collectIDocList - Abstract Interface - MI_IDoc_ABS(Multiline)
    c) targetFile - Abstract Interface - MI_EDI810_ABS
    8. Create a Block and define a infinite while loop with Block. Condition to be defined as (1=1)
    9. Define a deadline block withing Block with duration = 5minutes
    10. Define a Correlation in Correlation editor as SNDPOR as a ID.
    11. Define a recieve step inside infinite while loop with following properties
    Message = collectIDoc
    Start Process = Checked
    Use Correlation = Correlation
    Activate Correlation = Correlation
    Correlation
    SNDPOR = collectIDoc./INVOIC02/IDOC/EDI_DC40/SNDPOR
    12. Define Container operation next to recieve step. properties are
    Target = collectIDocList
    Operation = Append
    expression = collectIDoc
    13. Outside the block, there is Transformation Step with following properties
    Interface Mapping = IM_EDI810_ABS
    Source message = collectIDocList
    Target message = targetFile
    Acknowledgement = None
    Reciever From = Send Context
    Now the next step is to define Communication Channel and Receiver determination, Interface determination in the Integration Directory.
    I don't know, how to go further on these steps.
    In addition, could you please validate my above steps.
    I appreciate your help.
    Thanks,
    Gowri

    Hi Bhavesh,
    Thanks for the directions and help. I appreciate your help. I understand the steps but i am unable to implement it.
    I have few more questions on above answer.
    a) Do i have to create Sender Agreement?
    b) Do i have to import bmp process in Integration Process in Integration Directory?
    The steps that i carried out in Integration Directory.
    1. Create a Scenario EDI810_Scenario
    2. Create a party called EDI810_Party and EDI810_Service.
    3. In EDI810_Service, Receiver tab has interfaces defined. MI_EDI_IN and MI_IDoc_ABS. In sender tab, it is INVOIC.INVOICE02 (IDoc) and MI_EDI810_ABS.
    4. Define a receiver communication channel CC_EDI810_Receiver(RFC).
    5. Business System for SAP is defined in Service without Party.
    6. Defined Sender communication channel CC_IDoc_Sender(IDoc)
    7. Create Interface Determination (First)
    Properties are
    Sender Service : SAP Business System
    Sender Interface : INVOIC.INVOICE02 (IDoc)
    Sender Namespace : IDoc namespace
    Receiver Party : EDI810_Party
    Receiver Service : EDI810_Service
    Configured Inbound Interface is
    MI_IDoc_ABS and IM_IDoc_ABS
    8. Create Interface Determination Determination (Second)
    Properties are
    Sender Service : BPM_IP (Bpm process is imported in Integratio directory)
    Sender Interface : MI_EDI810_ABS
    Receiver Party : EDI810_Party
    Receiver Service : EDI810_Service
    Configured Inbound Interface is
    MI_EDI_IN. I do not see IM_EDI_ABS in the list. How do i get that.
    What step did i miss?
    Thanks,
    Gowri

  • Difference btw idoc ale and edi

    Hi all,
    I'm a beginner in abap, can anyone send me the concepts of ALE, IDOC and EDI and the difference btw all the three.
    Also do send some materials for the same.

    Hi,
    ALE (Application Linking and Enabling)
    Ale Technology is SAP’s technology to support distributed yet integrated processes across several SAP systems.
    Distributed Process:
    A distributed process is one in which part of a business process is carried out on one system and part on another. The two systems would exchange data with each other at appropriate points to stay synchronized.
    Need for Distributed Process:
    • Business in Different Geographical Locations.
    • Non availability of dedicated network.
    • Cultural and language differences in Geographical locations.
    • Running of Mission-critical Applications (Like Maintenance downtime etc.).
    • Separate up gradation of Modules.
    Distributed SAP SYSTEM – CHALLENGES
    • A system that understands the syntax and semantics of the data. It was important from the very beginning to base the distribution of data on business rules, not on database replication techniques.
    • Distributed systems that can maintain their autonomy while being integrated as one logical SAP system. The systems should be able to operate independently and support logical processing of transactions and data.
    • Distributed systems that can handle different data models. A local implementation should be able to customize the system to meet its local needs.
    • Receiving systems that can handle their own problems and not tie up the sending system.
    • Systems that maintain continued operation in spite of network failure. Changes made to either system should be synchronized after the network connection is restored.
    • A sound technology and methodology that can be used in all distribution scenarios.
    SAP Distributed environment:
    ALE allows for efficient and reliable communication between distributed processes across physically separate SAP systems.
    ALE is based on application to application integration using messaging architecture. A message defines data that is exchanged between two processes. IDocs are containers that hold data exchanged between the two systems.
    Benefits of ALE:
    • Integration with non-SAP systems: ALE architecture allows third party applications to integrate with SAP system.
    • Reliable Distribution: Once message type created and the receiver of the message is determined, ALE delivers the message to the recipient. If there is any network problem it will buffer the message and delivers the message once the network is restored. It also ensures that the message is not delivered twice.
    • Release Upgrade: Any of the distributed system can be upgraded to the new release of SAP without affecting the functionality. The ALE layer ensures backward compatibility of messages exchanged between systems.
    ALE Architecture:
    It consists of an Outbound process, an Inbound process, and an Exception – Handling process.
    Outbound Process:
    ALE Outbound Process in SAP sends data to one or more SAP Systems. It involves four steps.
    1. Identify the need of IDoc: This step starts upon creating a application document, can relate to a change to a master data object.
    2. Generate the Master IDoc: The document or master data to be sent is read from the database and formatted into an IDoc format. This IDoc is called as a Master IDoc.
    3. Generate the Communication IDoc: The ALE Service layer generates a separate IDoc from the Master IDoc for each recipient who is interested in the data. Separate IDocs are generated because each recipient might demand a different version or a subset of the Master IDoc. These recipient-specific IDocs are called Communication IDocs and are stored in the database.
    4. Deliver the Communication IDoc: The IDoc is delivered to the recipients using an asynchronous communication method. This allows the sending system to continue its processing without having to wait for the destination system to receiver or process the IDoc.
    Inbound Process:
    The inbound process receives an IDoc and creates a document in the system.
    1. Store the IDoc in the database: The IDoc is received from the sending system and stored in the database. Then the IDoc goes through a basic integrity check and syntax check.
    2. Invoke the Posting Module: The control information in the IDoc and configuration tables are read to determine the posting program. The IDoc is then transferred to its posting program.
    3. Create the Document: The posting program reads the IDoc data and then creates a document in the system. The results are logged in the IDoc.
    Over view of IDocs:
    IDoc is a container that is used to exchange data between any two processes. The document represented in an IDoc is independent of the complex structure SAP uses to store application data. This type of flexibility enables SAP to rearrange its internal structure without affecting the existing interface.
    IDoc interface represents an IDoc Type or IDoc data. IDoc Type represents IDoc’s definition and IDoc Data is an instance of the IDoc Type.
    IDoc Types:
    IDoc type structure can consist of several segments, and each segment can consist of several data fields. The IDoc structure defines the syntax of the data by specifying a list of permitted segments and arrangement of the segments. Segments define a set of fields and their format.
    An IDoc is an instance of an IDoc Type and consists of three types of records.
    i. One Control record: each IDoc has only one control record. The control record contains all the control information about an IDoc, including the IDoc number, the sender and recipient information, and information such as the message type it represents and IDoc type. The control record structure is same for all IDocs.
    ii. One or Many Data records: An IDoc can have multiple data records, as defined by the IDoc structure. Segments translate into data records, which store application data, such as purchase order header information and purchase order detail lines.
    iii. One or Many Status records: An IDoc can have multiple status records. Status record helps to determine whether an IDoc has any error.
    Message in IDoc Type:
    A Message represents a specific type of document transmitted between two partners.
    Outbound Process in IDocs:
    Outbound process used the following components to generate an IDoc. A customer model, and IDoc structure, selection programs, filter objects, conversion rules, a port definition, an RFC destination, a partner profile, service programs, and configuration tables.
    The Customer Model:
    A customer model is used to model a distribution scenario. In a customer model, you identify the systems involved in a distribution scenario and the message exchanged between the systems.
    Message control:
    Message control is a cross application technology used in pricing, account determination, material determination, and output determination. The output determination technique of Message control triggers the ALE for a business document. Message control separates the logic of generating IDocs from the application logic.
    Change Pointers:
    The change pointers technique is based on the change document technique, which tracks changes made to key documents in SAP, such as the material master, customer master and sales order.
    Changes made to a document are recorded in the change document header table CDHDR, and additional change pointers are written in the BDCP table for the changes relevant to ALE.
    IDoc Structure:
    A message is defined for data that is exchanged between two systems. The message type is based on one or more IDoc structures.
    Selection Program:
    Is typically implemented as function modules, are designed to extract application data and create a master IDoc. A selection program exists for each message type. A selection program’s design depends on the triggering mechanism used in the process.
    Filter Objects;
    Filter Objects remove unwanted data for each recipient of the data basing on the recipients requirement.
    Port Definition:
    A port is used in an outbound process to define the medium in which documents are transferred to the destination system. ALE used a Transactional RFC port, which transfers data in memory buffers.
    RFC Destination:
    The RFC destination is a logical name used to define the characteristics of a communication link to a remote system on which a function needs to be executed.
    Partner Profile:
    A partner profile specifies the components used in an outbound process(logical name of the remote SAP system, IDoc Type, message type, TRFC port), an IDoc’s packet size, the mode in which the process sends an IDoc (batch versus immediate), and the person to be notified in case of error.
    Service Programs and Configuration Tables:
    The outbound process, being asynchronous, is essentially a sequence of several processes that work together. SAP provides service programs and configuration tables to link these programs and provide customizing options for an outbound process.
    Process flow for Distributing Transactional Data:
    Transactional data is distributed using two techniques: with Message control and without message control.
    Process flow for Distributing Master Data:
    Master data between SAP systems is distributed using two techniques: Stand alone Programs and Change Pointers.
    Triggering the Outbound Process via Stand-Alone Programs:
    Stand-Alone programs are started explicitly by a user to transmit data from one SAP system to another. Standard Programs for several master data objects exist in SAP. Ex. The material master data can be transferred using the RBDSEMAT program or transaction BD10.
    The stand-alone programs provide a selection screen to specify the objects to be transferred and the receiving system. After the stand-alone program is executed, it calls the IDoc selection program with the specified parameters.
    Triggering the Outbound Process via Change Pointers:
    The change pointer technique is used to initiate the outbound process automatically when master data is created or changed.
    A standard program, RBDMIDOC, is scheduled to run on a periodic basis to evaluate the change pointers for a message type and start the ALE process for distributing the master data to the appropriate destination. The RBDMIDOC program reads the table TBDME to determine the IDoc selection program for a message type.
    Processing in the Application Layer:
    The customer distribution model is consulted to make sure that a receiver has been defined for the message to be transmitted. If not, processing ends. If at least one receiver exists, the IDoc selection program reads the master data object from the database and creates a master IDoc from it. The master IDoc is stored in memory. The program then calls the ALE service layer by using the function module MASTER_IDOC_DISTRIBUTE, passing the master IDoc and the receiver information.
    Processing in the ALE Interface Layer:
    Processing in the ALE Layer consists of the following steps:
    • Receiver Determination: The determination of the receiver is done through Customer Distribution Model.
    • IDoc Filtering: if an IDoc filter is specified in the distribution model for a receiver, values in the filter are compared against the values in the IDoc data records. If a data record does not meet the filter criteria, it is dropped.
    • Segment Filtering: For each sender and receiver combination, a set of segments that are not required can be filtered out.
    • Field conversion: Field values in data records are converted by using the conversion rules specified for the segment.
    • Version change for segments: Segments are version-controlled. A new version of a segment always contains fields from the preceding version and fields added for the new version. Release in IDoc type field of the partner profile to determine the version of the segment to be generated.
    • Version change for IDocs: IDocs are also version controlled. The version is determined from the Basic Type field of the partner profile.
    • Communication IDocs generated: The final IDoc generated for a receiver after all the conversions and filtering operations is the communication IDoc. One master IDoc can have multiple communication IDocs depending on the number of receivers identified and the filter operations performed. IDoc gets the status record with a status code of 01 (IDoc Created).
    • Syntax check performed: IDoc goes through a syntax check and data integrity validation. If errors found the IDoc get the status of 26 (error during syntax check of IDoc – Outbound). If no errors found the IDoc gets the status 30 (IDoc ready for dispatch – ALE Service).
    • IDoc dispatched to the communication Layer: In the ALE process, IDocs are dispatched using the asynchronous RFC method, which means that the sending system does not await for data to be received or processed on the destination system. After IDocs have been transferred to the communication layer, they get a status code 01 (Data Passed to Port OK).
    Processing in the Communication Layer:
    To dispatch an IDoc to a destination system, the system reads the port definition specified in the partner profile to determine the destination system, which is then used to read the RFC destination. The RFC destination contains communication settings to log o to the remote SAP system. The sending system calls the INBOUND_IDOC_PROCESS function module asynchronously on the destination system and passes the IDoc data via the memory buffers.
    Inbound Process in IDocs:
    An inbound process used IDoc structure, posting programs, filter objects, conversion rules, a partner profile, service programs, and configuration tables to post an application document from an IDoc.
    Posting Program:
    Posting programs, which are implemented as function modules, read data from an IDoc and create an application document from it. A posting program exists for each message. Each posting program is assigned a process code. A process code can point to a function module or a work flow. In the standard program process codes always point to a function module.
    Ex. The posting program for message type MATMAS is IDOC_INPUT_MATMAS which has a process code MATM.
    Workflow:
    A workflow represents a sequence of customized steps to be carried out for a process. The workflow management system is used to model the sequence, identify information required to carry out the steps and identify the person responsible for the dialog steps.
    Partner Profile;
    A partner profile specifies the components used in an inbound process (partner number, message type, and process code), the mode in which IDocs are processed (batch versus immediate), and the person to be notified in case of errors.
    Process flow for the Inbound process via a Function Module:
    In this process, IDocs are received from another system and passed to the posting function module directly.
    1. Processing in the communication Layer:
    The IDOC_INBOUND_ASYCHRONOUS program, triggered as a result of an RFC from the sending system, acts as the entry point for all inbound ALE processes. The IDoc to be processed is passed as an input parameter. Control is transferred to the ALE/EDI layer.
    2. Processing in the ALE/EDI Interface Layer:
    • Basic integrity check: A basic integrity check is performed on the control record.
    • Segment Filtering and conversion: Filtering out unwanted segments and carry out any required conversion of field values.
    • Creation of Application IDoc: The application IDoc is created and stored in the database and a syntax check is performed. If there are errors it gets status code of 60 (Error during Syntax check of IDoc – Inbound). At this point a tangible IDoc, which can be monitored via one of the monitoring transactions, is created and the IDoc gets status code 50 (IDoc Added).
    • IDoc Marked ready for Dispatch: IDoc gets the status code 64 (IDoc ready to be passed to application).
    • IDoc is passed to the posting program: The partner profile table is read. If the value of the Processing field is set to Process Immediately, the IDoc is passed to the posting program immediately using the program RBDAPP01.
    3. Processing in the Posting Module:
    The process code in the partner profile points to a posting module for the specific message in the IDoc. The posting program implemented as a function module either calls a standard SAP transaction by using the Call Transaction command for posting the document or invokes a direct input function module.
    The results of execution are passed back via the function module’s output parameters. If the posting is successful IDoc gets the status code 53 (Application Document Posted) or it gets status code 51 (Error: Application Document Not Posted).
    IDOC:
    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)
    RFC:
    RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;
    and you will be passing an Import parameter DESTINATION to it.
    Other code and usage will be similar to any fun module;
    Have a look at any fun module in SE37 to understand better about the different components of Fun modules;
    Refer this link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm]
    check out the following link it might help you
    [http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCFESDE2/BCFESDE2.pdf]
    EDI:
    Electronic Data Interchange
    Cross-company exchange of electronic data (for example business documents) between domestic and international business partners who use a variety of hardware, software, and communication services. The data involved is formatted according to predefined standards. In addition to this, SAP ALE technology is available for data exchange within a company.
    Refer
    [http://www.erpgenie.com/sapedi/index.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm]
    [https://www.2020software.com/products/Fourth_Shift_Edition_for_SAP_Business_One_Electronic_Data_Interchange.asp]
    [http://downloads-zdnet.com.com/SoftwareandWebDevelopment/SoftwareDevelopmentTools/ElectronicData+Interchange/]
    [http://www.erpgenie.com/sapedi/index.htm]
    [http://www.kostal.com/english/downloads/EDI_AGB_eng.pdfd]
    EDI FLOW :
    Here is some thing which helps you and here the purchase order is taken as example too..
    Electronic Data Interchange, or EDI, is the electronic exchange of business data. Using a standard format, EDI provides a method of transmitting business data from one computer to another, without the need to re-key data. This electronic link can result in more effective business transactions. With EDI, paper documents such as invoices can be replaced with electronic transmissions, thus time is saved, and the potential for error is minimized. Data can be exchanged at any time. Related business expenses, such as postage, printing, phone calls, and handling, can also be significantly reduced. EDI can aid in the support of manufacturing efforts, such as Just-in-Time and Third Party Warehousing, and financial efforts, such as Electronic Payments.
    What parts of the business cycle can be supported by EDI?
    Any business documents that are currently exchanged using paper can be converted to an EDI. Standards. Standards include ANSI X12 and XML/EDI are primarily used in the United States, while EDIFACT is used in Europe and Asia.
    How does EDI get started?
    EDI gets started when one company contacts another expressing interest in trading business documents electronically using Electronic Data Interchange. The two companies must first determine each other's EDI capabilities. If you do not already know your EDI capabilities, we have prepared a questionnaire to help you determine them. If you are already EDI capable, we will coordinate with your technical staff to determine a testing plan. Upon completion of testing the EDI documents, the appropriate business personnel will set a production start date to begin the exchange of EDI business data. If you are not EDI capable, we recommend you first obtain a commitment from your upper management. Your company will need to allocate resources and capital for software, hardware, testing, possible programming, and training.
    What is the flow of EDI?
    The flow of EDI depends on the sophistication of your systems and your EDI software. If you have internal purchasing/order entry systems, you will need interface programs that can extract and insert data out of and into these systems. EDI programs that interface with your internal systems are preferred over software that requires re-keying of data. Embassy Software specializes in seemless interface between EDI and your back office systems. Using a purchase order as an example of a business document your customer would send that PO electronically (850) to you. It could be sent either through a VAN (Value Added Network) or through an FTP server. You would take that 850 and convert it either into and ODBC database, a flat file or XML document to be imported into your Order System with the use of EDI Software such as PassportXchange.. Using EDI communication software, which is part of the PassportXchange package you would pull down data at set intervals from the VAN or FTP. These documents are then processed through EDI translation software and output to our order entry system. Finally, an EDI document called a functional acknowledgment (997) is sent to your customer.
    check this.
    [http://www.netweaverguru.com/EDI/HTML/IDocBook.htm]
    [http://www.sapgenie.com/sapedi/idoc_abap.htm]
    [http://www.sapgenie.com/sapedi/index.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm]
    [https://www.2020software.com/products/Fourth_Shift_Edition_for_SAP_Business_One_Electronic_Data_Interchange.asp]
    [http://downloads-zdnet.com.com/SoftwareandWebDevelopment/SoftwareDevelopmentTools/ElectronicData+Interchange/]
    [http://www.erpgenie.com/sapedi/index.htm]
    [http://www.kostal.com/english/downloads/EDI_AGB_eng.pdfd]
    [ALE / IDOC / RFC / EDI]
    [SAP ABAP and EDI/ALE/IDOC]
    [Re: IDOC/BAPI/ALE/EDI]
    Regards,
    Dhruv Shah

  • IDoc, EI and Workflow

    Please give me a brief idea about IDoc, EI and Workflow.
    Where I can find the useful documents?
    Can anyone give me any PPT or documents regarding the same topics?

    HI,
    Check the links below:
    ALE:
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217e1c51ce11d189570000e829fbbd/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    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
    IDOCS
    http://idocs.de/www5/books/IDocBook/IDOCS_CHAP09-11.pdf
    http://idocs.de/cookbooks/idoc/cb12_idoc_20_outbound/idoc_outbound_45_rsnast00/docu.htm
    IDOC / ALE Blogs
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    /people/kevin.wilson2/blog/2006/11/13/ale-scenario-development-guide
    EDI:
    Advanced guide to EDI configuration
    http://www.erpgenie.com/sapgenie/docs/advanced_guide_to_edi_configuration.doc
    EDI Architecture
    http://www.cs.jyu.fi/el/tjtl63/Antin_esitys/sld003.htm
    Overview of EDI and the IDoc Interface in SAP
    http://sap-idoc2edi-consulting.com/pdfFiles/EDI_IDoc_Overview.pdf
    How to Build a Basic EDI Interface Using an Imported Schema and Map
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/818a20be-0601-0010-e3b8-ac3d5f975319
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d98675ca-0d01-0010-c5a0-c70389f1a314
    EDI Functional Design
    http://www.erpgenie.com/sapgenie/docs/interface_function_specification.doc
    Thoughts on EDI in an SAP XI Environment
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
    Workflow is a more basis related component. This component allows you to configure SAP system to trigger the mail straight to the Inbox of the manager. It can be related to approval of PR or PO or it can be of anyother purpose. The main purpose is the manager need not to login GUI screen for approval. He could select the approval button in his outlook mail(This mail will contain complete details of purchase order), it will automaticall update in SAP back end.
    Workflow will be per Business object. BO can be PR, PO etc.It is possible to set the event by when the workflow should trigger. For example it should trigger when the purchaser creates a PO and saves it . The saving action is called event. After the event is triggerred system will check for the starting conditions. It is possible to define starting condition per workflow. It is like your release strategy. If the value of PO is less than 1000 then it should be approved by one manager, if values >1000 then it should undergo approval from 2 managers.
    There are plenty of predefined workflows which could be used straigt according to the purpose expected.However workflow is delicate and has to be configured with utmost care in proper sequence to avoid in consistencies.
    Please follow the links,
    http://help.sap.com/saphelp_nw04s/helpdata/en/04/926f8546f311d189470000e829fbbd/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/172437130e0d09e10000009b38f839/frameset.htm
    A good tutorial
    http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    http://www.sap-img.com/workflow/sap-workflow.htm
    /people/alan.rickayzen/blog
    /people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
    a good book
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Check the following PDF
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    Regards,
    Raj.

Maybe you are looking for