Creation of Sales Order from Service Order

Hi All,
I am usind BADI Workorder_update and method at_save to create a Sales Order while saving the Service Order.
I have created the ZBAPISALESORDER_CREATEFROMDAT2 which is a copy of BAPI_SALESORDER_CREATEFROMDAT2(Since order type was ZDR).
I have written the following stmt for Debt Memo.
            BUSINESS_OBJECT         = 'BUS2096'              " Debit Memo
This BAPI is working fine and giving the Sales Order Number as a pop-up for information.
But now, the problem is coming with Service Order Creation (In the transaction IW31). It is giving short dump while saving the service order after creating the sales order.
I have checked in the standard code of Service Order. Dump is coming at
Include : LCOZFU64
Function Module:CO_ZF_PROJECT_BUDGET_CHECK
Line : 258
IF caufvdg-netzkont IS INITIAL.
          CALL FUNCTION 'STATUS_CHECK'
            EXPORTING
              objnr             = caufvdg-objnr
              status            = stk_vkt
            EXCEPTIONS
              object_not_found  = 01
              status_not_active = 02.
          subrc = sy-subrc.
        ELSE.
        ...ansonsten kann man das an NETZKONT erkennen!
          IF caufvdg-netzkont EQ con_kont_kopf.
            subrc = 02.                "kopfkontiert
          ELSE.
            subrc = 00.                "vorgangskontiert
          ENDIF.
        ENDIF.
With my code of BAPI, it is returning sy-subrc = 01 (Object not found).
Without my code of BAPI (Standard code of IW31), it is returning sy-subrc = 02 (status not active) which is the right one.
Kindly help me in this regard.
Regards,
Priyanka Vasudeva.

Hi,
There are various scenarios to support end to end work managmenet process in IS-U find attached detail document at link below.
[http://help.sap.com/saphelp_utilities472/helpdata/en/6a/1a6c35a018d041e10000009b38f839/frameset.htm]
Scenario A describes process of creating sales order based on service order.

Similar Messages

  • Create purchasing requisition or purchase order from service order

    Hello experts,
    we are facing the following problem:
    We are implementing Customer Service module and out of the notification we create a service order. In the service order (components tab) the technician declares the spare parts he has to order from the vendor. We do not keep stock of the spare parts so all of them have to be ordered from the vendors.
    We have managed so far to create a reservation for the stock material and a purchase requisition for the non-stock materials of the service order according to the standard sap documentation. What we need is to create a purchase requisition or a purchase order for the stock items using standard logic.
    Thanks
    George

    Hi
    Please follow the steps it will solve your scenario
    Steps involved in Service PO:
    1.Define Organizational Status for Service Categories, in IMG - MM - External Services Management.
    2.Define Service Category, Enter Service Category, Org. Service Category, External Number Assignment
    Without Validation, Acct. Category Reference & Service Category Description.
    3.Define Number Ranges for Service Category.
    4. Create Service Master Record (AC03), SAP Menu u2013 Logistics u2013 MM u2013 Service Master, Enter Service Category,
          Base unit of measure, Mat/srv.grp (007 u2013 Service), Division, Valuation class u2013 3200 & Service type.
    5.Create Service PO with Acct. Assignment u2013 Cost Center (K), Item Category u2013 D, Material Short Text, Mat. Group, Plant, Entry for Services in Item Level i.e. Service No., Quantity & Gross Price u2013 Save.
    6.Maintain Service Entry Sheet u2013 ML81N in SAP Menu u2013 Logistics u2013 MM choose PO in ML81N edit and save.
    7.Then do MIRO from PO reference u2013 Service Entry sheet.
    8.Collective Release of Service Entry Sheet u2013 ML85
    Thanks & Regards,
    Mani

  • Creating Spare part  order from service order

    Hi all,
    In servce management in transaction IW32 I give my service order number and when i click the components tab and go for advance shipment the system should Display the create spare part order. But that screen is not displayed. Please help me out in this issue..
    Thanks and Regards,
    Ashu

    Hi,
    When you click the advance shipment tab, the system creates a consignment order. Select the component line item and click on the advance shipment tab. check for the item category of the component.
    Prase

  • Copy data directly from service order to sales quotation

    I know the process to create the sales quotation from service order in customer interaction center but my query is that is there a way that data should be directly copied from the service notification to the service order to the quotation because I have entered the data completly in the notification .Entring the data again and again make mistakes .
    THANKS
    AVANISH GULATEE
    M-08447307358

    look for the BADIS that get triggered when you save the notification. if you find any BADI, then you can create new implementation for it and you can write the code. you can use CRM_ORDER_MAINTAIN to create service order inside that new implementation.

  • To create project from service order

    Hi All
    Is it possible to create project (network Order ) from Service order ( SM01,SM02,SM03)??? if yes... How???
    Neil

    Are you referring to Assembl;;y processing ?... You can create service order from Sales Order, but you cannot create proejct from Service order automatically.
    With regards
    Nitin P.

  • Sales order from Service Contract?

    Dear SD Guru,
    Can I created Sales Order from Service Contract? I would like to create a sales order from service contract (MV) and I need to generate billing from the sales order. MV-> OR-> F2. No Resource Related Billing involved.
    Thanks,
    Soo

    Hi,
    I think this can be achieved, if you do copy control from order to order in VTAA.
    Thanks
    Krishna.

  • How material transfers from sales order to service order

    Hi All,
    In case of sales order (Debit memo request or quotation) created from service order, material in service order is transferred to sales order via DIP profile.
    but in case of,
    service order created from sales order how the material flows from sales order to service order.
    In customer service module.

    If Service Order gets created from Sales order, operations & components are transferred to Service order through Service Product assignment in Sales Order.
    Service Product will be created in MM01 & this will be linked to Task list in OISD. By assigning this Service Product in Sales Order, Service order will be created automatically with the assigned Task list.

  • Customizations about sales order from service notification

    We can create sales order from service notification. I have 2 questions about this subject:
    1. How can I choose the type of the sales order? Where is its customizing?
    2. How can I hide or make visible the button of "Sales ord." ?
    Thanks in advance for the answers....

    Hi,
    Check the setting in the ODP1 transaction for the sales order assigment with service notification.
    Regards,
    Raj

  • Text Flow from service order to requisition

    Hi Everyone,
    I having a problem regarding text flow from service orders IW31/IW32 to requisition ME53N.
    I created/updated a service order in IW31/IW32 and enter some text in "Operation Short Text" column. When I release the service order the short text should ideally be reflected in purchase requisition. What's happening right now is that "If the length of text entered in IW32 is more than 40 characters then the text is reflected in requisition ME53N otherwise any updates to this column text are not reflected in ME53N".
    I debugged ME53N and found that it gets the value of text using READ_TEXT so I hope the same is stored in standard text while saving IW31/IW32. I checked the text also which is created after saving Iw32 and it contains changed data only if the length of the data is more than 40 characters.
    To me it looks like standard SAP process that the text will flow from service order to purchase requisition only if the data length is more than 40 characters. If anyone has any idea can you please share. Is there any sugesstion for correcting this. Any reason or OSS.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Aug 13, 2008 3:30 PM

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • LSMW for open notifications,open sales order & open service order

    Hi Gurus,
    Can anyone please tell me how to go about writing LSMW's for open notifications,open sales order & open service order.
    This is for service processing in CS ,where has the scenario is 
    Create Notification (IW51) --> create Sales Order(Multiple Line Items) ( VA02) --> Create Service Order ( IW32)
    Service order is automatically (Item Proposal) generated w.r.t Sales Order (multiple line items)
    How to I do the recording for transactions in such a scenario.
    Please suggest!
    Thanks!
    Vinod

    you can use the below LSMW IDOC method
    SALESORDER_CREATEFROMDAT2       Sales order: Create Sales Order
    SERVICENOTIFICATION_CREATEFROM  Create service notification
      SERVICE_CREATE                  Creation of a Service Master Record
    CARNOT                          Delivery: Shipping notification
    DESADT                          Shipping notification
    DESADV                          Delivery: Shipping notification
    INOTIF                          Notifications
    INTUPD                          Notification Status Update
    ISU_ADVICE                      IS-U Deregulation: Notification
    ISU_CHANGE_REQUEST              IS-U: Notification of Change to
    ISU_MAINT_SO                    IS-U Dereg.: Notification of Dev
    ISU_REMITTANCE_ADVICE           Transfer Notification

  • Quotation number from Service order or notification

    Hi,
    As per the process, we create service quotation from service order using the transaction DP80. I can get the service order number from the quotation (VBAK-AUFNR). But I need to get this quotation number from service order or service notification (it is updated in the document flow). Could you please help me?
    om which tables (service order or notitification) I can get this quotation number?
    Regards,
    SAM

    Hi,
    One option I used in the past is to call FM RV_ORDER_FLOW_INFORMATION and then analyze the result given from this FM.
    Do a Where-Used List search for this FM and you will find some examples in standard SAP.
    It can be somewhat challenging to understand the outcome but I can can be done.
    I assume you want to analyze this after the service quotation has been created. If not then use available User Exits for the RRB processing creation. Search for RRB and consulting in SAP Notes.
    Good luck, Johan

  • Creation of PO's from Oracle Order Management

    Required Business Scenario
    Customer orders are received via the internet and imported into Oracle Order Management via an open interface table. The customer orders are processed by Oracle OM and converted to Purchase Orders which are then sent to suppliers (as no stock is held at our site). Goods are then shipped directly to the customer by the supplier. We take a commission for the service offered.
    Problem
    As we take a commission for the service described above, the value of the Purchase Order will be different to the value of the original order received via Order Management, however Oracle Purchasing does not allow you to place a Purchase Order on a percentage basis terms. (we will take a small commission as a percentage of the value of the original order meaning the value of the Purchase Order will be slightly less than the value of the original order). The following scenario attempts to explain the situation:
    Order received via Oracle Order Management
    5 units @ $20 = $100
    Purchase Order created from above order (required scenario)
    5 units @ $19.70 = $ 98.5
    Our commission @ 1.5% = $ 1.5
    Has anyone encountered this scenario before? If so I would appreciate assistance in how to resolve this issue. How can we create a Purchase Order from the order received via Order Management which will have a different value and allows us to take a percentage as commission?
    Thanks
    null

    I came across your email on Oracle AppsNet. My company has the
    exact same requirement. Did you ever receive any replys related
    to this issue? If so would you be so kind as to forward them to
    me? Thanks.
    Required Business Scenario>Customer orders are received via the internet and imported into Oracle Order Management via an open
    interface table. The customer orders are processed by Oracle OM
    and converted to Purchase Orders which are then sent to
    suppliers (as no stock is held at our site). Goods are then
    shipped directly to the customer by the supplier. We take a
    commission for the service offered. >Problem >As we take a
    commission for the service described above, the value of the
    Purchase Order will be different to the value of the original
    order received via Order Management, however Oracle Purchasing
    does not allow you to place a Purchase Order on a percentage
    basis terms. (we will take a small commission as a percentage of
    the value of the original order meaning the value of the
    Purchase Order will be slightly less than the value of the
    original order). The following scenario attempts to explain the
    situation:>Order received via Oracle Order Management>5 units @
    $20 = $100>Purchase Order created from above order (required
    scenario)>5 units @ $19.70 = $ 98.5>Our commission @ 1.5% = $
    1.5>Has anyone encountered this scenario before? If so I would
    appreciate assistance in how to resolve this issue. How can we
    create a Purchase Order from the order received via Order
    Management which will have a different value and allows us to
    take a percentage as commission?>Thanks >null

  • Problem with sales order and Service order

    Dear Guru's
    We have a real problem with sales orders and service orders and how we treat these. For a project that uses a WBS, it's not a problem to manipulate SAP to give us a list of shortages (orders with no or limited supply) for each order, but for some reason our after sales orders and our service orders do not work this way.
    Thanks and Regards,
    Deethya.

    CLOSED

  • PME - Configuration Copy From Service Order Quotation to Service Order

    Hi,
    We are in requirement to copy the Product configuration in CRM 2007 from Service Order Quotation to Service Order.
    After Configuring a Product in Service order Quotation, the product configuration is not copying to the Service Order if created using follow up documents.Only Product is Copied to the followed up transaction with the copy control method in customization.
    Please advice..
    Regards,

    Hi,
    Problem solved...
    In the Copy Control of the Item Category in IMG the Process Flow option was not maintained.
    Regards,

  • FM/Class for creating service confirmation from service order

    Hello Gurus,
    Does anyone know a FM/BAPI/Class to create service confirmation from service order ?
    With warm regards,
    Kallol Bhowmick

    Hello Kallol
    You can trigger a confirmation from service order using action profile.
    Here is how to define action profile:
    IMG > CRM > Basic Functions > Actions > Actions in Transaction
    Dialog Stucture> Action profile:
    Object type = BUS2000116
    Context class = CL_DOC_CONTEXT_CRM_ORDER
    Dialog Stucture> Action Definition:
    Processing time: Processing using selection report
    Check box schedule automatically, Changeable in dialog and executable in dialog.
    Dialog Stucture> Processing types
    Permitted processing types of actions: Select - Method Call
    Settings method call: Method - COPY_DOCUMENT (you can also try COPY_DEF_ITEMS)
    Processing Parameter:
    -Select change icon a new window opens - container editor
    -select create icon another window opens - display container editor
    Here enter following:
    Element = PROCESS_TYPE
    Name = PROCESS_TYPE
    short desp = PROCESS_TYPE
    Tab > Dtype:
    Structure = CRMC_PROC_TYPE
    Field = PROCESS_TYPE
    Tab> initial value
    Here maintain the transaction type of your confirmation.
    save your action profile. Now assign action profile to Service oder transaction type.
    I hope this info helps.
    Regards
    Rupesh Patil

Maybe you are looking for

  • Automatically Selecting Values in Multiple Values Dropdown Parameters

    Hi, Is it possible to have parameter values automatically selected in a dropdown in an SSRS report?  I'm using SQL Server 2008 R2 Enterprise edition.  Basically what I have in mind is this:  The user wants to save his parameter selections in a table

  • Smartforms output could not be issued

    hi all, i have executed my smartforms. and activated and checked the syntax it doesnt show any error. but while i excute the form through the transaction code it throws me an error. stating output culd not be issued. thanxs in advance

  • Ios 8.0.2 airprint

    HI, still no way to print.... i can select my samsung clx but it does'nt print... Any answer? thnks

  • Purchase reqistion Release workflow issue

    Dear experts, My PR release procedure works well for releasing useing ME54N. All configs are correct & works well. Now while trying to activate workflow for just the Director & VP level I have followed the configuration steps under SAP help. But it d

  • SAP ISU - Work Management

    Hi Experts, Could you please share standard SAP documents/materials for 'SAP ISU - Work Management'. Thanks in advance. Regards, Shailesh