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
Similar Messages
-
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. -
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 AMHi ,
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: import procedure determination in PO
Hi,
The import procedure field in my PO is sometimes filled in sometimes not. When I use PO-Type ZFA I get my import procedure automaticaly filled. When I use PO-Type ZRP i do not get it filled in. Although the Article, supplier and plant are exactly the same. Where can I give in the default value for import procedure for each PO-type?hi,
please check this
Sales and Distribution -- Foreign Trade/Customs -- Basic Data for Foreign Trade -- Define Business Transaction Types And Default Value -
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 -
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. -
Dear Experts,
Am trying with User Exit (V50EPROP) EXIT_SAPLV50E_001 to create Default data of Transportation in Delivery Header Foreign
Trade/Customs data. This Exit working for Foreign Countries but not working with in the same country.
Eg: IN to IN
We are selling goods on LC with in the Country, we need Transportation data as default for Commercial Invoice.
some one can hlp..
Thanks and Regards,
MHIf you have any functionality which needs to be taken care of during intra-country trade, this is not the place. You should find the relevant user exit somewhere else.
May i know the Exit for intra-country trade
Thanks and Regards,
MH -
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 -
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 -
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. -
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 -
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 -
Foreign Trade data is incomplete error while creating accounting document:
Dear laxmipathy&other SD Guru s,
As per your suggestion (you have given an answer for the same question) I have tried to fill up the following fields:
-Business transaction type for foreign trade
-Export/import procedure for foreign trade
-Commodity code /Import code Number for foreign trade
But the system is not accepting it is showing error message again saying that foreign trade data is incomplete.
Kindly help.
SushilHi,
You need to maintain this data in customization. Menu path:
Materials Management->Purchasing->Foreign Trade & Customs->Transportation Data->Define Modes of Transport.
This data needs to be maintained aagainst country "IN' if the plant is located in India.
If useful, pl close the posting.
Muraleedharan.R -
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
Maybe you are looking for
-
Contacts on client machine suffer from disk I/O errors - NOT FIXED UNDER 10.8.1
Upgraded Client Mac to 10.8.1 Retried - same issue Upgrade Server Mac to 10.8.1 Retried (using clieng 10.8.1) Mac - SAME ISSUE On both attempts deleted ~/Library/Application Support/Address Book Folder. Then restarted and logged onto iCloud to sync
-
How to get the size of driver[C: or D:]
Hi Friends, I have a query regarding to java.. I want to get the name of all the drives that r connected to the System including network drives... and how to get the size of any system drive[For example C: or D: Drive]. I want the output to be displa
-
HT201272 I keep getting an error message 1202 when I try to download my previous purchases.
My library was deleted on my computer. I am now trying to restore my previous purchases on Itunes. When I try to download them I get the error message = Error accessing store 1202 try again later. Any solutions to this?
-
Download to Excel 2007 (.xlsx) Help
Hi Everyone, I have an issue with the Download options - Download to Excel. We have a few on-demand bulk reports that basically allows users to fire a detailed obiee report through GoURL. Once the report is done, the Download Option - Download to Exc
-
Extending JDeveloper: Creating a new project within an extension
I am trying to use the JDeveloper extension to create a wizard, to create a new project. Creating the wizard was no problem at all. I am having difficulting creating a new project and adding it to the current workspace. Can somebody please tell me ho