on 07-23-2009 11:06 AM
Dear Gurus,
I'm writing a report to capture the invoice details (invoice no, sales order no etc...) when the PO no is entered as an input parameter.
pl help...
Tks
Amilachins
Edited by: amilachins on Jul 23, 2009 12:07 PM
Hi
Use the table VBAK to get the sales order number (VBAK-VBELN) using the Customer PO value (VBAK-BSTNK). Pass the VBAK-VBELN values to VBFA table and get all the details of the subsequent or preceeding documents.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Table VBFA is the table linking preceeding and subsequent document. The PO number will be available at Sales Order level to link PO and Sales Order and through Sales Order, you will have to link Invoice number, where Sales Order number will be the common link point.
Regards,
Rajesh Banka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi There,
I have few doubts regarding your requirement....
1. As PO number in sales order is text field, so how you can input this and get subsequent doc?
2. If its STO or intercompany
In the later case
You have to use these tables...
1. EKKO - Purchase document Header
2. EKPO- Purchase document Item
3. LIKP - Delivery Header
4. LIPS - delievry Item
5. VBRK - Billing HEader
6. VBRP - Billing Item
Let us know if your requirement is different than this.....
Thanks,
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Raja,
well, we have an external system integrated to SAP. A unique no will be generated from the system and it is saved in the PO feild.
Further, sales order, delivery and invoice no will be generated. So, my requirement is to capture the invoice details when user enters the external system no ( which is in the PO Field) in a report.
Tks
Amilachins
Hi,
Which PO number you are referring to.... is the Stock Transfer PO, or Individual PO scenario or just the PO number on the Sales order..Kindly clarify.
Thanks,
MG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use VBELN and VBELV fields of VBFA table.
Edited by: Yadav on Jul 23, 2009 12:11 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.