User-Exit for MR1M/MIRO

The unplanned delivery costs can be posted with the help of the User Exit EXIT_SAPLMRMH_014 (for Transaction MR1M / MIRO). It is not possible to settle planned delivery costs. To pass Unplanned Delivery costs (freight), you have to fill also the tax jurisdiction Code for the delivery costs, because the default jurisdiction code from customizing is not relevant for EDI case. So you have to fill the
following fields:E_RBKPV-MWSKZ_BNK
E_RBKPV-TXJCD_BNK  using the idoc segment E1EDK04.Please give me an idea how to code?
Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:15 PM

Hi the code in the user exit is based on the idoc segment.I have to make use of segment E1EDK04.
Please help.The code is below.still they havent used the above mentioned the above segment.
*&  Include           ZXM08U25                                         *
""Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(I_IDOC_DATA) TYPE  EDIDD
*"  EXPORTING
*"     VALUE(E_CHANGE) TYPE  C
*"  TABLES
*"      T_FRSEG TYPE  MMCR_TFRSEG
*"  CHANGING
*"     VALUE(E_RBKPV) TYPE  MRM_RBKPV
*"  EXCEPTIONS
*"      ERROR_MESSAGE
Local Variables (Segment Definitions)
*-Unplanned delivery costs
DATA: lv_beznk      TYPE beznk.
*-Segments
DATA: ls_e1edp02    LIKE e1edp02.
DATA: ls_e1edp19    LIKE e1edp19.
DATA: ls_e1edk05    LIKE e1edk05.
DATA: ls_e1edk02    LIKE e1edk02.
DATA: ls_e1edk03    LIKE e1edk03.
DATA: ls_e1edkt2    LIKE e1edkt2.
Park the Invoice Automatically (Requirement from ENH038)
**-Set the Status as Parked
e_rbkpv-rbstat = '1'.                                       "A or 1
***rbkpv-ivtyp = '4'.
***e_rbkpv-xzuordli = 'X'.
**-Set the Change Indicator
e_change = 'X'.
This Exit is called once for every E1EDPnn segments before it calls
EXIT_SAPLMRMH_013 (which determines the PO Line Item).
Save the Material/Vendor Article/EAN-UPC to be passed to the above
User exit
*-Setup the lookup structure for PO Line items
CASE i_idoc_data-segnam.
*-IDoc: Document Item Reference Data Segment
  WHEN 'E1EDP02'.
    MOVE i_idoc_data-sdata TO ls_e1edp02.
*-  Evaluate the Qualifier
    CASE ls_e1edp02-qualf.
*-    Purchase Order
      WHEN '001'.
*-      Save the values for PO Item Lookup
        CLEAR gs_ekpo_for_lookup.
        MOVE ls_e1edp02-belnr  TO gs_ekpo_for_lookup-ebeln.
        MOVE ls_e1edp02-zeile  TO gs_ekpo_for_lookup-ebelp.
    ENDCASE.
*-IDoc: Document Item Object Identification
  WHEN 'E1EDP19'.
*-  Setup the structure data
    MOVE i_idoc_data-sdata TO ls_e1edp19.
*Article description
    MOVE ls_e1edp19-KTEXT TO gs_ekpo_for_lookup-txz01.
***-  Evaluate the Qualifier and save the values for PO Item Lookup
    CASE ls_e1edp19-qualf.
*-    Material
      WHEN '001'.
        MOVE ls_e1edp19-idtnr  TO gs_ekpo_for_lookup-matnr.
*-    Vendor Article
      WHEN '002'.
        MOVE ls_e1edp19-idtnr  TO gs_ekpo_for_lookup-idnlf.
*-    EAN/UPC
      WHEN '003'.
        MOVE ls_e1edp19-idtnr  TO gs_ekpo_for_lookup-ean11.
    ENDCASE.
**NXH999 - Use this field of the lookup as a last ditch effort to
**match invoice to PO Item
       MOVE ls_e1edp19-idtnr  TO gs_ekpo_for_lookup-idtnr.
*-IDoc: Document header reference data
  WHEN 'E1EDK02'.
*-  Setup the structure data
    MOVE i_idoc_data-sdata TO ls_e1edk02.
    CASE ls_e1edk02-qualf.
      WHEN '010'.
        WRITE ls_e1edk02-belnr TO ls_notes-scaccd.
        CONCATENATE 'SCAC Code:' ls_notes-scaccd
               INTO gt_notes-tdline SEPARATED BY space.
        APPEND gt_notes.
      WHEN '063'.
        WRITE ls_e1edk02-belnr TO ls_notes-bolnbr.
        CONCATENATE 'Bill of Lading:' ls_notes-bolnbr
               INTO gt_notes-tdline SEPARATED BY space.
        APPEND gt_notes.
    ENDCASE.
*-IDoc: Document header date segment
  WHEN 'E1EDK03'.
*-  Setup the structure data
    MOVE i_idoc_data-sdata TO ls_e1edk03.
    CASE ls_e1edk03-iddat.
      WHEN '010'.
        WRITE ls_e1edk03-datum TO ls_notes-shdate.
        CONCATENATE 'Ship Date:' ls_notes-shdate
               INTO gt_notes-tdline SEPARATED BY space.
        WRITE ls_e1edk03-datum TO gt_notes-tdline.
        APPEND gt_notes.
    ENDCASE.
*- Unplanned Delivery Costs (Requirement #5 from ENH115)
  WHEN 'E1EDK05'.
*-  Setup the structure data
    MOVE i_idoc_data-sdata TO ls_e1edk05.
*-  Look for Match Condition Record in T076I table (OBCB Transaction)
    READ TABLE gt_t076i TRANSPORTING NO FIELDS
         WITH KEY ewlnr = ls_e1edk05-kschl BINARY SEARCH.
    IF sy-subrc EQ 0.
      CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP'
        EXPORTING
          currency    = e_rbkpv-waers
          idoc_amount = ls_e1edk05-kobtr
        IMPORTING
          sap_amount  = lv_beznk.
      IF ls_e1edk05-alckz EQ '-'.
        e_rbkpv-beznk = e_rbkpv-beznk - lv_beznk.
      ELSE.
        e_rbkpv-beznk = e_rbkpv-beznk + lv_beznk.
      ENDIF.
    ENDIF.
ENDCASE.

Similar Messages

  • User exit for  modify miro

    Hi all,
    i want user exit for miro. it's trigers when i enter purchase order no.
    also i want modify item data after  enter purchase order no.
    please help me.
    Thanks,

    Hi,
      These are the available user-exits in MIRO:
    Exit Name           Description
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    regards
    Aveek

  • BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)

    Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • User-exits for MIRO :: for terms of payment & baseline date

    Hi all,
    is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
    Regards,
    Nilesh

    hi Nilesh,
    try this exit: LMR1M001
    hope this helps
    ec

  • User exit for duplicate invoice in MIRO and FV60

    HI
    i want to find a user exit to findout the duplicate invoice from MIRO, F-47, FV60 (Parked Invoice), MR8M (Credit Memo).
    please let me know if you know any user exit for this.
    Thanks & regards
    Naresh

    Hi,
    for each transaction code so many user exits are there it is diffecult to pase all the user exits here
    check below link  and run the program in se38 and give the transaction code you get the user exits for each transaction code.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • User exit for calculating exchange rate in MRER,MRKO,MRNB,MIRO

    Hi All,
    For the transactions MRER,MRKO,MRNB,MIRO I want to change the exchange rate type(tcurv-kurst) which is used to calculate exchange rate .
    For example, exchange rate type 'M' is used to calculate the exchange rate but now i want to use the type 'ITAD' to calculate the exchange rate.Could you suggest some user exit or BADI for achieving this.

    Hi Subasree,
    The user exits for respective tcodes are mentioned below,
    MRER
    Exit Name           Description
    MRER0001            Automotive Evaluated Receipt Settlement (ERS)
    MRKO
    Exit Name           Description
    RMVKON00            Enhancements to report "Settle consignment liabilities"
    MM08R001            User exits for ERS
    MM08R002            User exit for tolerance checks
    MRNB
    Exit Name           Description
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    MIRO
    Exit Name           Description
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    Hope you will find the required amongst this,
    Regards,
    Soundarya.

  • How to find user exits for a specific field

    hi,
        How can we find a user exit for a specific fields .
    as i know Three ways to search user-exits
    1. SE80 look includes in a packages with name user-exits
    2.  by zreport which will fetch user-exit in a T-CODE
    3. SMOD
    but what if we have to find a user-exit for particular field for e.g bupla(bussiness place) in MIRO.
    Please suggest me.
    Thanks and  Regards ,
    Rahul Singh.

    Hi Rahul,
    Here is the procedure to create field exits.
    Step by step procedure for creating Field Exits
    There are eight steps to creating a field exit:
    Step 1: Determine Data Element
    Step 2: Go To Field Exit Transaction
    Step 3: Create Field Exit
    Step 4: Create Function Module
    Step 5: Code Function Module
    Step 6: Activate Function Module
    Step 7: Assign Program/Screen
    Step 8: Activate Field Exit
    Step 1: Determine Data Element
    u2022     Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    Step 2: Go To Field Exit Transaction
    u2022     The transaction to create field exits is CMOD.
    u2022     You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    u2022     From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
    u2022     After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
    NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
    Step 3: Create Field Exit
    u2022     From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    u2022     After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    u2022     Enter the data element name and click the u2018Continueu2019 pushbutton.
    u2022     Now, you will be able to create the function module associated to the data elementu2019s field exit.
    Step 4: Create Function Module
    u2022     You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the u2018Continueu2019 pushbutton.
    u2022     In the u2018Function moduleu2019 field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
    FIELD_EXIT_<data element>
    u2022     You can add an identifier (an underscore followed by a single character ).
    u2022     The first function module for a data elementu2019s field exit must be created without an identifier.
    u2022     To create the function module, click on the u2018Createu2019 pushbutton, choose menu path Function module -> Create, or press u2018F5u2019.
    u2022     After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing u2018Enteru2019, you will be able to go ahead and create the function module.
    u2022     Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
    Step 5: Code Function Module
    u2022     From the function moduleu2019s attributes screen, click on the u2018Source codeu2019 pushbutton or choose the Goto -> Function module menu path to the code of the function module.
    u2022     Here you will add your desired functionality for the field exit.
    u2022     Remember that field exitu2019s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
    u2022     You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
    Step 6: Activate Function Module
    u2022     After coding the function module, you must remember to activate it.
    u2022     Use the Function module -> Activate menu path to activate the function module.
    u2022     At this point, you can return to the field exit transaction.
    u2022     You should be able to 'green arrow' back to this transaction.
    u2022     When you return to the field exit transaction, you will see an entry for the newly created field exit.
    u2022     At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
    u2022     Also, the field exit will not be triggered yet because it is inactive.
    Step 7: Assign Program/Screen
    u2022     This step is only needed if you want to make a field exit local.
    u2022     To make a field exit local, select the field exit and click on the u2018Assign prog./screenu2019 pushbutton.
    u2022     In the dialog box , indicate the appropriate program name and screen number.
    This information indicates that the field exit is local to the specified screen in the specified program.
    u2022     In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the u2018Fld. Exitu2019 field.
    u2022     If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    u2022     If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
    Step 8: Activate Field Exit
    u2022     The field exit must be active for it to be triggered by the system.
    u2022     Activate the field exit by choosing the Field exit -> Activate menu path.
    u2022     After assigning the field exit to a change request, its status will change to u2018Activeu2019 and it will be triggered automatically on the appropriate screen(s).
    NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
    Execute the transaction SE38 with PROGRAM NAME - RSMODPRF
    Then give the Data Element Name for which field you want to create the exit(Just cross check with your field data element) and execute.
    then it takes you to SE37 with the function module name FIELD_EXIT_<DATA ELEMENT NAME> and then create the same function module.
    and in the coding part, You can write your logic to display the output of that field. and activate it.
    once you complete the above,
    Again execute SE38 transaction with program RSMODPRF and again click on Execute button without any Data Element Name. Now you select the data element which you have created and click on Assign prog/ Screen button and assign the program name and screen number of the filed and click on the menu Field Exit and Activate.
    Hope it helps.
    Regards
    Radhika
    Edited by: Radhika Pande on Nov 26, 2009 7:58 AM

  • User exit for Invoice verification

    Hi
    We want to findout user exit for invoice verification/MIRO .  Is there any user exits available for MIRO.

    The below are for MIRO
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maint
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    regards
    Aravind
    Assign points if useful

  • Reg:User Exit For Invoice

    Hi All,
    I have an requirement that when during creation of invoice i have to update some data's to ztables and during deletion of invoice i have to update some data's. Is it possible?
    Is there any user exit for this scenario? Kindly give your idea's how to resolve this scenario.

    hi,
    these r the exits updated during invoice creation.
    Transaction Code - MIRO                     Enter Invoice
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
      Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification

  • User-exit for MIGO, need change GKONT for CO

    Good evening,
    Dear friends, sorry for my english.
    I have made user-exit for MIGO in GGB1 and put on it in SPRO.
    I have HKONT=V3100* and corresponding HKONT=1551*( OBYC, group WRX).
    Then i run MIGO and make Purchase Order.
    In my user exit, if HKONT of first position eq V3100, i must change corresponding HKONT from 1551 to V1551*.
    When i make Order, i am run view documents: FI and other HKONTs changed successfully! ( first possition has V3100, second - V1551).
    User-exit must work only with sy-tcode = MIGO or MIRO.
    But CO documens NOT changed: HKONT(type of cost) eq V3100, but corr GKONT = 1551*...
    I also try to use OPEN FI, but have the same picture... (in CO docs V3100* and 1551, but all another docs and FI too - V3100 and V1551*).
    I see, that GKONT has only COEP. And this table a cannot see in user-exit.
    I think, that FI doc must do CO doc,
    but why in
    View documents->RW-infodocs->documents CO = it is not change?
    Please, answer me? if you can. regards.

    Please, view Print-Screen of my problem:
    <a href="http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html">http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html</a>
    Anybody can help?

  • User exit for filling the payment block

    Hello,
    I need the user exit for popuating the payment block(RBKP-ZLSPR ) while posting the FI invoice thru MIRO.
    Any inputs would be of great help.
    Thanks!
    Praveena.

    Hi,
    Try with these userexits
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    LMR1M001                                User exits in Logistics Invoice Verification                    
    LMR1M002                                Account grouping for GR/IR account maintenance                  
    LMR1M003                                Number assignment in Logistics Invoice Verification             
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs    
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting    
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice             
    MRMH0001                                Logistics Invoice Verification: ERS procedure                   
    MRMH0002                                Logistics Invoice Verification: EDI inbound                     
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP                 
    MRMN0001                                Message output and creation: Logistics Invoice Verification                                                                               
    Business Add-in                                                                               
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification                                                                               
    Assign points if useful.

  • GL Account User Exit for all FI transactions

    Hi Experts,
    We  have to create a Ztable and it stores GL bank account principal amount.
    Ex: 130121 (SCB Bank) - Rs.10,00,000.00
    In SAP , for the same GL account closing balances will available in FS10N of each month.
    Ex: 130121 (SCB Bank) for Sep'09 - Rs.8,50,000.00
    Now, the requirement is..
    I want to put an User Exit for this Bank GL Account . It has to perform a check operation whenever this GL accounts comes for posting on any FI transactions, and
    it'll check each time to the GL account principal balances(from Ztable) with the posting amounts and give a popup message regarding about the bank limits exceeded, remainaing amounts and then only they can able to post the transactions.
    Ex: If they are posting in F-02 (general ledger posting) the amount showing in GL account which go for my user exit calculations everytime and the same will be for all other FI GL transactions.
    Hope u understood else pls let me know by your replies.
    Pls advise.
    thanks & regards
    sankar.

    Hi..
    In the tcode where u want to put the user exit, In the menu select System--> Status and double click on the program.
    Then click on search and give the search term as "call-customer function".. and see if there are any available user exits..
    Select one, and double click on the 3 number..if '003' ,double click on it,it will take u to the Fm..where u will find an include starting with Z.
    Here u can write the code u want.
    Regards,
    Vishwa.

  • User Exit For Transaction F150 (Dunning)

    Hi All,
    Can any one help me in finding a User Exit for Transaction <b>F150</b> (Dunning).

    Hello,
    Try this one
    F150D001
    Bye
    gabriel

  • User-Exit for the Me22n

    Hi,
       I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
    (Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm  also. but it is not working.
    Please help me.
    Regards,
    Mohan

    Following the user exit's related to ME22N transaction.
    AMPL0001 User subscreen for additional data on AMPL
    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 processing
    MMDA0001 Default delivery addresses
    MMFAB001 User exit for generation of release order
    MRFLB001 Control Items for Contract Release Order
    Regards.

  • User Exit for saving Invoice

    Hi Experts,
    My req, is I have to check billing date with order date/ delivery date while creating the invoice in VF01.
    For that I have done codig in user exit RV60AFZZ, so it gives error ,but the billing date field get disable.
    & this invoice no. alsp get created.
    So can anybody plz tell me in which user exit i have to put my code ???
    I have tried with RV60AFZC.But it is not working.
    My code is
    FORM userexit_pricing_prepare_tkomp.
    *  TKOMP-zzfield = xxxx-zzfield2.
    * structure for vbak
    TYPES:BEGIN OF ty_vbak,
          vbeln TYPE vbak-vbeln,
          audat TYPE vbak-audat,
          END OF ty_vbak.
    *likp structure
    TYPES:BEGIN OF ty_likp,
          vbeln TYPE likp-vbeln,
          lfdat TYPE likp-lfdat,
          END OF ty_likp.
    *vbrp structure
    TYPES:BEGIN OF ty_vbrp,
          vgbel TYPE vbrp-vgbel,
          vgpos TYPE vbrp-vgpos,
          aubel TYPE vbrp-aubel,
          aupos TYPE vbrp-aupos,
          END OF ty_vbrp.
    DATA:it_vbak TYPE STANDARD TABLE OF ty_vbak,
         it_likp TYPE STANDARD TABLE OF ty_likp,
         it_vbrp TYPE STANDARD TABLE OF ty_vbrp.
    DATA:wa_vbak TYPE ty_vbak,
         wa_likp TYPE ty_likp,
         wa_vbrp TYPE ty_vbrp.
    ***** take reference document no & delivery no. *****
    LOOP AT xvbrp.
      wa_vbrp-vgbel = xvbrp-vgbel.
      wa_vbrp-vgpos = xvbrp-vgpos.
      wa_vbrp-aubel = xvbrp-aubel.
      wa_vbrp-aupos = xvbrp-aupos.
      APPEND wa_vbrp TO it_vbrp.
    ENDLOOP.
    IF it_vbrp IS NOT INITIAL.
    SELECT vbeln audat FROM vbak
          INTO TABLE it_vbak
          FOR ALL ENTRIES IN it_vbrp
          WHERE vbeln = it_vbrp-aubel.
    SELECT vbeln lfdat from likp
           INTO TABLE it_likp
           FOR ALL ENTRIES IN it_vbrp
           WHERE vbeln = it_vbrp-vgbel.
    ENDIF.
    **** check for invoice date with order date *****
    LOOP AT it_vbak INTO wa_vbak.
      IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_vbak-audat.
        MESSAGE 'Invoice Date is less than Order Date' TYPE 'E'.
      ENDIF.
    ENDLOOP.
    **** check for invoice date with delievery date *****
    LOOP AT it_likp INTO wa_likp.
      IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_likp-lfdat.
        MESSAGE 'Invoice Date is less than Delivery Date' TYPE 'E'.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    "USEREXIT_PRICING_PREPARE_TKOMP
    Thanks & Regards,
    Anagha Deshmukh

    Hello,
    These are the user exits for the tcode.
    J_3RSINV            Export sales
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Keep the break point and try in the debugging in each and every exit and see which user exit is triggred.

Maybe you are looking for

  • Server.policy file

    The ejb I am developing is trying to delete the following file from a local filesystem (Linux SuSE 9.3 Pro) : /path/to/file/delete.me I get the following exception: java.security.AccessControlException: access denied (java.io.FilePermission /path/to/

  • Cant get "rdcmndGotoSlide" to work in CP4 but it works in CP3, why is that?

    Hello! We have this project where we`re doing some tutorial for this CMS with Adobe Captivate. I`m developing a custom videoplayer for controlling Captivate SWFs. I`ve been trying to do these buttons which user can use for jumping forward and backwar

  • I go to ring someone and it doesn't actually ring?..

    sometimes on a rare occasion i will go to ring someone in my contacts list (they also have iphones) and i make the call but my phone doesn't seem like it is actually ringing them, is it because of my network provider, is it actually ringing but the r

  • I forgot my security question and the mail they send for recue the awnsers are wrong

    i forgot my security question and the mail they send for recue the awnsers are wrong, like my mail is [email protected] but they say they send to f・・・・・・・@live.com, first i thougt that was normal but the mail never come...... someone help me!

  • Query many-to-many in SQL

    I've got a little question about an SQL Query I'm trying to do. My schema is a basic one holding users and questions like so User ID UserName Question ID Question Answer User_ID : Question_ID : Answer The basic idea is to give an extendability to add