How can we trigger an IDOC based on Orders creation.

Hiii...experts,
                        After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
so, how can we trigger an IDOC based on Orders creation..
pls help.
Ram.

Use IDOC_OUTPUT_ORDERS for creating IDOC
you need to maintain condition records & output type
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM

Similar Messages

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • Production declaration based on order creation date in R/3

    Hi,
    Can we do the production declaaration in R/3 (mfbf) for PPDS planned orders sent to R/3 from APO based on order creation date?
    This is because we need to differentiate between SNP and PPDS planned orders in R/3.
    As there is no differentition in SNP and PPDS orders in R/3, while production decalration,
    it's not possible that only PPDS orders will get consumed (in mfbf).
    SO can we do production declaration based on order creation date instead of order number?
    Please share the information.
    Thanks,
    Vinayak

    Hello Santosh
    Production versions are selected on the standard system according to the basic finish date, however, you can change the standard system behavior with the implementation of the following note:
    351773 - Selection of production versions for planned order
    Alternatively, you may use BAdI MD_MODIFY_PRODVERS to create your own logic to select the production versions.
    BR
    Caetano

  • How can we trigger the BAdI MD_PIR_FLEX_CONS  in a MTS strategy

    Hi All!
    We have 5 Plants: 4 commercial plants and 1 production plant.
    The sales orders are created in the commercial plants with a Make-to-order with consumption Requirements type; (Individual customer stock is an issue of the client).
    Planned independent requirements are entered at finished product level with Consumption indicator for planning requirements 4 - Flexible Consumption for Different MRP Elements (BAdI); we create the purchase order (L - Subcontracting) for the finished product based on the PIR.
    We need to do the consumption and reduction of planned independent requirements based on the purchase orders creation or in the Goods Receipt for the Outbound Delivery.
    We implemented the BAdI MD_PIR_FLEX_CONS but the BAdI isnu2019t trigger for Planning strategy 10 or 40 but. The BAdi is trigger only when Requirements class of the Requirements type of independent requirements as value 2 (Consume planning w/o assembly) in the Consumption indicator and value 3 (Single-item planning) in the Planning Indicator.
    How can we trigger the BAdI in a MTS strategy u2013 The BAdI documentation doesnu2019t mention that can only be used in MTO strategy?
    Thanks.
    Regards.
    Adelino

    Hello Adelino
    Strategy 10 is a special business case without consumption and only with the PIR reduction during the delivery (goods issue). You can see in customizing OPPS that both requirements KSL and LFS are set with "No consumption with customer requirements". In this case, BAdI MD_PIR_FLEX_CONS is not called.
    The BAdI can be used with strategy 40, so please make sure that the consumption indicator of the PIR is set to '4 - Flexible Consumption for Different MRP Elements (BAdI)'.
    BR
    Caetano

  • IP Job in BW finished, but how can I check the IDoc receive status in BW ?

    Hi,experts
    After I execute a Infopackage with loading more than 200000 records data, the infopackage monitor show me yellow light, 186020 from 200000 records. this infomation still show me till now, seaval hours,it looks pause here.
    And I check the request in the R/3, the Job has finished. as you know it means the R/3 push the IDoc already finished.
    and how can I do now ? or how can I check the IDoc receive status in BW side?

    Hi,
    I too had the same problem, i executed the following to solve the proble, may be this will help you:
    1) Go to T-code SM58 and select TRFC and press F6,
    2) For manual push of I-Docs, GO to T-COde BD87 select perticular idoc and see the status if it is not executed properly then do the manual push by pressing Execute option,
    Thanks,

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • How can I trigger an onchange event for hidden or never displayed item

    hi -- I have an item that I don't want displayed on my page -- more info than the user wants or needs; call it B. It needs to be
    set by an onchange event from a visible item (A); then, the change of B triggers on onchange to set another item (visible) -- C.
    When B is visible on the page, it all works. If I make it hidden or conditionally never displayed, it doesn't work. From the looks of
    it, B never gets changed.
    How can I trigger this onchange event (from B to set C) with B not visible?
    Thanks,
    Carol

    hi Varad -- Probably more info than you want... but here's the whole chain of events.
    Hope it answers your question.
    C
    **** 1
    In A's html form element attributes (simplified; I took out the irrelevant call to jsLookupValue that sets another item).
    onchange='jsLookupValue($v("P142_SITE_ID"),"site_id","P142_OBJECTTYPE_ID","objecttype_id","hdb_site_syn");'
    **** 2
    jsLookupValue is the following.
    The statement that actually sets the value of B is: $s(dest_item_name, jsonobj.row[0].RETURN_VAL);
    function jsLookupValue(source_item_value, source_column_name, dest_item_name, dest_column_name, lookup_table_name){
    // Continue only if there are valid values
    if (valueOf(source_column_name)&&valueOf(dest_item_name)&&valueOf(dest_column_name)&&valueOf(lookup_table_name)){
    //Check to see if the source_item_value is null (either all spaces or empty
    //If it is, set the dest item to null, but only if it's not already --
    //otherwise we get into a loop.
    source_item_value = trim(source_item_value);
    dest_item_value = trim($v(dest_item_name));
    if (source_item_value.length==0) {
    if (dest_item_value.length != 0) {
    $s(dest_item_name, null);
    }else{
    //This is the AJAX call to the Application Process from step 1
    ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=LOOKUP_VALUE',0);
    //Here we are adding that x01 parameter we use in the app process with the value of the objecttype_name field
    ajaxRequest.addParam('x01', source_item_value);
    ajaxRequest.addParam('x02', source_column_name);
    ajaxRequest.addParam('x03', dest_item_name);
    ajaxRequest.addParam('x04', dest_column_name);
    ajaxRequest.addParam('x05', lookup_table_name);
    //Now do the actual AJAX call and put the result in ajaxResponse
    ajaxResponse = ajaxRequest.get();
    //Check if there is a response
    if (ajaxResponse) {
    //We need to format the JSON return string and put it in a JSON object
    // the formatting is done by a function in the external JSON library
    // the jsonobj can be used to retrieve the data returned by the App process
    var jsonobj= ajaxResponse.parseJSON();
    // And finally, we set the DNAME item with the value of the jsonobj.DNAME
    // an array was created in the object with the name row, so that is why you have to include row[0] to retrieve the data
    if (jsonobj.row[0].RETURN_VAL != $v(dest_item_name)) {
    $s(dest_item_name, jsonobj.row[0].RETURN_VAL);
    }else{
    } //not setting
    }else{
    alert('No response from app process');
    } //no response
    } //no source item value
    } //no bad nulls
    } //function
    **** 3
    I won't bore you with app process LOOKUP_VALUE. It just builds an sql query that gets the value for B, aliased to RETURN_VAL.

  • How can we varify that Idoc is sent to the XI or not

    How can we  varify that Idoc is sent to the XI or not

    Hi
    In XI go to transaction IDX5 you will find an entry for the Idoc.
    IDX5 maintains the list of all the inbound and outbound IDoc's.
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution

  • How can we save multiple IDocs as a single Flat file in R/3 system ?

    Hi,
    How can we save Multiple Idocs as a single Flat IDoc in R/3 (Not xmlized)
    Kulwinder

    Hi,
    Check this link for Mutiple IDOCs into single File.
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Regards,
    phani
    Reward points if Helpful:)

  • Idoc is changed toFlag deletion. status 31. How can i delete that idoc?

    Hi,
    The IDOC is getting generated and it is placing in Workflow Inbox in transaction SBWP.
    Now we have changed to flag deletion. status 31. How can i delete that idoc.
    message type: crefet
    kindly help me on this issue.
    Regards,
    Gaya

    Hi
    IDOC Related programs
    1. Archive RSEXARCA and RSEXARCB
    2. Delete RSEXARCD
    3. Read archiveRSEXARCR
    4. Restore RSEXARCL
    U can also use FM EDI_DOCUMENT_DELETE .put IDoc Number to it and delete the one which you want.
    if helpfull give rewrad point
    Thanks
    Amit Shivhare

  • How can i trigger the workflow from REPORT

    hi,
      my requirement is, whenever Z... Report Is generated there is Icon called print. the write the code for printing icon. if printing Icon fails the workflow will be trigger.
    how can i trigger this from report. and i send attachent of report with mail to next person to sap inbox.
    pls let me know.
    pls give any documentation if you have.
    thanks & Regards
    Sankar.

    Hi,
    Workflow container
      swc_container        lt_container.
      swc_create_container lt_container.
      swc_set_table lt_container '<cont_name>' lit_int_tab.
    CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = lc_objtyp
          objkey            = lv_objkey
          event             = lc_event_name
        IMPORTING
          event_id          = lv_eventid
        TABLES
          event_container   = lt_container
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc <> 0.
        yv_err_flg = gc_true.
        EXIT.
      ENDIF.
    Rgds,
    Prakash

  • How can i trigger two 5102 PCMCIA by software synchron

    I want to use a mobile measurementsystem with a laptop and two NI5102-PCMCIA. How can i trigger both cards syncron without loosing a channel. how can i trigger both cards syncron by software?

    Sounds like you are interested in triggering two DAQCard-5102. The triggering capabilities of this card are outlined in Chapter 4 of the DAQScope 5102 User Manual:
    http://digital.ni.com/manuals.nsf/websearch/3F29D7C792CBF5478625665E006358EA?OpenDocument&node=132100_US
    One thing to point out is that RTSI lines are not available in the PCMCIA version of the 5102.
    If you have any further questions you can always request support from National Instruments at ni.com/ask
    Regards,
    Russell Blake
    Applications Engineering
    National Instruments
    Engineering Team Leader
    G Systems, www.gsystems.com
    Certified LabVIEW Architect
    Certified Professional Instructor

  • How can i trigger workflow when particular event happens in webdynpro

    how can i trigger workflow when particular event happens in webdynpro

    hi,
    To trigger workflow , use the fm : 'SAP_WAPI_START_WORKFLOW'
    Refer this thread for similar requirment : Workflow in WebDynpro
    Blog : http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1564403950DB00699140435432809306End?blog=/pub/wlg/2778

  • How can I get a flash based plugin to load in CC 10.x

    Hello
    How can i get a flash based creative suite plugin to load in Indesign CC 10.x?
    I can get It to load in CC, but not In CC 10.x. Im using Flashbuilder 4.5. Do I need a newer version of flash builder/extension builder?
    Best regards
    / Pontus

    Yes, you can!
    You need to make sure that you are using: "Adobe CSAW Indesign" and not "Adobe CWSAW".
    Also you need to hack the manifest.xml and write someting like this:
    <HostList>
                <Host Name="IDSN" Version="[7.0,10.9]" />
    </HostList>
    To get it to load in CC 14.
    / Best regards
    Pontus

  • How can we restrict EQL result based on session value

    How can we restrict EQL result based on session value or by checking with EBS secured function?
    Example: I create a Item Search Dashboard but I have more than one inventory organizations and I want to restrict dashboard to bring inventory org respective data by validating responsibility/profile option.
    Can anyone help me on this or if my concept is wrong so can anyone please guide me?

    Hi Bob,
    Thank you. Sorry for the late reply but I was busy in other stuff. I did the jar file and copied that Jar file into .ear/APP-INF/lib and copied on server and updated the df.securitymanager property under framework settings on Endeca Studio and restarted Endeca Server and Studio but seems like my class didn't get read. Kindly suggest and find below snippet of code;
        public void applySecurity(PortletRequest request, MDEXState mdexState, Query query)
                throws MDEXSecurityException
      init(request);
      String remoteUser = request.getRemoteUser();
      String recordFilterExpression = "XX";
      if(recordFilterExpression != null) {
      DataSource ds;
      try {
      ds = new DataSource(request, mdexState.getId());
      try {
      ExpressionBase expression = ds.parseLQLExpression("FND_USER_NAME='" + remoteUser + "'");
      DataSourceFilter dataSourceFilter = new DataSourceFilter(expression); 
      } catch (Exception f) {
      throw new MDEXSecurityException("Unable to apply Expression", f);
      } catch (DataSourceException e) {
      throw new MDEXSecurityException("Unable to create DataSource", e);

Maybe you are looking for

  • Multiple LG-Revolution Issues!!!!!

    I've had the Revolution since it came out last May and I'm on my third one.  Then over the course of the past few months I've experienced ALL of the problems described above and below in this subject.  Forced closes, phone reboots (periodically shuts

  • Why can't I drag & drop photos to my email anymore?

    The old IPhoto let me just drop and drag a photo onto the bottom part of my e-mail screen (gmail) and it would -boom- just upload as an attachment.  I didn't have to open up the attachments folder finder and waste time.  I updated my MacBook the othe

  • Calculations in Script Logic

    Dear Experts, I am trying to do some calculations using script logic. Foe example: In account dimension I have three members A, B & C. Now i want to do A = B multiply C using script logic. I will insert data for B and C. The B, C should get multiply

  • Aperture 3 keeps making me enter serial number

    This is getting to be a frustrating glitch. On a fairly regular basis, regular enough that I now have my serial number of a post-it, Aperture prompts me to enter my name and serial number when launched. Having done so it then promptly hangs, I have t

  • Code to get a document

    Hi, I am trying to show the documents saved for the projects. For this I created a FM to pull all the names of the documents saved for a project. But how do I get them to open the document by double clicking on the output of the FM.Is there some othe