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.

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

  • User Exit for Foreign Trade

    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,
    MH

    If 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

  • User exit for "Latest GR date"

    Hi Experts,
    Please can any one provide me user exit for "Latest GR date" field in PO item level to update the value with 180 days plus on the delevery date mentioned for PO item.
    Thanks in advance.
    Regards,
    Vijay

    Please check this answered link:
    Common USER EXIT for ME21N,ME22N
    Edited by: Afshad Irani on Jun 18, 2010 11:08 AM

  • 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

  • USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT

    Hi,
    Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
    Regards,

    Hi,
    There is another user exit for updating material document data Upon posting  is MB_CF001
    I hope this will fullfill you.
    Prem

  • 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.

  • 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 start-up date in transaction ib02

    Hi all,
    i need to change the start-up date in transaction ib02.
    Is anyone know how to change it? Is there a user exit for this field?
    thanks  in advanced.
    Dana.

    Hi Check out following exits
    PCSD0001            Applications development R/3 BOMS                                      
    PCSD0002            BOMs: Customer fields in item                                          
    PCSD0003            BOMs: Customer fields in header                                        
    PCSD0004            BOM comparison                                                         
    PCSD0005            BOMs: component check for material items                               
    PCSD0006            Mass changes user exit                                                 
    PCSD0007            Check changes in STKO                                                  
    PCSD0008            WBS BOM: Customer-specific explosion for creating                      
    PCSD0009            Order/WBS BOM, determine URL page                                      
    PCSD0010            Order/WBS BOM, determine explosion date                                
    PCSD0011            Knowledge-based order BOM, parallel update                             
    PCSD0012            Customer - Mat. number/mat. number during material exchange            
    PCSD0013            Customer-specific processing of an explosion for BOM browser           
    Thanks
    Sandeep
    Reward if helpful

  • User exit for contract start date in sales order change mode.

    24.10.2008
    Hi Gurus,
    I need to disable the 'contract start date' (VEDA-VBEGDAT) field  in Contract data tab at header and item level. Can someone suggest a user exit for the same ???
    Regards,
    Udaynath

    Dear Udyanath,
    Please check these User exits with the help of ABAPer
    User exits in the program MV45AFZZ                                                                               
    The user exits which you can use for modifications in sales document         
    processing are listed below.                                                                               
    USEREXIT_FIELD_MODIFICATION                                              
         This user exit can be used to modify the attributes of the screen        
         fields.                                                                  
         To do this, the screen fields are allocated to so-called                 
         modification groups 1 - 4 and can be edited together during a            
         modification in ABAP. If a field has no field name, it cannot be         
         allocated to a group.                                                    
         The usage of the field groups (modification group 1-4) is as             
         follows:                                                                               
    -   Modification group 1:   Automatic modification with transaction      
             MFAW                                                                               
    -   Modification group 2:   It contains 'LOO' for step loop fields                                                                               
    -   Modification group 3:   For modifications which depend on check  tables or on other fixed information.
    USEREXIT_MOVE_FIELD_TO_VBAK                                                 
    Use this user exit to assign values to new fields at sales document         
    header level. It is described in the section "Transfer of the               
    customer master fields into the sales document".                            
    The user exit is called up at the end of the FORM routine                   
    VBAK_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBAP                                                 
    Use this user exit to assign values to new fields at sales document         
    item level. It is described in the section "Copy customer master            
    fields into the sales document".                                            
    The user exit is called up at the end of the FORM routine                   
    VBAP_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBEP                                                 
    Use this user exit to assign values to new fields at the level of           
    the sales document schedule lines.                                          
    The user exit is called up at the end of the FORM routine                   
    VBEP_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBKD                                                 
    Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer 
    master fields into sales document".                                  
    The user exit is called up at the end of the FORM routine            
    VBKD_FUELLEN.                                                        
    I hope this will help you,
    Regards,
    Murali.

  • User exits for Sales Order Data

    Hi,
    May i ask if there's any user exit that will get data from Sales order like ex. the order qty and the net price and pass to SHP_OBDLV_SAVE_REPLICA like ex in the segment  E1BPOBDLVITEMRFO of delivery note.
    or get the commodity code (STAWN) from MatMas and pass also to SHP_OBDLV_SAVE_REPLiCA
    Thanks in advance..
    aileen

    These are the user exits for VA01
    V45E0001 Update the purchase order from the sales order
    V45S0001 Update sales document from configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V45A0001 Determine alternative materials for product selection
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    Use this also USEREXIT_SAVE_DOCUMENT
    Regards,
    Shamma

  • User Exit for VA41 Validity Date

    Hi,
    I am giving order type in VA41 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract created with validity date lessthan today's date(in Contract Tab).For Example i created a Contract xxxxxx with 'valid to' 9.12.2008. When I am giving this contract and clicking on 'Copy' button a Warning message is getting generated 'The sales document is only valid until 09.12.2008'. Now i have to change this into Error message instead of Warning Message.
    i used User Exits mv45afzz,MV45AFZA,MV45AFZB. But the debugger is getting started only after Warning message got generated.Is there any User Exit for which debugger gets started when i give the Contract and then Click on 'Copy' button. Please Suggest.
    Thanks
    K Srinivas

    Hi,
    Create a file say breakpoint.txt file as follows:-
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    Once you come to the screen of 'Create with reference' where you are giving the contract, from  second session drag the above mentiuoned file to the session where you are running VA41, & drop it here. Now debugger has been activated. Proceed with debugging. This method you can use for any of the 'POP UPs'.
    I hope this helps,
    Regards
    Raju Chitale

  • User Exit ME22N: Foreign Trade

    Hi All,
    I have a requirement in which i have to update the "Preference code" (EIPO-PREFPACOD) in the purhcase order line item under import tab.
    I have already tried the exit "EXIT_SAPLV50E_004" works fine for Creation mode (me21n). But during change mode it's not getting into the code defined in the include of the component.(it's not triggered.)
    I checked the exits suggested in the thread[User Exit PO - ME21N/ME22N - Foreign Trade Item; but the first one "EXIT_SAPLV50G_001" doesn't have PO and line item as import criteria. Beside I activated the user EXIT but it's not getting triggered during PO change ME22N.
    While checking the second exit "XIT_SAPLV50G_002" , I found that it doesn't have export parameter as EIPO table. Which can be used to overwrite the value of Preference code (EIPO-PREFPACOD). I have also activated this user EXIT but this is also not getting triggered.
    Did any one had the same kind of requirement? Please advise.
    Regards,
    Sushanta

    hi,
    If imports for purchasing organization 0001 are always samples, value '12' must always be assigned to the business transaction type (field C_IMPORT_LINE_ITEM_DATA-EXART).
    You can do this by adding the following statement to the user exit:
    IF I_PURCHASE_ORDER_HEADER-EKORG EQ '0001'.
    C_IMPORT_LINE_ITEM_DATA-EXART = '12'.
    ENDIF.
    Regards
    ronny

  • User Exit for Requested Delivery Date in Sales Order

    Hi
    Which user exit can be used to change Requested Delivery Date in Sales Order.
    Scenario:  Sales Document Type: OR has Lead Time: 7 days.  System always proposes delivery date after 7 days.  We need to change this Lead Time based on plant.
    Thanks in advance for your support.
    Regards
    Uma

    Hello,
      try with USEREXIT_MOVE_FIELD_TO_VBEP or USEREXIT_SAVE_DOCUMENT_PREPARE, of program MV45AFZZ.
    Hope to be useful.
    Best regards,
    Andrea

  • User exit for requested delivery date at SO header

    Hi Experts,
    Trying to find a user exit which can be used to calculate the default requested delivery date in the order header based on the current date and the lead-time in the route.
    By default, In SO header, requested delivery date is system date.
    On based some conditions, i need to add lead time in current date and finally this date should be populated instead of current date in requested delivery date field .
         The RDD( requested delivery date ) determination should happen only for some order types and for some sales organization & Distribution Channel.
    Thanks,
    satendra pateria

    Hi Ravi,
    Thanks  for input.
    I neee one more favour on enhancement for automatically batch determination.
    In SO item level, when one item is given and press Enter automatically Batch getting popualted.
    I need to check Batch Expiry date and if it got expired then need to display a error message.
    As of now  i got one user exit EXIT_SAPMM07M_010.
    And Batch validation should be happened only for some order types and some Sale Org + Distribution
    channel.
    Thanks,
    satendra

Maybe you are looking for

  • How do I get at the files created from ADK in 7.3?

    We are on 7.3 and have used ADK to archive off data  to files.  We are not able to figure out how we can get at this data and view it ?  does anyone have a document to follow?

  • Daisy chain 3 thunderbolt displays to MBP 15"

    Hello, A simple question here, I would like to know if there is a way to daisy chain 3 (three) thunderbolt displays to a 15" MacBook Pro, maybe if the laptop is in clampshell mode? Thanks for any help

  • Parse XML files

    Hi Anyone know about support for parsing XML files in LabVIEW? (I mean specific XML support, I'm familiar with LabVIEWs file functions) regards Jan Sent via Deja.com http://www.deja.com/ Before you buy.

  • Weird Battery Indications

    I have a 13' Macbook alli. I have been getting a " battery Not Charging" indication when adapter NOT plugged in. Icon says it is plugged in. System preferences shows correct percentage. Computer the runs for couple of hrs then shuts down without warn

  • Assistance & apple care

    Hi all! i have bought a mac book air 11' the 20th of october 2012 but when i try to register it for assistence it tels me that the garancy isn't valid... how can i resolve it? i have try to fax the bill but the number they give me isn't correct 35321