Technical link between a PM order and its operations (routing number)

Hi all,
I would like to know how to make link between a PM order and its routing number for operations in the order (field AUFPL) ?
Thank you.
Regards.
Laurent.

Hi again,
I just found function module CO_DB_HEADER_READ.
With Order Number as import parameter you got in export parameter CAUFWA value AUFPL.
Then with +AFV+* tables, you have operations data.
Regards.
Laurent.

Similar Messages

  • Link between Customer Purchase Order and Accounting Document Number

    Hello all,
    is there a table in SAP that contains the purchase order number of the customer and the Accounting Document Number (belnr)?
    thanks in advance
    Anne

    Do this:
    SELECT awtyp awkey
      FROM bkpf
      INTO CORRESPONDING FIELDS OF bkpf
      WHERE bukrs = bsis-bukrs
        AND belnr = bsis-belnr
        AND gjahr = bsis-gjahr.
    ENDSELECT.
    This should give you SD billing document information.
    Rob

  • Link between G/L Account and profit center

    Hello dear all,
    I have an issue in Intra-company process.
    I made 2 customer payment for 2 different company code:
    1/ Company 1000: i have 2 line items posted (in G/L View)
    2/ Company 2000: For the same Cash account and the same customer account used in my first case (with company 1000) i have 4 line item posted in the G/L view and with different " PARTNER PROFIT CENTER"
    I do not know wher can i find in customizing the link between G/L Account and Profit center ?
    Thank you in advance

    The document splitting is active in your company, at the same time, the "zero balance" for profit center is activated in your doc split characteristics. In order to balance the profit center in General View, it creates another line item for balancing it which is the zero balancing account or split the cash account according to profit center assignment. For some cases, they are split equally that is why it is best that you assign the profit center in the cash account upfront and create line item for each payment with different profit center assignment.
    For instance, there are two customer line items with different profit center assignment
    Customer Line Item 1 = Assigned to Profit Center 2000 amount 500
    Customer Line Item 2 = Assigned to Profit Center 3000 amount 500
    When I post a payment of 1000, the Entry View is
    Cash                 1000
        Customer                1000
    GL View
    Cash       PC 2000       500
         Customer PC 2000         500
    Cash      PC 3000        500
         Customer PC 3000          500

  • Link tables of Sales Order and Purchase Requisition

    Hi,
    thru which tables we can get the data of purchase requistion for a sales order.
    regards,
    balu

    Dear Balu,
    the fields VBEP-BANFN and VBEP-BNFPO are filled in the third-party process only. It means that there is 1:1 connection between the schedule line of the sales order and the purchase requisition. In the third-party process during saving the sales order the purchase requisition is created automatically and is linked to the order.
    If the fields are empty, it means, you have no third-party process and no 1:1 connection between the sales order and the purchase requisition. Probably the sales order created normal requirements, which generate purchase requisition(s) after MRP run. In this case you cannot see the purchase requisition from the sales order as there is no 1:1 connection. You have no chance to get the data from sales order to the purchase requisition.
    The only possibility which you (may be, it depends on the process) have, is to find sales order numbers from the purchase requisition: so to develop the process backwards. These data are stored in the database table EBKN: Purchase Requisition Account Assignment.
    Please use the following fields:
    EBKN-BANFN  - Purchase requisition number (key field)
    EBKN-BNFPO  - Item number of purchase requisition (key field)
    EBKN-LOEKZ  - Deletion indicator in purchasing document (key field, can be helpful)
    The corresponding sales orders are stored in:
    EBKN-VBELN  - Sales Document Number
    EBKN-VBELP  - Sales Document Item
    EBKN-VETEN  - Schedule line number
    I hope, this information will help you further and will solve your problem.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • How to link asset with purchase order and PO Item.

    Hello,
           I have to generate a report which contains columns
    Asset No , po no(ebeln) ,PO Item(ebelp),Material no etc
    My query is how to link asset with purchase order and      PO Item.
    I am selecting asset and po no. from anla  but how to get
    po item no(ebelp)?
    po line item is important in this report because every line item has differrent asset and material no.
    i tried to match asset no in mseg table but i am not getting asset no in mseg .
    how should i proceed ?

    Thanks Thomas & Srimanta for the quick response.
    When I checked EKKN table by entering PO there is no asset no. in anln1 field.
    Also I would like to add that, In me23n for a PO, account assignment category we are entering 'F' for internal order settlement.
    Where can i find the link between asset and po no(ebeln) and po item(ebelp)?
    Regards,
    Rachel
    Edited by: Rachel on Aug 11, 2008 7:23 AM

  • Link between Service Entry Sheet and Material Document

    Hi
    I am busy with developing a report where i am required to find the link between the Material Document and Service Entry Sheet. 
    I am aware that on the Purchase Order Data tab of the Material Document has the service entry sheet number and line item.  However the problem I have picked up here is in the event I create a Service Entry Sheet  with a service in line 1 and for some reason Delete that Line and then capture the service again, it is saved in table ESLL as line 2.  This is correct.  However when I have a look at the material document, it references it as line 1 of the service entry.  Is there any way to get this in sync?
    Thanks
    Vinesh

    Thanks
    This table does show the service entry sheet number and line item however the line item does not correspond with the line item on the service entry sheet.
    Eg.
    I create a service entry sheet where I capture a service in line 1.
    I delete Line 1
    I recapture on line 2.
    Post Service Entry
    The Material Doc reference document is the service entry however the line item for the reference is 1.
    I need to try and link the line items
    Thanks
    Vinesh

  • Link between Transport Request no and UrgentChangeNo

    what is the Link between Transport Request no and UrgentChangeNo ?
    thank you.
    Edited by: ankusaru on Oct 6, 2009 5:33 PM

    hi,
         I hope you can use the EKBE for fetching the good reciept data for those purchase orders.
    regards,
    Veeresh

  • Difference between SAP web AS and ITS

    Hi everyone,
    Can anyone tell me the difference between SAP web AS
    and ITS.

    Hi Aditya, please let me know if the following helps.
    What exactly is the SAP Web Application Server?
    The SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components. The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    Does the SAP Web Application Server replace the SAP Internet Transaction Server (SAP ITS)?
    No, the SAP Internet Transaction Server (SAP ITS) will continue to be supported in the future and is integrated into Web Application Server from version 6.40 on. This is because the SAP ITS will in future display Dynpro-based SAP applications to the Web, either using the HTML-GUI or with HTML-template based IACs. This integration reduces the additional hardware for an external ITS. All SAP ITS based applications and the administration will work as before.
    Flow Logic technology will also not be supported by the SAP Web Application Server. ITS Flow Logic is an approach to Web application development that is now completely covered by the new "Business Server Pages" technology and others. New applications based on ITS Flow Logic are no longer developed by SAP. Existing applications based on ITS Flow Logic will continue to be supported. SAP recommends customers use the Business Server Pages for new projects or projects in an early stage of development instead of ITS Flow Logic.
    If the above didnt help, please let me know, I can try to resaerch more links and let me know..
    Thanks
    Subbu

  • Link between A/R Invoice and the A/R credit memo

    dear all
    how do we find the link between A/R invoice and it's credit memo from the database level.
    Thanks & Regards
    Kanishka Wickrama

    Hi
    You can link AR Invoice and AR Credit memo through internal reconciliation for that customer.
    Go to banking --> bank reconciliation --> Automatic Reconciliation --> internal reconciliation.
    Regards
    Kamlesh Vagal
    Edited by: kamlesh vagal on Jul 21, 2008 10:59 AM

  • How do i remove the link between my apple ID and my mobile number?

    i decided to move away from iPhone a couple of days ago as a result of renewing my contract. When I got my new phone, I factory re-set it and handed it in to my network provider as part of a recycling scheme. Since getting my new phone, when people send me texts they are still sending as iMessages. I have logged onto my iTunes and removed my iPhone from the account but still nothing. How do I completely remove the link between my mobile nuber and iMessenger?

    Contact Apple support to deactivated iMessage: https://www.apple.com/support/appleid/contact/

  • Link between Credit Risk Category and Terms of Payment

    Hi,
    Is there a link between the Credit risk category and the terms of payment. Where can we maintain this.
    For instance, if risk category is x, the top is a, risk category is y, top is b.
    Please suggest.

    There is no link between credit risk category and Terms of Payment. The Risk Category is assigned to credit limit of the customer which determines if it will be blocked at certain level for sales transactions or just a warning message that the customer is over the limit. For the terms of payment, it just determines when it's due or whether it's overdue or not.

  • How to make the connection between a sale order and an invoice in SDK

    Hi,
    Im trying to make the connection between a sales order and an invoice using the SDK.
    Here is how i create each of them:
    Invoice:
    public int SalesInvoiceInternalSave(string buisnesspartnerCardCode, DateTime dueDate, double discountPercent, string id, IList<InternalItem> items, ref int invoiceId)
          int res = 0;
          SAPbobsCOM.Documents invoice_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);     
          invoice_entry.CardCode = buisnesspartnerCardCode;
          invoice_entry.DocDueDate = dueDate;
          invoice_entry.DiscountPercent = discountPercent;
          invoice_entry.Reference2 = id;
          foreach (InternalItem item in items)
            invoice_entry.Lines.WarehouseCode = item.Shopid;
            invoice_entry.Lines.ItemCode = item.Code;
            invoice_entry.Lines.ItemDescription = item.Name;
            invoice_entry.Lines.Quantity = item.Quantity;
            invoice_entry.Lines.UnitPrice = item.Price;
            invoice_entry.Lines.Add();
          res = invoice_entry.Add();
          return res;
    Sales order:
        public Boolean SalesOrderInternalSave(string orderId, string buisnesspartnerCardCode, DateTime dueDate, IList<InternalItem> items)
          SAPbobsCOM.Documents order_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
          order_entry.CardCode = buisnesspartnerCardCode;
          order_entry.DocDueDate = dueDate;
          foreach (InternalItem item in items)
            order_entry.Lines.WarehouseCode = item.Shopid;
            order_entry.Lines.ItemCode = item.Code;
            order_entry.Lines.ItemDescription = item.Name;
            order_entry.Lines.Quantity = item.Quantity;
            order_entry.Lines.UnitPrice = item.Price;
            order_entry.Lines.Add();      
          int res = order_entry.Add();
          return res == 0;
    What do i need to change to get the connection between the two of them?
    And how do you insert a amount (not percent) discount into an invoice?
    Regards,
    Torben

    Hi,
    Add the sale order, then add the invoice. and while adding the invoice please add the following details to the invoce documen
    invoice_entry.Lines.BaseEntry = 'Doc entry of the newly created SO
    invoice_entry.Lines.BaseLine = 'Line No of the SO
    invoice_entry.Lines.BaseType = 17 'For sales order document type.
    Hope it helps,
    Vasu Natari.

  • Question about the rescheduling of a Sales Order and its Production Order

    Hello Everybody,
    I experience something strange with the rescheduling of a Sales Order and its corresponding Production Order.
    It will be easier to explain with an example...
    For a material, I have created a Sales Order.
    And from this Sales Order, I have now a Production Order converted from a Planned Order generated by the MRP Run.
    This is what I have in transaction MD04:
    SALES ORDER
    AV DATE: 20/02/2008
    GR DATE: 20/02/2008
    PRODUCTION ORDER
    AV DATE: 20/02/2008
    GR DATE: 18/02/2008    (GR process time is 2 days).
    ==> OK !
    Now, I have to reschedule the Sales Order one week sooner.
    SALES ORDER
    AV DATE: 13/02/2008
    GR DATE: 13/02/2008
    After transaction COHV to reschedule the Production Order, I have:
    PRODUCTION ORDER
    AV DATE: 15/02/2008
    GR DATE: 13/02/2008
    But I expected to have:
    PRODUCTION ORDER
    AV DATE: 13/02/2008
    GR DATE: 11/02/2008
    Do you have an idea about what is wrong?
    Thanks in advance for your help on this subject.
    Regards,
    Rudy

    Hello.
    Thank you for your reply.
    But in fact, I am doing some tests on a test platform, which is using an "old" copy of production database.
    So, there can't be data already scheduled for the dates I am using.
    Moreover, I just tried now to do the same with dates in November 2008, exactly with the same results.
    In production platform, they experience this problem too.
    Summary of my new test:
    Before rescheduling:
    SALES ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 20/11/2008
    PROD. ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 18/11/2008
    After rescheduling of one week sooner:
    SALES ORDER:
    AV. DATE = 13/11/2008
    GR. DATE = 13/11/2008
    PROD. ORDER:
    AV. DATE = 15/11/2008  (ipo  13/11/2008)
    GR. DATE = 13/11/2008  (ipo  11/11/2008)
    I really don't understand why I don't have the same kind of dates as the ones I get before the rescheduling...
    In my mind, I expect to have all these dates set back of one week...
    Regards
    Rudy
    Rudy

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • Production order and its Purchase order after MRP

    Dear Expert,
    I am wondering does SAP B1 2007 provides functionality about a production order and its purchase orders generated after a MRP will be marked so that I can check the corresponding purchase orders of a production order ?
    Thanks,
    Deckard

    Hi Suraj V ,
    Thanks for the reply, I have more questions about,
    (1) is it possible to trace those purchase orders from the production order?
    (2) is it possible to reserve those purchase orders of a production order because I found that the system allow another production orders to take the inventory by the receipt of the purchase orders marked by the other production orders?
    Thanks a lot
    Deckard

Maybe you are looking for

  • I cannot delete a file from desktop

    I cannot delete a file on my desktop that I downloaded from the internet.  The error message is 'cannot be moved to trash because it cannot be deleted.' I cannot 'get info' either. 

  • What do I have to do, to get anyone at all in 'Customer Care' to answer a phone or be on Chat?

    I have wasted days trying to contact Adobe and have got noweher at all. I have a Creative Cloud account and keep getting asked for a serial number. It turns out that I have been signed up for Photoshop when it should have been Indesign. I want to can

  • DTW Purchase Invoice error

    I am trying to import purchasing invoices using DTW, but keep getting the error "Invalid Total [OPCH.DocTotal]".  I have looked at the DTW oPurchaseInvoice templates, but they are for item invoices and I am trying to import service invoices.  Can som

  • Unable to customize my portal masthead

    Hi, I am unable to customize my portal masthead. I can't download the par file like "System Administration -> Support -> Portal Runtime -> Browse Deployment -> WEB-INF -> deployment -> temp (or) pcd -> com.sap.portal.navigation.masthead.par.bak ". I'

  • Family share approval keeps requesting icloud password

    I have Family Sharing set to require my approval when my daughter buys something from the store. Today when I try to approve items it keeps asking me to input my icloud password.  Sign In To Approve Enter the iCloud Apple ID password for [icloud emai