on 05-29-2007 6:05 PM
Hi,
I have a sapscript with a specific edition program to print Invoices. Only items with not null price is printed!
While debugging, I check that in case price is null, the function RV_PRICE_PRINT_ITEM return tkomvd-kposn = 00000, even if the posnr is 10 (that isn't happen when VBRP-NETWR is # 0.
any suggestion?
Hi
try to Debug the FM and also check the Work areas before passing them to FM
Try to find the name of the table for KOMV may be KONV if i am right
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try to keep netwr value in charcter or numc and then print..
otherwise it print as space.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But all the line isn't dispalyed. I think that the problem is in the call function :
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.
A part of process is based on TKOMVD. And when the price is 0, the value returned in this structure aren't good (0000 in the kposn) !
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.