Service number from purchase order number ?

Hi People,
can anyone tel me how to take service / activitry  number from the corresponding purchase order
number.... ( table flow in detail ) where these service number are stored with respect to PO ?
thanks,
Siva

Hi
Take the value of the field PACKNO from EKPO table and pass it on to the same field PACKNO in ESLL. Here you can pick up all the details:
For Example:
select packno from ekpo into it_packno where ebeln = "purchase order number.
select * from esll where packno = it_packno-packno.
If you want sub package number, it is in the field SUB_PACKNO(activity number) in ESLL table.
Vishwa.

Similar Messages

  • Populate G/L account into service entry from Purchase order

    Hi Guys,
    I created a service PO, where the G/L account was populated based on the material group i changed the G/L account to a new one  and saved the PO.
    Now i am trying to create a unplanned service based on the PO using ML81N. When i provide the short text quantity, Uom and gross price and click account assingment button the G/L account is deafulted from the material group assignment . It does not populate changed  G\L account from the PO line item.
    Is there any configuartion or enhancement that we can apply to get this done.
    Thanks,
    Amit

    Hi,
       In SproMMPurchasingMaterial masterentry aid for item w/o material master...maintain the valuation class for the Material group.
    In OBYC maintaing the G/L account for this Valuation class in GBB--VBR.
    Enter this materila group in the service order.System will automatically determine the G/L.
    Even if you enter acct assignment U...while posting the service entrt sheet this GL will be fetched.
    Rajesh

  • CRM- Find Service contract from Internal Order Number

    Hi Friends,
    I would like to know how to get service contract from internal oredr number.
    From service contract we can find internal order number by using CRM_ORDER_READ function module- table et_document_flow, but my requirement is how to find service contract from Internal order number.Any function module or BAPI available for this requierement ?
    Regards
    Vinayak Sapkal

    Hi,
      when the costs are transferred from CRM to R3, they are posted to an internal order. When a service order or incident is transferred to R3, we have to create an internal order for it, regardless of whether or not a contract has been assigned.
    This is all linked to the logic used in CO to find the appropriate internal order. It works as follows:
    The internal order is stored in the table IAOM_ASSIGNMENTS. This is accessed by a guid (the account assignment guid).
    To get this guid, there is a second table IAOM_EXT_OBJ_INF. This table links the GUIDs coming from CRM, dependent on the CO Customizing for CRM (Mass Controlling, Header level, item level controlling etc.)
    This is how we manage to link a service order to the internal order of a contract in the first place.
    When we call CO, CO first looks for an assignment for the object guid passed. If a service order has been linked to a contract, nothing will be found for the object guid. CO will then check for assignments to the reference guid and find the contract entry.
    If no contract has been assigned, CO will create an internal order based on the service order guid.
    From a CRM point of view, costs are assigned directly to an item, and so it makes no sense to have a reference guid for the costs or the possibility to change the guid via BADI.
    regards
    Waman

  • Is there is a way to have a link from purchase order to cost center report.

    Is there is a way to have a link from purchase order to cost center report.
    I am meaning kind of:
    Standard way to customized this link?
    or
    User exit to have this link in place
    or
    Any other solution
    Thanks

    For me it does not make any sense from going from PO to cost center report.
    However, if you want to see the purchase order cost incurred with a cost center, execute KSB1 report. Within the layout, bring "Purchasing Document" field, where you can see the purchase order number in cost center line item report.

  • Table links from Purchase order to condition types

    Hi,
    I am looking for the tables to go from purchase order, and to read the conditions associated with the PO.
    I have EKKO, and EKPO, but I cannot find the table where the condition information is stored. I have KONV and KONP, but they seem to be the tables where the condition type info is stored, not the link table where the purchase order specific information is stored.
    Can somebody please point in the right direction?
    Regards
    Piet
    Edited by: Piet Strydom on May 12, 2009 12:52 PM

    Hi,
    The PO and the Condition Record Number Link happens in the Table EKKI.
    from this table get the condition Record number line item wise and execute in KONV.
    Hope so it helps
    Regards
    Anjanna
    you can check the below thread posted by self for further ing
    Re: PO item Condition Record number and delivery address of PO - Need a table n
    Edited by: Shiva Rajanala on May 12, 2009 1:42 PM

  • Service entry sheet:No provision for service entry for purchase order

    Hi.I create a Purchase order with one item.The Item category was D(Service).Also lines of Service number was input in the Service tab of the item detail.After save the Purchase order,I goto t-code ML81N to Maintain the Service entry sheet.When I input the Purchase order number and item number and press enter,the SAP raise an error message box with following text:
    No provision for service entry for purchase order 4500000149 00010
    Message no. SE198
    Diagnosis
    The "GR =NO" (no goods receipts) indicator has been set in the PO item. It is thus not possible to enter services against this purchase order.
    I don't know why and how to resolve this problem.So I need the experts to give me some advice.Thank you so much.
    Regards
    Yoda

    pls check in ur PO at item details in delivery tab whether goods receipt checkbox is unticked.if yes then tick it and then process.
    regards,
    indranil

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Creating asset from purchase orders

    Dear Gurus.
    Please let me know how to create asset from purchase orders.
    Thanks
    Rgds,
    Saurabh

    hi,
    First, determine the information that is necessary for creating the purchase order:
    Check in the Purchasing component whether a purchase requisition exists for the asset (Logistics - Materials management - Purchasing).
    Determine the vendor from whom you are ordering the asset. If needed, enter the purchasing data for the vendor.
    Determine the asset number of the asset that is being ordered. If necessary, create a new asset.
    Create the purchase order. If there is a purchase requisition, use it as a reference (in Purchasing: Purchase order - Create).
    In the initial screen, when you specify the account assignment type A (for asset), this determines
    The account assignment to an asset
    How the goods receipt or the invoice receipt is to be handled (are asset values to be posted at the time of the goods receipt or at the time of the invoice receipt).
    Once you have entered the general purchasing data in the first screen (order date, material group, etc.), a dialog box appears. Enter the asset to which account assignment is to be made in this dialog box.
    If the asset master record for your purchase has not yet been created, you can create it directly from within the purchase order transaction.
    Display the order item and its current delivery status (in Purchasing: Purchase order - List display - By account assignment).
    Later, post the goods receipt or the invoice receipt. (The Customizing definition of the account assignment type determines when the asset values are posted - either at goods receipt or at invoice receipt.) See the corresponding documentation for the Materials Management (MM) component.
    regards,
    Siddharth.

  • A report to view the cash flow coming from Purchase Orders.

    Hi All,
    Could anyone suggest me a report to view the financial obligations which comes from Purchase Orders?
    Thanks
    Gandalf

    Hi,
    You will have to activate basic cash management (part of FSCM) and use TCode FF7B (liquidity forecast). What the report would do is, based on the delivery date of the purchase order and the payment terms of the vendor (plus some grace days for clearing the payment as per configuration) determine the date of expected payments and project the cash (and bank) balance by days/week or months.
    Alternatively you can write your own ABAP code which will do the same thing.
    a. Take a list of all open POs and determine the delivery date (EKKO and EKPO)
    b. Add the payment terms as per purchase order to the delivery date
    c. Compute the cost of the purchase order item
    d. Display the report which projects expected payments by date
    Rgds
    Shivram.

  • A report to view the cash flow from Purchase Orders.

    Hi All,
    Could anyone suggest me a report to view the cash flow (financial obligations) which comes from Purchase Orders?
    Thanks
    Gandalf

    Hi,
    You will have to activate basic cash management (part of FSCM) and use TCode FF7B (liquidity forecast). What the report would do is, based on the delivery date of the purchase order and the payment terms of the vendor (plus some grace days for clearing the payment as per configuration) determine the date of expected payments and project the cash (and bank) balance by days/week or months.
    Alternatively you can write your own ABAP code which will do the same thing.
    a. Take a list of all open POs and determine the delivery date (EKKO and EKPO)
    b. Add the payment terms as per purchase order to the delivery date
    c. Compute the cost of the purchase order item
    d. Display the report which projects expected payments by date
    Rgds
    Shivram.

  • Error while creating work order from purchase order

    Dear All,
    We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
    Error - "No master data assigned to partners-locations-product combination."
    Done all the setting mentioned in the below thread but the error still persist.
    Error in Generating Work order from Purchase Order
    Any suggestions on which master data we need to check?
    Thanks,
    mahesh.

    Hi Mahesh
    In the below transaction
    /SCA/MFGCFG - Work Order Configuration
    Can you maintain Master data Assigment properly
    Valid From
    Valid To
    Active---Checked
    Can you please list what you maintained
    Regards
    Vinod

  • No update of sales order from purchase order

    Hi,
    When I am trying to change the delivery date of a purchase order line item, I get the error
    "No update of sales order xxxxx from purchase order (error V1 348)" How can I resolve this?
    Sincerely,
    Ketan

    Hi,
    Check whether this PO is created w.r.t. PR and PR is created automatically during Sales order creation.
    If it is so then need no to change the delivery date in PO, it will always get updated as per the Schedule Line date of sales order.
    You can go for GR w.r.t. PO directly.

  • Goods receipt with Zero Quantity from Purchase Order

    Dear Expert,
    Is this a policy or something in SAP system?
    Why I can MIGO with Zero Qty from Purchase order that still open quantity?
    Best regards,
    Dedy

    Dear all,
    Thanks a lot for all replies.
    Dear Thiru,
    First thing, all system message i have set error, M7 061 Document does not contain any items
    M7 264 Qty and / or "delivery completed" ind. or final issue ind. are missing.
    Scenario :
    PO not yet tick delivery completed (open quantity), when we doing MIGO w/ zero qty and set delivery completed indicator to --> 2 Set, a document GR is posted w/ zero quantity.
    Also when PO already tick delivery completed, but when MIGO and set delivery completed indicator to --> 3 Do not set, a document GR is posted w/ zero quantity.
    Is this a way that SAP provide to tick delivery completed after PO final release w/ status not changeable so we do not need to cancel release or something like a bug/backdoor?
    Best regards,
    Dedy

  • "All items from purchase order cannot be invoiced"

    Hello,<br />
    <br />
    I'm on a SRM 7.0 SP 5 system (ext-classic scenario). Here i try to create an invoice with reference to a Purchase Order, but none of my Purchase Orders can be used for reference. I get the following warning message 'All items from purchase order cannot be invoiced'.<br />
    <br />
    - Created via POWL (create with reference -&gt; invoice/credit memo) i always get the warning message 'All items from purchase order cannot be invoiced'. And no items are converted / can be used for invoicing. Additionally when i use the search option 'find purchase order' within the create invoice transaction i can not find any purchase order to use, it shows 'There is no search result' while there are plenty purchase orders marked with 'invoice expected'.<br />
    <br />
    I am able to create invoices without reference.<br />
    <br />
    I tried vendors set up only for 'invoice expected' and 'GR', 'invoice expected' / 'GR' / 'GR-based-IV' and 'invoice expected' only none of them works, indicators set on vendor master are correctly used on the created purchase order. Outputting PO doesn't make any difference neither.<br />
    <p />
    I have not set up the following (do i need to?):<br />
    - Deactivated the 'CRME' transaction type, no Credit Memo transaction type has been configured/is active.<br />
    - I have not defined the 'INV' transaction type as a follow-on document for my ECPO transaction type within the define transaction type transaction.<br />
    - Tollerances<br />
    <br />
    <b>edit</b> -&gt; i've already searched thorougly for SAP notes but no note seems to cover this particular problem.<br />
    <br />
    Help is very much appreciated

    Solved! Added SYS attribute for back-end system in organisational scheme.

  • Down payment Request  from purchase order (me21n)

    We need Down payment Request automatically created as per payment terms from purchase order screen.(ME21N)

    no answer

  • Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note)

    Hi Experts
    I was looking for Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note),
    Please share.
    Regards
    Sandeep

    Hi Ritesh
    Thanks for your reply,
    I checked  both of these transaction  we need to select 3 option Characetrstics frm configuration(prio) and classification. I will check that, I had one more question
    In PO VC configuration is called for class type-300  and  in GRN VC configuration  is called for class type -023. How it will fetch the variant class configuration to Batch class configuration?
    Once we had faced some issues the copy from PO to GRN was happening for some batches & some batches it was not happening.
    yes we have activated Mill Functions in our ERP box.
    Regards
    Sandeep

Maybe you are looking for

  • How to Move my mobile Applications Folder?

    I am running our of space on my C drive and at the moment all my media (music & movies) except for my applications are on my D drive. How do I move my default applications folder to my D Drive? iTunes 9 by the way. thanks in advance.

  • Create conditional button

    I have searched the forums and don't understand the explanations because I am a total Apex beginner!!!! So, sorry if this is a duplicate question..... I have a form and a report on the same page, but different regions. I deleted the CREATE button fro

  • Quality In Repetative MFG

    HI, I am working with RM Scenario, Client want to Operation level quality in RM ,  We have create MIC , Routing with inspection Plan , Material Master activate inspection type -13 , Create Production version inspection Lot , But I am not getting any

  • Access violation using snapshot for Firefox 1.0

    I'm trying to snapshot Firefox but I get an error: "Access violation at address 1000B64B. Read of address 00000000" I've snapshotted Firefox before (older versions) without any trouble but I've tried 1.0 on different machines and as different users w

  • ClamXav just detected a trojan on my mac!

    ClamXav just detected a trojan in my downloads folder, no idea what it is. File is called installplayer3913001.exe and it's been there since january. What should I do, apart from not double click on it? I don't know if I have ever opened this file or