10-18-2008 7:13 AM
Hello Friends,
I have a requirement in sales order printout, we have pricinig procedure which contains 400 condition types .
I have to show item wise tax and other conditions in sales order printout.
Pls let me knw how it is possible
Regards,
Sunny
10-18-2008 7:18 AM
Hi Sunny,
Check the field name for Tax details mainly the table names starts with alphabet "B" are you developing the form from scratch or modifying the standard.
Find the links between item and tax details and proceed.
Cheers!!
Reddy
10-18-2008 7:29 AM
loop at i_vbap.
loop at IKONV where KNUMV = it_vbap-KNUMV and kposn = it_vbap-posnr.
CASE IKONV-KSCHL.
****do it for all condition type**********
WHEN 'ZEDC'.
Ifinal-edc = IKONV-KBETR / 10.
WHEN 'JMOD' OR 'ZC`1ES'.
ifinal-basic = IKONV-KbETr / 10.
INVAL-CESS = IKONV-KWERT.
endcase.
endloop.
append ifinal.
endloop.
10-18-2008 7:41 AM
Hello Shan,
i cant write code for all the 400 condition types, is there any other soln for this.
thnks
Sunny
10-18-2008 8:15 AM
Hi,
Check the Following FM's;
RV_PRICE_PRINT_HEAD
RV_PRICE_PRINT_ITEM
They are useful to retrieve all tax conditions in a Sales Document.
Search the forum with the FM names to get sample code/examples.
Regards
Karthik D
10-31-2008 9:15 AM