on 08-12-2014 9:51 AM
Hi All,
I have a PM order confirmation number. I need a report in SAP such that when I give this confirmation number as the input, I get the invoice number/date details, if any.
Please assist.
Thanks all for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amruta,
to link 'order confirmation' with 'invoice' follow this:
Selection screen -> AFRU -> AUFK -> VBRP
1) Selection screen: 'Order Confirmation'
Field 'RUECK'
2) Select table 'AFRU - Order Confirmations'
Where AFRU-RUECK = RUECK (from selection screen)
3) Get 'Order Number' from AFRU table
Field: AFRU-AUFNR
4) Select 'AFRU - Order master data' table
Where AUFK-AUFNR = AFRU-AUFNR
5) Get 'Sales Order Number' and 'Item Number in Sales Order'
Fields AUFK-KDAUF and AUFK-KDPOS
6) Select 'VBRP - Billing Document: Item Data'
Where: VBRP-AUBEL = AUFK-KDAUF
VBRP-AUPOS = AUFK-KDPOS
7) Get 'Billing Document' and 'Billing item'
Field VBRP-VBELN and VBRP-POSNR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
AUFK - AUFNR will have PM order number
AUFK - KDAUF will have the sales order number
Populate sales order number in VBFA-VBELV with VBTYP_V = C (or sales order doc type which you have used) and VBTYP_N = M (or invoice doc type which you have used).
VBFA-VBELN will give you the invoice number.
Then VBRK and VBRP tables can be used to get invoice details with VBELN = Invoice number.
Hope this helps !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe you can go through the doc flow table (VBFA) using AUFK-AUFNR as the base document, or you can fetch through the sales order header table (VBAK) which connects at VBAK-AUFNR to ultimately reach the billing document item table VBRP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I am in not touch with SAP for last 6 months ,If I am not wrong please check t-code IW59.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What is your process from PM order to SD billing document? How do you link PM and SD in this process? Do you know how to find the links and data base tables? Please search for SAP tables first and create a link using SE11 or SE16N and if you find any link you can create report easily using SAP query Tools. As suggested by Lakshmipathi SD tables are VBFA, VBRK and VBRP.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you know how to execute SQVI, there you can table join the PM table with SD tables VBRK & VBRP
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.