on 06-23-2014 5:56 AM
Hi All,
what is the relationship between the VBRK and EKKO tables in SAP?
The PO number is not getting displayed in the invoice output.Pls find the screen shot attached.
How to go about this.Pls Suggest..
Thanks,
Pavan.
Pavan,
I agree with Jurgen, in the image of the proforma invoice you have indicated PO number (which is blank).
Please check if the PO number is to be extracted from the sales order (VBAK-BSTNK)?
(and not from EKKO)
The PO number from sales order can be populated in the billing document (VBRK-XBLNR or ZUONR) and this inturn can be populated in your output.
TW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your inputs.
@TW.. Yes,you are right but in my case,value is getting from VBKD - BSTKD.
Regards,
Pavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pavan,
VBKD-BSTKD is correct!
After posted the above table and field names; I realized that he had suggested the correct way!
So many times, I have searched the sales order no.; by inputting the PO no (BSTKD). in VBKD, but on this occasion I forgot...SAP is about learning and then forgetting (for a moment) and relearning.
Quick question - Are you only printing Proforma Invoice? (and not invoices?)
Thanks!
TW
hi,
SD billing documents has a PO tab. here VBKD.BSTKD field contain PO information from Sales Order.
this PO text information come from Sales Order to billing documents.
if billing PO tab field VBKD.BSTKD contain any PO information then it will display in proforma invoice.
Ask your ABAP er to display the PO text in PI.
thanks
Md. Enayet Hossain
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pawan,
Always Explain the Process First before raising the query.
As your Output is a Proforma Invoice you must be reffering to the STO process.
If it is so kindly go through my logic or Srinu's logic.
Thanks and Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check out the VBKD-BSTKD value for your sales order. ask abaper for help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pawan,
If your cycle is PO--->Delivery -----> Billing
There is no direct relation in VBRK and EKKO
You can take the Delivery Document from VBRP-VGBEL and pass in LIPS-VBELN and Fetch LIPS - VGBEL you can get the PO.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I assume you are referring STO process, if so please find the below logic,
Take VBRK-VBELN, input this in VBFA table in VBELN(follow on document) and take VBELV( Prceeding document), pass this to EKBE table and input this in EKBE-BELNR(material document) and take EKBE-EBELN, pass this field to output the of the program.
thanks,
Srinu.
Hi TW,
Thanks for your comment. Sorry even i did not see the complete screen shot of the OP. Where it was seen about Sales order number also, Later i have checked the the screen shot again based on this definitely it should not be the STO process. However,
Initially i was assuming that based on the subject of the OP when he was talking about EKKO and VBRK i thought immediately it was STO process.
And also in my recent development as per the Russia client business process of STO we had displayed the STO PO number in inter company invoice as well as Proforma invoice. We had given the same logic to display the PO number in Invoice.
thanks,
Srinu.
hi Srinu S,
i also agree with you. Pavan Kolla need to clear business process. He raised link between EKKO and VBRK. when he mentioned EKKO table that means it must should be PO related to billing process. PO=DO= Billing (STO) process.
SD billing documents has a PO tab. here VBKD.BSTKD field contain PO information from Sales Order.
this PO text information come from Sales Order to billing documents.
but Pavan Kolla mentioned EKKO table means PO related billing, So this billing PO tab VBKD.BSTKD field is blank because purchase order document there is no PO text option to fillup the PO box.
if billing PO tab field VBKD.BSTKD contain any PO information then it will display in proforma invoice.
thanks
Md. Enayet Hossain
User | Count |
---|---|
110 | |
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.