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.
Similar Messages
-
while doing export billing, foreign trade data is not getting defaulted, how do we get the data like means of transport and domestic mode of transport etc., where do we have maintain these data to get defaulted in billing document
thanksDear varada rajan
I am not sure, whether you can, through some IMG setting make default settings for Foreign Trade Data, but however, You can use SAP enhancement V50EPROP to process foreign trade data (ordering as well as sales and distribution processing).
This enhancement is called by program SAPLV50E.
You can use the following components:
EXIT_SAPLV50E_001: SD documents - Header: Export header data proposal
EXIT_SAPLV50E_002: MM documents - Header: Import header data proposal
EXIT_SAPLV50E_003: SD documents - Item: Export item data proposal
EXIT_SAPLV50E_004: MM documents - Item: Import item data proposal
EXIT_SAPLV50E_005: Header data: Check completeness of data
EXIT_SAPLV50E_006: Item data: Check completeness of data
thanks
G. Lakshmipathi -
Foreign trade data from delivery to collective invoice
Hello All,
We have a requirement where in the deliveries created from Project (LF) have some data in the item level for the foreign data tab.
While creating collective invoice from these deliveries ,the data from the item level of the deliveries should be copied to the item level of the invoice for foreign trade tab.
Are there any settings which need to be maintained in order to enable the above.
Thanks in advance.
Sujatha GokarajuHi,
You can try this via transaction VOFM. In there look to Data transfers-->Billing Document menu. There you will find some standard routines and you can specify custom routines and write your code in them as well. These routines are called while creating a billing document.
You can also check in the menu Copying requirements-->Billing document
regards,
Advait
Edited by: Advait Gode on Nov 12, 2008 4:07 PM -
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,
UjjwalHi,
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 -
dear all,
when i am create export sales, default data for foreign trade data is not getting reflected in the billing and hence showing foreign trade incomplete.
how can i default the data of foreign trade data
thanks
srinivasanHi,
To check the config if foreign trade data is required or not:
The "delivery Plant" under Organization tab is determined by your Shipping Point, check that country of your shipping point is the same as your Customer's country, if it is not the same, then Foreign Trade data are expected.
If yes then,
In sap main screen,
Maintain foreign trade data for that material in foreign trade view of material master.
Go to header data of the billing document
Select foreign trade then maintain the entries mode of transport, country of origin if entries not found click on F4 in the field and select create tab in the field itself it will navigate you to the path maintain entries
Then save the billing document.
In configuration SPRO screen,
Check the shipping point in sales order ,
Also check the SAP Note No 313188 with your BASIS person.
You require to do the necessary 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,
Siddharth.
Edited by: SD on May 6, 2008 1:04 PM -
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 PMHi,
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 -
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 -
Hello SAP Experts,
We are having many Invoices failing to create Accounting documents due to "Missing Foreign Trade data".
This issue have arised as they have Materials which are service materials and these service materials are not meant to have Export data.
Do we have any setting where we can make the "Foreign trade data " as exempt for these service materials and/or the Invoice do not have the Incompletion log for missing FT data.
Attached is the Invoice screeshots showing incomplete FT data and Posting status "Posting document not created (export data missing)"
Thanks in advance for your answers.
Umesh KaraneHello Lakshmipathi,
I have checked the Incompletion log maintained and it's not maintained for Foreign Trade data.
I have also checked the Possibility of making the SERVICE Item's data as BLANK in material master: General /plant data , : Foreign Trade data, but even then the Billing document shows: FT incomplete.
Can we maintain Exemption for Foreign trade data for "SERVICE" materials in the Configuration of Foreign trade in IMG?
Thanks in advance for your answers.
Thanks and Regards,
Umesh. -
Missing ''foreign trade data''
Hi,
there is in System several ''S1''- cancelled invoices
still open.
There is no accounting document created
because of error message Missing ''foreign trade data''.
But the user is unable to complete the data because
several fields are coming automatecly from precedent document.
and i guess the document s will stay open untill
its relaesed to accounting.
How could we clear those documents?
Any idee?
Thanks in advance
If helpful points will be added
WilliamHi,
For the present generated billing documents you have to do it manually..
Billing document
Goto-header->Foreign trage/customs-handling-
modes of transport ( fill maully) and other necessary data if required fill it.
Billing document i
Goto itemforieng trade item> legal categorization--->
enter comm/imp code.no.
But here after you want it automatic this process..
You can assign the default values in
Spro-> Sales and distribution> foreign trade/customs ---> transportation data ---> Default Values For Foreign Trade Header Data
in this screen cilck on country for want to maintain
in the next screen in tranport tab u can maintain the available ModeOfTrnsprt-Borde.
The commodity code will be directly copied into item level into billing document if maitained in material master record.
Kindly Reward points if helpfull.
Regards
vK -
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 -
Billing: Foreign trade data missing error
Hello friends,
I have a peculiar problem while trying to release billing doc to accounting. Delivering country is BE and Desination country is DE. I have setup config under Foreign data transportation to pull up default values by maintaining Tcode VI95.
However when I do VF01 the system doesn't seem to pull that data. Futhermore if I were to save the billing doc with foreign trade data as incomplete and then do VF02 to enter the data making sure the doc is complete, the system still won't let me post the data saying that foreign trade is still missing when infact it has been entered manually and the doc says its complete.
Any ideas??Hi Robert,
did you know the OSS-Note 354222? Perhaps it usefull for you to have a look on it. If you one time go into the foreign trade data in the invoice, and they are incomplete you can't transfer this invoice to accounting.
Regards Thomas -
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®ards
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 -
Foreign trade data is incomplete for the line item eg 70!
Dear Sapients,
I have encountered an issue related to invoice while releasing it to accouting.
The invoice is done for several line items but the problem is faced for one line item only, could any one suggest the possible solution please.
Regards.
Kodalihi
Read the following SAP note. This can also be the case.
Note 354222 - Foreign trade data incomplete for domestic business
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 -
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
SudhaHello,
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 -
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 WahHi 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.
Maybe you are looking for
-
Error while building cube using Relational Access Manager - URGENT
When we try to build the Express Hybrid database using Relational Access Manager, We got the following error in the Windows NT Event log. "[159] XCA Interface - Exception C0000005 occurred in the XTLLISTN:ClientThread() function in the XWCXCA.DLL mod
-
Regarding heaer text in the smartforms
hi experts, i m using table in my smartforms with header,main & footer, also with the help of command statement i m getting number of pages, here the header text is coming only on the first page but not on the next pages why,,,,,,,,,,,,,,,,,,,,,,,, i
-
AS how to call place-dialog with predefined path?
Hi there, im frequently using 3 paths to get pictures and logos to place, so I asked a while ago how to script that, and got this answer: #target Indesign try{ var pathToPredefinedFolder = Folder('/Volumes/Server1/Folder1/');//Folderobject app.place(
-
Hi, I am executing F.59 report for GL accounts , iam getting a list of GL accounts items balances not equal to masters balances. I checked the balaces in FBL3N and FS10N showing the same blance (Masters balance in the report) what could be the reaso
-
Dear All, the backspace and enter keys on my wireless keyboard suddenly stopped working. Im using OS 10.7.5 and have tried a PRAM reset which didn't work. I also used the keyboard viewer to see if the keys worked on that but they don't. This is d