Error on VF01 posting asking for foreign trade data incomplete

Hi Experts,
Would appreciate anyone can help me on the abovementioned matter.
The transaction SO created is a local trade.
1) SO created under one time customer for sold to party. Documentflow status = complete
2) DO completed normally. Document flow status = complete.
sold to party address maintained is local country address NOT foreign address.
3) Billing processing VF01 user encountered an error message : Foreign trade data incomplete. Documentflow status = missiong export data.
Kindly advise.
Regards,
Yong Kok Wah

Hi Yong,
Check this report, It will clear the Foriegn trade data for the invoice once it is done you can release the invoice to accouting via VF02. But I am not sure whether this fullfills your requirement.
Note: Test it in test system
REPORT ZTEST01.
tables: vbrk.
data: i_vbrk like vbrk occurs 0,
      wa_vbrk like vbrk.
select-options: so_vbeln for vbrk-vbeln.
parameters: testmode as checkbox default 'X'.
select * from vbrk into table i_vbrk where vbeln in so_vbeln.
check not i_vbrk[] is initial.
loop at i_vbrk into wa_vbrk.
      CALL FUNCTION 'ENQUEUE_EVVBRKE'
     EXPORTING
  MODE_VBRK            = 'E'
  MANDT                = SY-MANDT
    VBELN                = wa_vbrk-vbeln
  X_VBELN              = ' '
  _SCOPE               = '2'
  _WAIT                = ' '
  _COLLECT             = ' '
EXCEPTIONS
  FOREIGN_LOCK         = 1
  SYSTEM_FAILURE       = 2
  OTHERS               = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
     if not wa_vbrk-exnum is initial.
       clear wa_vbrk-exnum.
       if testmode = ' '.
        update vbrk from wa_vbrk.
        if sy-subrc = 0.
        write:/ 'Foreign Trade Data cleared for invoice', wa_vbrk-vbeln,
        else.
      write:/ 'Errors at database update of invoice', wa_vbrk-vbeln,'.'.
        endif.
      else.
        write:/ 'Foreign Trade Data cleared for invoice', wa_vbrk-vbeln,
      endif.
     endif.
CALL FUNCTION 'DEQUEUE_EVVBRKE'
  EXPORTING
  MODE_VBRK       = 'E'
  MANDT           = SY-MANDT
    VBELN           = wa_vbrk-vbeln
  X_VBELN         = ' '
  _SCOPE          = '3'
  _SYNCHRON       = ' '
  _COLLECT        = ' '
endloop.
if testmode = 'X'.
   format color col_positive on.
       write:/ 'Testmode, no changes made.'.
   format color col_positive off.
endif.

Similar Messages

  • Error after delivery " foreign trade data incomplete"

    hi,
    when i was trying to do billing it was showing an error . document 90000069 has been saved  foreign trade data incomplete . i have tried to do but i am not getting right path .

    Hi Kumar,
    Please refer to the below links
    foreign trade data incomplete at the time of saving billing document
    Incomplete Foreign Trade Data in Billing document....
    Document XXXXXXXXXX  has been saved (foreign trade data incomplete)
    Hope this helps you.
    Thanks
    Arun

  • BADI for Foreign Trade Data(EIKP)

    Hi ,
    I need to update/change Foreign Trade Data(EIKP) during Invoice creation.
    I would just like to ask if any of you have used a BADI for Updating values for  Foreign Trade Data during Invoice Creation (VF01).
    Thanks!
    Donna
    Edited by: Donna Cherr Matias on Feb 26, 2009 6:04 PM
    Edited by: Donna Cherr Matias on Feb 27, 2009 3:29 AM

    Hi ,
    I need to update/change Foreign Trade Data(EIKP) during Invoice creation.
    I would just like to ask if any of you have used a BADI for Updating values for  Foreign Trade Data during Invoice Creation (VF01).
    Thanks!
    Donna
    Edited by: Donna Cherr Matias on Feb 26, 2009 6:04 PM
    Edited by: Donna Cherr Matias on Feb 27, 2009 3:29 AM

  • Foreign trade data incomplete error

    Friends,
    While creating billing document I am getting error as "Foreign trade data incomplete"
    Solution is to specify fields- mode of transport in delivery header. However I want to make default that means it should come automatically to deliver header. How it can be achieved. Ple help on above issue. I am working in ECC6.0 version Kindly give step by step menupath for all settings.
    Thanks
    Shiv

    in this case foreign trade data should not be applicable/required
    foreign trade data is always used if a good is sent from one country to another country, it is always cross border
    i.e. Foreign trade data is used in Europe for preparing the Intrastat returns which is always cross border from one EU country to another EU country
    i hope it helps and makes sense for you
    http://help.sap.com/erp2005_ehp_02/helpdata/en/4c/420a3c470a11d1894a0000e8323352/frameset.htm
    kr
    hakan

  • Foreign trade data incomplete for item 10 -URGENT

    Hi All,
               In a proforma invoice for delivery, user is getting this msg :
          "Foreign trade data incomplete for item 10"
              Can anybody tell me, why system is gvn this msg.
    Points will be awarded for the helping answers,
    thanks in advance

    Hi Ruchi
    In VF02, select the line item, goto item --> Foreign Trade item.  Check in the tab "For Trade/Customs --> Legal categorization, whether any HS code is flowing.  If not, give the respective HS code in this field and try to save it.
    Alternatively, you can also select the icon "incompleteness analysis" which will be next to "set" tab.  Just click this tab so that it will list out where you need to give the missing datas.  Choose and press F2 and it will go the incompletion field.  Fill in the details.  Like this if you continue to fill in the details, the list of incompletion details will decrease and at last, you could come out of the error.
    Thanks
    G. Lakshmipathi

  • Foreign trade data incomplete for item 000280 (Message no. VF074)

    Hi
    Foreign trade data incomplete for item 000280 (Message no. VF074)
    When I click on Incompleteness analysis button at Item level, it is showing below fields for few Invoices
    1. Business Transaction Type for Foreign Trade (EXART)
    2. Statistical value for foreign trade (GRWRT)
    3. Country of origin of the material (HERKL)
    4. Commodity Code/Import Code Number for Foreign Trade (STAWN)
    why this error is for few invoices only
    from where these 4 fields will be picked automatically without maintain manually in VF02
       Thanks & Regards
               Sudha

    Hello,
    1) it should be determined according to customizing settings under "Sales and Distribution --> Foreign Trade/Customs --> Basic Data for Foreign Trade --> Define Business Transaction Types And Default Value";
    3) and 4)  they should be picked up from Material Master record, "Foreign trade export view".
    They are checked as mandatory fields according to customizing under: "Sales and Distribution --> Foreign Trade/Customs --> Control Foreign Trade Data in MM and SD Documents --> Incompleteness Schemas for Foreign Trade Data"
    Hope to be useful.
    Best regards,
    Andrea
    Edited by: abrusa on May 19, 2010 5:23 PM
    Edited by: abrusa on May 19, 2010 5:29 PM

  • Foreign trade data incomplete for item 000010

    Hi,
    When we release the billing doc (while sending for accounting), I am getting the following message:
    "Foreign trade data incomplete for item 000010"
    While debugging I found when the field UVALL is "X" such message will come.
    Can anyone tell me why it is coming n how to correct this?
    Is this because of material master?
    Please reply immediately though Purchase Orders also affected.

    Did not receive any answer from SDN

  • Regarding foreign trade data incomplete

    Hi guru's
    When i am saving the invoice i am getting an error like this.
    <b>Document 90035592 has been saved (foreign trade data incomplete)</b>
    can u people solve this problem.very urgent.
    thanks&regards
    veera.

    Hi Prakash,
    Please refer the following:
    Check the shipping point in sales order ?
    Also check the SAP Note No 313188
    Read the following SAP note. This can also be the case.
    Note 354222 - Foreign trade data incomplete for domestic business
    Summary
    Symptom
    A billing document cannot be transferred into accounting because the foreign trade data is incomplete.
    However, the underlying business process is a domestic business!
    Additional key words
    VF01, VF02, EIPO, EIKP, foreign trade, incompleteness, domestic, delivery, billing document, EXNUM, EXPKZ,export indicator, export number
    Cause and prerequisites
    In the respective delivery or in the billing document, for domestic business you by mistake go to the foreign trade data into a field. Since the incompletion log requires at least one entry for foreign trade, you must fill one field in order to be able to leave the foreign trade data again without canceling document processing.
    Here, an export indicator and an export number is assigned which cause the incompleteness of the whole document due to missing export data.
    Solution
    A solution in the standard system is currently not planned since because of various customer requests the foreign trade data in the delivery should be accessed and maintained for domestic business too. An example is the inbound delivery in a bonded warehouse where the forwarding agent should get information already in advance.
    To avoid incorrect billing documents, proceed as follows:
    Copy data transport routine 001 to a routine 601 and enhance the new routine according to the attached correction instruction (RV60C601). Store this new data transport routine in Customizing for the copying control for billing documents for the processes you use, for example
    - F2 - LF, item category TAN. (delivery-related)
    If you already use an own data transport routine, in this data transport routine include the attached source code.
    You must cancel existing billing documents and then create them again.
    If you do not want to cancel existing documents, implement the attached correction (program RV60AFZZ) and release the documents either individually (VF02, default transaction) or via the list of blocked billing documents (VFX3).
    After you completed the correction, you should cancel this solution (RV60AFZZ) again.
    Also refer to the attached Note 170183.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 16.02.2005 17:15:20
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: SD-BIL-GF Basic Functions
    Secondary Components: SD-FT-PRO Basic Functions
    SD-BIL-CA Account Assignment
    Hope the same helps you.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • No accounting document generated (foreign trade data incomplete)

    hello all,
    I meet a problem like this:
    Sales order: 1001
    delivery: 2001
    Invoice: 3001
    another invoice 9001 has created for cancel 3001.
    when we saveed 9001, no accounting document generated, but we were not cognizant of it. and we did VF09 reverse PGI, VL02 delete delivery 2001.
    now the problem is: when we try to release invoice 9001 to accounting, a message occurs "Document 9001 has been saved (foreign trade data incomplete)"
    it seems need data of delivery 2001, but it has been deleted.
    can anyone please give me suggestions? thanks!
    Document 9001 has been saved (foreign trade data incomplete)
        Message no. VF 072
    Diagnosis
        The billing document you have edited contains foreign trade data. These
        are however not complete.
        This means that the document cannot be transferred to accounting (FI).
    System Response
        The system issues a message.
    Procedure
        Maintain the incomplete foreign trade data. Then you can transfer the
        billing document to accounting (FI).

    Hai Laxmipathi,
    As the issue addressed by Mu_ying, exactly even I have encountered the same error. I am working on Export Scenario where in created a billing doc and saved (without foreign trade data) but later its cancelled and subsequent delivery doc is also cancelled but when i release the cancelled billing doc error pops up as "foreign data incomplete" but doc no. is saved, as mentioned by Mr. Mu_ying mail.
    However, in my case when i try change in VF02 item level for foreign trade/customs tab (change for the cancelled doc) the radio buttons for System is RED, and I am unable to enter the data as all the fields are greyed out, due to this reports figures are incorrect.  Hope u r able to get what i have mentioned.
    i/p's will be of great help.

  • Accounting documents not  created - foreign trade data incomplete

    Hi All
    While saving the billing document at VF01, the following message appears
    "Document 90000005 has been saved (foreign trade data incomplete)"
    I tried entering some datas at
    VF02>>Goto>>Header>Foreign trade/customs but was not sure what is mandatory there. Please let me know how to disable this. I do not want to maintain any foreign trade data. Can I do something on Material Master settings?
    Regards

    You require to do thenecessay configuration for Foreign Trade Data:
    IMG --> Sales and Distribution --> Foreign Trade/Customs --> Basic Data for Foreign Trade --> (Do the necessary configuration here)
    In most probability, it will not default, but it is required to be maintained in Invoice (based on configuration)
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Foreign Trade data Incomplete

    Hi Folks,
    when i do a billing I am getting a message saying foreign trade data incomplete. Then i went to VF02 transaction and made following changes..
    1. Goto->Header->Foreign trade data/Customs. There i gave values for  modeoftransport Border and Domestic ModeofTrans fields then document is complete.
    My doubt here is why do i get such an message.............
    Can anyone help me in solving this issue.....
    Thanks,
    Madhan raj. C

    Dear Madhan raj ,
    Please activate the Incompletion procedure for header and  item as shown below : 
    1. IMG> Sales and distribution>Foreign Trade/Customs-->Incompleteness Schemas for Foreign Trade Data.
    Create 2 Incompletion procedure  Z1-Incompletion procedure- header  and Z2-Incompletion procedure - Item
    2. Z1-Incompletion procedure- header : Assign the following fields
    EXPVZ     Mode of Transport for Foreign Trade
    STABE     Country of Origin of the Means of Transport at Departure
    STGBE     Origin of Means of Transport when Crossing the Border
    ZOLLA     Customs Office: Office of Exit/Entry for Foreign Trade
    3.Z2-Incompletion procedure - Item
    Origin field    EXPRF
    1   Field ready for input - Incompletion check not active
    4. Then go to  Foreign Trade Data in MM and SD Documents  and assign the above  incompletion procedure
    DE     004 Germany     2     Z1          Z2 activate tick mark
    ES     011 Spain     2     Z1          Z2activate tick mark
    FR     001 France     2     Z1          Z2activate tick mark 
    This will solve your issue .
    Thanks and regards
    Veera

  • Exit for Foreign trade data(import tab) on ME22N

    In Purchase Order transaction ME22, the requirement is to copy the contents of office of entry field (EIKP-ZOLLA) to EKKO-INCO2 field.(whenever there is any change in office of entry field).The office of entry field is present in import tab of purchase order screen. Whenever any changes happen in it, the standard PO customer exits like ‘EXIT_SAPMM06E_007’  , EXIT_SAPMM06E_006 does not get triggered  Nor the BADI ‘ME_PROCESS_PO_CUST’. However,  foreign trade exit EXIT_SAPLV50E_005 gets triggered. In this exit only completeness of data is checked and EKKO values cannot be modified from this exit.
    Is there any alternative exit or BADI which gets triggered on the making changes in any data in the import (foreign trade data) tab in PO? Is there any mechanism to change EKKO-INC02 (screen value) from any of the other exits (i.e. exits triggered on data entry in foreign trade tab)?

    Transaction Code - ME22N                    Change Purchase Order
    Exit Name           Description
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound pro
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    BAPI
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    Rewards if useful.........
    Minal

  • PO Error Message: 'Foreign Trade data: incompletion log'

    Hi,
    I have all set to disable the possibility to save purchase orders with missing foreign trade data but when I try to save the document without going to the respective tabs I'm able to save it without having any error message.
    What can I do to disable this possibility.
    Thanks to all.
    Best Regards,
    NRRibeiro.

    Hi,
    Set  Error message for application 06 and message No 698 as  E for "Import data incomplete or does not exist" in the following path:
    SPRO---- >MM> Purchasing> Environment data>Define attibutes of system message>system message
    Regards,
    Biju K

  • Incompletion log in delivery for foreign trade data

    Hi all,
    I am doing export delivery and i want to put foreign trade date as in incompletion log.
    This log i want to do only for export document types (zex) which i have created separately.
    Delivery header > foreign trade / custom >geography >
    1. Export customs office
    2. Office of destination
    Delivery Item > Foreign trade/Custom > Origin / Destination >
    3. Country of origin
    4. Dispatch country
    I want to make those 4 field as mandatory while doing export order. But these fields are in the EIPO table which is not there in the delivery incompletion log.
    Can anyone please help me how to solve this issue.
    Thanks in advance,
    Babs

    Hi Babs,
    the foreign trade data can't be included into the incompletion log.
    You have to create both incompletion log in T.code VI29.
    Then you have to assign this logs to your country in VI49.
    In standart SAP it's not possible to make this only for one document typ, this checks will be done for all foreign trade data.
    Regards
    William

  • User exit for foreign trade data in domestic scenario

    Hi,
    i need to fetch some batch characteristics in foreign trade/ customs tab of delivery.
    The user exit 'EXIT_SAPLV50E_003'  is working fine for the export scenario.. i.e. when the likp-expkz (export indicator) is NON-Blank.
    but the requirement now is to fetch the characteristic in Domestic scenario. in this scenario the likp-expkz (export indicator) will be BLANK. so it will not trigger this user exit.
    Can you please tell me , which user exit i can use to get the data for 'foreign trade'  in domestic scenario.

    Hi,
    i need to fetch some batch characteristics in foreign trade/ customs tab of delivery.
    The user exit 'EXIT_SAPLV50E_003'  is working fine for the export scenario.. i.e. when the likp-expkz (export indicator) is NON-Blank.
    but the requirement now is to fetch the characteristic in Domestic scenario. in this scenario the likp-expkz (export indicator) will be BLANK. so it will not trigger this user exit.
    Can you please tell me , which user exit i can use to get the data for 'foreign trade'  in domestic scenario.

Maybe you are looking for