2007 Aug 07 2:17 PM
Hello,
I'm looking for a function module to get calculated pricing conditions from invoices. These conditions don't have a condition type but a step number to be identified by. My problem is, that all function modules I know only return conditions with condition type. Does anybody know a function module which returns ALL conditions from a invoice?
Many thanks in advance!
Best regards
Holger
2007 Aug 09 8:41 AM
Hi Holger,
Try These Two Functions
CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
EXPORTING
comm_head_i = komk
comm_item_i = komp
language = nast-spras
IMPORTING
comm_head_e = komk
comm_item_e = komp
TABLES
tkomv = tkomv
tkomvd = tkomvd.
CALL FUNCTION 'RV_PRICE_PRINT_HEAD'
EXPORTING
comm_head_i = komk
language = nast-spras
IMPORTING
comm_head_e = komk
comm_mwskz = print_mwskz
TABLES
tkomv = tkomv
tkomvd = hkomvd.
Pablo
Reward points if helpful....
2007 Aug 09 8:41 AM
Hi Holger,
Try These Two Functions
CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
EXPORTING
comm_head_i = komk
comm_item_i = komp
language = nast-spras
IMPORTING
comm_head_e = komk
comm_item_e = komp
TABLES
tkomv = tkomv
tkomvd = tkomvd.
CALL FUNCTION 'RV_PRICE_PRINT_HEAD'
EXPORTING
comm_head_i = komk
language = nast-spras
IMPORTING
comm_head_e = komk
comm_mwskz = print_mwskz
TABLES
tkomv = tkomv
tkomvd = hkomvd.
Pablo
Reward points if helpful....
2007 Aug 09 9:25 AM
Hi Pablo,
many thanks for your answer!
I've tried this function modules previously, but they only return in TKOMV condition lines with filled field KSCHL. What I need are calculated condition lines without an entry in the field KSCHL, but in the field STUNR.
In TKOMVD this lines will be returned, but only if this is customized for the specific condition for printing. Unfortunately in my case it is not and will not be customized.
Best regards,
Holger