Outbound IDOC process - Using standard  or Custom Program

Hi all,
i'm having some doubts regarding IDOC's outbound processing.
I'm trying to understand 2 scenarios:
1- Trigger Standard Outbound IDOC without writting any Z program ou IDOC FM.
It's possible to trigger a outbound idoc for exemple, whenever a sales order is created. To do this is, i suposed i don't need to write any code at all, correct?
What i need to do is create a logical system (SALE), define Transmission protocol (WE20, in here i associate the partner, and the outbound message type? After this point is the idoc automatic triggered?
If not, what is the correct procedure?
2 Trigger Ountbound IDOC using Z program.
Whats is diferent from the point 1 to this situation?
Best regards,
Pedro

Kali,
1. You can search in SE37 using IDOC_OUTPUT* for finding out corresponding function modules. It is based on message types.
2. You can search user exit in above mentioned function module. So first get the correct populating FM & then you can search for Call Customer Function inside the code for user exit.
3.Again ans is same as in point 1.

Similar Messages

  • Regarding the Outbound IDOC process

    Hi Experts,
    Please answers the following questions which i have some doubts in Outbound Process.
    1)  Which program is resposible to fill the segments of IDOC(Std IDoc) in case of   Outbound IDOC Process with message control , Is it FM in Process code or any other FM based on message type( Std Msg)?.
    2) Where we need to code or search the exit in Case of extension of basic IDOC type with and without message control?
    3)Which prog is responsible to fill the IDOC in case of outbound process without message control but using std basic IDOC.
    Regards,
    Kali Pramod

    Kali,
    1. You can search in SE37 using IDOC_OUTPUT* for finding out corresponding function modules. It is based on message types.
    2. You can search user exit in above mentioned function module. So first get the correct populating FM & then you can search for Call Customer Function inside the code for user exit.
    3.Again ans is same as in point 1.

  • Re: outbound idoc process

    Can someone explain me on outbound idoc process.
    I am facing problem with an idoc transimission. From sap its getting triggered and showing status 3 ( Sending to port OK  ). But third party is  not able to receive.
    I am not much aware of the middile ware trasmission runs during idoc transfer.
    Please can anyone tell me possible cause of error?

    Outbound Idoc process
    sap outbound program->outbound ALE program (this takes data from application repository)>Craete master Idoc (master Idoc is a virtual Idoc)->ALE service laye (which takes data from distribution model)>communication Idoc--->communication layer
    The status os Idoc will becaome 03 if its pass from the communication layer and it doesnt have any gaurntee that Idoc has reached at receiver end or not.
    To varify that Idoc has reached at receiver end we have two advance method
    1- TRFC method
    2- Auditing method
    In TRFC method a standard program, RBDMOIND, is scheduled or executed online to determine whether the communication was successful.
    If the Idoc has successfully reached to the destination then the status changed from 3 to 12 else status remains 3.
    hope this information helps u.

  • Scheduling inbound and outbound idoc  processing

    Hi everybody.
    I ´d ike to know which is the best way to schecule the outbound and inbound idoc process.
    Nowadays we are using this:
    INBOUND PROCESSING
    - In WE20 the idocs are checked with "Trigger with a background program".
    - The program RBDAPP01 is scheduled with a job to trigger the process of the inbound idocs.
    OUTBOUND PROCESSING
    - The program RBDMIDOC is scheduled to create the idocs than have been created with change pointers.
    - The program RSEOUT00 is scheduled with a job to trigger the process of the outbound idocs.
    Is there any better option to improve de perfomance????
    Edited by: Christian  Abad Chico on Nov 13, 2009 10:09 AM

    Any answer

  • Sales order IDOC process Using FM J_4A_IDOC_INPUT_ORDERS

    Hi ABAP gurus,
    i am working on Sales order creation using IDOC .
    while i am Filling idoc i am filling reference document number and
    item number .(VGBEL and VGPOS). but when i process idoc i am not getting reference document number at item level.  here we processed idoc using FM J_4A_IDOC_INPUT_ORDERS.
    Please suggest me which segment do i neeed to fill for getting reference document number at item level .right now i am using E1j3p02 segment.
    or do i need to implement user exit for this.
    thanks,
    Neo.

    Hi Shareen Hegde 
    To create Inbound...idoc
    Use the Function Module in you Program : IDOC_INBOUND_WRITE_TO_DB to create the Inbound idoc
    Pass the Control record and Data record in FM.....
    Use Message type : Orders
    IDoc type : Orders01 or 02 or 03 or 04 or 05 ....  which ever suite for your requirement....
    Process Code : ORDE
    When ever your custom program for creating the inbound sales order with  runs .....
    it call the internally FM IDOC_INPUT_ORDERS to create the Sales order...
    or
    If you are getting the inbound idoc from subsystem .....then check you partner profile ,Message type ed and Process code is correct or not....
    I hope this resolves your issuse..
    Ramesh

  • OutBound IDOC Processing

    Hi Experts,
                         I am getting the following error while sending outbound IDOC (Multiple IDOCS as a single message) to SAP-XI.I am trying to send the IDOC using WE19 transaction and getting the following error.
    500 error during parsing of SOAP Header.Status record 02
    Thanks
    Ajay Garg

    HI,
    500 error during parsing of SOAP Header.Status record 02
    The Idoc Status code 02 indicates as  02---> Error passing data to port
    And the 500 error of parsing of SOAP header is internal server error.
    HTTP 500 can be any problem at XI. Plz chk all the setting on the XI side.
    Check this SAP SOAP Note for FAQ-856597 (Question No 1)
    By default, the SOAP adapter sends the SOAP message with the content type text/xml.
    When you check "Do not use SOAP envelope", the default contnet type is application/xml.
    You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
    Check out this
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    One way of testing ur scenario
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    Can you refer below steps for troubleshooting. it may help you
    Troubleshooting IDOC scenario
    1. Start with checking the status in sm58 of sender R/3
    Follow the steps
    No message in found in XI in IDOC to FILE scenario
    2. Try deleating the IDoc from IDX2 and refiring the same.
    3. Check your RFC destination definition (the one pointing to your XI server) to confirm that it is of type '3' (R/3 system) and not 'T' (TCP/IP).
    In your ID, in the Sender Business System --> Adapter Specific Identifiers, give the logical name for the business System pointing to the R3 system
    4. Monitor the SM58 in R/3 for IDOC status.
    5. Trouble shooting file to IDOC and IDOC to file
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
    Refer below links for indepth troubleshooting
    File to IDOC, trouble shooting
    Thanks
    Swarup
    Edited by: Swarup Sawant on May 26, 2008 11:15 AM

  • Enhancements in Outbound IDoc Processing

    Hi,
    How do I find the function module where the Outbound IDoc structures are filled.
    Basic type: SHP_OBDLV_SAVE_REPLICA02
    Message type: SHP_OBDLV_SAVE_REPLICA
    Thanks,
    Regards,
    Morten

    go to transaction WE57 and search for messagetype/idoc type.

  • Inbound idoc processing using custom FM to cancel sales orders

    hello all,
             I have a scenario where i need to create a customized function module which is assigned to custom message type. and this function module is triggered when inbound idoc comes, which will process idoc data for cancellation of sales orders. If an errror occurs than the error during cancellation has to be reflected back in the idoc status.
          can anyone tell me how exactly i can log the status and reflect it back, how exactly can i do this
         And what are all the objects i need to create to succusfully execute  this scenario, i have created message type, function module, i am using orders05 do i need to create process code also.
    Thanks,
    krishnam raju.

    Hi Krishna,
       Hope you are done with the Inbound function module creation. But, just creation of function module would not be enough, what u said that is like creation of Process code should also be done.
    WE42 is the transaction code for inbound process code.
    And while creation of the process code, we need to do few things like:
    We need to create an entry of the inbound function module in BD51 transaction or so. And coming to updating of the status, open any of the inbound function module, you will observe that there is a standard subroutine which will update the IDOC_STATUS record. You can implement the same logic whenever you want to update an error message.
    Thanks,
    Adithya K

  • Outbound idoc process for sales order using message control

    Hi All,
        I am changing sales order using VA02 , while saving sales number IDOC is creating but I am unable to see the data filling into segments. I think idoc is triggaring in background.
      Can you please tell how I can see the data filling in to segments
    Thanks in advance,
    SN

    keep the break point in the program RSNAST00
    at this particular code.
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                             us_screen
                                                             if found.
    and also Activate update Debugging , before pressing the save button in VA02.

  • Idoc processing - determine Basic Type in Program

    Hi Forums,
    I would like to determine the Basic type that is being processed by at the time of my Idoc creation.
    the function module I am using is being called by shipping document as well as delivery documents.
    I would like my code only to be executed when it is a basic type of DELVRY05

    Hi,
    1) Goto Tcode - we57:
    Assign function module to IDoc type
    Module: Function module
    Basic type: 
    Message type:
    Direction: 2 (inbound)
    This will differentiate between Shipping and Delivery.
    2) Creating Inbound process code - we42
        For Outbound Process Code -- WE41.
    For further plz refer following link.
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC
    Thanks and Regards,
    ShreeMohan

  • Triggering E-mail for failed outbound idoc (Without using workflow)

    Hi Experts,
    In my secnario Idoc to file, where any failures of Idoc( Inbound/Outbound ) at SAP R/3 side will generate and send Emails to the required group. How to do this without using Work flow. If anybody knws please help me out its very urget.
    Regards,
    venkatesh

    Hi,
    Create a Distribution list using SO23 and add Users whom to recieve messages.
    Modify your Inbound function module to handle if idoc failed to post by calling the function module: SO_NEW_DOCUMENT_SEND_API1
    Reward points if it is helpful.
    Ashok

  • Using standard PO Printing Program for Smartforms

    Hi Experts,
    I am some hiccups coding my print program for a PO Smartform that am currently working on.The requirement was to use the standard print program to trigger my Smartform PO. I have read alot of threads on this, but am still clueless.
    Some says to comment out the functions like "OPEN_FORM" ,"WRITE_FORM" and having your block of codes inside the "NEU_" routine.
    But I noticed, there are even some conditions and logic checking before the "write_form" is called and sometimes the table entries are also cleared. In this kind of situation, how should I be passing the table data to the Smartform function module?By copying the contents to an internal table? And there are many include programs which currently the standard program has, should I be using all that too?
    Appreciate your input and advice on this.
    Thanks very much.

    Hi Neesha,
    Can you check this once
    [Migrating Forms|http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm]
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 21, 2011 9:18 AM

  • OUTBOUND IDOCS PROCESSING ON ALE INTERFACE

    Hi experts...
        I am working on ALE IDOCS
    I have a requirement where i have to convert my outgoing idocs into flat files on my local system
    1) How do i create a file port and specify the location(directory)
    2) How do i assign this file port to the sending system
    3) Where will the idocs be stored ... can i check the location using AL11.
    Can anyone send the procedure for the above ..
    Also can anyone send me documents on "SAP to LEGACY system Interfacing"
    to my mail id      [email protected]
    Thanks and Regards

    Hi Ashok,
    Please check this link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2a1dd5d3-0801-0010-ed8d-bd797ed922cb
    open it as PDF.
    I think it will answer all your queries....
    Dont forget to award points if you get the answer:-)
    Regards,
    Vinay

  • Data transfer between SAP & Java and Vice versa using IDOC Process

    Dear Experts,
            We are working on one of the good requirement related to data transfer between SAP and Java software. Client requirement is, they want to transfer the data in both the ways (from SAP --> Java and Vice versa also).
    In detail is, after sales order creation using one custom program loading plan details will be calculated. Once loading dates are confirmed then, user will release the sales document to transfer the data from SAP to Java using "Outbound IDOC processing". Similarly in that JAVA software some shipment details will be performed, once completed from JAVA software again details needs to be pumped back to SAP as "Inbound IDOC Processing".
    For this fields are already identified from external software SAP and we are looking for the same to perform the steps in SAP.
    At this stage, I need your expert opinion  / feedback how to go  about at this stage.
    Meaning,  
                     1. What are the customizing steps needs to be done in SAP..?
                     2. How to trigger the :Outbound IDOC process" once the documents are "Released" from custom transaction
                     3. How to create the link between SAP and JAVA to transfer the data between these 2 software
                     4. How to trigger the "Inbound IDOC Process" from JAVA software to SAP and how to store the data in SAP
    Experts, please give your feedback in terms of reply or by sending the step by step process to fulfill this client requirement.
    Thanks for your cooperation.
    Regards,
    Ramesh

    Maybe too many open questions in the same document.
    Maybe you should repost a more specific question in a technical forum.
    This looks like a small project where you already know what you want, maybe you should contract a technical specialist so he proceeds to the implementation!

  • Multiple copies for Payment advice using standard program RFFOAVIS_FPAYM

    Hi Experts,
    I have one requirement, need to print the payment advice form twice (one for account section and other for vedor). According to the existing process it uses standard SAP print program RFFOAVIS_FPAYM OR RFFOUS_C (for cheque payment) to print the output.
    When I tried to print the output by giving number of copies, it prints test pages but not the actual output. The actual payment advice note with proper values getting printed only once. I actually need to print this actual payment advice note twice.
    Do you experts know how to achive this? is there any configuration available to get this requirement? OR how can i do this without chaning Standard SAP program?
    Thanks in advace for your help..
    Regards,
    Prashant

    Hi,
    2 times printing can be done using Sap script.however, it would call for changes to your driver prog...
    in function call CALL FUNCTION 'OPEN_FORM'....u need to add  g_ITCPO-TDCOPIES = '2' and pass g_itcpo to OPTIONS structure of the FM.With this you can ahve 2 copied of ur output. I just test printed it.
    So in your case as yours is a standard program, you could probably create a copy of the Standard program and  add the above logic in your program.
    hope this help
    Cheers,
    Varna

Maybe you are looking for

  • Custom leave screen creation with feature of uploading doctor's certificate

    Hi Experts, In our ESS / MSS implementation project we have to create custom leave screen. In the leave screen, we have to provide following feature: The employee has to provide the scanned copy of doctor's certificate while applying for sick leave.

  • STILL Having Trouble Syncing Contacts and Calendar

    My iphone sync is freezing up on either the contacts sync or calendar sync. I have read about all of the other people having problems and have already tried reseting sync history as well as syncing without ical and contacts checked. Resetting sync hi

  • Computers can't see my ipod

    I've plugged my ipod into multiple computers, with both its firewire and a usb cable. The ipod always says 'do not disconnect' but never shows up on screen or in itunes. On one machine with multiple users I got a 'this ipod is in use by another user'

  • Multiple Oracle Connexions In A Script

    Hi, I am actually encounter some problems with my oracle connexions. I need to have multiple opened connexions with differents user logons on a same database in a script . When I configure the second connexion, I could no more make request on the fir

  • FM to create Quality Notification

    Hello Friends, Can anybody tell me the Function module or BAPI to create a Quality Notification. Following FMs are not solving my purpose. BAPI_QNOTIFICAT_CREATE QM05_CREATE_NOTIFICATION QM06_FM_TASK_CREATE_QM_NOTIFIC Regards, Krishna.