Urgent: Automate IDOC Inbound/ Outbound

Hi all,
I need to automate the whole IDOC process, inbound and outbound.
For inbound, I need to run or schedule a program that will read all files in a given directory as separate idocs. Note that the filename is not constant, whatever file is in the given directory should be consumed. I don't know if I can use we16 for this still. If I could do this, I just need to schedule RWPOS_PARA_ENQUEUE and I' finished.
For outbound, what do I do for the system to automatically generate IDOCs? I thought if I activate change pointers, IDOCs will automatically be generated if a change is detected. I am using SAP Retail, one of the idocs is similar to matmas but I cant use BD10 for this. The other two idocs are still problems for me.
In short, what do I do to automate eveything?
Thanks so much,
Kenny

Hi Kenny Martinez ,
For Inbound Automation
First attach your idoc to a process code.
In the process code you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
2. Set Function Modules as Inbound: - Transaction BD51
3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
4. Create process codes : Transaction WE42, and link the z-function module.
5. Create partner profile: transaction WE20 and attach the message type and process code.
6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
Good Luck and Reward me for the same.
Thanks
Ashok.N

Similar Messages

  • ALE/Idoc (inbound & outbound)

    Hi,
    Can any one help me by providing simple sample code for creation of ALE/Idoc (inbound & outbound). Where I need do understand flow cycling of outbound from one client to other inbound client. Waiting for replay. My email-ID is [email protected]
    Regards,
    Lokesh.K

    Hi,
    have you seen these documentation sections?
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/2174b051ce11d189570000e829fbbd/frameset.htm">Implementing Inbound Processing</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/2177bc51ce11d189570000e829fbbd/frameset.htm">Implementing Outbound Processing</a>
    Hope they'll help.

  • UTP - Test Plans IDOCs - Inbound -Outbound

    Hi All,
    can some one please provide the samples of standard UTP - Test plans for INBOUND & OUTBOUND IDOC interfaces, if you have such.
    Regards,
    Sridhar

    Hi,
    I am also in need of UTP for outbound IDoc.
    Please forward me to my id : [email protected]
    Your help would be appreciated.
    Thanks,
    Sangeetha

  • IDOC(Inbound/Outbound)  - SAP(ABAP)

    Hi Everybody,
    i m new to iDOC programing .I know to create logical sytem,rfc destination,port, partner profile ,idoctype,messagetype integration idoctype into msgtyp but i don't know hw to develop program for both creation of outbound idoc and inbound idoc.Could u guide me with small example of each one . 
    i m waiting for ur reply...........
    Thx and Regds in Adv.
    Prabhas

    Hi Prabhas,
    Check the following sample FMs:
    IDOC_INPUT_ORDERS
    IDOC_OUTPUT_ORDERS
    Check the Tcode <b>WE41</b> & <b>WE42</b> to find the FM attached to the Process code.
    <b>For BAPI programming Tcode - BAPI</b>
    <b>BAPI programming guide:</b>
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    <b>BAPI user guide:</b>
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    <b>For creating a RFC - SE37</b>
    RFC is a remote-enabled Function Module.
    Create a function module with attributes Remote-enabled.
    <b>RFC programming in ABAP:</b>
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf
    hope this helps!
    best regards,
    Thangesh

  • Need IDOC inbound and outbound programs

    hi,
    i am new to xi.
    i want IDOCs , inbound and outbound / function module  programs for    PURCHASE ORDER
    and GOODS RECEIPT.
    ex:  BD10 for material master (matmas01).
    thanks and regards
    v ijender

    for purchase order.
    ORDERS / ORDERS04
    ORDCHG / ORDERS04
    ORDRSP / ORDERS04
    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.
    and also check the below link
    http://www.erpgenie.com/sapedi/message_types_masterdata.htm
    regards
    kummari

  • Send inbound IDOC as outbound(copy)

    Hi,
    We need to send the same inbound IDOC as outbound IDOC to the customer(they want to get a copy of it) How can we do this? We are getting inbound sales order IDOC's and the customer wants the copy of the same IDOC, not order acknowledgement. Is it possible?
    Any inputs are greatly appreciated.
    Sarita

    I can think of following:
    You create your own Process code, Function Module to update your data using Inbound IDOC and at the end generate outbound IDOC using same data and then distribute using MASTER_IDOC_DISTRIBUTE.

  • IDOC Inbound and Outbound

    Please let me know How to handle IDOC inbound and Outbound preferably with example. I am new to it.

    hi,
    your question is very broad,
    start reading continue from there...
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/19/3cf334c20ccc52e10000009b38f83b/frameset.htm">Doc Interface: EDI Application Scenarios (BC-SRV-EDI)</a>
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/dc/6b8a4943d711d1893e0000e8323c4f/frameset.htm">IDoc Interface / Electronic Data Interchange (BC-SRV-EDI)</a>
    An example:
    inter company invoiceing:
    the SD invoice has an output type (INVOICE01) that sends an Idoc that creates the mm invoice (invoice verification)
    for more data see the links above
    good luck

  • Automatic generation of Idoc for outbound delivery

    Hi Experts,
    I need to generate Idoc automatically for each outbound delivery created in VL01n. I just wanted to know that whether we need to asign output type for each delivery number manually or is there any automated process available to generate Idoc for all the outbound deleveries automatically. Could some one share the information regarding the above matter and other information if there is any.

    Hi,
    U wont manuallly assign the output type for every delivery u create.
    There will be Customization part which will be done by Functional  guys and they will do that configuration.
    This will auotomaticcaly set the Output type, medium..
    Ones the configuration is done u just need to create partner profiles ( port and rfc by Basis people) .
    Rvert back if any issues,
    regards,
    Naveen

  • Converting Inbound idoc to Outbound idoc

    Hii,,
    How to convert inbound idoc to outbound idoc.
    I have IDOC -> SOAP -> IDOC Scenario.
    In case of error at SOAP side , it return idoc with 51 status.
    Now i need to convert the Inbound idocs to Outbound Idocs and send it back to the Sender system...
    How to do accomplish this??
    Regards,
    Siya

    Hii,
    By using we19 and by exchanging sender & receiver we can convert outbound idoc to inbound idoc.
    Just want to confirm is it proper way??
    Regards,
    Siya

  • What is IDOC Inbound process and Outbound Process?

    What is IDOC Inbound process and Outbound Process?
    can any one explain about the inbound and outbound process step by step?
    Tks in advance,
    Phanikumar

    Hi,
       Inbound means transfer legacy data to SAP system and
      outbound means transfer SAP system data to legacy system.
    Regards,
    Prashant

  • Mapping Inbound-Outbound IDocs

    Hy everybody,
    Is there a table in the receiving system where inbound IDocs numbers are linked to outbound IDocs numbers from the sending system ?
    Regards,
    Christian Baldari

    Hi,
    there is no link from inbound idoc to outbound idoc.
    We will only come to know by looking document flow.
    Sales order - Docuemnt flow  
    Delivery - Docuemtn flow.
    You will come to know all the things by looking docuemnt flow.
    ramesh

  • MIRO - Idoc for outbound process ( LIV)

    Friends,
    SAP has to send  the following data to Oracle Financials. XI is the interface. So I need to identify the idocs used in LIV ( Invoice Verification)  module.
    Can any one help me what idoc / bapi should i use for the below outbound process.
    Vendor invoice and credit memo
    Also, i heard transactional data cannot be triggered by programs RBDMIDOC and it will be send automatically.
    How can I send the idoc automatically in the outbound ALE layer. Is theres any message type to set up or any program to be execute. In other words , how the change pointer is triggered for the transactional LIV data.
    Regards
    Raj

    Raj,
    It really depends on where you are sending yor IDOC or whom you want to be informed.. If you think it is just for records.. After reding your initial description.. if it is an ERS based invoice, you could use ERS, else
    Create a new condition table and include all teh fields that you want.. make sure you do not mix the item fields with the header,
    Include that table in a custom access sequence that you create and assign a new message type-- custom again..
    That is the only way you'd actually be able to capture all teh fields and information you want.

  • LSMW idoc Inbound Processing settings

    Hi,
    We have done LSMW with BAPI method to create Bank master.
    In Idoc Inbound Processing settings -
    We created partner type as 'B' i.e, for BANK
    While creating Partner Number it is not allowing to create Partner Number. The error is  "Enter a permissible partner number"
    Please let me know what would be the problem.
    Regards,
    Hari
    Edited by: Bhatlapenumarthy Hari Krishna on Sep 12, 2008 9:31 AM

    Hi,
    Use patner type as US only and LSMW as Patner number.
    this will surely solve your problem .
    plz do this way :
    The first requirement is a file port for the file transfer. If required, create a port of the file type via Maintain ports. To do this, position the cursor on "File" and press Create. You should be in change mode. SAP recommends:
    Port: LSMW
    Name: Legacy System Migration Workbench
    Version: 3 (IDoc record types SAP Release 4.x)
    Outbound file Please enter a (dummy) physical directory and a file name, i.e. u2018filelsmwu2019 ·
    As an addition, you can specify a tRFC port. This port is required, if you do not want to create a file during data conversion but submit the data in packages directly to function module IDoc_Inbound_Asynchronous.
    SAP recommends:
    Port: assigned by the system
    Version: 3 (IDoc record types SAP Release 4.x)
    RFC destination: Name of R/3 System
    Name of port: Legacy System Migration Workbench.
    Then the partner type should be defined or selected. SAP recommends:
    Partner type: "US" (User)
    As of release 4.5A, this partner type is available in the standard system. Up to release 4.0B inclusive, this partner type is not available in the standard program and should be added. SAP recommends:
    Partner type: Create US
    Report name: /SAPDMC/SAP_LSMW_PARTNERTYPES
    Form routine: READ_USER
    Short description: any.
    Finally a partner number should be defined or selected. SAP recommends:
    Partner number: LSMW
    Partner type: US
    Partner status: A (active)
    Type: US
    Language: DE or EN
    Person in charge: Your user ID.
    Activate IDoc inbound processing
    reference : help.sap
    thanx.
    Edited by: Dhanashri Pawar on Sep 12, 2008 7:10 AM

  • IDOC inbound processing ( Function module Rquired )

    Hi,
    I am working on IDOC inbound, I am looking for a standard FM for Production order confirmation which i need to assign in WE57 along with the standard Message type(Production order confirmation).
    Could you please let me know where i can get the standard inbound function modules for the standard idoc types,
    for eg: IDOC_INPUT_ORDERS for sales order.
    Thanks.
    Krishnakumar

    Hi,
    Go to WE42 for inbound processing codes and WE41 for outbound.
    OR
    We  have WE19 which is a test tool for IDOC processing.
    Provide the IDOC number  then press F8, then in the next screen , you will have inbound function module.
    Click that  button. Then enter the text in search criteria.
    Then you can get related function module.
    Reward points if helpful.
    Thanks and Regards

  • IDOC Inbound Generation from File

    Hi All,
    I'm done with all the testing and config of partner profiles and ports.
    How do I automate the whole IDOC inbound process?
    Thanks.
    Kenny
    Message was edited by: Kenny  Martinez

    Hi Kenny
    I have also faced a similar issue in the past: To automate the process of file reading and triggering the inbound process whenever partner system (legacy system) copies a text file (containing data to be posted) to the SAP application server.
    To automate file reading for inbound process, you have to use SAP events. You can define these events using transaction SM62.
    This event will be used to execute the IDOC create program in a job based on this event.
    Every time the partner system copies the extract file to the SAP application server, this event will be  triggered which then runs the job for processing the data file.
    For more information on using SAP events, click the following link and look into topics under heading ‘Using events to trigger job starts’:
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/096e44543b11d1898e0000e8322d00/frameset.htm
    the topic, ‘Triggering events from external programs’ is quite interesting.
    Cheers
    Ashish Jain
    [email protected]

Maybe you are looking for

  • HP Printing Engineers Mobilize: Expert Day War Room

    During November and December of 2009, HP has mobilized a specialized group of engineers to provide answers and responses to customer questions during our Expert Day events.  In both San Diego CA and Boise ID, there are conference rooms that transform

  • Default settings for opening documents

    When I download a document e.g. from mail, it is set to automatically open as an 'open office' document.  I don't want this - how do I change the default setting?  Thanks

  • Error file

    In Oracle Where Error File Will Store When a Error Rise In Query Execution

  • Check box - "Bid May be Changed"

    Good evening, What does it mean: Check box - "Bid May be Changed"?     (it is in the bid invitation) Alexey

  • Pavilion g6t wont boot after bios update now just black screen please help!

     I downloaded an update for the bios for my pavilion g6t-1d00 laptop running windows 7 64 bit. It started acting kind of funny but I didnt think anything of it til I tried to boot it up the next day and all I got was a black screen and a orange led l