Excise duty in Inbound excise entry missing
Hi,
We have a setup like one plan is selling and other is buying within the same company code.
Now, in Billing doc of selling plant, we have Excise duty, but in Inbound excise entry in buying plant, its not taking up the excise duty.
Can anyone help?
Dear Krishna,
I would like to refer you one more link (with my post):
[Excise return|return in excise;
Your query-part is answered in that.
Best Regards,
Amit
Similar Messages
-
Excise Duty Paid and Excise Duty Payable Report
Hi
Is there any standard report through which we can check the Excise Duty which is already paid and Excise duty which is payable for a posting period. If not any report then is there some table through which we can check this for a plant for specific posting period.
Thanks in advance
regards
Amitesh AnandDear Amitesh
The difference could be due to
a) different G/L Account assigned to the excise condition type / account key in OB40 settings
b) opening balance carried forward in J2IUN
Nevertheless you can also check in j2i9 which I forget to mention earlier.
thanks
G. Lakshmipathi -
Excise duty charged and excise duty paid GL dont match
Hi exprt
As per my knowledge what are excise we recieve from vendor we pass it on to customer.
I have check with my system the G/L are not getting tally.
Kindly suggest me if i m wrong
Regard
NabilHI;
As per my know knowledge if you have trader registration ( dealer) in that case what duty we received from vendor pass as it is to customer in that case RG23D register get update
For manufacturing plant with excise registration, it not necessary we pass 100% excise duty which received from vendor
it may be less or may be more what we received from vendor in that case PLA register play an important role to adjust excise value
Regards
kailas ugale -
How to find material recieved with excise duty or without excise duty
HI
how to find material recieved with or without excise duty , and which table these data store . Because we need to develope one new report.
Regards
GaneshHI,
Check the report J1I5 , For the Material received with the Excise Details,
Table "J_1IEXCHDR" will store the Excise invoice header data.
Regards
Mascot. -
Zero Excise duty appeared in Excise Invoice (J1IIN)
Halo Experts,
At the time create Excise Invoice (J1IIN) zero excise duty appeared in some cases (Not all invoice) even duty available in billing document (VF02).
we are unable to find out exact reason. Please help.
Regards
BK GAIKWADhi,
please check settings for logistics general - tax on goods movements - india - basic settings - determination of excise duty - excise maintain excise defaults & classification of condition types & J1ID SETTINGS - in SPRO.
if it is correct then it flows automatically.
please check & confirm with abaper/basis whether all patches related to CIN are updated properly or not.
update the forum.
balajia. -
Excise duty from Delivery excise invoice posted
Dear Gurus of SAP
I have major problem if some one can help me out it will great.
We r using TAXINJ PROCEDURE FOR Tax.
When ever there is a price revison there is a duty difference between duty posted in rg23d and Duty calculated during sales order/invoice.
Currently we are using Routine 355 Ffor JMOD in SD pricing procedure and 363 in tax procedure.
For JMOD IF we use routine other than 355 during invoice it throws zero value.
As riutine 356 is based on Reg23d We tried with that bt for this value shown in invoice is zero.
If any one has solution pelase let me know at the earliest.
I was struggling foor past two days fto solve this issue.
rgds
BJthe difference amount has to passed into SAP by doing an Excise JV in <b>T.code: J1IH</b> - Other Adjustment. Contact your FI consultant for doing the same.
Rewards if it is helpful.
Regards,
Anbu -
hi,
need the advice. please help.
1) for manufacturing, when purchase, the input tax will debit cenvat account, say 100inr. when sales, output tax will credit cenvat account, say (120)inr.
may i know if 100inr is excise duty paid and 20inr (120-100) is excise duty payable?
2) so actually the total duty paid is 100 + 20 = 120inr, correct?
3) may i know what is the difference for excise duty paid / excise duty payable and cenvat receivable account?
3) may i know how is the double entry for point 1 from purchase to sales until RG and pla?
thanksHi,
Pl. go through the following carefully. If u see the config. of CIN the column names Excise Account Assignment Table are like RG23A BED etc., Hence the account description(user's discretion) can be CENVAT Account or RG23A account.
Apart from this there are entries in RG23 registers which are Statutory requirement.
Pl. do not get confused with Account and Register. Account will have only the amounts where as registers will contain no. of particulars.
Check the accounting entries for the whole process
<b>What should be my accounting entry in procurement?</b>
For Domestic Procurement of Raw Material
During GR
Material Stock Dr.
GR/IR clearing Cr.
During Excise Invoice Credit
Cenvat Account OR RG 23A Dr.
Cenvat Clearing Cr.
During Invoice Verification
Cenvat Clearing Dr.
GR/IR Clearing Dr.
Vendor Payable Cr.
<b>For Domestic procurement of Capital Goods</b>
During GR
Material Stock Dr.
GR/IR clearing Cr.
During Excise Invoice Credit
Cenvat Account/ RG 23C A/c (CVD) A/c Dr. (50%)
Cenvat On-hold/ RG 23C A/c (CVD) A/c Dr. (50%)
Cenvat Clearing Cr.
<b>During Invoice Verification</b>
Cenvat Clearing Dr.
GR/IR Clearing Dr.
Vendor Payable Cr
<b>Subsequent of Capital Goods</b>
Cenvat Account/ RG 23C A/c (CVD) A/c Dr. (50%)
Cenvat On-hold/ RG 23C A/c (CVD) A/c Cr. (50%)
<b>For Excise Duty Credit of Raw Material without PO</b>
Cenvat Account OR RG 23A Dr.
Cenvat Clearing Cr.
<b>For Excise Duty Reversal through Excise JV</b>
Cenvat Clearing Dr. Cenvat Account OR RG 23A Cr.
<b>What should be my accounting entry when the goods are issued through MM and excise invoice is created (J1IS & J1IV)?</b>
During Excise Invoice Creation
Cenvat Suspense Account Dr.
Cenvat payable Cr.
Note: Cenvat Suspense Account should be cleared apprpiately using FI JVs.
For TR6C Challan
PLA Account Dr.
PLA on hold Account Cr.
During Fortnightly Utilization
Cenvat payable Dr.
Cenvat Account/ RG23A/RG23C Cr.
PLA Account Cr.
Thanks,
Vijay -
Excise duty for differential amount
Dear Sir,
i want to charge Excise duty to customer(Excise JV) but i dont have Excise invoice
is it possible?
Scenario is as follows,
Export invoice and excise invoice for 500 ton(qty)
After loading it on ship the weight is 520 tons.
now for additional 20 tons we are passing debit note on customer, i need to pay excise duty for 20tons
Entry at the time of J1IH
Excise duty Clearing A/c Dr.
Excise duty Basic Payable A/c Cr.
Excise duty Edu Cess Payable A/c Cr.
Excise duty Higher Edu Cess Payable A/c Cr.
pls suggest the solution
Reg,
AmolHi Suresh,
We will be passing debit memo from Finance module by passing FI JV entries so i wont be having Debit memo number.
any other way of passing Excise JV?
Reg,
Amol -
EXCISE DUTY ROUNDING IN PROCUREMENT
Dear All.,
i want to round off the excise duty while posting excise invoice.
i had done tick in rounding duty on procurement in company code settinngs
As well as i have assigned calculation type '17' to excise conditions in tax procedure.
Though excise duty is not coming with rounding off.
Is there any another setting for this or i should create a routine for this?
Thanx in advanceHi,
In T code : OBQ3 against ur condition in alternative calculation type (Calty ) column put 17.
At the same time OB90 against ur company code put 100.
Biswajit -
% Excise Duty is coming wrong in Report
Hi,
I have a report of Gross Margin (FI)....
My problem is that when i m picking the % Excise Duty from J_1IEXCTAX table against the Chapter ID....it is showing the 4 values against it...means 4 time % Excise Duty....i.e. periodic changed...
like....
8538 90 00................1................08.12.2008................31.12.9999................10.0000
8538 90 00................1................01.03.2008................07.12.2008................14.0000
8538 90 00................1................28.02.2005................29.02.2008................16.0000
8538 90 00................1................01.01.2001................28.02.2005................16.0000
when i m executing my report with period from 01/11/2008 to 15/11/2008..it is showing the 16%...but as per my given period, it must display 14%...
Please tell me that what should the condition there....
I m sending my code...
REPORT z_fi_gross_margin NO STANDARD PAGE HEADING LINE-SIZE 125 .
TABLES : t179t, tvkbt, mara, vbrp, s501, mbew.
TYPE-POOLS : slis.
DATA : BEGIN OF itab OCCURS 0,
vkbur LIKE s501-vkbur,
matnr LIKE s501-matnr,
prodh LIKE s501-prodh,
ummenge LIKE s501-ummenge,
gumenge LIKE s501-gumenge,
umnetwr LIKE s501-umnetwr,
gunetwr LIKE s501-gunetwr,
sptag LIKE s501-sptag,
peinh LIKE mbew-peinh,
stprs LIKE mbew-stprs,
lplpx LIKE mbew-lplpx,
vtext LIKE t179t-vtext,
mtart LIKE mara-mtart,
bezei LIKE tvkbt-bezei,
net_sqty TYPE p DECIMALS 2,
s_amt TYPE p DECIMALS 2,
j_1ichid LIKE j_1imtchid-j_1ichid,
rate LIKE j_1iexctax-rate,
excise TYPE p DECIMALS 2,
l_excise TYPE p DECIMALS 2,
s_unit TYPE p DECIMALS 2,
m_unit TYPE p DECIMALS 2,
t_mcost TYPE p DECIMALS 2,
m_cost% TYPE p DECIMALS 2,
g_margin TYPE p DECIMALS 2,
g_marg% TYPE p DECIMALS 2,
END OF itab.
DATA : v_index TYPE sy-tabix.
DATA : cnt TYPE i.
DATA : w_container TYPE scrfname VALUE 'CL_GRID',
w_cprog TYPE lvc_s_layo,
g_repid LIKE sy-repid,
w_save TYPE c,
w_exit TYPE c,
cl_grid TYPE REF TO cl_gui_alv_grid,
cl_custom_container TYPE REF TO cl_gui_custom_container,
it_fld_catalog TYPE slis_t_fieldcat_alv,
wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
layout TYPE slis_layout_alv,
col_pos LIKE sy-cucol ,
alvfc TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : vkbur FOR s501-vkbur.
SELECT-OPTIONS : matnr FOR s501-matnr.
SELECT-OPTIONS : sptag FOR s501-sptag.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM fill_catalog1 USING:
**'SPTAG' 'ITAB' 'DATE',
**'VKBUR' 'ITAB' 'Sales Office',
'BEZEI' 'ITAB' 'S.Off. Desc.',
'MATNR' 'ITAB' 'Material',
'PRODH' 'ITAB' 'LEVEL',
'VTEXT' 'ITAB' 'Level I',
'MTART' 'ITAB' 'Material Type',
'NET_SQTY' 'ITAB' 'Net Sales Qty.',
'S_AMT' 'ITAB' 'Sales with Ex. Duty',
'EXCISE' 'ITAB' 'Excise Duty',
'RATE' 'ITAB' '% Excise Duty',
'L_EXCISE' 'ITAB' 'Sales less Ex. Duty',
'S_UNIT' 'ITAB' 'Sales / Unit',
'M_UNIT' 'ITAB' 'Mat / Unit',
'T_MCOST' 'ITAB' 'Total Material Cost',
'M_COST%' 'ITAB' '% Material Cost',
'G_MARGIN' 'ITAB' 'Gross Margin',
'G_MARG%' 'ITAB' '% Gross Margin'.
SELECT DISTINCT a~sptag a~vkbur a~matnr a~prodh a~ummenge a~gumenge a~umnetwr a~gunetwr b~vtext c~mtart d~bezei
INTO CORRESPONDING FIELDS OF TABLE itab
FROM s501 AS a
INNER JOIN t179t AS b ON a~prodh = b~prodh
INNER JOIN mara AS c ON a~matnr = c~matnr
INNER JOIN tvkbt AS d ON a~vkbur = d~vkbur
WHERE a~matnr IN matnr
AND a~sptag IN sptag
AND a~vkbur IN vkbur.
IF sy-subrc <> 0.
MESSAGE 'DATA NOT FOUND.' TYPE 'I'(001).
ENDIF.
SORT itab BY matnr.
LOOP AT itab .
cnt = v_index.
SELECT peinh stprs lplpx FROM mbew INTO (itab-peinh, itab-stprs, itab-lplpx) WHERE matnr = itab-matnr.
itab-m_unit = itab-stprs - itab-lplpx / itab-peinh.
v_index = cnt + sy-dbcnt.
MODIFY itab INDEX v_index TRANSPORTING m_unit.
ENDSELECT.
SELECT j_1ichid FROM j_1imtchid INTO itab-j_1ichid WHERE matnr = itab-matnr.
MODIFY itab INDEX sy-tabix TRANSPORTING j_1ichid .
ENDSELECT.
SELECT rate FROM j_1iexctax INTO itab-rate WHERE j_1ichid = itab-j_1ichid AND j_1iexcind = '1'.
MODIFY itab INDEX sy-tabix TRANSPORTING rate .
ENDSELECT.
ENDLOOP.
LOOP AT itab .
itab-net_sqty = itab-ummenge - itab-gumenge .
MODIFY itab INDEX sy-tabix TRANSPORTING net_sqty.
itab-s_amt = itab-umnetwr - itab-gunetwr .
MODIFY itab INDEX sy-tabix TRANSPORTING s_amt.
itab-excise = itab-s_amt * itab-rate / 100.
MODIFY itab INDEX sy-tabix TRANSPORTING excise.
itab-l_excise = itab-s_amt - itab-excise.
MODIFY itab INDEX sy-tabix TRANSPORTING l_excise.
itab-s_unit = itab-l_excise / itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING s_unit.
itab-t_mcost = itab-m_unit * itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING t_mcost.
itab-m_cost% = itab-t_mcost / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING m_cost%.
itab-g_margin = itab-l_excise - itab-t_mcost.
MODIFY itab INDEX sy-tabix TRANSPORTING g_margin.
itab-g_marg% = itab-g_margin / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING g_marg%.
ENDLOOP.
layout-zebra = 'X' .
layout-colwidth_optimize(1) = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'Z_FI_GROSS_MARGIN'
is_layout = layout
it_fieldcat = it_fld_catalog
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form FILL_CATALOG1
text
-->P_FIELDNAME text
-->P_REF_TABLE text
-->P_SCRTEXT text
FORM fill_catalog1 USING p_fieldname TYPE any
p_ref_table TYPE any
p_scrtext TYPE any.
CLEAR : wa_fld_catalog.
wa_fld_catalog-fieldname = p_fieldname.
wa_fld_catalog-tabname = p_ref_table.
wa_fld_catalog-seltext_s = p_scrtext.
wa_fld_catalog-seltext_m = p_scrtext.
wa_fld_catalog-seltext_l = p_scrtext.
wa_fld_catalog-outputlen = 15.
APPEND wa_fld_catalog TO it_fld_catalog.
ENDFORM. " fill_catalog1
Please check .....
Thanks...I think ur code will do the same in my report do...
Please check my code again and modify where as u needed.....
REPORT z_fi_gross_margin NO STANDARD PAGE HEADING LINE-SIZE 125 .
TABLES : t179t, t179, tvkbt, mara, vbrp, s501, mbew, t134t, v_t179, t023t, t247.
TYPE-POOLS : slis.
DATA : BEGIN OF itab OCCURS 0,
vkbur LIKE s501-vkbur,
matnr LIKE s501-matnr,
prodh LIKE s501-prodh,
ummenge LIKE s501-ummenge,
gumenge LIKE s501-gumenge,
umnetwr LIKE s501-umnetwr,
gunetwr LIKE s501-gunetwr,
sptag LIKE s501-sptag,
peinh LIKE mbew-peinh,
stprs LIKE mbew-stprs,
lplpx LIKE mbew-lplpx,
prdha LIKE mara-prdha, " Product hierarchy
prdha2 LIKE mara-prdha, " Product hierarchy
prdha3 LIKE mara-prdha, " Product hierarchy
prodh_text LIKE t179t-vtext, "Product Hierarchy Text
prodh2_text LIKE t179t-vtext, "Product Hierarchy Text
prodh3_text LIKE t179t-vtext, "Product Hierarchy Text
matkl LIKE mara-matkl,
wgbez LIKE t023t-wgbez,
fcktx LIKE t247-ktx,
mtart LIKE mara-mtart,
bezei LIKE tvkbt-bezei,
net_sqty TYPE p DECIMALS 2,
s_amt TYPE p DECIMALS 2,
mtbez LIKE t134t-mtbez,
j_1ichid LIKE j_1imtchid-j_1ichid,
rate LIKE j_1iexctax-rate,
excise TYPE p DECIMALS 2,
l_excise TYPE p DECIMALS 2,
s_unit TYPE p DECIMALS 2,
m_unit TYPE p DECIMALS 2,
t_mcost TYPE p DECIMALS 2,
m_cost% TYPE p DECIMALS 2,
g_margin TYPE p DECIMALS 2,
g_marg% TYPE p DECIMALS 2,
new TYPE i,
new1(6) TYPE c,
s_period TYPE i,
END OF itab.
DATA : BEGIN OF itab3 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA : END OF itab3.
DATA : v_index TYPE sy-tabix.
DATA : cnt TYPE i.
DATA : w_container TYPE scrfname VALUE 'CL_GRID',
w_cprog TYPE lvc_s_layo,
g_repid LIKE sy-repid,
w_save TYPE c,
w_exit TYPE c,
cl_grid TYPE REF TO cl_gui_alv_grid,
cl_custom_container TYPE REF TO cl_gui_custom_container,
it_fld_catalog TYPE slis_t_fieldcat_alv,
wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
layout TYPE slis_layout_alv,
col_pos LIKE sy-cucol ,
alvfc TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : vkbur FOR s501-vkbur.
SELECT-OPTIONS : matnr FOR s501-matnr.
SELECT-OPTIONS : sptag FOR s501-sptag.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM fill_catalog1 USING:
'SPTAG' 'ITAB' 'DATE',
'VKBUR' 'ITAB' 'Sales Office',
'BEZEI' 'ITAB' 'S.Off. Desc.',
'MATNR' 'ITAB' 'Material',
*'PRODH' 'ITAB' 'LEVEL',
'PRODH_TEXT' 'ITAB' 'Level I',
'PRODH2_TEXT' 'ITAB' 'Level II',
'PRODH3_TEXT' 'ITAB' 'Level III',
'WGBEZ' 'ITAB' 'Level IV',
'MTBEZ' 'ITAB' 'Material Type',
'NET_SQTY' 'ITAB' 'Net Sales Qty.',
'S_AMT' 'ITAB' 'Sales with Ex. Duty',
'EXCISE' 'ITAB' 'Excise Duty',
'RATE' 'ITAB' '% Excise Duty',
'L_EXCISE' 'ITAB' 'Sales less Ex. Duty',
'S_UNIT' 'ITAB' 'Sales / Unit',
'M_UNIT' 'ITAB' 'Mat / Unit',
'T_MCOST' 'ITAB' 'Total Material Cost',
'M_COST%' 'ITAB' '% Material Cost',
'G_MARGIN' 'ITAB' 'Gross Margin',
'G_MARG%' 'ITAB' '% Gross Margin',
'NEW1' 'ITAB' 'Month'.
SELECT DISTINCT asptag avkbur amatnr aprodh aummenge agumenge aumnetwr agunetwr cmtart cmatkl dbezei emtbez
INTO CORRESPONDING FIELDS OF TABLE itab
FROM s501 AS a
INNER JOIN mara AS c ON amatnr = cmatnr
INNER JOIN tvkbt AS d ON avkbur = dvkbur
INNER JOIN t134t AS e ON cmtart = emtart
WHERE a~matnr IN matnr
AND a~sptag IN sptag
AND a~vkbur IN vkbur
AND e~spras EQ 'EN'.
IF sy-subrc <> 0.
MESSAGE 'DATA NOT FOUND.' TYPE 'I'(001).
ENDIF.
SORT itab BY matnr.
LOOP AT itab .
cnt = v_index.
SELECT SINGLE peinh stprs lplpx FROM mbew INTO (itab-peinh, itab-stprs, itab-lplpx) WHERE matnr = itab-matnr.
itab-m_unit = itab-stprs - itab-lplpx / itab-peinh.
v_index = cnt + sy-dbcnt.
MODIFY itab INDEX v_index TRANSPORTING m_unit.
SELECT SINGLE j_1ichid FROM j_1imtchid INTO itab-j_1ichid WHERE matnr = itab-matnr.
MODIFY itab INDEX sy-tabix TRANSPORTING j_1ichid .
SELECT SINGLE rate FROM j_1iexctax INTO itab-rate WHERE j_1ichid = itab-j_1ichid AND j_1iexcind = '1' AND validfrom GE sptag-low AND validto LE sptag-high.
MODIFY itab INDEX sy-tabix TRANSPORTING rate .
SELECT SINGLE prdha FROM mara INTO (itab-prdha) WHERE matnr = itab-matnr .
MODIFY itab INDEX sy-tabix TRANSPORTING prdha .
SELECT SINGLE wgbez FROM t023t INTO itab-wgbez WHERE matkl = itab-matkl .
MODIFY itab INDEX sy-tabix TRANSPORTING wgbez .
ENDLOOP.
LOOP AT itab .
itab-net_sqty = itab-ummenge - itab-gumenge .
MODIFY itab INDEX sy-tabix TRANSPORTING net_sqty.
itab-s_amt = itab-umnetwr - itab-gunetwr .
MODIFY itab INDEX sy-tabix TRANSPORTING s_amt.
itab-excise = itab-s_amt * itab-rate / 100.
MODIFY itab INDEX sy-tabix TRANSPORTING excise.
itab-l_excise = itab-s_amt - itab-excise.
MODIFY itab INDEX sy-tabix TRANSPORTING l_excise.
IF itab-net_sqty NE '0'.
itab-s_unit = itab-l_excise / itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING s_unit.
ENDIF.
itab-t_mcost = itab-m_unit * itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING t_mcost.
itab-m_cost% = itab-t_mcost / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING m_cost%.
itab-g_margin = itab-l_excise - itab-t_mcost.
MODIFY itab INDEX sy-tabix TRANSPORTING g_margin.
itab-new = itab-sptag+4(2).
SELECT SINGLE ktx FROM t247 INTO itab-new1 WHERE mnr = itab-new AND spras EQ 'EN' .
CONCATENATE itab-new1 itab-sptag+2(2) INTO itab-new1 SEPARATED BY '-'.
itab-g_marg% = itab-g_margin / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING g_marg% new1.
ENDLOOP.
LOOP AT itab.
SELECT SINGLE vtext INTO itab-prodh3_text FROM t179t WHERE prodh = itab-prdha.
itab-prdha2 = itab-prdha+0(5).
SELECT SINGLE vtext INTO itab-prodh_text FROM t179t WHERE prodh = itab-prdha2.
itab-prdha3 = itab-prdha+0(10).
SELECT SINGLE vtext INTO itab-prodh2_text FROM t179t WHERE prodh = itab-prdha3.
MODIFY itab INDEX sy-tabix TRANSPORTING prodh3_text prodh_text prodh2_text prdha3.
ENDLOOP.
layout-zebra = 'X' .
layout-colwidth_optimize(1) = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'Z_FI_GROSS_MARGIN'
is_layout = layout
it_fieldcat = it_fld_catalog
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form FILL_CATALOG1
text
-->P_FIELDNAME text
-->P_REF_TABLE text
-->P_SCRTEXT text
FORM fill_catalog1 USING p_fieldname TYPE any
p_ref_table TYPE any
p_scrtext TYPE any.
CLEAR : wa_fld_catalog.
wa_fld_catalog-fieldname = p_fieldname.
wa_fld_catalog-tabname = p_ref_table.
wa_fld_catalog-seltext_s = p_scrtext.
wa_fld_catalog-seltext_m = p_scrtext.
wa_fld_catalog-seltext_l = p_scrtext.
wa_fld_catalog-outputlen = 15.
APPEND wa_fld_catalog TO it_fld_catalog.
ENDFORM. " fill_catalog1
please tell.... -
Rate (% Excise Duty) in picking wrong...
Hi,
I have a report of Gross Margin (FI)....
My problem is that when i m picking the % Excise Duty from J_1IEXCTAX table against the Chapter ID....it is showing the 4 values against it...means 4 time % Excise Duty....i.e. periodic changed...
like....
8538 90 00................1................01.03.2008................31.12.9999................14.0000
8538 90 00................1................28.02.2005................29.02.2008................16.0000
8538 90 00................1................01.01.2001................28.02.2005................16.0000
when i m executing my report with period from 01/07/2007 to 15/07/2007..it is showing the 14%...but as per my given period, it must display 16%...
Please tell me that what should the condition there....
Plz. check my code---
REPORT z_fi_gross_margin NO STANDARD PAGE HEADING LINE-SIZE 125 .
TABLES : t179t, t179, tvkbt, mara, vbrp, s501, mbew, t134t, v_t179, t023t, t247.
TYPE-POOLS : slis.
DATA : BEGIN OF itab OCCURS 0,
vkbur LIKE s501-vkbur,
matnr LIKE s501-matnr,
prodh LIKE s501-prodh,
ummenge LIKE s501-ummenge,
gumenge LIKE s501-gumenge,
umnetwr LIKE s501-umnetwr,
gunetwr LIKE s501-gunetwr,
sptag LIKE s501-sptag,
peinh LIKE mbew-peinh,
stprs LIKE mbew-stprs,
lplpx LIKE mbew-lplpx,
prdha LIKE mara-prdha, " Product hierarchy
prdha2 LIKE mara-prdha, " Product hierarchy
prdha3 LIKE mara-prdha, " Product hierarchy
prodh_text LIKE t179t-vtext, "Product Hierarchy Text
prodh2_text LIKE t179t-vtext, "Product Hierarchy Text
prodh3_text LIKE t179t-vtext, "Product Hierarchy Text
matkl LIKE mara-matkl,
wgbez LIKE t023t-wgbez,
fcktx LIKE t247-ktx,
mtart LIKE mara-mtart,
bezei LIKE tvkbt-bezei,
net_sqty TYPE p DECIMALS 2,
s_amt TYPE p DECIMALS 2,
mtbez LIKE t134t-mtbez,
j_1ichid LIKE j_1imtchid-j_1ichid,
rate LIKE j_1iexctax-rate,
excise TYPE p DECIMALS 2,
l_excise TYPE p DECIMALS 2,
s_unit TYPE p DECIMALS 2,
m_unit TYPE p DECIMALS 2,
t_mcost TYPE p DECIMALS 2,
m_cost% TYPE p DECIMALS 2,
g_margin TYPE p DECIMALS 2,
g_marg% TYPE p DECIMALS 2,
new TYPE i,
new1(6) TYPE c,
s_period TYPE i,
END OF itab.
DATA : BEGIN OF itab3 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA : END OF itab3.
DATA : v_index TYPE sy-tabix.
DATA : cnt TYPE i.
DATA : v_currdate TYPE i.
DATA : w_container TYPE scrfname VALUE 'CL_GRID',
w_cprog TYPE lvc_s_layo,
g_repid LIKE sy-repid,
w_save TYPE c,
w_exit TYPE c,
cl_grid TYPE REF TO cl_gui_alv_grid,
cl_custom_container TYPE REF TO cl_gui_custom_container,
it_fld_catalog TYPE slis_t_fieldcat_alv,
wa_fld_catalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
layout TYPE slis_layout_alv,
col_pos LIKE sy-cucol ,
alvfc TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : vkbur FOR s501-vkbur.
SELECT-OPTIONS : matnr FOR s501-matnr.
SELECT-OPTIONS : sptag FOR s501-sptag.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM fill_catalog1 USING:
'SPTAG' 'ITAB' 'DATE',
'VKBUR' 'ITAB' 'Sales Office',
'BEZEI' 'ITAB' 'S.Off. Desc.',
'MATNR' 'ITAB' 'Material',
*'PRODH' 'ITAB' 'LEVEL',
'PRODH_TEXT' 'ITAB' 'Level I',
'PRODH2_TEXT' 'ITAB' 'Level II',
'PRODH3_TEXT' 'ITAB' 'Level III',
'WGBEZ' 'ITAB' 'Level IV',
'MTBEZ' 'ITAB' 'Material Type',
'NET_SQTY' 'ITAB' 'Net Sales Qty.',
'S_AMT' 'ITAB' 'Sales with Ex. Duty',
'EXCISE' 'ITAB' 'Excise Duty',
'RATE' 'ITAB' '% Excise Duty',
'L_EXCISE' 'ITAB' 'Sales less Ex. Duty',
'S_UNIT' 'ITAB' 'Sales / Unit',
'M_UNIT' 'ITAB' 'Mat / Unit',
'T_MCOST' 'ITAB' 'Total Material Cost',
'M_COST%' 'ITAB' '% Material Cost',
'G_MARGIN' 'ITAB' 'Gross Margin',
'G_MARG%' 'ITAB' '% Gross Margin',
'NEW1' 'ITAB' 'Month'.
SELECT DISTINCT asptag avkbur amatnr aprodh aummenge agumenge aumnetwr agunetwr cmtart cmatkl dbezei emtbez
INTO CORRESPONDING FIELDS OF TABLE itab
FROM s501 AS a
INNER JOIN mara AS c ON amatnr = cmatnr
INNER JOIN tvkbt AS d ON avkbur = dvkbur
INNER JOIN t134t AS e ON cmtart = emtart
WHERE a~matnr IN matnr
AND a~sptag IN sptag
AND a~vkbur IN vkbur
AND e~spras EQ 'EN'.
IF sy-subrc <> 0.
MESSAGE 'DATA NOT FOUND.' TYPE 'I'(001).
ENDIF.
SORT itab BY matnr.
LOOP AT itab .
cnt = v_index.
SELECT SINGLE peinh stprs lplpx FROM mbew INTO (itab-peinh, itab-stprs, itab-lplpx) WHERE matnr = itab-matnr.
itab-m_unit = itab-stprs - itab-lplpx / itab-peinh.
v_index = cnt + sy-dbcnt.
MODIFY itab INDEX v_index TRANSPORTING m_unit.
SELECT SINGLE j_1ichid FROM j_1imtchid INTO itab-j_1ichid WHERE matnr = itab-matnr.
MODIFY itab INDEX sy-tabix TRANSPORTING j_1ichid .
SELECT SINGLE rate FROM j_1iexctax INTO itab-rate WHERE j_1ichid = itab-j_1ichid AND j_1iexcind = '1' . "AND validfrom GE sptag-low AND validto LE sptag-high.
MODIFY itab INDEX sy-tabix TRANSPORTING rate .
SELECT SINGLE prdha FROM mara INTO (itab-prdha) WHERE matnr = itab-matnr .
MODIFY itab INDEX sy-tabix TRANSPORTING prdha .
SELECT SINGLE wgbez FROM t023t INTO itab-wgbez WHERE matkl = itab-matkl .
MODIFY itab INDEX sy-tabix TRANSPORTING wgbez .
ENDLOOP.
LOOP AT itab .
itab-net_sqty = itab-ummenge - itab-gumenge .
MODIFY itab INDEX sy-tabix TRANSPORTING net_sqty.
itab-s_amt = itab-umnetwr - itab-gunetwr .
MODIFY itab INDEX sy-tabix TRANSPORTING s_amt.
itab-excise = itab-s_amt * itab-rate / 100.
MODIFY itab INDEX sy-tabix TRANSPORTING excise.
itab-l_excise = itab-s_amt - itab-excise.
MODIFY itab INDEX sy-tabix TRANSPORTING l_excise.
IF itab-net_sqty NE '0'.
itab-s_unit = itab-l_excise / itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING s_unit.
ENDIF.
itab-t_mcost = itab-m_unit * itab-net_sqty.
MODIFY itab INDEX sy-tabix TRANSPORTING t_mcost.
itab-m_cost% = itab-t_mcost / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING m_cost%.
itab-g_margin = itab-l_excise - itab-t_mcost.
MODIFY itab INDEX sy-tabix TRANSPORTING g_margin.
itab-new = itab-sptag+4(2).
SELECT SINGLE ktx FROM t247 INTO itab-new1 WHERE mnr = itab-new AND spras EQ 'EN' .
CONCATENATE itab-new1 itab-sptag+2(2) INTO itab-new1 SEPARATED BY '-'.
itab-g_marg% = itab-g_margin / itab-s_amt * 100.
MODIFY itab INDEX sy-tabix TRANSPORTING g_marg% new1.
ENDLOOP.
LOOP AT itab.
SELECT SINGLE vtext INTO itab-prodh3_text FROM t179t WHERE prodh = itab-prdha.
itab-prdha2 = itab-prdha+0(5).
SELECT SINGLE vtext INTO itab-prodh_text FROM t179t WHERE prodh = itab-prdha2.
itab-prdha3 = itab-prdha+0(10).
SELECT SINGLE vtext INTO itab-prodh2_text FROM t179t WHERE prodh = itab-prdha3.
MODIFY itab INDEX sy-tabix TRANSPORTING prodh3_text prodh_text prodh2_text prdha3.
ENDLOOP.
layout-zebra = 'X' .
layout-colwidth_optimize(1) = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'Z_FI_GROSS_MARGIN'
is_layout = layout
it_fieldcat = it_fld_catalog
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form FILL_CATALOG1
text
-->P_FIELDNAME text
-->P_REF_TABLE text
-->P_SCRTEXT text
FORM fill_catalog1 USING p_fieldname TYPE any
p_ref_table TYPE any
p_scrtext TYPE any.
CLEAR : wa_fld_catalog.
wa_fld_catalog-fieldname = p_fieldname.
wa_fld_catalog-tabname = p_ref_table.
wa_fld_catalog-seltext_s = p_scrtext.
wa_fld_catalog-seltext_m = p_scrtext.
wa_fld_catalog-seltext_l = p_scrtext.
wa_fld_catalog-outputlen = 15.
APPEND wa_fld_catalog TO it_fld_catalog.
ENDFORM. " fill_catalog1
please let me know...Hi,
when i m using this query...
SELECT SINGLE rate FROM j_1iexctax INTO itab-rate WHERE j_1ichid = itab-j_1ichid AND j_1iexcind = '1' AND validfrom LE sptag-high AND validto GE sptag-low.
MODIFY itab INDEX sy-tabix TRANSPORTING rate .
it is picking the another value.....like... (picking BOLD VALUE), means 0.00
8538 10 10................0................28.02.2005................31.12.9999................0.0000
8538 10 10................1................01.03.2008................31.12.9999................14.0000
8538 10 10................1................28.02.2005................29.02.2008................16.0000
8538 10 10................1................01.01.2001................28.02.2005................16.0000
also Excise tax indicator, not reflect anything here....
Plz let me know...... -
Dear Guru's
Please find my query mentioned below.......
QUERY:
We are using Taxinn as a procedure
Scenario: Same vendor same material same plant
I want to create 2 Seperate PO
1) With Zero Excise duty
2) With 16 % Excise Duty
How to Solve this Query?
Waiting for immediate response
Regards
Shailesh
[email protected]Hi Shailesh,
First of all you create a tax code in FTXP for zero tax code say V0 then save it.Maintain this tax code to your company code in
IMG --> Logistic General --> Tax on goods movement --> India --> Basic settings --> Determination of excise duty --> Condition based excise determination --> Assign tax codes to company code
Then in FV11 maintain your tax condition with 0 value only.
Second question
Same manner you create another tax code say V1 with excise duty 16% and assign it to your company code.
Then in FV11 maintain tax rates with respective condition types used for excise duty and education cess.
This way you can maintain tax codes
Regards
Vivek
-- Reward for the effort -
Pricing : Discount on basic price and excise duty
Hi gurus,
I want to give a discount based on sum of basic price and excise duty. But Excise duty is captured only in tax.
In this case how to give the discount based on the sum of basic price and excise duty since excise duty is not in the pricing procedure.
Regards,
vimalHi,
Add Excise condition in pricing procedure in rquire step.
reward if helpful,
Regards,
Chetan. -
New Excise duty setup procedure
Dear To ALL
I required the Excise duty setup procedure to create the excise duty
the privous excise duty was 16.48% now it decrise to 14.48% in that one 14% ed 2% cess and 1% SHE cess with difftent taxes
How can i proceed can you help me out any one it is urgent
GopiMr. Gopi,
I belive only the excise duty has changed from 16% to 14%
Follow these steps:
1. In the Tax types ( administration choose the set up - Finanacials - Tax - tax types) choose the BED or the tax type which you have defined as the ED.
2. Click on attribute values. It will open the values for BED attributes window.
3. Double click on the particular ED. This will open valid period set up window. In thiis window you can change the rate from 16% to 14%
Please let me know if there is anything else
Nagesh -
Excise duty & Educational Cess required display mode no manual entry allow
We have automation program for creation of excise invoices for different customers. If I excute the program for the same system is allowing me to change / manual entry of excise duty, assessable value & ED Cess. Which is not required for our business rate and will be fixed, and I want to know where we can do the change for display mode.
Excise invoice no manual entry possible.
Regards,
Vijay SanguriHi,
Go to V/06
Select your excise or cess condition type, go to details
REMOVE TICK MARK OF AMOUNT / PERCENTAGE & VALUE
Then it will appear in display mode in order & also in invoice
Kapil
Maybe you are looking for
-
Clicking on an image in Firefox takes me to a page with text but no other images. The image appears on the main page, such as an image in facebook that takes you to a photo gallery, but when clicked on, the pop-up has text and, it seems, a frame for
-
Rejecting my admin password thats never been chang...
BT Home hub manager keeps interupting and saying they can't connect to broadband and I need to change the admin password. However I am still connected and apart from the manager have no problems. I decided to change the password to see if it stopped
-
How to revise form field value in query and skip validation
Hi all, I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a ne
-
Exception in database say pl/sql
Hi, How can we catch the exception which occurs in database where databse has been called by a java application? cheers
-
UNIX command to set permissions for a "public" partition?
I have a bunch of Core Duo (1.83) iMacs running 10.4.11. We have the drive partitioned so that students can save/store stuff locally for myriad reasons. With infrequent regularity, the read/write permissions on the partition get munged up and staff h