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
Similar Messages
-
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 -
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,
BabsHi 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. -
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. -
PO Header change history for Foreign trade data
Hi,
If we change the mode of transport in PO header, it is not getting updated in the change log of PO header.
How to make it for appearing in change history of table EIKP?
Regards,
VengatHi,
Please check whether the change management is active for that field. Press F1 in the field name and go to technical details, place the cursor on field name and double click, then go to further characteristics of data element as shown below,
Regards
Vijay -
Default Values For Foreign Trade Header Data
Hello,
I have defined a price condition (ZPFR) to gather the price from the company to the custom office (the customs office through which the goods enter or leave the country).
I want that price condition to be determined in the pricing procedure in foreign trades. The fields in the access sequence are the Plant and the Customs office. In customizing, in the point Default Values For Foreign Trade Header Data, I have defined a line for the Departure country, the Destination Country and the proper values for the Office of exit, Export Custom Office and Office of destination (the same that I have selected in the condition record). But when I create a sale document, this condition does not determine because the Customs office seems not to have any value in the document. Does anybody what I am doing wrong?
Thank you in advance,
SilviaYou 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 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 -
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 -
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. CDear 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 -
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 -
Export/import procedure for foreign trade field in PO item
Hi Experts,
I met a problem in import PO. Is there a possible way to make the Export/import procedure for foreign trade field in PO item automatically be determined?
Thanks,
EmilyIF the import data tab shows up is depending on customizing for foreign trade data.
The setting is done in IMG
MM > Purchasing > Foreign Trade/ Custome > Control FT data in MM SD documents > Import screens in purchasing document -
Mandatory field Export/Import Procedure for Foreign Trade
Hello all!
Is there any possibilty to define the field Export/Import Procedure for Foreign Trade
within the infoset as a mandatory field?
Table T162 doesn't show me this field.
Kind regards,
BarbaraHello,
in customizing under "Materials Management --> Purchasing --> Foreign Trade/Customs --> Control Foreign Trade Data in MM and SD Documents --> Incompleteness Schemas for Foreign Trade Data" you can create an incompletion procedure defininig the documents fields assigning a control type. Then in the subsequent customizing step "Foreign Trade Data in MM and SD Documents" you can assign the Incompleteness schema to each country code, choosing import or export.
Hope to be useful.
Best regards,
Andrea -
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?
RegardsYou 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.
Maybe you are looking for
-
Questions about master-detail update and delete!!
I have created a view object with two entity objects. These two entity objects map master-detail tables in DB. I want to update both tables when the user input, and delete the record in detail table (keeping master table unchanged) when the user clic
-
Hi, In the Communication channel We have an option in the File processing parametrs that is File construction mode Here i gave Append, every time the output is appended to the current file, but my requirement is i want to append the data on the date
-
Hi all, can anyone please help me with a problem I've encountered with my applet. I've been attempting to write some exception handling, simple enough you'd think? Anyway within my method(for retrieving a byte array from my card), I check to ensure t
-
Certain keys on midi keyboard no longer seem to be recognized -
Hi all, I've done my best to read through all the existing posts on similar topics but haven't been able to solve this seemingly odd but probably simple issue. I'm at the end of my wits, hope someone can help! I have been using an M-Audio Axiom 25 wi
-
How can I get rid of small "1" in status line on t...
The Upgrade to Belle was nice (except for lost applications and the annoying fact, that WiFi is now "always-on"), but what bothers me most is, that the phone feels it necessary to show, that I'm using line 1 on the top status bar. I can understand th