Purchase Order and Invoice creation

Hi All,
I am having some fields related to Purchase order and Invoice creation, i have to find out the tables to which tables these fields belongs to.
Below are the Header fields:
Wrbtr  Tcode - MIRO,
Lfsnr   Tcode - MIGO,
Evertn Tcode - Me32k,
Kbetr  Tcode - Me32k,
Kschl  Tcode - Mek1,
Selkz  Tcode - Mek1,
Werks Tcode - Mek1,
Evart   Tcode - Me31k,
Frgco  Tcode - Me35k,
Sddat  Tcode - Me35k,
Below are the Detail fields:
Kbetr   Tcode - Mek1,
Konwa Tcode - Mek1,
Lgobe  Tcode - Me21n,
Planloc Tcode - Me31k,
Datab   Tcode - Mek1,
Datbi    Tcode - Mek1,
Fromdate  Tcode - Me31k,
Todate      Tcode - Me31k,
i have to retrive all these fields from tables, so plz anybody give me exact tables to use in the select quries to retrive these fields.
Thanks in advance,
Balu.

Hi,
U can get the req fields as follows:
Below are the Header fields:
1)Wrbtr Tcode - MIRO- table rseg ,field-wrbtr
give belnr (invoice no ) & BUZEI(item)  if known, else, give ebeln,ebelp.
2)Lfsnr Tcode - MIGO,-table mkpf,give mblnr (mat doc no ) & ZEILE(item) field-xblnr  or give ebeln,ebelp
3)Kbetr Tcode - Me32k,
table:konp or konv.
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in 1 of the tables- konp or konv,wil get kbetr.
4)Kschl Tcode - Mek1,
Pass ebeln,ebelp to table ekpo, get mwskx(taxcode), u will get condition type kschl from FM -FI_TAX_GET_CONDITION_TYPES.
or
table:konh or konp or konv.
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV   as KNUMH in 1 of the tables-konh or konp or konv, wil get kschl.
5)Werks Tcode - Mek1,-table-ekpo, field-werks(give ebeln,ebelp)
Below are the Detail fields:
1)Kbetr Tcode - Mek1,
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get kbetr.
2)Konwa Tcode - Mek1,
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get konwa.
3)Lgobe Tcode - Me21n,give ebeln.ebelp in table ekpo, get lgort.pass lgort to table t001l, u wil get lgobe.
4)Datab Tcode - Mek1,table-konh,field datab
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in - konh ,wil get datab.
5)Datbi Tcode - Mek1,table-konh,field databi
Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in  table- konh,wil get databi.
Hope its useful to u.

Similar Messages

  • Purchase Orders and Invoices

    Hi all
    Is there a report I can run that will show me all Purchase Orders and the Invoices posted against these P.O.'s. If there isnt can I create areport via SQVI and wjat tables must I join together.
    Thanks
    Vishnu

    Hi Vishnu,
    The simplest SQVI you can define for showing purchase orders and their invoices is with tables <b>VBRP</b> and <b>VBFA</b>. VBRP shows the basic information about the invoice items, and VBFA (document flow) shows basic info about the documents in the chain up to the invoice (for instance PO's.) You can later expand your report with EKKO and other tables.
    I hope this tip was useful to you.
    Best regards //Georg

  • Different Currency in Purchase order and Invoice

    Hi MM Gurus,
    Kindly suggest me as to how to map the following scenario is SAP.
                 Purchase order is placed on the Vendor in currency USD. Vendor is from India.Excise details are not captured in Purchase order. Vendor invoice is in currency INR and all the applicable duties will be mentioned and this has to be
    captured in Invoice entry.
    Regards
    Yoga

    Hi Yoga,
    You can use Parner Schema in your Vendor Master for this issue.
    If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION - >PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION  PARTNER SCHEMAS
    And then
    ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
    Bye,
    Muralidhara

  • Purchase Order and Invoice in Different Currency

    Hi All
    Is it possible to capture an Invoice with foreign currency agianst an order created in local currency using T.Code MIRO
    Vishnu

    Hi Vishnu ,
    The Currency is defaulted from PO in MIRO and in PO it is defaulted from vendor master. So there is no option to change the currency in the MIRO. if you have to change it you have to change the PO and also set the conversion factor and also maintain the values in t-code OB08 for the same .
    I am sorry but i dont think that there is any possibility at MIRO level for changing the currency.
    Lekhram

  • Purchase Order and Invoice

    Hi,
    Is there a way to link a PO with its invoice details?
    Thanks

    Hi,
      You can get the Invoice number for a PO from the GLPCA table in R/3.
    The datasource for installing in BW is 0EC_PCA_3.
    Install this and you will have the PO and the Invoice number in that DS.
    Regards,
    Balaji V

  • Service purchase orders and invoice

    Hi Team
    Our payables team wants to enter invoice as and when they receive on Service POs.
    We have seen SAP is not blocking MIRO before service entry sheet (MIGO) which SAP does in case of goods POs.
    Do we have to maintain some config on FI side or MM side to make this happen?
    Regards,
    Amit

    Service based IV will not allow user to create MIRO without service entry sheet.
    My requirement is I want to enter MIRO before service entry sheet and it should get blocked.
    Regards,
    Amit

  • Table for open Purchase order and pending invoices for vendors

    Hi,
    Are there any table to know open Purchase orders and pending invoices for vendors.
    Quick response will be appreciated.
    Thanks & Regards

    hi,
    Purchase Order:
    S011:(PURCH: Purch. Group Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Vendor No (LIFNR)
    S012: (PURCHIS: Purchasing Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Material No (MATNR)
    Plant (WERKS)
    Info Record Category (ESOKZ)
    Material Group (MATKL)
    Info Record (INFNR)
    Country (LAND1)
    EINE: (Purchasing Info Record: Purchasing
    Organization Data)
    Info Record (INFNR)
    Purchasing Org (EKORG)
    Info Record Type (ESOKZ)
    Plant (WEKS)
    EKET: (Delivery Schedules)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Delivery Schedule (ETENR)
    EKPO: (Purchasing Document Item)
    Purchasing Doc (EBELN)
    Item (EBELP)
    EKKN: (Account Assignment in Purchasing
    Document)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Account Assignment (ZEKKN)
    EKKO: (Purchasing Document Header)
    Purchasing Doc (EBELN)
    EORD: (Purchasing Source List)
    Material No (MATNR)
    Plant (WERKS)
    Source List No (ZEORD)
    thx,
    Ganpat

  • Creation of u201CHeader Textu201D in sales Order and Invoice

    Dear friends,
            Can any one guide me the complete configuration settings that are required for creation of u201CHeader Textu201D in sales Order and Invoice. Please help me to overcome this issue.
    Regards,
    Bhanu.

    Hello Bhanu...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types:Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. Click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    For this you have to maintain the customer text.Do the following steps.
    1. Go to Customer master, Choose from the Menu Extras --> Text and mention the text
    2. Then in a sales order automatically wehn you are entering that sold to party..the header message will be appearing..
    In a nutshell i would request you to check weather you have maintained the Sales-Customer text KNVV and also that you have maintained all the required customizing settings for the text procedure, access sequence etc were completed....?
    Also make sure that the text type is also inclueded in the text determination procedure of the sales document header...
    Note: If all the settings of text determination exists and still if the text is not appearing then In sales document Header Text procedure, select sales header procedure, then select Texts in procedure. Check for the Header note, No. box is checked. This check mark ensures text is to be displayed when it is copied..
    Its should be working if all the requried setting are made....
    Reward if this helps..
    Thanks,
    Safeer Rahman

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • Purchase Order with Invoice Plan

    Hi,
    I need to understand working with Invoicing plans for a Purchase Order. Especially the service PO for the rents and other related services.
    How the PO is linked to the Invoice Plan and how the process happens in SAP?
    Thanks in advance!

    Creating an Invoicing Plan  
    The following procedure describes how to create an invoicing plan with the pre-Enjoy ordering transactions (ME21, ME22, ME23).
    The procedure described is also applicable u2013 with certain restrictions u2013 to the Enjoy purchase order (ME21N, ME22N, ME23N).
    If you are using the Enjoy purchase order, you will find:
    ·         The Invoicing Plan button and the indicators for GR-based invoice verification (GR-Based IV), service-based invoice verification (Srv.-Based IV), evaluated receipt settlement (ERS), and invoice receipt (Inv. Receipt) among the item details on the Invoice tab page.
    ·         The account assignment among the item details on the Account Assignment tab page
    ·         The Goods Receipt and GR Non-Valuatedindicators among the item details on the Delivery tab page
    Prerequisites
    Vendor Master Record
    Before you can use the invoicing plan with automatic settlement, the Evaluated Receipt Settlement Delivery indicator must be set on the Purchasing Data screen in the vendor master record.
    (If you wish to enter invoicing dates manually, this is not necessary.)
    Purchase Order
    ●     We recommend using a framework order (that is a purchase order with a validity period and a reason for rejection). The invoicing plan can adopt the validity period specified in the PO header.
    ●     PO items for which you wish to use an invoicing plan must have account assignment irrespective of whether a material with a master record, a material described by a short text, or an external service is involved.
    ●     The GR/IR control facility must be set up in such a way that no goods receipt (or, in the case of services, no service entry) is expected - only an incoming invoice. If you wish to have automatic settlement, you must also set the Evaluated Receipt Settlement indicator.
    If you nevertheless wish to allow service entry sheets for the item (e.g. for information purposes only), you must set the GR Non-Val. indicator.
    Customizing
    Under Purchase Order à Invoicing Plan in Customizing for Purchasing, you can maintain data such as the desired invoicing plan types, date categories, and date descriptions.
    Procedure
           1.      Create a purchase order with account assignment (framework order).
    Click  to access the item overview (or the overview of service lines if you chose item category D for services).
           2.      Enter the desired material or service, the quantity, and the price.
           3.      Select the desired item and click  Account Assignments to access the account assignment screen. Enter the account assignment for this item.
           4.      Click  to access the item detail screen. Check that the GR/IR control indicators are set correctly on the item detail screen.
    ○     The GR and GR-Based Invoice Verification or Service-Based Invoice Verification indicators must not be set.
    ○     IR must be set.
    ○     You must set ERS if you wish to have Evaluated Receipt Settlement.
    ○     If you wish to have service entry sheets purely for information, for example, allow non-valuated goods receipt (i.e. select the GR Non-Val and GR indicators).
           5.      Choose Item ® Invoicing Plan. A window appears, in which the invoicing plan types predefined in Customizing are suggested. Choose the desired invoicing plan type and click  Continue.
    You can use the following invoicing plan types:
    ○     Periodic Invoicing Plan
    ■      You use the periodic invoicing plan if the total value of the PO item is to be invoiced in each period.
    ■      The system creates the invoicing dates automatically on the basis of the settings in Customizing.
    ■      The invoicing date and the amount to be invoiced are shown for each settlement period (e.g. month). In the case of the periodic invoicing plan, the amount represents the total value of the PO item.
    ■      You can change the suggested dates and block individual dates for automatic invoicing if necessary.
    ■      You can enter the start and end dates for the invoicing plan.
    ■      With the Dates from and Dates to fields, you can determine that an invoicing plan does not contain invoicing dates extending over the entire validity period of the purchase order but only for a certain period within that validity period. (E.g. within a validity period from 1.1. to 12.31, only dates within the period 1.1. to 06.30.)
    ■      With the Horizon field, you control how far into the future dates can be created. If you enter a date rule that adds six months to the current date here, invoicing dates will be created for just half a year in advance in each case.
    The system automatically creates new dates if you change the invoicing plan or when you invoke the transaction for Updating Periodic Invoicing Plans. See Generating Further Invoicing Plan Dates
    ■      The In Advance indicator allows you to specify whether the invoice is to be created with regard to a prior or subsequent period. (E.g. at the beginning of February, either in advance for the month of February or in arrears for the month of January).
    ■      In addition, fields with information on the existing invoicing plan are displayed (e.g. the calendar upon which the date determination process is based).
    ○     Partial Invoicing Plan
    ■      You use the partial invoicing plan if the total value of the PO item is to be invoiced in several partial amounts.
    ■      You get an empty date overview in which you can manually enter the desired dates.
    ■      If you work with a reference invoicing plan, the system automatically generates dates in accordance with the reference plan.
    You have the following options:
    ●      You create a reference invoicing plan in Customizing for the invoicing plan type.
    ●      You enter an existing invoicing plan as reference plan directly in the invoicing plan for the PO item.
    ■      You can flag a date in field B (Billing/Invoicing Rule) as follows:
    ●      As a down payment (percentage or value)
    ●      As an invoicing date (percentage or value)
    ●      As a final invoice
           6.      Click  to return to the item overview.
           7.      Click  to save the purchase order item with the invoicing plan.
    You can then start the automatic invoice creation process during invoice verification.
    For more information, refer to the section Settlement of Amounts Due Under Invoicing Plans.
    Once assigned to an item, the invoicing plan type (e.g. partial invoicing plan) cannot be changed. If you wish to assign a different invoicing plan type, you must delete the item and create a new one.
    Generating Further Invoicing Plan Dates  
    If you have assigned a periodic invoicing plan to a PO item but have not initially defined invoicing dates covering the entire validity period of the purchase order, you can generate further dates in due course.
    You have created a PO item with a periodic invoicing plan for a certain planned procurement. The purchase order is valid from 1.1. to 12.31. When creating the invoicing plan, you specified one invoicing date per month for the first half of the year. You have not yet planned any dates for the second half of the year because you do not wish information from the invoicing plan to be passed on to purchase order commitments at this stage, for example.
    By mid-June, it is clear that the PO is to proceed as envisaged, and you therefore wish to schedule invoicing dates for the remainder of its validity period.
    Procedure
    To schedule further invoicing dates, proceed as follows:
    Choose Purchase order ® Follow-on functions ® Period. invoicing plan
    Specify the purchase orders for which invoicing dates are to be generated in the invoicing plan and perform the function.
    A log can be created if desired.
    Result
    The system adds further dates on the basis of information such as the validity period or horizon from Customizing, the purchase order, and the invoicing plan.
    regards,
    indranil

  • Purchase Order Status: Invoiced Quantity diregrading the oldewst invoice

    Hi Guys!
    We have upgraded from $4.6C to ECC6.0 and the following has been noticed by our users: when they first display an existing PO the invoiced amount in Status tab diregards the oldest invoice. When they refresh teh screen, by clicking Other Purchase Order and leaving the number of the PO unmodified, the invoiced amount in status is correct. Does anybody know what can be done?
    Best regards,
    Ileana

    Hi,
    please review the following information in SAP Note No. 456691 as
    copied below:
    18. Question:
    When are the header conditions updated if a purchase order item is
    deleted?
    Answer:
    If a purchase order item is deleted, the item is marked as 'statistical'
    (field EKPO-STAPO = X) and the change is reflected in the header
    conditions.
    However, if for the item the final invoice indicator(EKPO-EREKZ) or the
    inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not
    marked as 'statistical' (EKPO-STAPO is not set) and thus the header
    conditions are not updated.
    I hope this helps you
    BR
    Nadia Orlandi

  • Want to see combination of Purchase Order and A/P report at material level

    Hello,
    Anyone familiar with an InfoProvider that will show a combination of Purchase Order and A/P data combined?
    I'm specifically looking for a source that includes the PO information at the <b>Vendor / Material</b> level with order value and quantity at the time the PO was created AND accounts payable data at the <b>Vendor / Materia</b>l level with the invoiced amount and quantity (which may vary for the PO amounts).<b></b>
    Thank you,
    Jim

    Hi
    Have you seen all of the follwoing datasources......
    http://help.sap.com/saphelp_nw04/helpdata/en/df/fbb0d62f3a794d98d23609d17e1610/frameset.htm
    Hope this helps
    Regards
    N Ganesh

  • Purchase order and Account assignement category- Change

    hi.,
    We are trying to receive the Purchase order of High value components into INVENTORY.
    However, most of these Purchase Orders were created with account assignments.
    Because of that, if we receives these PO’s, they will be consumed against the object identified in the account assignment.
    Additionally, some of these have been invoiced already and would need to be backed out from the finance side.
    Question: How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Invenotory.
    Also, what are the other options ( FI will not open Previous period) so that the PO's which have been invoiced  can be reversed against that AC assignment.
    Thanks All

    hi Rajesh.,
    As mentioned earlier, these  Purchase orders are STO's which have been already created and we are waiting to do the GR for the same. Items in the STO PO are of  High value which we need to bring into  INVENTORY.
    But, because these STO PO's were created with account assignments, if we do GR now, they will be consumed against the object identified in the account assignment.
    Some of these STO PO's have been invoiced already and  FI has indicated that they could cancel the invoices for those STO PO's in previous posting period.
    Question again : How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Inventory and not to a cost Center (202)
    Step (1) Can we cancel the Invoiced items> reverse the GR for invoiced Items>reverse STO for PO ?
    Step (2) Can we reverse the STO for PO for which GR has not been done? then
    Step (3) Change the PO through ME22N, remove the Account assignment category?
    Or how do we correct this situation for
          (1) PO's already invoiced.
          (2) PO for which GR has not been made. How can we receive them into Stock and not Cost center.
    Anticipating a reply
    Thanks
    Sri

  • Purchase order and service entry sheet

    Hi
    Is there a way to prohibit modifications on the position of services purchase order when the service entry sheet and the invoice were already entered for that position?
    Thanks in advance for your help
    Tomas

    hi, thanks for your help, but the problem that i have is when the service entry sheet and the invoice are allready entered, the user change the value of the position and the service tab, so the user can enter services for more amounts. So its produce difference on the purchase order history between the values of LERF (WE) and the value of the purchase position. For example
    Service Purchase order for 100 dollars.
    Tab service: 2 units for 50 dollars
    The user enter one service entry sheet for 50 and the invoice for 50 (lerf and WE= 50)
    Then the user change the position of the purchase order and increase the value to 100 and modifies the service tab to 1 services for 100.
    Then he enter one service for 100 and the corresponding invoice..........so the result is the following:
    Service purchase position: 100
    LERF-WE: 150
    so the purchase order history is inconsistence.
    For that reason i whant to know is there is a wat to prohibit modifications on the position of purchase order
    Thanks in advnace for your help
    Enzo

  • Purchase order excise invoice details

    hi experts,
    i am creating a simple report for purchase order excise invoice details.
    here are the tables what i am using for the report
    j_1iexchdr
    ekpo
    ekbe
    is tables are correct....
    can any one suggest weather it is better to use for all entries in or innerjoin ......
    was there is any standard report for po excise invoice datails.....
    any one was working on this report please give me the details about the key relations about the report.
    Thanks in advance.
    Regards,
    karunakar
    Edited by: bkarunakar on Jun 30, 2011 9:11 AM
    Moderator message: please search for available information/documentation, e.g. Please Read before Posting in the Performance and Tuning Forum.
    Edited by: Thomas Zloch on Jun 30, 2011 10:22 AM

    Hi Yoga,
    You can use Parner Schema in your Vendor Master for this issue.
    If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION - >PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION  PARTNER SCHEMAS
    And then
    ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
    Bye,
    Muralidhara

Maybe you are looking for

  • How to allow users to run infopackage without giving access to Workbench

    Hi, I have certain infopackages which I want to give access to users to run. It mainly relates to loading of flat files which they want to be able to execute when they want and also loading the P&L  data from R/3. I am on 3.5..I don't want the users

  • SQL*Loader does not recognise the \ in directory

    Hi there, We have version OWB 9.2.0.2.8 and I am trying to run SQL*Loader. I have tried to use an external table and also got "cannot find file" which I suspect could be the same problem. I then tried to load the data with SQL*Loader and saw that the

  • Trouble calling .sql script

    I have looked on the forum for about a half an hour and can't find the exact answer I'm searching for, so here goes. I'm trying to update about a 100 records or so through use of an .sql script. I put the following in my sql script file UPDATE TABLE1

  • Multiple account assignement for PO

    Hi! i've this problem about purchase data: to extract these data i'm using 2lis_02_itm and 2lis_02_Scl DS. but i need in the same query the account assignement for PO (these data are in EKKN table). in a first time i've enhanced the DS, but with Mult

  • How do I resolve Error (-54) on my pc

    Every time I try to backup or sync my phone, it cancels the sync and says it cannot complete due to Error -54.... I have an HP, how do I fix this?