Creating Sales order then purchase order through IDocs using XI

I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
Waiting for the solution

> I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
You have to use BPM for this.
> Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
If you know the BAPI's then you can avoide BPM because in that case you can go for inbound proxy and inside the proxy code you can make sure the creation of SO & PO in desired order. You can also do the error handling very efficiently in R3 in comparison to XI.
Regards,
Sarvesh

Similar Messages

  • Need to create sales out of purchase order using idocs

    Hi All,
    I have a requirement to create sales order based on purchase order with in the same sap system and same client(using orders04 idoc type).I have some doubts below could you please some body clarify?
    I know the basic steps in ALE(theritical knowlege)but I need clarifications for below questions.
    1)Which tehnology I should use here ALE or EDI?
    2)With in the same client how can I create 2 logical systems.
    3)How the idoc will go the recevier I mean what all are the ways to trigger outbound idoc from sender side.
    4)Inbound side how the sales order will create based on the inbound idoc?Is it automatic from inbound settings or we have to do anyting for this?
    5)I need to check some conditions with the inbound purchase order data before creating sales order.I think this one we can do in the user exit of inbound function module .Can I control the type of document that it has to create(ex sales order based on some condition or quotation based on some other condition).
    Best regards
    Mahesh

    Hi Mahesh,
                     My suggetion is that develope program to do your scenario... Use BAPI to create Sales order. First confirm with the Functional team for the input for sales order about sales area, company code, conditions type to be used while creation a sales order against Purchaser order... If the details is same then. First get the details of the Purchase order from BAPI " 'BAPI_PO_GETDETAIL' or you can get details by select queries on EKKO & EKPO for header and details....
                    Then pass data to BAPI of sales order creation 'BAPI_PO_CREATE' . to create sales order and handle error with parameter         RETURN                           = IT_BAPIRETURN
    by giving loop on that....and display in the output.....
    This is the simplest way of doing your process...
    If any other help please let me know.....
    reward points..
    Cheers,
    Sagun Desai....

  • Jump from Sales Order to Purchase Order and back again (all in change mode)

    Hi,
    Situation is this:
      - Sales Order is created with 10 items. 4 items are created with connection to Purchase Order.
      - User open Sales Order in change mode
      - User goes to item 20 that has a related Purchase Order
      - User wants to jump to related Purchase Order and make an update here
      - User wants to be able to jump back to Sales Order Item 20 from Purchase Order
    When user jumps to Purchase Order in change mode, then this Purchase Order will also block the same Sales Order, that was open. This can be handled with dequeue and enqueue.
    Problem is that when Purchase Order is saved it will make an update to the Sales Order in the background. When user jumps back to Sales Order then this Sales Order is still open with old data and these data does not reflect data that can have been updated by the Purchase Order.
    Also: When Purchase Order is making updates to the Sales Order then e.g. Message Out Table NAST is automatically updated (insert and delete records). If user then manually updates the Sales Order with old information, then System Dump appears as Sales Order tries to insert NAST records, that have already been inserted or delete NAST records that have already been deleted via the Purchase Order.
    This means that when user jumps back from Purchase Order to Sales Order Item 20 then Sales Order needs to be refreshed with new data after Purchase Order has saved the Sales Order.
    Are there any solution to do this in a standard way (from within SAPMV45A) ?  
    I prefer not to reopen Sales Order using syntax like CALL TRANSACTION.

    Hi,
    Thanks for reply.
    In third party PR gets created automatically but PO gets create manually.So changes get refelect in PR only not in PO.
    Can you give me the solution for completing this task.
    Thanks & Regards
    Jalaj garg

  • Sales order against purchase order

    Gurus
            We have scenario that prior to creation of sales order , we want to create purchase order of customer. While creating  sales order system should check the actual purchase order quantity, price & validity of the order. How to config this. I want config doc as well as T code for creating this type of purchase order. It may happen that out of one purchase order there may be more than one sales order. I want cofig doc for this as well as T code for creating purchase order.

    Try using the NEU output type to create a SO based on the PO which has been created. You can utilize the routines within the IDoc ORDERS to place the checks for the requirements you have.

  • Relationship between a Sales Order and Purchase Order

    Dear All,
    Can we create a relationship between a Sales Order and Purchase Order.? If yes, then how can we do that.
    or how can we relate supply and demand..
    Please update...
    many thanks in advance...

    It's easy
    refere to my blog for complete Query between
    OM - Req and POs.
    http://eoracleapps.blogspot.com/2009/04/oracle-order-to-cash-queries.html

  • Standard program for unbilled  sales orders and purchase order items

    Can anyone advice,  is there any standard program which gives the unbilled sales order and purchase order items.

    Hi,
    Use the T.Code VA05/VA05n for list of all the sales order s which are open.
    Take T.Code:VA05N
    Select the option "Open Sales Orders".
    Execute.
    It will give you all the orders which are open.
    The standard program for this is:"SD_SALES_ORDERS_VIEW".
    The same you can also get by using the T.Code VF04.
    In this if your scenario is "Order related",then select the option "Order related".
    Else if it is "Delivery related",then select "Delivery-related".
    Execute.
    The standatd program for this is:"SDBILLDL".
    T.Code:VF05/VF05n is for list of billing documents.
    Regards,
    Krishna.
    Note:Pls search the forum.

  • Third party sales and individual purchase order MIGO DIFFERENCE?

    Hi experts,
                     any difference between third party sales and individual purchase orders goods receipt(MIGO). What's the stock levels chages after goods receipt in both cases? How the system knows that its third party migo and individual purchase order MIGO? Can anybody clarify my question?
    regards,
    raju

    Hi
    In third party you will not be able to create automatic PO
    The schedule line category CS settings in VOV6 order type NB, MM item category 5 and account assignment category settings as X and in VOV7 for TAS create automatic PO ticked will ensure PR creation only and not PO
    As suggested by the other friend you need to run t code ME59N or ME59  for automatic PO creation but certain condition to be met
    1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked;
    2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked;
    3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO;
    4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
    You have to run ME59N transaction  manually or schedule this as  a background job
    Regards
    Raja

  • Copy a service P.O. to create a new service purchase order

    I want to create a new service purchase order with items category D. However when I give ref. of some another purchase order the vendor and org. data fields become grey. How do I change these fields in new purchase order which I want to create? In case of material P.O. these fields are editable.
    Pl. help.
    Regards.

    Dear,
    Please check at the time of Service order creation the document type of purchase order is for services. If no please first change document type in ME21N select document type for service po then enter reference of document number in field of purchase order and it's line item at item detail level.
    So please compare your process of purchase order creation with below detail.
    Enter ME21N -Select document type for po.
    Then enter purchase order number in field of reference purchase order field. then check your data.
    Regards,
    Mahesh Wagh.

  • Re: Copying Header Text from Sales order to Purchase order

    Dear Friends,
    We have requirement to copy the "shipping instructions text"  maintained in the Sales Order to Purchase Order.
    Could some body guide to configuration settings needed to get this.
    Thanks,
    Krishna Redy

    Dear Suresh,
    We are creating the Purchase order with account assignment and in the PO we are giving the sales order number.
    When system is copying the Customer and order dedails to PO, same way we want to copy the Texts as it plays big role for the clients business process.
    SAP must have solution for this as it is genuine requirement. Hope someone call the right card.
    Thanks,
    Krishna Reddy

  • Changes carry forward from sales order to Purchase order in third partysale

    Hi,
    My requirement to carry forward the changes in sales order to Purchase order in third party sale and vice versa.
    As we know most of the changes we do in sales order,get refelected in purchase requestion because PR get created automatically from SO but PO we create manually in third party scenario.
    Now my requirement to refelect the changes (changes qty, request delivery dale,adding or delition item etc.) from SO to PO and text message from PO to sales order automatically.
    Please guide me.

    Hi,
    Thanks for reply.
    In third party PR gets created automatically but PO gets create manually.So changes get refelect in PR only not in PO.
    Can you give me the solution for completing this task.
    Thanks & Regards
    Jalaj garg

  • Copying Profit Center from sales order to Purchase order

    Hi Champs,
    Please let me know if anyone has implemented this scenario of copying profit center from sales order to purchase order and then to goods receipt.
    Thanks
    Pirzada

    Hi,
    Profit center flows from material master to other documents such as PO,SA GRN and MIRO.Please let me know what are you looking for?

  • Uploading sales text and Purchase order text for material master

    Hi,
      I have created, material master with LSMW  byt not updated SALES TEXT and Purchase order text with LSMW  now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text  when i have done the recording with SHDB  i have not found filed in recording.
    regards,
      zafar

    Hi,
    I have made the code in se38
    as below but still it is not working
    REPORT  ZTEST_TEXT.
      data: headerl like thead occurs 0 with header line.
      data itab3 like tline occurs 0 with header line.
    headerl-tdobject = 'MATERIAL'.
    headerl-tdname = '00000000000LSMW123'.          "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
    headerl-tdid  = 'BEST'.
    headerl-tdspras = 'E'.
    append headerl.
    move '*' to itab3-tdformat.
    move 'Testing PO text' to itab3-tdline.
    append itab3.
    call function 'SAVE_TEXT'
      exporting
        header                = headerl
      insert                = ' '
       savemode_direct       = ' '
      tables
        lines                 = itab3
    exceptions
       id                    = 1
       language              = 2
       name                  = 3
       object                = 4
       others                = 5.
       IF SY-SUBRC = 0.
         CALL FUNCTION 'COMMIT_TEXT'
           EXPORTING
                OBJECT   = headerl-tdobject
                NAME     = headerl-tdname.
       ENDIF.
       break-point.
    regards,
    zafar

  • Creating Intermediate Document for purchase order

    Hi gurus i am working With  ALE Concepts ,could any one tell me how to Create Intermediate Document for purchase order
    regards,
    Peachimuthu.

    hii...
    See to create idoc for purchase order
    u hve to create
    1. Idoc Type
    (here u will create segment and segment type)
    2. Now create message type
    3. Link idoc type to the message type
    4.Check Login System number if not assigned than assign it (generally basis ppl do dis job)
    5. Create RF destination and ports also (according to demand)
    6. Now finally create partner profile and linked with the system to u wnt to send an idoc..
    Regard
    Arpan Maheshwari

  • DG text pattern from delivery used in Sales Order or Purchase Order

    Has anyone tried to copy the logic for printing EHS DG text pattern from delivery for use when generating bill of lading from a Sales Order or Purchase Order?
    SAP logic is using delivery only - we have not found how to copy SAP code to generate text patterns without delivery.
    Wondering if anyone has had similar issue and what approach or solution was found.

    hello, friend.
    you do not have to change the requested delivery date.  the purpose of this date is to indicate a preliminary customer requirement date.  this date is relevant for MRP.
    but the system looks at this requested date and calculates if your system can fulfill the requirement on this date; in the process, the system considers all lead times such as production (if internally procured), purchasing (if trading goods/externally procured) and others (delivery, picking, packing, etc.).  if yes, this requested date is adopted as the schedule line (and earliest delivery creation) date.  if no, then the system will propose a later date (also becoming the proposed confirmed schedule line date).
    hope this helped you.
    regards.

  • How can I convert of Sales order to Purchase order automatically?

    How can I convert of Sales order to Purchase order automatically?
    It is a TPSO (Third party sales order) situation, I am using item category as TAS, it automatically converts Sales order to (PR)Purchase Requisition.
    But can I convert Sales order to (PO)Purchase order? without any manual intervention?

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

Maybe you are looking for

  • How can I select pages to print from a Word document using the report generation 'print report' vi?

    I have researched the knowledge base and found: Printing A Range of Pages or Number of Copies of a Report Using the Report Generation Toolkit in LabVIEW. This seems to be from a previous version of LV. I am using LV2010. The instructions given do not

  • How to get the search criteria value in model

    Hi, I've a search page and one of the search item has BETWEEN operator. How can I get the values for this search criteria item in model project ie., inside the VOImpl.java? Thanks

  • Apple TV 2.0 - best for UK users?

    Hi, I am new to this technology but converting from a PC to MAC - finally which is ace. I have bought a new 26" LCD for the bedroom which is HD ready. Im looking at the Apple TV 40gb version, but from what I can tell - this only streams info from iTu

  • Stuttering HD trailer on Macbook

    I have a Macbook which is connected to my Samsung HDTV via the DVI connection. I have downloaded some HD trailers at 1080p in iTunes and have tried to play them back on my Macbook and on my TV (1080p). But I have noticed that the playback is nor enti

  • Drag and Drop Learning Interaction without Overlapping

    I would like to be able to drag and drop into a column without dragged items overlapping for a quiz question. I don't know Action Script and am using CS3. What do I need to do to get this to work. Component Inspector states Drag1 = Target 1, etc. I n