Trader's invoice

Dear all,
Wn hen doing Trader's invoice in MIRO I am not able to capture GR changed Excise values as per Trader Bill. I am giving the tax code in miro as per po and also selected MRP Indicator in Excise tab and also have generated a tax code with 0 values and tax as applicable. Also I have changed Base value as per trader's invoice but still i am not able to capture GR values in MIRO.
Pls suggest how to bring the MIGO captured values in MIRO for Trader Invoice.
Thanks in advance.
Manoj

what values u r getting in miro?? is the po has checked with gr based iv?

Similar Messages

  • Foreign trade error Urgent!!!

    I have a Canceled Invoice that we are trying to post to accounting but it's not posting to accounting it's giving this error msg......
    _Foreign trade data incomplete?_ i cannot make the changes in the...mode of transport and Domestic mode transport since this fields are grayed out?
    What should i do for the invoice to post? where can i enter the missing data? since we can only make this changes in an invoice... text, Acct Assignt grp, Pricing cond, and output type.
    And is there anyway we can delete a canceled invoice document? and whats the procedure for it?

    HI Ann,
    I have a very similar problem. the only difference may be that the delivery in my invoice has been deleted already, therefore the reference document can no longer be found. check in the foreign trade header (organization sub-tab) if the reference document is missing its entry. if this is missing, then the problem lies in the EIKP table not being updated for the foreign trade. the invoices get its information for foreign trade from the deliveries so in my case, since the delivery was already deleted, there is no way we can update this. it has become a nuisance data, yes.
    however, if your delivery is still existing, then please read this OSS note :
    908748. It may be of some help to you. The contents are pasted here.
    Symptom
    A cancellation document cannot be transferred to accounting because the system has issued error message VF 072:
    'Document 90001234 has been saved (foreign trade data incomplete)'.
    However, the underlying business process concerns domestic business and the invoice to be cancelled does not contain any foreign trade data.
    Other terms
    VF02, VF11, VF072, cancellation, EXNUM, incompleteness, export data
    Reason and Prerequisites
    Prerequisites:
    This is a partial cancellation document.
    When you create the cancellation document, you inadvertently branch to the foreign trade data and choose 'Set'.
    Reason:
    When you choose 'Set' in the foreign trade data, the system assigns an export number, which then results in an incomplete document because the other export data is missing.
    Solution
    Implement the attached correction.
    There is no provision to take account of a cancellation scenario in which foreign trade data can be entered or changed.
    This correction deactivates the ready for input status of the 'Set' button in order to prevent the system from inadvertently assigning an export number.
    In this context, refer also to Note 354222.

  • Exnum and foreign trade

    dear experts,
    In Inbound Delivery document transaction screen, I can find the foreign trade / customs > invoice accomp. goods.> invoice number.
    This field is stored in EIPO table.
    I cannot find a transaction code for  foreign trade that shows invoice number and EXNUM. I am trying to display data from EIPO but the key is Exnum. I have the invoice number for the what I think is the pro forma invoice number in Inbound Delivery but does not have the key value for EXNUM. I think its a system generated number. So, how to read EIPO efficiently if this EXNUM is not known?
    What is Exnum?
    regards
    Bass

    EIKP is the header table to EIPO table which has the items.
    Field EIKP-REFNR has the delivery number, LIKP-LIFNR
    you can find this info as well in transaction VF03 at foreign trade view in tab  organization

  • MappingInfoNotFoundException with one-many mapping to horizontal PC subclass

    Hi,
    I have a nasty niggling problem with a one-many mapping where the many
    side is a horizontally-mapped persistent subclass:
    kodo.util.FatalUserException: kodo.jdbc.meta.MappingInfoNotFoundException:
    The reference mappings for one-to-many field "Invoice.openTrades" are not
    in the table of the field's related persistent element
    type.[Invoice.openTrades [kodo.jdbc.meta.OneToManyFieldMapping]]
         at
    kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4363)...
    NestedThrowablesStackTrace:
    kodo.jdbc.meta.MappingInfoNotFoundException: The reference mappings for
    one-to-many field "Invoice.openTrades" are not in the table of the field's
    related persistent element type.[Invoice.openTrades
    [kodo.jdbc.meta.OneToManyFieldMapping]]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:134)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:120)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:94)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198)
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971)
         at
    kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934)
         at
    kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654)
         at
    kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796)
         at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
         at
    kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375)
         at kodo.runtime.AttachManager.makePersistent(AttachManager.java:410)
         at kodo.runtime.AttachManager.attach(AttachManager.java:279)
         at kodo.runtime.AttachManager.attach(AttachManager.java:56)
         at
    kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4349)
    I have another one-many mapping on the "one" class which is fine and is
    almost identical to the invalid mapping - it joins on the same
    columns/foreign key. The only real difference is that my invalid "many"
    side is a horizontally mapped subclass (parent class mapped to different
    table). When I took that class out of its hierarchy and mapped it as base,
    it works. I don't know why Kodo is saying the mapping for the join is not
    found, as the "many" side has an invoice field mapped as one-one. The
    superclass does not have a relation to invoice mapped. A slight
    complication is that Invoice itself has a persistent superclass persisted
    in the same table, but nothing refers to that so I don't think it is
    relevant.
    Class diagram is roughly like this:
    BaseTrade
    |
    Invoice 1-* Trade
    BaseReceipt
    |
    Invoice 1-* Receipt
    Invoice mapped to Invoice table; Trade mapped to Trade table but its
    superclass mapped to diff BaseTrade table; Receipt and its superclass
    BaseReceipt mapped to Receipt table.
    I saw an earlier posting on the same exception that mentioned "collection
    element-type" - mine is specified as "Trade", ie the subclass.
    Is there any reason why this should not work?
    I can provide you with .jdo and .mapping files if necessary.
    Many thanks,
    Alex

    Alex-
    Can you post your mapping? I just ran a test with a one-many relation to
    a subclass of a horizontally mapped class, and it worked fine.
    FYI, the example mapping I was using was:
    <?xml version="1.0" encoding="UTF-8"?>
    <mapping>
    <package name="horizmany">
    <class name="HorizManyOwner">
    <jdbc-class-map type="base" pk-column="JDOID"
    table="BUG1174OWNER"/>
    <jdbc-version-ind type="version-number"
    column="JDOVERSION"/>
    <jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
    <field name="relation">
    <jdbc-field-map type="one-many"
    ref-column.JDOID="OWNER_JDOID" table="BUG1174RELATIONSUB"/>
    </field>
    </class>
    <class name="HorizManyRelationSub">
    <jdbc-class-map type="base" pk-column="JDOID"
    table="BUG1174RELATIONSUB"/>
    <jdbc-version-ind type="version-number"
    column="JDOVERSION"/>
    <jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
    <field name="horizmany.HorizManyRelationSuper.superString">
    <jdbc-field-map type="value" column="SUPERSTRING"/>
    </field>
    <field name="owner">
    <jdbc-field-map type="one-one"
    column.JDOID="OWNER_JDOID"/>
    </field>
    <field name="subString">
    <jdbc-field-map type="value" column="SUBSTRING0"/>
    </field>
    </class>
    <class name="HorizManyRelationSuper">
    <jdbc-class-map type="horizontal"/>
    </class>
    </package>
    </mapping>
    In article <[email protected]>, Alex Robbins wrote:
    Hi,
    I have a nasty niggling problem with a one-many mapping where the many
    side is a horizontally-mapped persistent subclass:
    kodo.util.FatalUserException: kodo.jdbc.meta.MappingInfoNotFoundException:
    The reference mappings for one-to-many field "Invoice.openTrades" are not
    in the table of the field's related persistent element
    type.[Invoice.openTrades [kodo.jdbc.meta.OneToManyFieldMapping]]
         at
    kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4363)...
    NestedThrowablesStackTrace:
    kodo.jdbc.meta.MappingInfoNotFoundException: The reference mappings for
    one-to-many field "Invoice.openTrades" are not in the table of the field's
    related persistent element type.[Invoice.openTrades
    [kodo.jdbc.meta.OneToManyFieldMapping]]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:134)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:120)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:94)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198)
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971)
         at
    kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934)
         at
    kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654)
         at
    kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796)
         at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
         at
    kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375)
         at kodo.runtime.AttachManager.makePersistent(AttachManager.java:410)
         at kodo.runtime.AttachManager.attach(AttachManager.java:279)
         at kodo.runtime.AttachManager.attach(AttachManager.java:56)
         at
    kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4349)
    I have another one-many mapping on the "one" class which is fine and is
    almost identical to the invalid mapping - it joins on the same
    columns/foreign key. The only real difference is that my invalid "many"
    side is a horizontally mapped subclass (parent class mapped to different
    table). When I took that class out of its hierarchy and mapped it as base,
    it works. I don't know why Kodo is saying the mapping for the join is not
    found, as the "many" side has an invoice field mapped as one-one. The
    superclass does not have a relation to invoice mapped. A slight
    complication is that Invoice itself has a persistent superclass persisted
    in the same table, but nothing refers to that so I don't think it is
    relevant.
    Class diagram is roughly like this:
    BaseTrade
    |
    Invoice 1-* Trade
    BaseReceipt
    |
    Invoice 1-* Receipt
    Invoice mapped to Invoice table; Trade mapped to Trade table but its
    superclass mapped to diff BaseTrade table; Receipt and its superclass
    BaseReceipt mapped to Receipt table.
    I saw an earlier posting on the same exception that mentioned "collection
    element-type" - mine is specified as "Trade", ie the subclass.
    Is there any reason why this should not work?
    I can provide you with .jdo and .mapping files if necessary.
    Many thanks,
    Alex
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Summarization and Optimization

    Hi Gurus,
    Please help me to find way of optimizing my program and extract data...i have to extract data coming from VBRK and KONV which having a large number of data so even i use SA38 to schedule and execute my program in background it doesnt work or continue and my job always cancelled....now i filter it out and divide it into monthly and come up of summing up the value according to condition type to lessen the space and data volume but my codes doesnt work in summing up those value so i ask for some codes or tips to sum-up please...im using also ALV format...i used also COLLECT and MODIFY ITAB TRANSPORTING KWERT but it doesnt work out..help me plz guys
    Thanks,
    nips

    Hi,
    Here's my code:
    *& Report  ZSALES_BY_SALESGRP
    REPORT  ZSALES_BY_SALESGRP no standard page heading.
    type-pools: slis.
    tables: vbrk,
            konv,
            knvv,
            vbrp.
    types: begin of t_doc,
              fkart like vbrk-fkart,
              knumv like vbrk-knumv,
              rfbsk like vbrk-rfbsk,
              VKGRP like knvv-VKGRP,
           end of t_doc,
           begin of t_con,
              kschl like konv-kschl,
              sakn1 like konv-sakn1,
              kwert like konv-kwert,
           end of t_con,
           begin of t_itab,
              rfbsk like vbrk-rfbsk,
              fkart like vbrk-fkart,
              VKGRP like knvv-VKGRP,
              kschl like konv-kschl,
              sakn1 like konv-sakn1,
              kwert like konv-kwert,
              gross like konv-kwert,
              rud like konv-kwert,
              tradeinv like konv-kwert,
              trdiscret like konv-kwert,
              tr_ret like konv-kwert,
              frgoods like konv-kwert,
              sp_invoice like konv-kwert,
              sp_discret like konv-kwert,
              cm_disc_dist like konv-kwert,
              cm_discmark like konv-kwert,
              cmex_dist like konv-kwert,
              cmex_mark like konv-kwert,
              cm_tax like konv-kwert,
           end of t_itab.
    data: doc type standard table of t_doc,
          wa_doc like line of doc,
          con type standard table of t_con,
          wa_con like line of con,
          itab type standard table of t_itab with header line,
          list type slis_fieldcat_alv,
          t_list type slis_t_fieldcat_alv,
          sort_field type slis_sortinfo_alv,
          sort_t_field type slis_t_sortinfo_alv,
          mess1(30).
    selection-screen begin of block blk1 with frame title title1.
        select-options: VKGRP for knvv-VKGRP.
    selection-screen end of block blk1.
    selection-screen begin of block blk2 with frame title title2.
        select-options: fkdat for vbrk-fkdat obligatory default '20070901' to '20070930',
                        erdat for vbrk-erdat.
    selection-screen end of block blk2.
    perform get_and_display.
    initialization.
    title1 = 'Make an Entry'.
    title2 = 'Date Selection'.
    list-fieldname = 'VKGRP'.
    list-just = 'C'.
    list-seltext_l = 'Sales Group'.
    append list to t_list.
    list-fieldname = 'FKART'.
    list-just = 'C'.
    list-seltext_l = 'Billing Type'.
    append list to t_list.
    list-fieldname = 'KSCHL'.
    list-just = 'C'.
    list-seltext_l = 'Condition Type'.
    append list to t_list.
    list-fieldname = 'SAKN1'.
    list-seltext_l = 'GL Account'.
    append list to t_list.
    list-fieldname = 'KWERT'.
    list-seltext_l = 'Condition Value'.
    list-do_sum    = 'X'.
    list-outputlen = 20.
    append list to t_list.
    list-fieldname = 'GROSS'.
    list-seltext_l = 'Gross Sales'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'RUD'.
    list-seltext_l = 'RUD'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'TR_RET'.
    list-seltext_l = 'Trade Returns'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'FRGOODS'.
    list-seltext_l = 'Free Goods'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'TRADEINV'.
    list-seltext_l = 'Trade Disc Invoice'.
    list-just = 'C'.
    list-outputlen = 20.
    append list to t_list.
    list-fieldname = 'TRDISCRET'.
    list-seltext_l = 'Trade Disc Returns'.
    list-just = 'C'.
    list-outputlen = 20.
    append list to t_list.
    list-fieldname = 'SP_INVOICE'.
    list-seltext_l = 'Special Disc Invoice'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'SP_DISCRET'.
    list-seltext_l = 'Special Disc Returns'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'CM_DISC_DIST'.
    list-seltext_l = 'CM Disc Dist'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'CM_DISCMARK'.
    list-seltext_l = 'CM Disc Mktg'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'CMEX_DIST'.
    list-seltext_l = 'CM Exp Dist'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'CMEX_MARK'.
    list-seltext_l = 'CM Exp Mktg'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    list-fieldname = 'CM_TAX'.
    list-seltext_l = 'CM Tax'.
    list-just = 'C'.
    list-outputlen = 18.
    append list to t_list.
    *CLEAR sort_field.
    sort_field-fieldname = 'KSCHL'.
    sort_field-spos      = 1.
    sort_field-up        = 'X'.
    sort_field-subtot    = 'X'.
    APPEND sort_field TO sort_t_field.
    form get_and_display.
    select afkart aknumv arfbsk bVKGRP from vbrk as a
           inner join knvv as b on akunag = bkunnr into table doc
           where rfbsk = 'C'
           and a~fkdat in fkdat
           and a~erdat in erdat
           and a~fkart in ('ZUF2','ZUIN','ZUVF','ZUS2','ZC23','ZC24','ZC26','ZUL2','ZUG2')
           and b~VKGRP in VKGRP.
    if sy-subrc = 0.
    select kschl sakn1 kwert from konv into table con
           for all entries in doc
           where knumv = doc-knumv
           and kinak = ' '
           and kschl in ('ZU01','R100','ZC25','ZDTR','ZDTL','ZDTP','ZDDA','ZRET','ZD06','ZDMI','ZDNP','ZDNE','ZDTD',
                         'ZC20','ZC01','ZC02','ZC03','ZC04','ZC05','ZC06','ZC07','ZC10','ZC14','ZC18','ZM09','ZC19',
                         'ZC27').
    endif.
    loop at doc into wa_doc.
        loop at con into wa_con.
        sort itab ascending by fkart kschl.
       delete adjacent duplicates from itab comparing fkart kschl.
          move:   wa_doc-vkgrp to itab-vkgrp,
                  wa_doc-fkart to itab-fkart,
                  wa_doc-rfbsk to itab-rfbsk,
                  wa_con-kschl to itab-kschl,
                  wa_con-sakn1 to itab-sakn1,
               <b>   wa_con-kwert to itab-kwert.</b>      " <<----
    I have to sum-up this
          append itab.
        endloop.
    endloop.
    if sy-subrc = 0.
           loop at itab.
                if ( ( itab-fkart = 'ZUF2' or itab-fkart = 'ZUIN' or itab-fkart = 'ZUVF' or itab-fkart = 'ZUS2' ) )
                   and itab-kschl = 'ZU01' and itab-sakn1 <> ' '.
                   move: itab-kwert to itab-gross.
                   modify itab.
                elseif itab-kschl = 'ZU01' and itab-fkart = 'ZUS2' and itab-sakn1 = ' '.
                   move: itab-kwert to itab-rud.
                   modify itab.
                elseif itab-kschl = 'ZU01' and ( ( itab-fkart = 'ZURE' or itab-fkart = 'ZUS2'
                           or itab-fkart = 'ZC23' or itab-fkart = 'ZC24' or itab-fkart = 'ZC26' ) ) and itab-sakn1 = ' '.
                   move: itab-kwert to itab-tr_ret.
                   modify itab.
                elseif ( ( itab-fkart = 'ZUF2' or itab-fkart = 'ZUG2' or itab-fkart = 'ZUL2'
                           or itab-fkart = 'ZURE' or itab-fkart = 'ZUVF') )
                           and ( ( itab-kschl = 'R100' or itab-kschl = 'ZC25' ) ) and itab-sakn1 <> ' '.
                   move: itab-kwert to itab-frgoods.
                   modify itab.
                elseif ( ( itab-fkart = 'ZUF2' or itab-fkart = 'ZUIN' or itab-fkart = 'ZUVF' ) )
                   and ( ( itab-kschl = 'ZDTR' or itab-kschl = 'ZDTL' or itab-kschl = 'ZDTP'
                           or itab-kschl = 'ZM01' or itab-kschl = 'ZDDA' ) ).
                   move: itab-kwert to itab-tradeinv.
                   modify itab.
                elseif ( ( itab-fkart = 'ZURE' or itab-fkart = 'ZUS2' ) )
                   and ( ( itab-kschl = 'ZDTR' or itab-kschl = 'ZDTL' or itab-kschl = 'ZDTP' or itab-kschl = 'ZDDA'
                           or itab-kschl = 'ZRET' ) ).
                   move: itab-kwert to itab-trdiscret.
                   modify itab.
                elseif ( ( itab-fkart = 'ZUF2' or itab-fkart = 'ZUIN'
                           or itab-fkart = 'ZUVF' or itab-fkart <> 'ZURE' or itab-fkart <> 'ZUS2' ) )
                   and ( ( itab-kschl = 'ZD06' or itab-kschl = 'ZDMI' or itab-kschl = 'ZDNP'
                           or itab-kschl = 'ZDNE' or itab-kschl = 'ZDTD') ).
                   move: itab-kwert to itab-sp_invoice.
                   modify itab.
                elseif ( ( itab-fkart = 'ZURE' or itab-fkart = 'ZUS2' ) )
                   and ( ( itab-kschl = 'ZD06' or itab-kschl = 'ZDMI' or itab-kschl = 'ZDNP'
                           or itab-kschl = 'ZDNE' or itab-kschl = 'ZDTD' ) ).
                   move: itab-kwert to itab-sp_discret.
                   modify itab.
                elseif itab-kschl = 'ZC20' or itab-kschl = 'ZC01' or itab-kschl = 'ZC02' or itab-kschl = 'ZC05'
                       or itab-kschl = 'ZC06' or itab-kschl = 'ZC07'.
                   move: itab-kwert to itab-cm_disc_dist.
                   modify itab.
                elseif itab-kschl = 'ZC27' OR itab-kschl = 'ZC19' or itab-kschl = 'ZM09'.
                   move: itab-kwert to itab-cm_discmark.
                   modify itab.
                elseif ( ( itab-fkart = 'ZUG2' or itab-fkart = 'ZUL2' ) )
                   and ( ( itab-kschl = 'ZC01' or itab-kschl = 'ZC02' or itab-kschl = 'ZC18' or itab-kschl = 'ZC10'
                   or itab-kschl = 'ZC11' ) ).
                   move: itab-kwert to itab-cmex_dist.
                   modify itab.
                elseif ( ( itab-fkart = 'ZUG2' or itab-fkart = 'ZUS2' ) )
                   and ( ( itab-kschl = 'ZC09' or itab-kschl = 'ZC14' ) ).
                   move: itab-kwert to itab-cmex_mark.
                   modify itab.
                elseif itab-kschl = 'ZC03' or itab-kschl = 'ZC04'.
                   move: itab-kwert to itab-cm_tax.
                   modify itab.
                endif.
           endloop.
    endif.
    call function 'REUSE_ALV_LIST_DISPLAY'
      exporting
        it_fieldcat  =  t_list
       it_sort      =  sort_t_field
      tables
        t_outtab     = itab.
    endform.
    Thanks,
    nips

  • Cancelled invoice not transfered to accountding due to Forign trade data is

    HI,
    We have problem with Cancelled invoice number.
    Scenerio is like below.
    We have already created the invoice number from the Delivery ( consignmnet Delivery)
    User by mistake cancelled the invoice and also cancelled the respective Delivey  number.
    Now the issue is in cancelled invoice missing data is showing as error 'Missing export data' due to this this information is not posted to accounting.
    Now user can not able to open the cancelled invoice in change mode this is due reference Delivery is already cancelled.
    Please suggest me how to resolve this issue.
    Thanks & Regards,
    MK.

    Hi MK
    In Standard it is not possible to do any changes in the cancelled invoice.When you create invoice again then you can manually enter the foreign trade data.But make sure that  foreign trade data is also maintained.,so that you should not face any error while creating billing document
    Regards
    Srinath

  • Invoice split due to mismatch in Foreign trade data

    Hi all,
    While creating a Commercial invoice for Exports with ref to Around 20 Deliveries , the Invoice is getting Split into Two parts, First one consisting of details from 19 deliveries and second consisting of 1 delivery.
    On analysing the Split Analysis , i found that foreign trade data of the two cases differ.
    I checked up in the Master Data (Foreign trade data) as well as Copy control(delivery to billing) which i found to be correct.
    Can anyone please let me know if there is any other reason that this foreign trade data is coming different for this delivery while processing for invoicing.
    Anticipating your replies in this regard,
    Ujjwal

    Hi,
    You can check with as Lakshmipathi suggested, also please check with the Commodity Code, country of origin for the delivery which is getting split, check with the log for foreign trade data at Header and Item level in the delivery.
    One possible reason can be different master data.
    Regards,
    Harsh

  • Invoice and foreing trade

    Hi,
    Create billing document (2 delivery- need 1 invoice)
    split analy.: Split due to differing header data: Number of foreign trade (EIKP-EXNUM)
    how we can create 1 invoice?
    thanks.

    Hi ,
    The field EIKP- EXNUM  
    No. for Foreign Trade data in SD and MM ( This is a internal No for export Data).
    Is different at header level in the two deliveries u want to combine so ur invoice is getting split .
    Because For invoice split rule u have maintained this field also.
    In requirement u might have coded if EIKP-EXNUM for both the delivery is not same don't combine the two deliveries in One invoice .
    As the requirement is not matching u r getting two different Invoice .
    Hope this clarifies . Please ask ABAPER to tell u the criteria define for Invoice split .
    Generally we check only Bill to party , Payment term and Inco terms at both header and item level for Combining the deliveries in one invoice .
    May be some Business specific requirement

  • Foreign Trade Declarations Step 5 - AP Invoices aren't reported

    Hi Experts,
    I hope you're all well.  I'm hoping you can help me with an Intrastat issue I have please.
    I have noticed that AP Invoice transactions only appear in Step 6 of the Foreign Trade Declarations report if I populated AP Invoice VAT Code with VAT Code E2 which is defined as Input Tax and the EU box is ticked. 
    If I create an AP Invoice with the VAT code I1 then the transaction doesn't appear on Step 6 of the Foreign Trade Declarations report.  VAT Code I1 is set up as Input Tax but the EU box is not ticked for this VAT code.
    Is this correct SAP behaviour please or am I doing something wrong?
    Many thanks for any information.
    Caroline

    Hi,
    Check the Tolerance days in the payment run defaults. Take the days as zero and run the payment wizard.
    In 2005 version available under following path :
    Banking Module > Payment Wizard > Payment Run Default > Tolerance days.
    In 2007 version :
    Administration > Setup > Banking > Payment Run Defaults.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Foreign trade data defaulting to manually processed invoices.

    Hello Experts,
    How to default foreign trade data to manually processing invoices?
    Presently it is being manuallay processed and we need to default this data automatially on Invoice.
    Regards,
    Preeti

    We have maintained all the necessary setups for the foreign trade data.
    however, while creating the billing document for export, it is not auto - defaulting the foreign trade data. can this be autopopulated?
    The source and destination mode of transport.

  • Trader invoice -MIRO

    Dear All,
                 i have already gone thru the answers on this scenario given in the forum but still not able to find the solution.
               i am purchasing v-belt from a trader. at the time of po i donot know on what amount the trader will charge excise duty and education cess. i only know the  rate of the material.
    when he send the goods then only i come to know about the value of excise duties.
    the case is like this;
    PO for 10 pcs @ 444= 4440
    discount 10%=  444
    value = 3996
    cst@3%= 119.88 ( calculated with tax code C3)
    total value= 4115.88
    now when the goods are receipt, trader has send excise invoice with following values
    BED= 442.5
    ECS=8.85
    <b>In migo i selected the MRP tick and manually entered the excise values as per vendor excise invoice.</b>
    my accounting entries are:
    cenvat on hold= 216.82 ( debit)
    cenvat capital BED= 221.25 ( debit)
    ECess capital= 4.43 ( debit)
    cenvat clearing = 442.50 ( credit)
    <b>my problem is :</b><b>
    1) i donot know how to do the MIRO of this case?</b> <b>what is the right way of doing this?</b>
    when i am doing the MIRO, the system is proposing as per GR and tax code is also with CST 3% i.e C3
    2) why my accounting entries are not correct?
    i have maintained proper data in J1ID. it is the case of capital/consumable goods where we can take cenvat credit of 50% in first year and 50% in the second year. procedure is TAXINJ
    my tax
    pl help
    with regards
    Neeru

    Hi,
    Sorry I did not login yesterday so I could not answer.
    Please refer the steps to be followed in such instances as given in the
    note - 1104456.The note shows the details of tax procedure TAXINN, so if
    you are using TAXINJ, then you will need to use a tax code which contain
    s only the VAT/Sales tax at PO & change the tax code at MIRO to one that
    is active for BED etc.
    Look at the attachment for more details.

  • Default Froeign Trade Data on  Excise Invoice

    Hi
    i want to Deactivate the foreign Trade data in billing document and want to make it default like Road/ Rail/ Sea/ Air. So it can automatically come on Excise Invoice. (As per My Client Requirement).
    Please reply ASAP.
    Thanks
    Sudip S

    Do you need foreign trade to be completly deactivated?  Please confirm.
    If you do, it can be done in the foriegn trade area by company code.  Let me know and I can pass along the settings to completley turn it off.
    Regards,
    Jason

  • DIEN or TRAD material type for freight to be invoiced to customer?

    Hi guys,
    I am asked by QA to maintain Financial views (Accounting&Costing) for a material that is cost of freight that we want to invoice to the customer. They would like to register this material as TRAD, but my problem is that I then have to determine a st.price and a valuation class for this material, and this material could possibly be stock which doesn't make any sense to me. Do you know the implications for this in Accounting, if I do as I am asked? How have you solved this issue with freight to be invoiced? I want to ask them to create this material as type DIEN, which would mean that I don't need to maintain any views, but they say they are not sure that is correct either.
    Please help.
    Regards,
    Alina

    Hi,
    Freight to be invoiced to the customer should have been handled as a condition type in sales pricing.
    You can also do it using a service material of type DIEN.
    But if you do that it has to be a line item on the order or delivery though it may not be eligible for picking.

  • Invoice Split due to Tax Departure country and Number of Foreign Trade Data

    Hello Friends,
    With all the search I have done, this question was asked and answered a lot previously, but at the same time most of the previous solutions confuse me or didn't help me to solve the issue.
    My issue is there is a invoice split for a sales order, yes its Order based Billing.
    We had order combinations with two different plants before in the past and had no issues, but this plant is in abroad foreign country.
    So I checked VTFA. ( order - billing copy control )  
    Header:                                                                                                          Item:
    Copy requirment          001   Header/order-related                                 Copying Requiremnets    002   Item / Order related
    Determ.esport data      B                                                                         Data VBRK/VBRP              (Blank)
    Assignment Number     E
    Reference Number       A
    The Billing split analysis shows as:
    Split due to different header Data:
    Fld Name                                          $000000001                                $000000002
    Export indicator                                                                                   Z
    Tax classification 1 for custo              1                                                0
    Number of foreign trade data                                                              0000000667
    Tax Departure Country                       US                                             NL
    Please do offer advice and solutions. Thank you.

    Hi
    First, use SAP Note 11162 - Invoice split criteria in billing document as a checklist. Check it carefully.
    After, subroutine VOFM in Data VBRP/VBRK. Check routine 007 as a template. The idea is populate the field ZURKI (CHAR 40) with a concatenation of strings. Each value is a different invoice. So, if the concatenation is over 40 characters, the do an offsetting of some values. As SAQ MD says, take the help of an ABAPer.
    I hope this helps you
    Regards
    Eduardo

  • Invoice split due to 'Number of foreign trade data in MM and SD documents'

    Hello experts,
    We need to avoid invoice split that happens becuase of the different foreign trade numbers on delivery headers. After going through few of the other related threads, I found one solution to this issue where in
    We go to VTFL and under DEL TO BILL AND HEADER DATA -->DETERMINE EXPORT DATA maintain B
    Using above we can avoid invoice splitting. But this still does not resolve my issue as for us some plants need setting of A for the above. So we were wondering how we can control this setting based on the plants.
    Lakshmipathi, Yadav, Raja Singh,... Please share your thoughts.
    Please avoid using personal names
    Edited by: Lakshmipathi on Sep 18, 2009 7:38 PM

    Hi,
    For your particular process you have to by Pass the invoice splitting which is based on foreign trade data. But as per standard it wont be recommended. But if you are very much assured this is what you want you can create splitting rule which will bypass checking the Foreign trade data. For this , go to VOFM and select data transfer, billing documents, and copy routine 001which is for invoice splitting, modify this routine and make another one with your requirement and assign it to VTFL data transfer.
    Hope it will help.
    Thanks,
    Raja

Maybe you are looking for