2007 Sep 05 4:28 AM
Hi All,
I want to create inner join between <b>KONV</b> table (Condition Transaction Data) and <b>VBAK / VBRK / VBRP</b> (with anyone)...but not possible becuase, <b>KONV</b> is the cluster table.....
wat can i do.....because i want to take field <b>KONV-KSCHL</b> (CONDITION TYPE) from this table, if u have any other idea or suggest me take another table, in which join will possible.....
Thanks & Regards,
<b>Anil Kumar</b>
Hi All,
I want to create inner join between <b>KONV</b> table (Condition Transaction Data) and <b>VBAK / VBRK / VBRP</b> (with anyone)...but not possible becuase, <b>KONV</b> is the cluster table.....
wat can i do.....because i want to take field <b>KONV-KSCHL</b> (CONDITION TYPE) from this table, if u have any other idea or suggest me take another table, in which join will possible.....
Thanks & Regards,
<b>Anil Kumar</b>
2007 Sep 05 4:31 AM
the table VBAK has the field KNUMV - Number of the document condition
from this VBAK-KNUMV get the record from KONV table.
Join is not suggested on KONV with VBAK / VBRK tables because KONV is a cluster table. Instead you can use FOR ALL ENTRIES of IT_VBAK
from the KNUMV you can get the Condition Type KSCHL
I have answered the same in your previous post.
Kindly close this thread.
Regards
Gopi
2007 Sep 05 4:35 AM
Hi Anil,
You can use FOR ALL ENTRIES..
Fetch all the Billing document numbers from VBRK and then for them fetch KSCHL..
SELECT KSCHL
FROM KONV
INTO CORRESPONDING FIELDS OF tab
FOR ALL ENTRIES IN TAB
WHERE vbeln EQ tab-vbeln.
But, for billing data i prefer to use FM:
RV_BILLING_PRINT_VIEW
RV_PRICE_PRINT_ITEM
RV_PRICE_PRINT_HEAD
Thanks and Best Regards,
Vikas Bittera.
2007 Sep 05 6:23 AM
Hi,
First retrieve KNUMV from VBAK or VBRK table and keep in ITAB1. Pass this KNUMV field value to KONV table using FOR ALL ENTRIES of ITAB1 and get KSCHL and keep in ITAB2.
I have already answered this question, to ur earlier question.
Message was edited by:
Sathyaa
2007 Sep 25 1:04 PM
You Can Join <b>KONP</b> table with VBRP with <b>KNUMH</b> field to get KSCHL
reward if useful
Amit Singla.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |