Skip to Content
author's profile photo Former Member
Former Member

invoice based on purchase order no

Hi Experts,

how i can get invoice no based on purchase order no

thanks in advance

narendra

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 23, 2008 at 02:59 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 03:24 AM

    u can also check EKBE where VGABE = 2 for Invoice.

    regards

    prabhu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.