Sales order triggering???

I have used some bapi function modules for sales order creation in a z program.
But the clients requirement is that whenever a sales order is created ,then automatically an idoc needs to be generated and sent to the CRM server ( through ALE).
      Do I neeed to use workflow.If so can any one help me out??
Or can use change pointers or Submit program rbdmidoc???
Can any oune help me out ..
regards .
Lavanya...

Hi,
U can generate the IDOC in the same Zprogram by calling the FM:IDOC_OUTPUT_ORDRSP.
Regards
Kannaiah.

Similar Messages

  • STO ( stor. loc. to stor. loc of same plant ) creation frm Sales Order

    Hello guys
    I am facing a unique scenario in our current environment. Need you input ASAP
    environment:
    Org 1 - Plant 1 - division 1
    Org 2 - Plant 2 - division 2
    Org 1 wants to take over the sales of all the items belonging to division 2 which are currently being sold by Org 2.
    These items are HAWA and their procurement is currently done outside ECC.
    Now the procurement of these items will continue to be done by Org 2 & even its inventory will be owned by Org 2.
    Proposed Sales Flow:
    1) Org 1 accepts Order for the item with Plant as Plant 2
    2) Plant 2 Delivers the goods to customer
    3) Org 1 invoices the customer
    4) Org 2 invoices Org 1 using Intercompany billing.
    Now the challenge is wrt step 2.
    The Items are shipped from Plant 2 with their Issuing storage location as ABC.
    However these items are initially stocked in a different building outside the Plant 2 .. say stor. location = XYZ
    Now based on the Sales Requirements due for shipment today .. the users will move the Inventory of the items from Stor. Location XYZ to ABC for which they want some reference document for the move (which I have recommended as STO)
    I have come across some threads which give input regarding triggerring STO from Sales Order.
    However my challenge is the STO in this case is between 2 storage locations ABC & XYZ  of the same plant.
    Do you think Sales Order triggering a PR (similar to 3rd Party scenario) & then this PR converts to a STO work ?
    Please let me know the steps if possible.
    THanks
    Vin

    Well actually the Selling Org ABCD is of a different Company code .. it is a typical case of Intercompany Sales .. where the Plant WXYZ is belonging to another company code.
    I have setup the Intercompany Sales Process .. and want to trigger the Stock movement as mentioned above.
    I have configured the STO for storage location - stor. location in a Plant. ...
    However I am struggling to trigger a STO from a Sales Order.
    I tried using the Schedule Lines to trigger a Pur. Req ... however the Supplying Plant field remains blank (which is the same in this case as it is a stock movement between 2 locations of the same plant).
    The flow looks somewhat like this
    Sales Order -
    > Stock Transfer PR in Plant WXYZ -
    > Delivery Doc for the STO --- > MIGO to receipt the inventory in 0001 -
    > Delivery DOc for Sales Order -
    > Invoice for end customer --- > Intercompany Invoice
    If anyone has automated creation of a STO from a Sales Order .. please advice
    Thanks
    Vin

  • Automatic inter org transfer - sales ordering

    Hello
    we have the following issue : (we do not have MRP, ASCP)
    we have one operating unit , with 3 inventory organizations
    our items are being flagged as ATO
    so for a normal customer item, so a normal customer order , standard bill and ship ; if we put in an order (make or buy) this will trigger the creation of a requisition or a work order; so thhis is working ok ...
    now, sometimes,
    if inventory org A cannot make it , they will source it from inventory org B -
    example ; on my order I put in as inventory org A, but if there is no stock , then it would need to be sourced from inventory org B (B is not setup as a supplier),
    My question is , can we automatically have an internal requisition and internal sales order triggered, or would this only be done if we would have MRP? or if we wld create manually an IR - ISO...
    A, B, C are also physcically seperated from each other, so the goods move between the orgs with all the relevant shiipping papers...
    hope you understand my question,
    thanks
    Els

    In absence of MRP/ASCP, you will have to create the IR manually.
    Once approved, that IR will get converted into a booked ISO automatically.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • Incompletion log Profitability Segment at item level in the Sales Order

    Hello Sapians,
    We recently activated the "Sales Order value flow to COPA". When we create the Sales Orders the Profitability segment for the item is getting picked up automatically and have no issue in saving the Sales Order.
    But when we edit the Sales Order and then try to save it, Sales Order has incompletion log which is leading to Profitability segment in the item level.
    When I click the little box in Sales Order Item > Account Assignment tab> Profitability Segment forward arrow--> "continue" or "derivation" in the populated screen, then the Forward arrow in the profitability segment is deriving the characteristics, then system lets us to save the Sales order with out any incompletion log.
    I checked the OSS notes 114520, in this OSS note, my sitiuation is exactly first point but could not get any clue how to resolve automatically.
    Why it is happening only when we edit the Sales Order? How to update bulk of Sales Order automatically?
    Any inputs?
    Thank you.

    Hi
    Since you have activated the Sales order flow to COPA, any change in the sales order triggers a Prof Segment redetermination.... Thats why you are able to save it once you redetermine the Prof Segment....
    Ideally, if no Chars like Plant/Org Elements/etc are changed - It need not trigger the Prof Segment redetermination...
    Refer  Note 729381 - When is a profitability segment supposed to be determined?.... With ref to this note, raise an OSS msg to SAP and check if it is possible to avoid the redetermination of PSG as long as none of the relevant chars are changed in the sales order....
    There is a similar issue in MTO where by, even if you change the Header text of sales order, it triggers the Sales order cost estimate.... SAP provided a note to stop this... Note 1548608 & 1260868.... Your case is similar to this.... Raise an OSS to SAP and ask them if they can provide such a note for your case.... I feel, it should be possible for SAP to give this!
    br, Ajay M

  • Sales order delivered and invoiced but purchase req still open?

    Hi all
    I have a process where a sales order triggers the creation of a third party purchase requisition. 
    A PO was created and then deleted because the sales order was filled from a different purchase order where too much had been ordered. 
    The sales order was delivered and invoiced but the original Purchase Req is still open on MD04!
    I can't find anyway to delete the req as it tells me it has to be deleted via the sales order but the sales order appears complete.
    Any ideas??

    Hi,
    Deletion of PR can be done using ME52N
    This is only possible provided that no purchase order have been assigned.  If po has been created, you can only Flag for Deletion.
    To delete the pr, select the line(s) you wish to delete and then click on the dustbin icon.
    Hope this will help you !!!
    Regards,
    Krishna O

  • Sales Order with IO Budget Check

    Dear Friends,
    I am unable to apply budget check in Sales Order data entry and thus it is always exceeded the budget which has set in IO. Noticed there is no Tolerant Group for Sales Order as shown in SPRO >Controlling > IO >>>> Tolerant Group, would appreciate your advice on configuration / setting required.
    Thank you
    Elaine

    Hi Elaine,
    if your business process is set up to trigger another, budget relevant activity, you may use this in Availability control (ACV). Unfortunately there is no activity for sales order.
    So if the sales order triggers e.g. a purchase requisition, you can use this opportunity to set up tolerances for activity group 15 (purchase requisitions). But please be aware, that there is no standard possibility to do the check in the transaction for creating or changing sales orders. Even the activity group '++' (all activity groups) will not fit your needs.
    I hope, this helps at least a bit.
    Kind regards, Irene

  • Output fax not getting triggered when sales order credit block is released

    Hi Experts,
    I am working on an issue.
    I have one sales Order which has credit block.
    when we release the credit block via vkm3, then the output fax gets triggered.
    I have another sales order which has credit block,
    when we release the credit blcok via vkm3 , the output fax is NOT getting triggered.
    If any of you has worked on this setting, request your input on where to find the settings/coding for the same.
    Any advice on this please.
    Regs,
    SuryaD.
    Edited by: SuryaD on Oct 21, 2010 9:34 PM

    Hi Brad,
    Thanks for your response.
    Order 1: Issues output fax(ZFAX) correctly when block is released.(i see output zfax in te output screen)
    Order 2: Fails to issue output fax(ZFAX) even when the block is released.( i dont see any output in the output screen)
    I went to Go to -Determine analysis for both orders 1 and order 2.
    in both the analysis i am able to see the output ZFAX.
    *Analysis Output*
    *Order 1                                                                    Order 2*
    1. ZFAX                                                                   1.   ZFAX
        10(Z010)                                                                 10(Z010)
           0000122426                                                              0000122427
    2.  ZFAX                                                                   2.   ZFAX
    When i click, D.Click on the output type ZFAX on both the order Analysis output screen, i see similarities.
    There in just 2 differences as below.
    In the above screen,
    1.Order 1 ==> has some value 0000122426
    2.For Order 1==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    Diagnosis
    Output ZFAX has already been issued. Multiple issue for this output type is forbidden in Customizing.
    In the above screen
    1.Order 2 ==> has some value 0000122427
    2.For Order 2==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    No more information is available.
    Please guide as to how to initiate the debug for output processing ?
    Which screen where to switch on debugger.
    where to look further?
    Regards,
    SuryaD.
    Edited by: SuryaD on Oct 22, 2010 11:41 AM

  • Triggering output type when sales order is saved

    Hello all,
                I have a small question. Whenever I create a drop ship sales order it triggers a custom output type and prints the form by default even though this output type hasnt been saved in the sales order messages. Similarly from a drop ship PO when it is created with reference to the drop ship order and a requisition it tries to call this cusotm output type and prints the form.
    Please advice how to find the settings and make it not print this form.
    Thanks in advance.

    Hello,
             There are few other custom output types configured for a sales order. I wonder why it picks this particular output type and prints the form.
             If I uncheck 'Print Immediately' then would it stop from just printing or even calling the form too.
              Please advice if there might be any other config which tells to call this particular form whenever a drop ship sales order is created.

  • Tax condition(JVAT) of ship to party is not triggering in Sales order

    Hi,
    Tax condition(JVAT) of ship to party is not triggering in sales order...
    Scenario:
    Tax condition types:
    JCST- CST Payable
    JVAT- VAT Payable GJ
    Customer Tax classification for JVAT in OVK3:
    1-  VAT 4%
    A- VAT 0%
    B- VAT 2%
    Material Tax classification for JVAT in OVK4:
    0-Tax Exempt
    1-Full Tax
    In CMR for
    Sold to Party:1001(Mumbai), In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / 1 / VAT 4%
    In CMR for
    Ship to Party:2001(Gujarat),In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / A / VAT 0%
    Access Seq:   JLST
    Condition table : 368(Country/Region of Del Plant/Region/Tax class1-Cust/Tax Class1-Mat)
    Condition record maintained for JVAT as IN/GJ/GJ/1/1 as 4%
    Condition record maintained for JVAT as IN/GJ/GJ/A/1 as 0%
    Now the sale(Shipping to) is happening in Gujarat..
    In sales order
    I entered SP:1001 and SH: 2001
    When i check the pricing in sales order,condition type JVAT is triggering 4% which is not true as it as to pick 0%
    Kindly guide me where i went wrong...
    Regards
    Azeez.Mohd

    Hi Friends.
    I found the solution...
    Its customization mistake..
    Solution:
    When we have 'n' tax categories then we should have 'n' condition tables..
    I have 2 tax categories: JCST and JVAT but i have only one condition table 368 which is wrong.. i should have 2 condition tables.. so i created another con. table 468 and assigned to access aeq JLST.
    then when i create cond. record , we have to select the appropriate table then it will fetch accordingly.. in sales order..
    with regards

  • Purchase Order triggering Sales Order using Inbound Idocs

    Hi All,
    Can any one explain the flow of Purchase Order triggering Sales Order using Inbound Idocs..??
    Thanks & Regards
    Anoop

    Use search tool to find sample like Integrating MM & SD Modules in Same Client to Create Sales order in Supplying Company Code Using PO raised in Receiving Company Code By I-Doc Message Type ORDERS Part1,  Part 2 and Part 3.
    Regards,
    Raymond

  • Purchase order triggering Sales order

    I have a business scenario where the sales process happens between two internal companies.  Company 'A' (ordering company) creates PO on Company 'B' (Supplying company).  Company B inturn creates the Sales order, delivery, ships and bills to Company B.  Here we require the automatic trigger of Sales order in Company B whenever a PO is saved in Company 'A'.  Kindly suggest whether we can handles this requirements through any standard configuration process (similar to the one in Third Party process where the Sales order upon saving triggers Purchase Requisition in MM)

    Hi Rahul,
    I am doing exactly similar interface at the moment. Where we can created SO wrt to PO using ALE IDOC.
    We have two plants where these plants relates each other as customer and vendor.
    Customer A orders via PO triggers NEU output and process code ME10, idoc "orders05" and messge "orders".
    Against this incoming idoc gets generated which creates SO.
    Process code ORDE, idoc type ORDERS05 and message "orders".
    You may also need to define data in VOE2 transaction for automatic determination of customer and vendor while generating idocs.
    Even in customer and vendor master u need to maintain the fields where it says customer no at vendor side and vice versa.
    Come back if this won"t suffice.
    Best  regards,
    Guru

  • Event triggering after Sales Order is created

    Hi All,
    I have a requirement where i need to update the SO created to a table in another system by making RFC call. As RFC will take time to compete, the user doesn't want to keep the SO open for that much time. We want to avoid user exit for this reason.
    Is it possible to do RFC in any event by triggering it. If yes, how?
    Thanks

    Hi,
    I guess you can do it using workflows. You can have events registered in transaction SWEC for your workflows on Create,change and deletion of the document. I guess for Sales order the object you will use is VERKBELEG. This event will then get triggered on creation of Sales order and internally call the workflow in which you can call the a ZBAPI for your Z business object inherited from BUS2032.
    KR Jaideep,

  • Stock transfer between stor loc. of same plant triggered by Sales Order

    Hello everyone
    I need some input regarding triggerring Stock Transfer between 2 storage locations of the plant from a Sales Order.
    Sales Org: ABCD
    Plant: WXYZ
    Stor Location: 0001 & 0002
    Now here 0001 is the Picking location for the Delivery Document.
    However 0002 is where all the stock is stacked.
    Physically they both are different buildings in the same vicinity.
    The Business wants the Sales Order to trigger the stock movement from 0002 to 0001 on a daily basis.
    So from a end user prospective, they will move the stock from 0002 to 0001 for all the items needed to fulfill the Orders due for Shipment for that day.
    What options do I have for this ?
    Thanks
    Vin

    Well actually the Selling Org ABCD is of a different Company code .. it is a typical case of Intercompany Sales .. where the Plant WXYZ is belonging to another company code.
    I have setup the Intercompany Sales Process .. and want to trigger the Stock movement as mentioned above.
    I have configured the STO for storage location - stor. location in a Plant. ...
    However I am struggling to trigger a STO from a Sales Order.
    I tried using the Schedule Lines to trigger a Pur. Req ... however the Supplying Plant field remains blank (which is the same in this case as it is a stock movement between 2 locations of the same plant).
    The flow looks somewhat like this
    Sales Order -
    > Stock Transfer PR in Plant WXYZ -
    > Delivery Doc for the STO --- > MIGO to receipt the inventory in 0001 -
    > Delivery DOc for Sales Order -
    > Invoice for end customer --- > Intercompany Invoice
    If anyone has automated creation of a STO from a Sales Order .. please advice
    Thanks
    Vin

  • I need a Badi that is triggered when saving Sales order in both Va01 and Va

    Hi
    I need a Badi that is triggered when saving Sales order in both Va01 and Va02
    I tried with the following BADI's
    BADI : BADI_SD_SALES
    Implementation : /BEV1/SR_SALES_ORD_1
    Method SAVE_DOCUMENT
    Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
    It is asking for Access key. Which i do not have.
    Should i create a implementation and then create a method and then put my code there?
    Anybody plz help.

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

  • Triggering event through Change Management for Sales order

    I am working on three different scenarios of workflow which is triggered on change of sales order.  I am trying to put conditions in SWEC for the workflows to start but not sure how to go about it.  I created change doc object VERKBELEG and assigned bus2032 and changed as my event.  I inserted a value in condition editor like vbap_(fieldname)_new etc.  Nothing seem to be working.
    I would like to know once we assign event here in SWEC, should we also assign and activate it in the triggering tab of workflow or just create an entry in the linkage table.
    Please guide me as to how I need to work on the sales order change.  I am basically want to trigger a sales order only when a field value is updated or inserted which pertains to my requirement.
    Thank you very much.

    Karthik,
    My problem is still not resolved.  I am trying to put something like this.  Let me know if you have were able to do this in any other way.
    DATA : i_cdhdr LIKE cdhdr OCCURS 0 WITH HEADER LINE.
    DATA : lt_editpos LIKE cdshw OCCURS 0 WITH HEADER LINE.
    DATA : it_vbap LIKE vbap OCCURS 0 WITH HEADER LINE.
    DATA : flag(1) TYPE c.
    DATA : text LIKE message-msgtx.
    DATA: BEGIN OF ITAB OCCURS 10.
            INCLUDE STRUCTURE cdshw.
    DATA:   UDATE LIKE CDHDR-UDATE,
            USERNAME LIKE CDHDR-USERNAME,
            CHANGENR LIKE CDHDR-CHANGENR,
            VBELN(10),
            POSNR(6),
            ETENR(4),
            INDTEXT(200),
      END OF ITAB.
    data : lv_vbeln like vbap-vbeln.
    data : lv_posnr like vbap-posnr.
    SELECT vbeln posnr FROM vbap INTO TABLE it_vbap WHERE
                                           vbeln = '               ' AND
                                           posnr = .
    i_cdhdr-objectclas = 'VERKBELEG'.
    i_cdhdr-objectid   =  '      '.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
         EXPORTING
              objectclass       = 'VERKBELEG'
              objectid          = '            '
              username          = space
              time_of_change    = i_cdhdr-utime
         TABLES
              i_cdhdr           = i_cdhdr
         EXCEPTIONS
              no_position_found = 1
              OTHERS            = 2.
    IF sy-subrc EQ 0 AND NOT i_cdhdr[] IS INITIAL.
      sort i_cdhdr by CHANGENR UDATE UTIME descending.
      LOOP AT i_cdhdr.
        CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
             EXPORTING
                  changenumber      = i_cdhdr-changenr
             TABLES
                  editpos           = lt_editpos
             EXCEPTIONS
                  no_position_found = 1
                  OTHERS            = 2.
      ENDLOOP.
    **change in fname is eq lprio delete the records.
    loop at lt_editpos.  
        if lt_editpos-fname = 'LPRIO' and
           lt_editpos-CHNGIND = 'U' and
           lt_editpos-F_NEW = '03' and
           lt_editpos-tabname = 'VBAP'.
          flag = 'X'.
            concatenate lt_editpos-fname lt_editpos-f_new into text.
          exit.
        elseif lt_editpos-fname = 'KEY' and
               lt_editpos-CHNGIND = 'I' and
               lt_editpos-tabname = 'VBAP'.
          lv_vbeln = lt_editpos-tabkey+3(10).
          lv_posnr = lt_editpos-tabkey+13(6).
          select single * from vbap into it_vbap where
                                           vbeln eq lv_vbeln and
                                           posnr eq lv_posnr.
          if sy-subrc = 0 and it_vbap-lprio = '03'.
            flag = 'X'.
             concatenate lv_vbeln lv_posnr it_vbap-lprio into text.
            exit.
          endif.
        endif.
      endloop.
    endif.

Maybe you are looking for

  • "Cannot Send Message" from Verizon to Hotmail

    I see by reading this board that many others have problems with Verizon e-mail accounts.  When I try to send e-mails from my Verizon account into my Hotmail mailbox using an iMac, I get this message every time: "Cannot send message using the server e

  • Only 1 database in my OEM Console list has missing tabs

    11.1.0.1 of the OEM Grid Server is installed I have 20 databases listed. All databases except one look just fine. The one database is missing the Performance Availability     Server     Schema     Data Movement     Software and Support     tabs on it

  • Reader Extensions vs. Adobe Acrobat 8

    As you are probably aware, one of the best features of Reader Extensions is to allow people with Adobe Reader to save their form data locally. Now, Adobe Acrobat 8 Professional has enabled the same feature. So my question is... what's the benefit of

  • Help protect my Linksys WRT54G from the "curl" command which bypasses my security settings

    It's way too easy to break into my Linksys WRT54G router! Do you have firmware that will fix this vulnerability? Instantly bypassing the administrator password, my fifteen-year old neighbor broke into my Linksys WRT54G router (firmware revision v1.0.

  • Failing to export to avi

    Hi, I'm trying to export an Apple Motion JPEG movie to avi. But everytime I try this it fails halfway, with an errorcode (-8969). Anyone have some clue to solve this?