How service order and sales order are linked to Service notification

Hi I want to link a specific service order type and a specific sales order type to a service notification how to do that. Please help me out

The sales order to service order link is also there in table AUFK
AUFK-KDAUF (sales order number)
  Sales order
Also check document flow of the sales order for the item in question:
If the item is a a service item then

Similar Messages

  • Replicate Service order and sales order

    Dear All,
    I need the objects that responsible to replicate service order and sales order
    and what is the steps to apply these steps
    please, ASAP

    Good afternoon,
    I presume you are looking for the adapter objects? For business transactions this is BUS_TRANS_MSG.
    Kind regards,
    Vanessa

  • Prod. order and sales order order link-MTS sceanrio

    Hi dudes,
    My client is using both MTO and MTS scenarios,
    to customize a report in costing they want link between production order and sales order. Its readily available in MTO sceanrio but in in Make-to-Stock scenario how to get this link.
    Please if any enhancement or some other way to get it..
    thanks in advance...
    Robert.

    Robert,
    I will assume that you have already informed your client that this report is nonsense (Make to Stock by definition cannot be linked reliably to a Sales order).  Oh well, the client is always right!
    Make sure you include in your solution
    1.  How does he want to account for the business scenario where one production order ends up supporting more than one sales doc (and yes, it will happen).
    2.  How does he want to account for the business scenario where a production order is received to support Safety Stock (might not happen if he doesn't use SS)
    3.  How does he want to account for the business scenario where a production order is received to support a forecast, but there is not yet any sales doc (might not happen if he doesn't use forecasting)?
    4.  How does he want to account for the business scenario where the production order is received into stock, and the sales department decides to use the stock for a different sales order?
    Item 4 would only be an issue if the report is run prior to the sales order being shipped.
    Regards,
    DB49

  • Purchase order and sales order table name

    hi al,
    i want to know purchase order and sales order table name in abap.
    thanks
    varun
    Moderator message: please do some own research, this should not take too long.
    Edited by: Thomas Zloch on Jan 27, 2012

    Hi Sunrag......
    If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
    From there you ca gte the Customer Name into your PLD and it wont hang also.....
    Regards,
    Rahul

  • Purchase orders and Sale Orders in DEV and PRD

    Hi SAP Experts,
    We have a facing some different problem. Unfortunately our clint do some transactions in Development Server. Like Purchase orders and Sales Orders.
    After one month we delivery to clinet exact Production server. But he is asking , What ever the purchase orders and Sales Orders Created in Development with same numbers and Same dates, that data will be present in Production server also. Is it possible to do that. IF possible how to do that...
    Thanks and Regards
    Siri....
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:56 PM

    I think it is possible,as per my knowlwdge our perious client regularly( means every 3-4 months) copied the data from Production server to quality server. by the help of basic person...
    So in your case you want to copied the data from devlopment server to production server....please touch with your basic guy, i think he will help out reagrding this...

  • No Purchase order and sales order from trading contact

    Hi Gurus,
    I am new to this module and i am trying to create a Trading contract. As I understand that the trading contract should create Purchase order and Sales order automatically. But in my case, this didn't happen.
    In this regard, I want to know,
    i. Are info records mandatory or mentioning the required purchasing and sales data during contract creation is sufficient.
    ii. What are the configurations required to do for GTM functionality and which are the points should I check for this.
    help me out.

    HI
    there are some status that is required to be set while you save a  trading contract.
    your trading contract must be approved or released..only then follow-on docs will be created.
    regards,
    Yadesh

  • Automatic account postings (for Intercompany Purchase order and Sales order

    Hi all,
    I need some help related to the automatic account postings (for Intercompany Purchase order and Sales order)which i can set for the follwoing scenarios. I have looked on the forms and searched alot but not able to a single solution to solve both the pupose. if one scenario works the other doesnt. Please advise.
    I have created the master data
    Customer receiving--G001
    Sales Org.--GXIN
    Distr. Channel- 01
    Division - 00 
    Company code receiving - G1
    customer supplying- V001
    company code for supplying- V1
    2 different scenarios
    1- Intercompany Purchase order in which a Customer receiving- G001, gets stock replenishment NB purchase order from supplying company V1- GI  and GR of stock is done. Biling document for customer receiving G001 is created. But now I need a way to do the opposite side posting at the supplying customer -V001-- this I do using an Idoc which creates a Invoice receipt for creditor(supplying customer) V001.
    2. Sales order-- A customer X001 of company code G1 buys stock from the company code V1. the customer G001 of company code G1 bills the customer X001, but the intercompany billing doc/ invoice is created for the customer G001 by company code V1.  then now i want an automatic account posting to be created at the supplying customer V001 via idoc.
    Can this be achivable via Idoc with automatic account postings.   
    Please let me know if it doesnt make sense. thanks to all in advance
    cheers
    Jasmeet

    Hi all,
    For the Sales order and automatic posting we have created an output type ZR4N- this is creating a batch input session which can be triggered to be processed autmatically.
    For the intercompany Purchase order -from Invoice we are creating a different output RD04 (sap standard) which creates invoice receipt at the vendor side.
    Rest of the settings are defined using SAP standard functionality within transaction OBCA, OBCB, OBCC, OBCD,OBCE
    thanks for viwing the post
    Cheers
    Jasmeet

  • Should an abaper have  knowledge of creating purachse order and sales order

    should an abaper have  knowledge of creating purachse order and sales order
    if so how to create pls help me
    thanks in advance

    REPORT ZTEST_BAPI .
    *- BAPI related declarations
    DATA : g_pohdr TYPE bapimepoheader,
    g_pohdrx TYPE bapimepoheaderx,
    gt_poitem TYPE TABLE OF bapimepoitem,
    gt_poitemx TYPE TABLE OF bapimepoitemx,
    gt_posched TYPE TABLE OF bapimeposchedule,
    gt_poschedx TYPE TABLE OF bapimeposchedulx,
    gt_poacct TYPE TABLE OF bapimepoaccount,
    gt_poacctx TYPE TABLE OF bapimepoaccountx,
    gt_poservice TYPE TABLE OF bapiesllc,
    gt_posrvacc TYPE TABLE OF bapiesklc,
    gt_return TYPE TABLE OF bapiret2.
    perform prepare_header.
    PERFORM prepare_items.
    PERFORM prepare_schedule.
    perform create_po.
    *& Form prepare_header
    Set up header structure
    FORM prepare_header.
    g_pohdr-comp_code = '2000'.
    g_pohdrx-comp_code = 'X'.
    set up doc type
    g_pohdr-doc_type = 'NB'.
    g_pohdrx-doc_type = 'X'.
    g_pohdr-vendor = '0008000330'.
    g_pohdrx-vendor = 'X'.
    g_pohdr-langu = sy-langu.
    g_pohdrx-langu = 'X'.
    g_pohdr-purch_org = 'BA01'.
    g_pohdrx-purch_org = 'X'.
    g_pohdr-pur_group = '800'.
    g_pohdrx-pur_group = 'X'.
    g_pohdr-currency = 'USD'.
    g_pohdrx-currency = 'X'.
    ENDFORM. " prepare_header
    *& Form prepare_items
    Set up item values
    FORM prepare_items.
    DATA : ls_poitem TYPE bapimepoitem,
    ls_poitemx TYPE bapimepoitemx.
    ls_poitem-po_item = '00010'.
    ls_poitemx-po_item = '00010'.
    ls_poitemx-po_itemx = 'X'.
    ls_poitem-short_text = 'ABSORBER,SHOCK:PALLETIZER'.
    ls_poitemx-short_text = 'X'.
    ls_poitem-material = '000000000001070062'.
    ls_poitemx-material = 'X'.
    ls_poitem-vend_mat = 'xyz'.
    ls_poitemx-vend_mat = 'X'.
    ls_poitem-quantity = '100'.
    ls_poitemx-quantity = 'X'.
    ls_poitem-po_unit = 'EA'.
    ls_poitemx-po_unit = 'X'.
    ls_poitem-po_unit_iso = 'EA'.
    ls_poitemx-po_unit_iso = 'X'.
    ls_poitem-net_price = '6.32'.
    ls_poitemx-net_price = 'X'.
    ls_poitem-price_unit = '1'.
    ls_poitemx-price_unit = 'X'.
    ls_poitem-item_cat = 'D'.
    ls_poitemx-item_cat = 'X'.
    ls_poitem-plant = '1575'.
    ls_poitemx-plant = 'X'.
    ls_poitem-ACCTASSCAT = 'K'.
    ls_poitemx-ACCTASSCAT = 'X'.
    ls_poitem-acctasscat = <fs_req>-knttp.
    ls_poitemx-acctasscat = 'X'.
    ls_poitem-distrib = <fs_req>-vrtkz.
    ls_poitemx-distrib = 'X'.
    ls_poitem-part_inv = <fs_req>-twrkz.
    ls_poitemx-part_inv = 'X'.
    ls_poitem-gr_ind = <fs_req>-wepos.
    ls_poitemx-gr_ind = 'X'.
    ls_poitem-gr_non_val = <fs_req>-weunb.
    ls_poitemx-gr_non_val = 'X'.
    ls_poitem-ir_ind = <fs_req>-repos.
    ls_poitemx-ir_ind = 'X'.
    ls_poitem-agreement = <fs_req>-konnr.
    ls_poitemx-agreement = 'X'.
    ls_poitem-agmt_item = <fs_req>-ktpnr.
    ls_poitemx-agmt_item = 'X'.
    ls_poitem-preq_no = <fs_req>-banfn.
    ls_poitemx-preq_no = 'X'.
    ls_poitem-preq_item = <fs_req>-bnfpo.
    ls_poitemx-preq_item = 'X'.
    ls_poitem-preq_name = <fs_req>-afnam.
    ls_poitemx-preq_name = 'X'.
    ls_poitem-pckg_no = <fs_req>-packno.
    ls_poitemx-pckg_no = 'X'.
    APPEND : ls_poitem TO gt_poitem,
    ls_poitemx TO gt_poitemx.
    ENDFORM. " prepare_items
    *& Form prepare_schedule
    Schedule data
    FORM prepare_schedule.
    DATA : ls_posched TYPE bapimeposchedule,
    ls_poschedx TYPE bapimeposchedulx.
    ls_poschedx-po_item = '00010'.
    ls_posched-po_item = '00010'.
    ls_poschedx-po_itemx = 'X'.
    ls_posched-delivery_date = '10/31/2005'.
    ls_poschedx-delivery_date = 'X'.
    ls_posched-quantity = '100'.
    ls_poschedx-quantity = 'X'.
    ls_posched-preq_no = <fs_req>-banfn.
    ls_poschedx-preq_no = 'X'.
    ls_posched-preq_item = <fs_req>-bnfpo.
    ls_poschedx-preq_item = 'X'.
    APPEND : ls_posched TO gt_posched,
    ls_poschedx TO gt_poschedx.
    ENDFORM. " prepare_schedule
    *& Form create_po
    Create PO with ref to the req
    FORM create_po.
    DATA : lt_return TYPE TABLE OF bapiret2,
    l_ponum TYPE banfn.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = g_pohdr
    poheaderx = g_pohdrx
    testrun = 'X'
    IMPORTING
    exppurchaseorder = l_ponum
    TABLES
    return = lt_return
    poitem = gt_poitem
    poitemx = gt_poitemx
    poschedule = gt_posched
    poschedulex = gt_poschedx
    poaccount = gt_poacct
    poaccountx = gt_poacctx
    poservices = gt_poservice
    posrvaccessvalues = gt_posrvacc.
    APPEND LINES OF lt_return TO gt_return.
    IF NOT l_ponum IS INITIAL.
    MESSAGE s398(00) WITH 'Purchase document ' l_ponum
    ' successfully created'.
    ENDIF.
    ENDFORM. " create_po
    <b>Reward points</b>
    Regards

  • MTO(Diff between complex make to order and sales order based mass prod)

    Hi
    We are using MTO...Can anyone tell me what is the Diff between complex make to order and sales order based mass prod in finance perspective?

    Hi,
    In the case of complex make to order scenario, through MRP, the Project shall be assigned to the sales order. Then there will be milestone billling and all. In the case of mass production MTO, it is only creation of production order for each sales order item and each sales order item shall have sales order cost estimate.
    Trust this helps much and do encourage our efforts!
    Cheers!
    Edited by: Ashok Singh on Oct 28, 2008 6:53 PM

  • Combined Purchase Order and Sales Order Query. (Including Stand Alone Docs)

    Hi,
    I need some help please!
    I am looking for a query that will show all the Purchase Orders with all their base document Sales Orders. However I also need to show those stand alone Purchase orders and Sales Orders.
    What I have is two queries, one for the PO fields en one for The SO fields. I would like a way to combine these two so I have one query with the relevant PO and SO info next to each other.
    The final query will have a top heading structure like this:
    Status,Purchase No.,Supplier No.,Supplier Name,Week,Month,Del Method,Country,Method,Rep.|Status,Rep.,Sales No.,Customer No.,Customer Name,Customer Order no.,Cust. Del date,Doc total,Del Method
    +(The first part is for the purchase order section, the second part starting at the second 'Status' is the sales order section)
    +Purchase Order Query:
    SELECT
      T0.DocStatus 'Status',
      T0.DocNum'Purchase Order No.',
      T0.CardCode 'Supplier No.',
      T0.CardName'Supplier Name',
      DATEPART(ww,T0.DocDuedate)'Week',
      DATEPART(mm,T0.DocDuedate) 'Month',
      T1.TrnspName 'Delivery Method',
      T2.Country 'Country',
      T0.JrnlMemo 'Method',
      T3.SlpName 'Rep.'
    FROM OPOR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    Sales Order Query:
    SELECT
      T0.DocStatus 'Status',
      T2.SlpName 'Rep.',
      T0.DocNum 'Sales Order No.',
      T0.CardCode 'Customer No.',
      T0.CardName 'Customer Name',
      T0.NumAtCard 'Customer Order no.',
      T0.DocDueDate 'Cust. Delivery date',
      T0.DocTotal ' Doc total',
      T1.TrnspName ' Delivery Method'
    FROM ORDR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    The problem I am having is that if I combine these queries it excludes all those records with blank/empty data fields.
    I do not mind having to go to crystal reports to get what I want.
    Any suggestions?
    Thanks!

    Hi thanks GordonDu,
    I have tried a union before, and yours works great. However my problem is to display the  PO en SO columns next to each other and not underneath each other.
    Something like this:
    Po No          Supplier          SO No           Customer
    1234           Sup 1             9876              Cust 1
    1235           Sup 2             no SO             Cust 2
    1236           Sup 3             9877              Cust 3
    1237           Sup 4             9878              Cust 4
    1238           Sup 5             no SO             Cust 4
    I have this query, but with this it drops all those Purchase Orders made Stand Alone and without a SO number.
    SELECT
      T2.DocNum AS 'Purchase Order No.',
      T0.DocNum AS 'Sales Order No.',
      T2.CardCode AS 'Supplier No.',
      T2.CardName AS 'Supplier Name'
    FROM ORDR T0 
       INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
       INNER JOIN OPOR T2 ON T2.DocEntry = T1.PoTrgEntry
    Though using your Union gives me all the information I want and the ability to expand on that, my problem is the "Display" part. I am sure I am doing something stupid somwhere 
    Edited by: Desmond Moll on Mar 7, 2012 8:03 AM

  • WBS element , Production Order and Sales Order Link

    HI,
    I have to get the name of the customer mentioned in the sales order. In Sales order line item assignment WBS element has been assigned as this is a sales order for customer specific.
    Now I am doing MRP run against WBS element and getting the planned order.
    After that i am doing Conversion of planned order into production Order with transaction code MD04.
    In the production order, Assignment tab WBS element is showing.
    My query is that against the WBS element and that particular production order how can i trace sales order as well as the customer name.
    Note: The WBS element can be assigned to more than one sales Order line item.

    Asutosh Mahapatra,
    Since each production order is created for 1 unique Sale order number you should see the sale order number on the header screen in production order ( General data tab). Also customer number & name will appear there.
    Hope this helps. Else please come back.
    Thanks,
    Ram

  • Link between process order and sales order for planning strategy 52

    Hello,
    I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
    I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
    Is anybody there with similar customer requirements or project experiences?
    Thanks in advance,
    Joerg
    Message was edited by:
            Jörg Demtschuk

    Hi Jorg,
    To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
    Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
    You need to take the help of ABAP expert for this,
    Regards,
    Prasobh
    Reward points if this was useful

  • Link between Prod Order and Sale Order schedule line

    Dear all,
    Ours is a MTO (81).
    In Scheduling Agreement / Sale Order , there are multiple schedule lines for a single item .
    Production Orders are generated for every schedule line of the Item.
    The client wants to know (for a custom developed report) , against which schedule line of the Sched Agreement/ Sale Order, the Production Order is generated ?
    This Information can be seen in MD04.But  I am not able to fetch from the tables .
    The schedule line field (KDEIN ) is not updated in AFPO table & the order no (AUFNR) is not updated in VBEP table .
    Say,
    Sale Doc No : 42000506
    Schedule line/Dely date            Order qty          Prod Order No
    06.10.09                                    500kg               100170
    15.10.09                                    300kg               100171
    Pls give your valuable inputs.
    Regards,
    Sheik

    Hi,
    Only Sales Order No & Sales Order Item No is updated in the table.
    Whereas , I want to know the Sales Order Schedule Line no.
    Regards,
    Sheiki

  • U00A7ECH Engineering Change with Purchase Order, Process Order and Sales Order

    Hello All,
    Can someone kindly explain me the integration points of Engineering Change with
    1. Purchase Order
    2. Process Order
    3. Sales Order
    I know we can see the Rev Letter in the first two. Is there a 'refresh' function inside the  PO, Process Order, Sales Order by which we can get the latest and greatest revision, incase the material rev is updated/changed after the PO, Proc Order, SO is already created. Also if yes,after what status in PO, Process Order or Sales Order we cannot use the 'Refresh' button, and than what needs to be done to fix this situation.
    Thanks in advance,
    Sachin

    Hi,
    really, this depends on several factors, especially the valid from date of the ECM and its impact on changes on a BOM (which I suppose is the use case you are looking at? Or just a change on the material revision of the BOM header material?
    Interesting for you should also be Order Change Management, although not applicable to process orders as far as I know:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/3699761bc211d2b62b0000e8359890/frameset.htm]
    Regards, Ulf.

  • How IT Resource and Resource Objects are linked?

    Hi All,
    I am new to OIM product and learning the basics. I have 2 questions.
    I am not able to figure out how an "IT Resource" and "Resource Objects" are linked?
    We always link "Resource Objects" and "Process Definition". How "Process Definition" picks the values provided in "IT Resource"?
    Thanks in Advance
    Jatin

    Hi
    I don't think "IT Resource" and "Resource Objects" are anyway linked with each other.
    "IT Resource" is something where you specify all the resources in the system which are not meant to be provisioned to users. Like proxy server or Email server in your organization.
    "Resource Objects" is a place where you define all the resources that you provision to users.
    This is my understanding, which might be wrong. I think someone more experienced user can give better answer to this question.
    -Kiran Thakkar

Maybe you are looking for

  • Form data - to command - for verification - exec

    I'm attempting to assign entered form data into an array, to generate a list of command line commands from the form data, and pass the array to a verification page for display. After the displayed and verified information has been approved , press a

  • Photo viewer issue in N8

    when i opened the photo viewer to view photos, it takes more time to load (the loading symbol is rotating for more than minute).This was not the actual opening time before.If i try to exit the viewer, i couldn't,the display is switched off for a whil

  • Sharing complex substitution variable values between ASO and BSO databases

    We have ASO and BSO Essbase database member names with spaces in, and need to store some of these member names in substitution variables. However, this has to be done differently for ASO and BSO, due to calc script syntax requiring double quotes and

  • SDOC transfer  using CS_ITM_CDOC-CVL is not working

    Help! we have used /SAPSLL/IF_EX_IFEX_SD0C_R3~IF_EXTEND_CUS_CDOC to transfer pricing conditions from ECC to GTS. On the GTS side, we have ensured that there is mapping of conditions from Feeder system set up. We have verified this. The code in BADI i

  • I cant get itune to load

    I can open itunes only the music i have, but i havent able to load the new version of itunes and not able to open store. So i cant even update my ipod and ipad. any way of fixing it?