on 03-02-2010 1:08 PM
Hello friends,
I am working on Invoice smartform, in that I need table and field for either Item Price or rate or both.
In VBRP table NETWR field is there but the value in that is including Education Cess and Excise duty.
In KONV table KBETR is there but I cannot join VBRP and KONV, since KONV is cluster table.
Can any one tell me the exact table and field for this please ASAP.
Regards,
Chandu.
Edited by: chandra sekhar narra on Mar 2, 2010 2:10 PM
select from VBRK first.
then use for all entries select from KONV based on VBRK-KNUMV.
Then use for all entries select from VBRP based on VBRk-VBELN and POSNR.
loop at item table.
read header, read conditions based on the key fields and format a final internal table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you wnat to JoIn both, is there no key field in bothe tables so that you can select the data from KONV.
You can link VBRK-KNUMV = KONV-KNUMV and VBRK-VBELN = VBRP-VBELN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
In VBRK and KONV the common field is KNUMV, and in KONV and VBRP the common field is POSNR(Item number) based on Item number I am fetching ARKTX(Goods desc), FKIMG( Billed QUantity),NTGEW(Qunatity) from VBRP and KBETR(AMount/Rate) from KONV. That is my actual requirement.
Edited by: chandra sekhar narra on Mar 2, 2010 2:50 PM
Edited by: chandra sekhar narra on Mar 2, 2010 2:50 PM
Now i am not joining both tables, but first retrieving from VBRP and then from KONV. What statement should I use in select statement for second table, when i use Into corresponding fields it is overwriting the other fields , when i use appending corresponding fields, one more record is getting created ,
how to deal with this issue. please help.
select kposn
into table it_item
from konv
where knumv = knumv.
IF NOT IT_ITEM[] IS INITIAL.
SELECT ARKTX
FKIMG
NTGEW
NETWR
INTO CORRESPONDING FIELDS OF TABLE IT_MAIN
FROM VBRP
FOR ALL ENTRIES IN IT_ITEM
WHERE POSNR = IT_ITEM-KPOSN.
SELECT KWERT
INTO CORRESPONDING FIELDS OF TABLE IT_MAIN
FROM KONV
FOR ALL ENTRIES IN IT_ITEM
WHERE KPOSN = IT_ITEM-KPOSN AND KSCHL = 'PR00'.
endif.
This is my actual code... please check this..
In se11 search for J_1I*.
check tables
J_1IMOCUST - Customer
J_1IMOVEND - Vendor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.