2013 Apr 30 9:44 AM
Sir,
Cst/Vat is defined as 5%. In smart form for excise invoice the amount of cst/vat will be calculated against total of the invoice of 5%.
Thus there any function module to capture the 5% of cst/vat from komv structure.
By this i will get the cst/vat when they print the smart form.
Regards.
Satish.P.
2013 May 02 1:46 PM
Hi,
Can you check the following:
"SD_COND_T685_SELECT" - to fetch the access sequence for the given condition type.
"SD_T682I_SINGLE_READ" - to fetch the condition tables.
Cheers,
Arindam
Hi,
Can you check the following:
"SD_COND_T685_SELECT" - to fetch the access sequence for the given condition type.
"SD_T682I_SINGLE_READ" - to fetch the condition tables.
Cheers,
Arindam
2013 May 02 1:25 PM
sir,
i got the 5% value for vat which was defined for conditional type JIN6,
from KONP transparent table, on that table no dates are defined.
can u pls suggest me where do i find the from date and to date for this
conditional type JIN6.
2013 May 02 1:46 PM
Hi,
Can you check the following:
"SD_COND_T685_SELECT" - to fetch the access sequence for the given condition type.
"SD_T682I_SINGLE_READ" - to fetch the condition tables.
Cheers,
Arindam
2013 May 06 12:46 PM
Sir,
My requirement is to fetch the 5% of vat defined in conditions of sales order
Pls explian the method, how i can fetch the 5% of vat against the sales order no
2013 May 06 12:57 PM
Hi,
If you see the above FM's They can help you get the 5% that gets reflected in KOMV. Every condition type has a access sequence configured in system. FM "SD_COND_T685_SELECT" will fetch the access sequence and then FM SD_T682I_SINGLE_READ will fetch the single record where that value 5% is maintained. Check in SE37 the FM where used list you will get an idea from an example that exist in your server.
Cheers,
Arindam
2013 May 07 4:50 AM
Sir,
Thanks for the function modules, by using these function modules, i have used these function modules in a program.
DATA:
gs_t685 type t685,
gs_t682i type t682i,
gt_t682i type standard table of t682i. " Condition tables
CONSTANTS : gc_kappl TYPE kappl VALUE 'TX', " Application
gc_kvewe TYPE kvewe VALUE 'A'. " Usage of the condition table
***************************************************************************************************************
*********************** Get the access sequence for the given condition type **********************************
***************************************************************************************************************
CALL FUNCTION 'SD_COND_T685_SELECT'
EXPORTING
cts_kappl = gc_kappl
cts_kschl = 'JIN6' " Condition Type
cts_kvewe = gc_kvewe
IMPORTING
cts_t685 = gs_t685.
***************************************************************************************************************
******************************Get the access sequence for the given condition type*****************************
***************************************************************************************************************
CALL FUNCTION 'SD_T682I_SINGLE_READ'
EXPORTING
kvewe_i = gc_kvewe
kappl_i = gc_kappl
kozgf_i = gs_t685-kozgf " Access sequence
TABLES
t682i_tab_io = gt_t682i.
LOOP AT gt_t682i INTO gs_t682i.
WRITE: / gs_t682i-kotabnr. " Condition tables
ENDLOOP.
i am getting the access sequence of the given conditional type.by concatenating this access sequence type to A. i am getting the table.
example :- A003 is the table i got, on that i got condition record no, by the giving the condition type.
2013 May 07 5:00 AM
Hi,
So is your requirement completed. Then please close the discussion.
Cheers,
Arindam
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |