Invoice based on purchase order no

Hi Experts,
how i can get invoice no based on purchase order no
thanks in advance
narendra

Hello Narendra
Call BAPI_PO_GETDETAIL1 with your purchase order number.
TABLES parameter POHISTORY returns you the purchase order history.
These records have a field HIST_TYPE ( PO history category ) with the following values (value table T163B):
1     AAf     Down Payment Req.
2     AAfV     DP Request Clearing
3     AnzV     Down Payt Clearing
A     Anz     Down payment
B     NAbr     Subseq. settlement
C     NeuR     Miscell. provision
D     Lerf     Service entry
E     WE     Goods receipt
F     BzWE     Delivery costs
G     BzRE     Delivery costs
I     BzKP     Del.costs acct.maint
J     RLfs     Return delivery
K     KtoP     Account maintenance
L     Lfs     Delivery note
M     BzRe     Del. costs log. inv.
N     NB-L     Subs. deb. log. IV
O     LB     Subcontracting
P     NB-B     Subs. deb. dl. costs
Q     RE-L     Invoice receipt                    " <<<
R     RE     Invoice receipt                    " <<<
S     Sped     Subs.deb.: forwarder
T     VRe     Parked invoice
U     WA     Goods issue
W     NeuB     Revaluation log. IV
X     NB     Subs.deb.: general
Z     Zahl     Payment
Presumably you are interested in categories 'Q' and 'R'.
Regards
  Uwe

Similar Messages

  • Down payment request based on purchase order

    Dear all,
    How to make down payment request(F-47) based on purchase order(not line item wise) ?,
    Currently in F-47 it is asking to enter amounts purchase
    order line item wise,because downpayment is made only for entire purchase order value not line item wise.
    How to solve this issue ?
    Jeyakanthan

    Hi,
    This is SAP standard functionality. you have to specify line item, though you specify line item system will check for whole PO. and while posting invoice you will get information of the down payment.
    Regards,
    Raj

  • Posting to different GR/IR account based on purchase order type

    We are implementing cross company stock transport orders that require an AP invoice to be posted against the goods receipt.  Our AP department does not want the GR/IR postings to go to the account used for traded AP.  I cannot determine a method using OBYC to specify a different account based on purchase order type.  Is there a way to do this?

    Hi Jud
    You should make these posting to a cost center then..The only way you can control account postings via PO type is having a account assignement category. You can make this as mandatory filed for this PO type..
    Please let me know if your requirement is different..
    CHeers
    R K Bolla

  • Difference between Goods receipt based IV / Purchase order based IV ?

    Hallow all !!!
    Can anybody please explain the difference between GR based invoice verification and Purchase Order based invoice verification in brief ?
    Thanks in advance !

    Hi,
    PO-based invoice verification  
    In PO-based invoice verification, items are settled with reference to the purchase order. Settlement can be carried out with respect to all items, irrespective of whether or not deliveries have yet been received.
    GR-based invoice verification
    In GR-based invoice verification you can effect settlement with regard to each GRs relating to a purchase order separately. In the PO history, each invoice item can be assigned to precisely one GRs.
    for more follow the links
    http://www.sap-hefte.de/download/dateien/1067/083_leseprobe.pdf
    http://www.finance.utoronto.ca/fast/qrg/purch/ir/pocreate.htm
    Regards,
    Biju K
    Edited by: Bijay Kumar Barik on Apr 16, 2008 8:41 AM
    Edited by: Bijay Kumar Barik on Apr 16, 2008 2:23 PM

  • Report for Vendor Invoices Parked against Purchase Order

    Dear Team,
    I want a report or table name where I can get the Parked Invoices against a Purchase order.My requirement is to know which are the invoices which are parked against a PO since ME2M shows Invoices posted, so bye anyway is it possible to get such report.
    Regards,

    Invioces Parked
    Transaction: MIR6 & MIR5
    In MIR6, Select Held/Parked and execute to get the results. 
    In MIR5, Select Parked and execute to get the results. 
    Table: RBKP
    FieldS:
      Status  - RBSTAT
      ( A - Parked
        C - Parked and Held )
      Inv Doc - BELNR
      Fis year- GJAHR
    Invoices Parked against a PO
    Table: EKBE
    Enter the below:
    EBELN  - PO Number                    (Enter the PO Number(s))
    VGABE - Trans./event type         (Enter P - Invoice Parking)
    BEWTP - PO History Category     (Enter T - VRe)  This is optional

  • Single invoice for Multiple Purchase Orders

    Hi,
    How to Park the single invoice for multiple purchase orders

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • Error when posting invoice for Asset purchase order

    Hi,
    we are getting the errore message account determination for asset posting with keys not defined in chart of accounts,when posting an invoice for asset purchase order.
    Can any one see why this error is coming and what will be the solution.
    Nagesh

    Hi Prabhakar,
    Here is the reply,
    we have 10 line items,in which 3 items are freight related and other 7 items are related to goods reciept.
    i am trying to enter invoice for 3 line items at a time with two relevant to goods reciept and other related to non goods receipt(freight related).
    accounting entries generated after the GR are as follows,
    asset under construction account,and GR/IR account.
    Let me know the details is sufficient or not.

  • Posting multiple invoices against single purchase order line item

    Hi,
    We receive invoices on completion of certain milestones and Goods receipt is done when the final lot of material is delivered.  For example the purchase order may be to deliver 1 quantity of Machine.  Material is supplied in bits like Gear Box, Engine and body.  Invoice is received when Gear Box, Engine is supplied. Final invoicing is received on completion of delivery (taking into account what has already been delivered)
    Goods Receipt in SAP needs to be posted only once when complete machinery is delivered (the tracking for different parts delivered is done outside SAP).  However, the multiple invoice needs to be posted in SAP referring to same PO item (Please note PO quantity for complete assembled material is only 1).
    This needs to be treated as material and not service in SAP.  Can you please suggest how to book multiple invoices for same purchase order line item?
    Thanks

    Hi Charan
    Thanks for your reply.  However, both the options are not feasible.  Invoices can be received in different periods, sometimes over different months or years, hence needs to be booked immediately.
    Also, i cannot create material master for each component as the quantity for the final material is only 1.
    Any other alternatives?
    regards
    Sameer

  • Message alert when Invoice date preceds Purchase order date

    Hi all,
    I want to define message alert, when Invoice date precedes Purchase order date. Is there any standard message type is there, If yes please let me know. Otherwise how can i define this, please.
    Thanks
    CS..

    Hi,
    You can take help of your abbaper and enter the validation in the user exit of MIRO thru which Invoices are booked.
    Hope this helps, if yes, please assign points.
    Regards,
    Harish

  • BI : Invoice number in Purchase Order

    Hi Experts,
    I am doing Standard extraction for having purchase order related data in BI. we are using the below data sources :
    2LIS_02_itm, 2lis_02_cgr,2lis_02_scn & 2lis_02_sgr. Our requirement is we want to have the invoice number(XBLNR,REBZG)  in the extraction but none of the standard PO related Datasource has these fields. Kindly advise how can we bring the invoice number for purchase order extraction.
    thanks & regards,
    M.S

    Hi,
    You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
    Thanks,
    RRR.
    Edited by: Rammi on Feb 18, 2010 10:11 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM

  • Table to show thw invoice for a purchase order

    In which table we can see the invoice for a purchase order?Or in which t code.

    Hi,
    Go to table EKBE in SE16/ SE16N and give the PO number and value "2 (Invoice receipt)" in the filed "Transaction/event type, purchase order history"
    Regards,
    SDNer

  • How to Park the single invoice for multiple purchase orders

    Hi,
    How to Park the single invoice for multiple purchase orders?

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • Message change for invoice amount against Purchase order

    Hi Experts ,
    In MIRO , While invoice posting against a purchase order , when enter is pressed after supplying posting date amount
    Purchase order no and line item no , a message appears : downpayments against vendor xxx exists giving total amount against the vendor indicated in purchase order .
    Can message be changed and amount against that particular purchase order only be displayed instead of against vendor , because same vendor can have multiple purchase order by using any enhancement .
    Thanks
    SA

    Hi SA ,
    i think u are getting this from from ur User Exits only , trace this message based on the message No.
    in standard MIRO u wont get this kind of messages.
    regards
    Prabhu

  • MIRO based on purchase order and delivery note

    Hi
    It seems I can do a supplier invoice based on PO or some POs.
    I can also do a supplier invoice based on delivery note or some delivery notes.
    But I can not do MIRO based on delivery note AND purchase order.
    Business scenario: I need this when I have supplier invoice with a lot of lines based on a lot of different PO and different PO lines. The delivery note consolidate together all this different lines. Together with these lines I want to add another item of non good receipt item, so there is no delivery note.
    I want to add this item with a reference to the PO line in addition to the lines that were created with a reference to a delivery note.
    Thanks
    Ofer

    Thanks,
    I want to use PO reference for specific PO and delivery note for other PO in the same invoice.
    The problem is I cant use delivery note for the other PO cause there is no MIGO there.
    Thanks
    Ofer

  • GR-Based IV Purchase order issue

    Hi all,
    When i am creating the purchase order in the item level.
    Invoice tab--> GR-Based IV check box has to be uncheck.
    How can i do this..  is there any settings ...
    The purchase order we are creating for one vendor. in vendor master in control already i had uncheck the GR-based Inv verification..
    Please Advice... its very urjent
    Thanks in advance
    Regards,
    LAkshma

    Hi,
    You have to modify the value in the user exit.
    Write this type of code inside the include ZXM06U43 . I have given you the sample code, make use of the bold part, you need to modify the POT table and modify the internal table for your logic.
    DATA v_cnt TYPE i.                                
    DATA char(50) VALUE '(SAPLMEPO)POT[]'.
    DATA: i_ind TYPE TABLE OF bekpo,
          wa_ind LIKE LINE OF i_ind.
    create/change purchase order
    IF sy-tcode EQ 'ME21' OR sy-tcode EQ 'ME22' OR
       sy-tcode EQ 'ME21N' OR sy-tcode EQ 'ME22N' OR
       sy-tcode EQ 'ME23' OR sy-tcode EQ 'ME23N'.    
        CLEAR wa_ind.
        FIELD-SYMBOLS <f1> TYPE ANY.
    Move memory of internal table POT to field symbol f1.
        ASSIGN (char) TO <f1>.
    Move content of f1 to internal table i_ind
        i_ind[] = <f1> .
        LOOP AT i_ind INTO wa_ind.
          IF wa_ind-pstyp = '9'.            " Service PO - item category
    IF PO Line item has History per Purchasing Document as 'D'
    Set indicators on, for the line item.
            CLEAR v_cnt.
            SELECT COUNT( * ) INTO v_cnt FROM ent5100
                                         WHERE ebeln = wa_ind-ebeln
                                           AND ebelp = wa_ind-ebelp
                                           AND bewtp = 'D'.
            IF sy-subrc = 0.
              wa_ind-wepos = 'X'.            " Set Goods Receipt Indicator
              wa_ind-webre = 'X'.            " Set GR-based IV Indicator
              wa_ind-lebre = 'X'.            " Set Srv-based IV Indicator
            ELSE.
              wa_ind-wepos = ' '.            " Clear Goods Receipt Indicator
              wa_ind-webre = ' '.            " Clear GR-based IV Indicator
              wa_ind-lebre = ' '.            " Clear Srv-based IV Indicator
              wa_ind-xersy = ' '.            " Clear ERS Indicator
            ENDIF.                                             
            MODIFY i_ind FROM wa_ind INDEX sy-tabix.
          ENDIF.
        ENDLOOP.
        <f1> = i_ind[].
    ENDIF.
    Hope this helps.
    Thanks,
    Senthil

Maybe you are looking for

  • Memory question for a new user

    This is probably a SIMPLE question and the answer is likely right in front of my face but I cannot seem to figure out how to find it. How do I check to see how much memory I have available on my Macbook air? I have downloaded several large games and

  • A JAVA PROGRAM TO CONTROL SYSTEM EVENTS OF WIDOWS XP

    Hello everyone. The question is: can I develop a java program that can control system events of a windows environment? For example a program to shut down the computer, log off or open and close windows applications? If so, how can i do that?? please

  • Will Other Brand Monitors work with MacPro?

    Hi, Just got a new Mac Pro Desktop 8-core only to find out my old Apple Studio Display 17" won't work without a $100 adapter. We're thinking of just buying a new monitor instead. My question is will other brands now work direclty with the new Macs -

  • Process in supporting

    hi plz send process in supporting and designation. how many member will be in supporting,ticket sending process & reply plz answers me withregards nagesh

  • I cannot access the Camera RAW dialogue box in PSE8 in windows 7. Is it possible?

    I cannot  access the Camera Raw Dialogue Box in PSE8 in windows 7.  Is it possible?