Wrong excise duty

Hi,
We had completed the utilization for previous month and on first day of next month we found that duties were captured wrong
Now we have cancel the Excise duties which were captured wrong but when we are canceling it  is hitting PLA account rather than Modvat account but why system here not hitting on the modavat account.
Regards

u have to maintain the JEC1 as 2% in FV11, as per ur query u specified it is 14%.Check.
regards,
BSK

Similar Messages

  • Wrong excise duty during miro

    sap gurus,
    our scenario is we capture excise invoice then migo(GR) then post excise invoice and then after that miro.
    In many cases we need to change excise duty in j1iex and then we post excise through j1iex. The changes that we do in excise duty should be reflected in miro coz in our case we do miro after j1iex(post). In few cases system is not reflecting correct excise invoice in miro. during miro system is picking excise as is in PO and not the one changed in ji1ex.
    And yes we always do miro after excise post(j1iex). Plz tell me the solution.

    In Miro,tax amounts will be calculated according to tax code so if you do changes in J1IEX then it wont' be reflected in invoice.
    For dealer vendor you need to tick MRP indicator in miscellaneous tab of excise invoice(J1IEX),enter excise base value,
    excise duties for capturing,refer it in migo & later post excise invoice.
    In MIRO change base amount without excise duties,select ed tax code,now you can see orginal excise duties captured in j1iex will be reflected in MIRO.
    Refer note 1104456 - Use of MRP indicator for capturing excise duties from dealer

  • Wrong Excise Duty amount in MIRO

    Hi Gurus,
    I have done MIGO , in which I have captured Excise Duties as BED - 35000.00, 2%ECS- 700.00, 1%S&H Cess - 350.00, but in MIRO it is showing as BED - 35000.00, 2%ECS- 35000.00, 1%S&H Cess - 350.00.
    My client is using TAXINJ, we have recently added two condition types as JEC1 for 2% & JAX2 for 1% and assigned to tax Code. In PO , I have maintained the tax rate in J1ID as 1421. In PO Invoice tab Condition Value is shown correctly against as BED (JMO1)- 100%, - 35000.00 , (JEC1) ECS-14% - 700.00 & (JAX2)S&H Cess-1%- 350.00 but in Amount column it shows as BED (JMO1)- 100%, (JEC1) ECS-14% & (JAX2) S&H Cess-1%.
    System is taking value as 35000.00 for 2%ECS instead of 700.00
    Pl. guide
    Thanks in advance
    Regards,
    Vikas

    u have to maintain the JEC1 as 2% in FV11, as per ur query u specified it is 14%.Check.
    regards,
    BSK

  • In import GRN - excise duty is wrongly updating..

    hi frnds..
    In import GRN - excise duty is wrongly updating.. How to resolve this...
    Regards
    Raghav.KH

    Hi,
    After Bill of Entry(MIRO), when u do MIGO, pop up will appear, where ur BOE number will reflect, make sure that u r putting year as 2009.
    Regards,
    Piyush

  • Debit memo excise duty calculation is wrong

    Hi,
    Basic excise duty is wrongly picked in to debit memo as explained below
    1) Depot sales order: creted for qty 1
       Basic excise duty 80
    2) delivery created:
    3)depot excise invoice creted: Adjusted depot stock aganist plant excise invoice 123 and basic excise duty is 100
    4) created depot invoice; CAPTURED BASIC EXCISE DUTY IS 100 which is correct (356 movement type assigned to basic ex duty in pricing procedure)
    Depot returns:
    1)returns sales order created with referance to depot invoice
       copied basic excise duty as 1000 (which is correct)
    2) cretaed credit memo request: Here basic excise duty is 80 wronly copied from depot sales order instead of 100
    Please provide the solution
    Regards,
    ramesh

    Dear Lakshimipathy,
    Thanks for your response
    The excise duty combination is same in both returns order and credit memo as mentioned below
    Variable key
    country
    plant
    control code
    valid from 2010/02/27   valid to 2010/02/27
    condition supplements
    Country         name                                amount        unit       delition  id
    JEXP     IN: A/R BED %     10.000      %     flaged 
    And in pricing procedur6e of the returns order is neccessay 356 alternative calculation type
    as i mentioned above valid date has been expired and marked for delition how system is determinng excise duty for retuns order. please suggest
    Best regards,
    ramesh

  • % 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....

  • Excise Duty wrongly capture in J1iex

    Hi Exports , I am doing STO from Manufacturing Plant to Packing Plant
    1) I created STO for 100 Qty 2) Delivery-qty 100 3) Jex- proforma invoice-qty-100-excise value Rs 100, 4) Excise invoice -J1iin- Qty-100 qty.- excise duty Rs 100
    But in MIGO I am doing 90 qty after that in excise capture Ji1ex- the excise duty value showing only 90 qty. Rs 80 it means the excise duty 2 time diduction. on remaing Qty.
    but if i did not change qty in MIGO it is working fine.

    The Note -1349626, SAP_APPL realase 604 and pakage is SAPKH60406
    But, My Client is Using ECC 6.0 and in that the pakage is SAP_APPL realase 604 and pakage is SAPKH60408,
    so i am unaible to use this SAP NOTE.

  • 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......

  • Wrong VAT amount in MIRO (Excise duty inclusive case)

    Hi All,
    I have created purchase order with excise duty as inclusive. I have captured the vendor excise invoice & posted  it. Upto this point all is working fine.
    When i am  going to do MIRO ,the vat amount is also showing correct ( calculated on Base price+ ED).
    But when i am changing the tax code ,the VAT is calculated on Base price only.
    It is not considering the amount of Excise duty posted .
    Besides excise duty inclusive case ,when we are changing the tax code in  MIRO where certain percentage for the conditions is maintained like (821+vat 5%) ,VAT amount is correct.Only problem is with the excise duty inclusive cae.
    All the configuration & transaction data is properly maintained .
    Please guide ,
    Regards,
    SAP MM INDIA

    Create a seperate tax code for dealer with ed + vat combination,
    here maintain tax rates for excise condition types as zero.
    Maintain that tax code in p.o.Do GR as suggested in sap note
    See Note 1104456 - Use of MRP indicator for capturing excise duties from dealer for more information.
    In MIRO,Enter base amount removing excise duty values,select tax code only in header.
    Reply given by p.singh is also very important point to note regarding VAT condition type.

  • Excise Duty In Service Documents

    Hello,
    In India, Excise Duty is levied on certain items. In SAP Business One we can define separate tax codes - for excise - and these are selectable only when the item and warehouse is excisable.
    But while creating Service Type Documents - it allows to select any type of tax code. Excise tax codes also. This creates a problem, in case a user selects an excise tax code for a service type document, let us say, Goods Receipt PO, they can not process it further.
    The GRPO will get added without any problem. But an Incoming Excise Invoice cannot be created. It shows error that services cannot be excised.
    An AP Invoice / Goods Return cannot be created either, because they require an Incoming Excise Invoice.
    Otherwise also, since services cannot be excised, so when the document type is service, it should not show Excise Tax Codes. This is something which should be looked into. Such things allow novice users to create wrong documents and get stucked unnecessarily.
    Regards,
    Rahul Jain

    Hello Rahul,
    You are right. But that is not the ideal way. I can in fact filter out the tax codes - by applying a filter on the respective CFL. And I have done that. But this is not the ideal solution.
    Regards,
    Rahul Jain

  • Excise duty account is not nullifying.

    Hi,
    gurus,
    Urgent issue.
    In billing  Excise duty is going to a clearing recovery account and then during excise invoice creation its nullifying the clearing account and going to excise duty payable account.
    but if we go to individual g/l account of excise duty recovered account it is not nullifying here.
    pls suggest me if i am wrong ..
    if further any conf. is to be done if so pls tell me..
    Thanks & Regards,
    Satish kumar.m

    Dear All,
    in the flow of billing system is showing correct flow  ie.,
    in accounting 2 doc were created
    1)
    Customer A/c Dr
    To Sales
    To ED Recovery Ac
    To CST payable
    2) entry (in excise )
    ED Recovery A/c Dr
    To,
    H&S A/c
    To,
    E.Cess A/c
    but my question is if we see individual entry in ED Recovery Account i am getting cr side more than dr.side
    ie., it is not nullifying the entry.
    my doubt is if we have to make any cof. if so pls tell me ..
    Thanks & Regards,
    Satish Kumar.M

  • Excise Duty values getting inventoriesed in MIGO but reversed in MIRO

    Dear Experts,
    I am using Taxinn procedure and while creating the PO the excise duty values are calculated properly but when I am posting the MIGO the stock value is posted along with the Excise duties. The excise invoice is captured & posted in MIGO itself and the values are posted correctly.
    While posting the MIRO the excess amount is posted at the time of MIGO is posted back to the material. How do i fix this??
    thanks in advance
    Suresh

    Hi Jayakantan/Ashok
    thanks for the replies
    I am using Taxinn procedure and the conditions are flowing from that procedure. In the purchase order i am giving the condition types only for basic price and freight.
    As far as i know, the account key determines whether the condition type is cenvatable or to be inventorised. If i give the account key as NVV the values get inventorised. If i give the other account keys and assign the gl accounts to that account key that value will be posted to that gl account and not inventorised. Correct me if i am wrong or is there any other settings which will define so.
    I have done the following settings as well for the condition types
    spro>log gnrl>tax on goods mvmt>india>basic settings>maintain cond typs>classify cond types
    and one more similar setting in the same path.
    do i need to do anything further?
    Suresh

  • Excise duty @10% not displaying in printpreview----SAP INVOICE

    Dear experts,
    Here in Sap invoice Excise duty @10% is not displaying in the printpreview. I tried debugging in Report program, but couldn't able to find the solution. so please give me the solution with step by step, Because am new to this one.
    Thanks & regards,
    selvakumar.

    Hi ravi,
       Yes ofcourse am using smartform, Here in billing document(invoice) printpreview. there are some excise columns like edu cess,vat and all. The same ''excise duty @10%'' and the value of the excise duty also not displaying in the billing document printpreview.....I have debugged smartform nothing wrong with smartform. So there amy be some problem with the abap editor.
    I have the conditions like Wa_final-exp ne intial
                                             Wa_final-fkart ne 'yrmf'
                                              Wa_final-fkart ne 'yctf''.
    please let me know what is the problem in it.
    Thanks & regards,
    selva....................

  • Manual Excise duty with fixed amount in Sales order

    Dear Sir/Madam.,
    This is regarding manual excise duty with fixed amount in SD Module . I
    have created three conditon type ZEXP,ZECS,ZA1X for BED ,CESS and HSED for manual excise duty with fixed amount, other than the standard condition type JEXP,JECS,JA1X , because  my TRADING SALE scenario needs both condition type with fixed percentage and fixed amount conditions also.  After the pricing procedure updation for trading sale, I have tried to create the sale invoice with VF01 , it is ok till  the VF01 for manual excise duty but when ever I tried to excise posting with J1IIN. the manual excise duty show only zero, whiile we used the  standard Condition type JEXP, JECS, AND JA1X with fixed percentage  8% -2% -1%  our over all steps are ok till J1IIN for excise invoice, mean BED ,CESS and HSED shown correctly.
    I have done some experiment with the TAXINN tax procedure in (Logistics general > tax on good movments> india> basic settting>determination of excise duty> Maintain excise default), I have replaced the condition types  JEXP, JECS and JA1X with the ZEXP, ZECS and  ZA1X in the corresponding filed. then after my manual excise duty with fixed amount data  was reflecting
    in the J1IIN and it start to work properly with the excise duty but my fixed percentage condition type stop to working mean, it was now showing the duty at the time of  excise duty posting J1IIN .
    I want to use both the condition types in the same TRADING SALE scenario. May anybody help me to solve this issue.
    With Regard
    Vijay Kumar

    Dear Mr. Siva,
    Sorry for the late reply, actually I was out of touch from this issue for few days. I am sending you the detail about my configuration----
    I have assigned this condition type as following ... 
    TAXINN     ZA1X     A/R AT1 Quantity based
    TAXINN     ZECS     A/R Cess Quantity Based
    TAXINN     ZEXP     A/R BED Quantity based
    Condition type information
         Control data 1
    Cond. class       D  Taxes
    Calculat.type     Q  Commodity
    Cond.category  D  Tax
    Rounding rule         Commercia
    StrucCond.
         Change which can be made---
    Manual entries      C       Manual entry has priority
    Still it is not showing the duty at the time of (J1IIN)
    It may be I am missing some configuration or wrong configuration.
    give me some hints...
    thank you
    Vijay

  • Basic excise duty calculated in duty free deemed export

    Hi Experts,
    We are facing an issue where system calculates basic excise duty in case of deemed export(duty free) . In some invoices it calculates basic excise duty though it should not calculate as it is duty free.
    Our scenario is like this:-
    At sales order  in deemed export we take alternative tax classification as "7"( Header level - Billing tab). Due to this my JMOD value becomes Zero which is ok. Another condition type is JEX2 which is 100% of JMOD.
    Now while creating invoice at VF01, value of JMOD AND JEX2 are Zero which is absolutely OK. But at the time of release to accounting system update 12% value in JEX2 only which flows to G/L.
    Example:-
    This case is ok.
    Condition type                                      Price
    PR00                                                  100
    UTXJ(100% Of PR00)                           100
    JMOD                                                 0
    JEX2(100% OF JMOD)                         0
    Wrong duty calulation
    Condition type                                      Price
    PR00                                                  100
    UTXJ(100% Of PR00)                           100
    JMOD                                                 0
    JEX2(100% OF JMOD)                         12
    In our most case this work fine means if JMOD is 0 then JEX2 is also 0, But in some invoices system calculate or update JEX2 with 12% value after release to account which is not at all required.
    We have checked all the customization setting which are ok.
    Please advise why system is behaving this way only in case of some invoices.
    Your efforts will be highly appreciable.
    Regards,
    Dharminder

    Dear Experts,
    If anyone face this issue please give your valuable inputs. I will highly appreciates if got some advise or suggestion on the  issue in J1IIN
    We have done the debug at our end and following is the observation
    The name of the include is - MJ1IINF01
    The variable that needs to be watched is - CUST_TYP
    The perform called during the execution is DETERMINE_INVOICE_TYPE
    1) Export first and deemed next
    When we first create invoice for export the variable CUST_TYP is set to
    “F” and the invoice is created as per expected with correct duties.
    After this if we create a deemed invoice without exiting the screen the
    invoice type under “UTILIZATION”, include keeps CUST_TYP as “F” and
    do
    not change it to “L”. Hence it remains export. Which is the cause of
    problem we are facing at present..
    But in next case it changes CUST_TYP properly as explained below.
    2) Deemed first and Export next
    When we first create invoice for deemed the variable CUST_TYP is set to
    “L” and the invoice is created as per expected with correct duties.
    After this if we create a export invoice without exiting the screen the
    invoice type under “UTILIZATION” include changes CUST_TYP as “F” and
    hence we get desired effect.
    Our analysis shows that the include is not able to change variable
    CUST_TYP to “L” from “F” in first case. But in second case it is
    correctly changes to “F” from “L”.
    Please advise.
    Regards,
    Dharminder

Maybe you are looking for

  • How to pass multiple values while invoking bpel process from ADF?

    Hi, I want to call a bpel process from my ADF application. The bpel process is having one input parameter. I have created webservice data control by using WSDL url. Lets say, I have an Emp multi select table. I drag and drop the data control into Emp

  • Substitution variable in Essbase Studio

    Hello, Does anyone know if it's possible to use Substitution variables inside a custom SQL in Essbase Studio ? When I try to use, I got an error message ( ORA-01008: not all variables bound ). I'd like to make the SQL generated by Studio dynamic in o

  • Need help in design scenario

    Hi experts, I have a scenario in which XI put an xml file in a destination server (very simple scenario, SAP>Proxy>File receiver CC). The new request is: to make a call to SAP after having put file in destination. In this call I have to write to SAP

  • Can't see streaming video

    I've been trying unsuccessfully to see streaming video from http://www.liveduvalstreet.com. It was fine for years, then stopped. Flip4mac doesnt help, nor does Windows Media Player 9. Movie trailers (from the Apple website) work fine. Any suggestions

  • RV042 V3 with 4.0.0.07-tm firmware

    I used the Firmware Rescue Utility to get 4.0.0.07-tm onto this V3 RV042. Now I want to upgrade to the latest: 4.2.3.03 I've downloaded the latest as above and I'm using the http GUI to do the upgrade. I browse to the file and click on Upgrade, as us