To get service order from sales order number and item number

The select on AUFK takes much longer time than the transaction which is used to get the sevice order number starting from VA03. ( select one line item. goto repairs, then select the repairs column and goto SM Order). Is there any other table than AUFK from which i can get service order number.

Hi!
Check, if you have an entry in table VBFA for your sales order (sales order in VBELV, POSNV, AUFK in VBELN and POSNN, VBTYP_N might be 'C').
If so, your select will be much faster by using VBFA.
Regards,
Christian

Similar Messages

  • Creation of service order from sales order

    Dear gurus,
    I am creating a service order from sales order. the system is asking me the variant configurations for the said material.
    But i dont want to use a configurable material. I want to use a general material withour variant configuration and generate a service order using predefined tasklist.
    Please help!

    Hello Prashant,
    if you do not want to use configurable materials in sales order:
    make sure the material cannot be configured (material master view 'basic data2')
    make sure the customizing for the item line does not require configuration (remove the 'configuration strategy' in the customizing for the item line)
    Link your sales material to your task list using transaction OISD
    If you do not wat to configure your task list as well, just make sure it is not linked to a configuration profile.
    Does this help?  
    Nicolas

  • Automatic posting of purchase order from sales order

    hiii
    experts,
    i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hello,
    Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
    Beside that I would suggest check document flow whether already PO is created or not.
    If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
    Hope this help you ,
    Regards,
    Prashant

  • Create production order from sales orders

    Hello,
    I am looking for some detailed documentation in order to make customizing in sales module. The aim is to create production orders from sales orders..
    Thanks  for your help

    See the following link from SAP help online:
    > http://help.sap.com/saphelp_47x200/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    It contains lots of useful information on Make-To-Order Production.
    I hope this helps.
    Gerard

  • Production order from sales order

    Hi experts,
    I have created production order from sales order through t-code co07, there it shows error "Sales order has no CO object" like this.. how to resolve this.
    Thanks

    Hi,
    KA01 configuration is must for CO object And OKB9 config where we configured the Cost Element to Cost Center basing on the profit center as we have the Automatic Acct Assignment.
    Please try and come back.
    Regards,
    R.Brahmankar

  • Can we create service po from sales order

    HI
    can we create sales order from service po. if yes then how can we do so.

    Hi,
    we can create po from sales order in cross docking functionality.
    The steps are
    Sales order > Purcahse requistion > Purchase order > Inbound delivery with reference to purchase order and PGR > Outbound delivery with refernce to sales order and PGI > Invoice and billing.
    Br,
    Tushar Patankar

  • Order type pick for production order from Sales order

    Hello All,
    I wanted to know how is order type picked in case of Production order is generated directly from Sales order. Can any one help
    Regards
    Divya

    Hi divya,
    1. Check your material master (mm02/mm03) on tab mrp 3, Check your strategy group
    2. Check customizing for Strategy Group (OPPS). Check your Requirement type for Customer
    3. Check customizing for Requirements Types (OVZH). Check what is your requirement class for your requirement type
    4. Check customizing for Requirements Classes (OVZG). Check detail for your requirement class, in Assembly Section, maintain your Order Type. If order type is maintain empty, it changes directly to your standard order type PP01
    Be careful for maintaining this order type in . It is wisely to copy than change the standard requirement type and class setting. As my experience after changing the standard, we can't put it back to standard settings.
    Hope it's answer your question, and mind sharing some points.

  • No goods receipt possible for purchase order Number and Item number.

    Hello experts,
    When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
    No goods receipt possible for purchase order <PO number> <line item number>.
    But the GR is getting created manually using Transaction MIGO for the same PO number.
    I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
    In my case 
    1.deletion indicator is not set for the Purchase order line items
    2.And Movement type is 101
    3.And gm_code is 01.
    Could anyone please suggest me, what else could be the reason for this error?

    Here is the code what i have written.
      f_gmvt_header-pstng_date = sy-datum.
      f_gmvt_header-doc_date   = sy-datum.
      f_gmvt_header-pr_uname   = sy-uname.
      f_gmvt_header-ref_doc_no = p_ebeln.
      f_goodsmvt_code_tmp        = '01'.
    * Looping the PO details.
      CLEAR: gf_item,f_gmvt_item.
      LOOP AT gt_item INTO gf_item.
    * fill the bapi item structure details
        f_gmvt_item-material   = gf_item-material.
        f_gmvt_item-plant      = gf_sbms-werks.
        f_gmvt_item-stge_loc   = '0001'.
        f_gmvt_item-move_type  = '101'.
        f_gmvt_item-po_number  = p_ebeln.
        f_gmvt_item-po_item    = gf_item-po_item.
        f_gmvt_item-entry_qnt  = gf_item-quantity.
        f_gmvt_item-entry_uom  = 'PC'.
        f_gmvt_item-entry_uom_iso = 'PCE'.
        f_gmvt_item-po_pr_qnt = gf_item-quantity.
        f_gmvt_item-orderpr_un = 'PC'.
        f_gmvt_item-orderpr_un_iso = 'PCE'.
        f_gmvt_item-no_more_gr = 'X'.
        f_gmvt_item-ref_doc    = p_ebeln.
        f_gmvt_item-prod_date  = sy-datum.
        f_gmvt_item-mvt_ind    = 'B'.
        f_gmvt_item-move_reas  = '101'.
        f_gmvt_item-vendor      = gf_lfm1-lifnr.
        APPEND f_gmvt_item TO t_gmvt_item.
        CLEAR f_gmvt_item.
      ENDLOOP.
    * cALL THE bapi fm FOR gr POSTING
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = f_gmvt_header
          goodsmvt_code                 = f_goodsmvt_code_tmp
    *     TESTRUN                       = ' '
    *     GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              = f_gmvt_headret
    *     MATERIALDOCUMENT              =
    *     MATDOCUMENTYEAR               =
        TABLES
          goodsmvt_item                 = t_gmvt_item
    *     GOODSMVT_SERIALNUMBER         =
          return                        = t_return
    *     GOODSMVT_SERV_PART_DATA       =
    *     EXTENSIONIN                   =
      IF sy-subrc = 0.
    * For commit the changes use BAPI_TRANSACTION_COMMIT FM.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
    *      MOVE: f_GMVT_HEADRET-MAT_DOC   TO WA_DET-MBLNR,
    *            f_GMVT_HEADRET-DOC_YEAR  TO WA_DET-MJAHR,
    *            f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
    *      APPEND WA_DET TO IT_DET.
    *      CLEAR WA_DET.
      ENDIF.

  • Service order from sales order

    Hi, can anyone advise the following?  I created a service material with strategy grp 84 so that during SO creation, this will also generate a service order automatically.  However, there is info message saying there's no configuration profile for this material. 
    I do not want to setup a configurable service product.  Can anyone advise how i can overcome this message?  I am only interested in creating a service order for a non-configurable service product.
    Thanks
    PP

    Hi,
    Please check your material master if check box - "material is configurable" is active. This check box is in Basic data 2. Also check if classification view is active for your material. Also check in Basic data 1 , if any configurable setting is available.
    If any of these settings are active than deactivate themt.
    If it does not work than check your "requirement class" settings.  Go to TA - OVZG . Go to details of your class type,
    check field "Configuration" , if it has value as '+' means configuration is mandatory. Change this value.
    If you dont know your "requirement class", than go to Procurement tab in sales order. Get the requirement type from there.
    Go to TA - OVZH and get your requirement class based on requirement type.

  • How to find the Purchase Orders from Sales Order number

    Hi ...
    Is there a way to write a query to find the Purchase orders
    from the Sales Order number ....
    I have notice the table POR9 (Purchase Order - base Document)
    but it seems to be empty.
    Could you please help me to figure this out,
    Thank you very much
    Kind Regards
    Sanjaya

    hi,
                 u did mistake in selecting the table
    SELECT T0.DocNum FROM ORDR T0                 for  sales order
    SELECT T0.DocNum FROM OPOR T0                 for purchase order
    how to find the table in SAP B1.
    go to above menu view => system information. tick it(or select it)
    then below status bar u can see the table and field name.
    open the required form and just keep the  mouse cursor  on any field.
    you can see the table and field name below.
    hope now u can able to track the table name.
    regards
    sandip

  • Unable to create Service Contract from Sales Order

    Hi Guru's,
    I put a sales order with one product and service line. SO has been closed and then I ran 'Service Contract Order Capture Integration' program.
    When I query my SO using Reprocess Order, I got error status with message as "Request ID : 8360452; Referenced Product not present in the Installed Base;".
    So I searched in metalink found - 'Referenced Product not present in the Installed Base [ID 549160.1]'.
    As mentioned in the document I checked the freeze flag in Oracle Installed Base Admin --> Setup --> Install Parameters.
    The same already been checked. I also checked the service item definition and found IB track not checked under service tab. When I tried to check the flag, an error states that 'Non subscription contract Item cannot be Install Base trackable'.
    Now how to overcome this issue. Any help will be highly appreciate.
    Instance Details:-
    RDBMS : 10.2.0.4.0
    Oracle Applications : 11.5.10.2
    Thanks,
    Bala

    Hello Bala,
    The 'Installed Base Trackable Flag' is a Master Item Controlled attribute in Inventory, which means that when the Attribute is set at the Master Item Level it is cascaded to all Child Organizations.
    If there is inventory in any of the Child Organizations, the flag cannot be changed at the Master level.
    You must issue all of the Inventory out of each Child Organization, change the flag at the Master level.
    Thanks
    -Arif.

  • Creating Purchase Order from Sales Order via DI

    Hi
    I get the dreaded -5002 Error when trying to create a Purchase Order referencing a Sales Order.
    The variables BaseEntry,BaseLibne contain valid values i've doublechecked that.
    is it not possible to generate a referenced Purchase Order this way? If not is it planned?
    I use the approach:
    oPRDR.CardCode=CardCode
    oPRDR.Lines.BaseType = 17
    oPRDR.Lines.BaseEntry = BaseEntry
    oPRDR.Lines.BaseLine = BaseLine
    retval = oPRDR.Add()
    btw. I'v tried it without:
    oPRDR.CardCode=CardCode
    but didn't work either.
    tia

    Hi Philipp,
    This is a bug. Please log it on Service Marketplace.
    Sorry,
    Frank
    PS:
    I have just been asked that question by another partner as well.
    He could even create a PO based on a SO that with demo databases (PL18 + PL21), but not in a real customer database (not 100% sure about the PL)
    He is going to inform Support about that issue...

  • Work orders from sales orders

    17.11.07
    HI friends,
    I have a service item in my sales order and the charge is billed on the customer. This service has been provided to the customer through a vendor.  Can i create a work order or purchase order on the vendor using this sales order? I have created the vendor as a partner at the item level.
    Please advise.
    Regards,
    Udaynath.

    u just creat slaes order after that mm will come online that means service material gurantee and warntte  they will check qm and will decide that will be serivces or not or replaced that material so just we have to do the billing only  if the serivced material through vendor that will so  sending vendor but we are givening to the invoice to customer thank u
    Just iam trying to give the answer only if any mistakes please remind me this is my cell number 9848948675

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Quantities captured in Purchase Order from Sales Order

    Hi,
    Here is the scenario:
    1. Sales Order: Ordered 2 units of item A.
    2. Item A in warehouse = 1 unit. Therefore, I'm short of 1 unit.
    3. Tick Purchase Order in the logistic tab.
    4. When I click Add sales order, Purchase Order confirmation window appear.
    5. Quantities captured in the PO confirmation order is 2 units.
    The quantities for PO should be 1 unit, isn't it?
    This is weird. I tested this a few days ago. The PO only captured the quantities that I'm short of, not the full quantities.

    Hi Joyce
    As per your scenario if there are two items in sales order and if u make a purchase order out of it it would have 2 items in it
    because it does not take into account the MRP aspect it directly links a direct link between sale and purchase order in the backend and also there exist a link between line items and there quantities
    if u wana run the system eeping in mind the MRP concept then u would require to run the purchase order from MRP
    Regards
    Manish

Maybe you are looking for

  • Error while updating the sales order through Process Order API

    Hi, Please any one will help plz. I am updating the promise_date through oe_order_pub.process_order(Process Order API) i am getting the following error. FND_AS_UNEXPECTED_ERROR N PKG_NAME OE_Order_Cache N PROCEDURE_NAME get_tax_calculation_flag N ERR

  • Attempting to copy to disk... Disk could not be read from or written to

    New user. Successfully imported one CD to Ipod. When attempting to do so on second CD, got the error message "Attempting to copy to disk EJM failed. The disk cannot be read from or written to." I restored to original settings. Was able to do one CD.

  • Lag when useing simple programs

    Hi ok i have a problem with my macbook pro 13" 2.4GHZ 4GB ram, basically when i use Firefox (mainly Javas and videos) or World of Warcraft the display Laggs a lot and so does the cursor, sometimes so bad i cant quit the program. i have been advised t

  • IMac Intel heating questions?

    Hello everyone, I have a 17 inch iMac Intel with 2GHZ, and according the sensors, it averages about 55 degrees C. That's about 131 degrees fahrenheit. Now is that a little warmer than usual? I've looked around and a lot of people say their iMacs aver

  • I bought a new hp laptop & cant install itunes

    I have bought a new hp laptop when i go to install itunes an error message reads windows installer service could not be accessed. this can occur if you are running windows in safe mode or the windows installer is nto correctly installed.