on 07-06-2007 9:09 AM
Hello at all,
I have a problem with the printing form 'quantity contract' in PO.
Application EV NEU
I have to print the gross prices for the conditions in ITEM_MCONDITIONS. I coudn´t found the values for the sum gross prices for the positions like KOMVD-KWERT in the printing form for PO.
Its difficult for me to explain so I would like to try it with an example:
QUANTITY: 10
FLAT Price: 10,00
SUM Price: 100,00
discount amount of 10%
10,00
10,00
)Please let me know if you have any further questions and thank you in advance for your help.
Steffi
Hi
Do you want to print the amount of percentage for each line item
like
line item at 10 10% 10,00
line item at 20 20% 20,00
do u want like this or anything else
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi check this sample code
Check your condition like this
IF ( t_komv-mwsk1 = 'C3' OR
t_komv-mwsk1 = 'C4' OR
t_komv-mwsk1 = 'C6' OR
t_komv-mwsk1 = 'C7' OR
t_komv-mwsk1 = 'C8' OR
t_komv-mwsk1 = 'B4' OR
t_komv-mwsk1 = 'B5' ).
**** this is the part to display the percentage
l_vat1-per = t_komv-kbetr / 10.
COLLECT l_vat1 INTO it_vat.
Here it combines all the similar line items
wa_vatitem-item = <fs>-ebelp.
wa_vatitem-per = l_vat1-per.
SHIFT wa_vatitem-item LEFT DELETING LEADING '0'.
APPEND wa_vatitem TO it_vatitem..
CLEAR wa_vatitem.
Reward all helpfull answers
Regards
Pavan
Hi Pavan,
is there a chance to get the values from a table like in PO (ITEM_CONDITIONS KOMVD-KWERT)?
Are the values not provided from the program?
In many cases there are different conditions in one position
Position 1----
QUANTITY: 10
FLAT Price: 12,00
SUM Price: 120,00
&KOMVD-VTEXT(16)&,,&KOMVD-KBETR&,,<b>&???-???&</b>
discount amount of 10% 12,00
discount amount of 5% 6,00
***
SUM 84,00
Thank you
Regards
Steffi
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.