Badi or Exit for changing subscreen in PO

Hi Friends,
Is there any Badi or Exit for changing shipping subscreen at item level for Purchase order.actualy my requirement is to supress all fields on shipping subscreen(Item Level) except route.How can I do it????
Please help...

MM06E005 - screen exits contains subscreen of PO header & Item
AMPL0001 - this is a screen exits without field .
use the first exit and check it.

Similar Messages

  • BADI / user exit for Tcode IW32?

    Hi
    Are there any BADIs  / user exits for changing component data in Transaction IW32 for a maintainance order?
    regards
    cs

    Enhancement                                                                               
    IWO10012                                Maintenance order: Priority handling on central header                                                                               
    Business Add-in                                                                               
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI                  
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

  • BADI/EXIT for changing line items (F-02)

    Hi All,
    I want to know any BADIs/EXITs which allow changing of G/L line items in transaction f-02. I have tried substitution it does not work for my requirement.
    My requirement is copying of PRCTR from offset line item to the Vendor/customer line item which always appears as line item 001.
    Thanks,
    Preetham S

    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)

  • Badi or Exit for Update in MIGO

    Hi ,
    The requirement is whenever i am doing GRN in MIGO , the Bill of lading field in header stored in table MKPF & field FRBNR , should be automatically filled with a system genarated internal number. That is while we are posting MIGO. I will be able to see the Bill of lading number in display mode of MIGO.
    I need a BADI or exit which can update the Bill of lading field during GRN( creation of material doc).

    hi,
    try this:
    Enhancement
    MB_CF001                                Customer Function Exit in the Case of Updating
    MBCF0011                                Read from RESB and RKPF for print list in  MB26
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVAT
    MBCF0009                                Filling the storage location field
    MBCF0007                                Customer function exit: Updating a reservation
    MBCF0006                                Customer function for WBS element
    MBCF0005                                Material document item for goods receipt/issue
    MBCF0002                                Customer function exit: Segment text in materia
    Business Add-in
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and
    MB_DOC_BADI_INTERNAL                    BAdIs During Creation of a Material Document (S
    MB_ME_CSGMT_BADI_SAP                    BAdI: Consignment Processing - Stock Transfer
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data
    MB_RESERVATION_SCR                      Screen BAdI for Retrofit DFPS
    MB_RESERVATION_UPCHD                    BAdI for Creation and Changing of Manual Reserv
    MB_RES_BAPI_CHANGE                      BAdI: Execution of Changes to Reservation Field
    MB_RES_BAPI_CREATE1                     BAdI: Adoption of Customer's Own Fields as Rese
    MB_RES_BAPI_DETAIL1                     BAdI: Display of Customer's Own Fields in Reser
    MB_STOR_LOC_BADI_GTS                    BADI to Check and Change Storage Location (GTS
    MB_DOCUMENT_BADI_SAP                    BADI for Creation and Changing of a Material Do
    ARC_MM_EBAN_CHECK                       BAdI: Enhancement of Archivability Check (MM_EB
    ARC_MM_EBAN_PRECHECK                    BAdI: Enhancement of Archivability Check (MM_EB
    ARC_MM_EBAN_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EBA
    ARC_MM_EINA_CHECK                       BAdI: Enhancement of Archivability Check (MM_EI
    ARC_MM_EINA_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EIN
    ARC_MM_INVBEL_CHECK                     BAdI: Enhancement of Archivability Check (MM_IN
    ARC_MM_INVBEL_WRITE                     BAdI: Enhancement of Scope of Archiving (MM_INV
    ARC_MM_MATBEL_CHECK                     Prüfung ADD-ON-spezifischer Kriterien für MM_MA
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking
    MB_CIN_LMBMBU04                         posting of gr
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI                        BAdIs During Creation of a Material Document
    Edited by: Ierardi Leo on Jul 10, 2008 12:43 PM

  • BADI/USER EXIT for FB60

    Hi,
    please can you tell any BADI or USER EXIT that are available for FB60 Transaction code.
    Thanks
    cra

    hi
    following exits are available
                                                                                    Transaction Code - FB60                     Enter Incoming Invoices                                                                               
    Exit Name           Description                                                                               
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment                  
    F050S002            FIDCC1: Change IDoc/do not send                                         
    F050S003            FIDCC2: Change IDoc/do not send                                         
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send                
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document                 
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document                         
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change                  
    F180A001            Balance Sheet Adjustment                                                
    FARC0002            Additional Checks for Archiving MM Vendor Master Data                   
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text                  
    RFEPOS00            Line item display: Checking of selection conditions                     
    RFKORIEX            Automatic correspondence                                                
    SAPLF051            Workflow for FI (pre-capture, release for payment)                                                                               
    No of Exits:         13                                                                      
    To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
    double click on method get_instance, get a break point on case statement.
    execute and start the required transaction in new session.
    look for variable <b>exit_name.</b> It would show the available badi's.
    Hope this helps
    <b>if it helped, you can acknowledge the same by rewarding</b>
    regards
    dinesh

  • BADI/User Exit for KO02

    Dear Experts,
    When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.
    This is not possible with User Status, coz' User may go and set manually "REL" Status.
    can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.
    Thanks,
    Sanju.

    When you set a User status , you can assign an Authorization Object on who can change the status .
    Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management
    Define Authorization Keys for Status Management
    In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.
    When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.
    Example
    You want to define that certain user statuses can be changed only by a specified employee group.
    To do this, create an authorization key and assign it to the relevant user statuses.
    In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.
    Activities
    1. Check whether you want to define authorizations for your user statuses.
    2. If necessary, create authorization keys as follows:
    a) Choose "New entries".
    b) Enter a key and an explanatory text in the appropriate fields and choose "Save".
    You have now created the authorization key.
    3. Assign the authorization key to one or more user statuses in your status profile.
    4. Define corresponding authorizations and include them in the relevant authorization profiles.

  • BADI/User Exit for custom table update from Delivery

    Hi
    Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
    Thanks in Advance for your immediate help .

    Hi Joseph,
    See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
    I hope this helps you
    Regards
    Eduardo

  • BADI or EXIT for transaction F-28

    Hi !
    Can anyone tell me BADIs or EXITs for transaction F-28 ?
    Thanks in advance.
    Best regards,
    Dairo.

    Exit Name
    Description
    F050S001
    FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change IDoc/do not send
    F050S003
    FIDCC2: Change IDoc/do not send
    F050S004
    FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001
    Balance Sheet Adjustment
    FARC0002
    Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01
    Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00
    Line item display: Checking of selection conditions
    RFKORIEX
    Automatic correspondence
    SAPLF051
    Workflow for FI (pre-capture, release for payment)
    No of Exits:         13

  • BADI's/Exits for FBRA transaction

    Hi All,
      Iam reversing a cleared document through FBRA transaction but while reversing the transaction is changing the existing cleared document record in BSAD table and creating one more record with reversed document. While changing the existing record i want keep old value in one custom field of BSAD table.
    So please let me know if there any BADI's or EXIT's available for this transaction to meet my requirement.
    Regards,
    Shiva

    Hi Shiva,
    <b>Enhancements</b>
    FARC0002       Additional Checks for Archiving MM Vendor Master Data        
    F180A001        Balance Sheet Adjustment                                     
    F050S007        FIDCCH Outbound: Influence on IDoc for Document Change       
    F050S006        FI Outgoing IDoc: Reset Clearing in FI Document              
    F050S005        FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FIdocument      
    F050S004       FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send     
    F050S003        FIDCC2: Change IDoc/do not send                              
    RFAVIS01        Customer Exit for Changing Payment Advice Segment Text       
    RFEPOS00      Line item display: Checking of selection conditions          
    RFKORIEX       Automatic correspondence                                     
    SAPLF051       Workflow for FI (pre-capture, release for payment)           
    F050S001        FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment       
    F050S002        FIDCC1: Change IDoc/do not send                              
    <b>Business Add-in</b>
    FI_AUTHORITY_ITEM  Extended Authorization Check for Document Display (FB03)     
    FI_DOC_DISP_LI         Diversion to Document Items (FB03)                           
    FI_FB08_SUBST_BUDAT     FB08: Check Posting Date for Reversal of FI Doc. with FB08   
    FI_GET_INV_PYMT_AMT     BAdI for determining the payment amount for an invoice       
    FI_HEADER_SUB_1300       Screen Enhancement for Document Header SAPMF05A              
    FI_PAYREF_BADI_010    BAdI: Payment ReferenceNumber                               
    FI_RES_ITEM_CURRENCY      Document of Residual Item with Invoice Currency              
    FI_TRANS_DATE_DERIVE        Derive BKPF-WWERT from Other Document Header Data            
    RFESR000_BADI_001               BAdI for Own Processing of POR Item                          
    AC_QUANTITY_GET                 Transfer of Quantities to Accounting - Customer Exit         
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ      
    ADJUST_NET_DAYS             Change to Net Due Date                                       
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences       
    BADI_ENJ_ALT_ADR             Go to alternative vendor/customer data                       
    BADI_F040_SCREEN_600      Screen Enhancement on F040 0600 Document Header              
    BADI_FDCB_SUBBAS01        Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)    
    BADI_FDCB_SUBBAS02        Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)    
    BADI_FDCB_SUBBAS03        Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)    
    BADI_FDCB_SUBBAS04        Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)    
    BADI_FDCB_SUBBAS05        Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)    
    BADI_PRKNG_NO_UPDATE   BAdI for Deactivating Update of Parked Documents             
    INVOIC_FI_INBOUND              BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)            
    F050S008                               FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger        
    FBAS_CIN_LTAX1F02              Tax interface                                                
    FBAS_CIN_MF05AFA0            EWT - Downpayment Clearing - Tax transfer for CIN            
    <b><REMOVED BY MODERATOR></b>
    Satish
    Message was edited by:
            Alvaro Tejada Galindo

  • Any BADI or Exit for Tcode CAA1?

    Hi,
    I would like to know is there any exit or BADI for transaction - CAA1 ?
    I need to check whether contract Account category and Business partner type are matching (from custom table)  when we create contract account in CAA1 transaction.
    Please let me know if any one has idea..
    I tried using SMOD and some other procedure.. but I could not find any exit for this transaction.
    Thanks for ur time.
    Chris.

    Tons of BADIS:
    BUPA_DELETION                           Exit for Archiving/Deleting Business Partners                 
    BUPA_DO_NOT_CALL                        BP: Exit for Not Setting the FLG_NOUSE Flags in ADR2          
    BUPA_FURTHER_CHECKS                     Business Partner: Additional Checks                           
    BUPA_GENERAL_EXPORT                     SAP BP: BAdI for Export  of General Data for BP               
    BUPA_GENERAL_IMPORT                     BUPA_GENERAL_IMPORT                                           
    BUPA_GENERAL_UPDATE                     Business Partner General Data                                 
    BUPA_IDENT_UPDATE                       SAP BP: Identification Numbers                                
    BUPA_INDSEC_EXPORT                      SAP BP: Exports Industry Data                                 
    BUPA_INDSEC_IMPORT                      SAP BP: Imports Industry Data                                 
    BUPA_INDSEC_UPDATE                      SAP BP: Industry Code Data                                    
    BUPA_INTCOMP_EXPORT                     SAP BP:Exports Detailed Data for Rel.Type Investment in Firm  
    BUPA_INTCOMP_IMPORT                     SAP BP:Imports Detailed Data for Rel.Type Investment in Firm  
    BUPA_RELATSHP_UPDATE                    Business Partner Relationships                                
    BUPA_RELSHP_EXPORT                      SAP BP: Export of Managment Table of the BP Relationships     
    BUPA_RELSHP_IMPORT                      SAP BP: Import of Relationship Data - Management Table        
    BUPA_ROLES_UPDATE                       Business Partner Roles                                        
    BUPA_ROLE_EXPORT                        SAP BP: Exports Role Data                                     
    BUPA_ROLE_IMPORT                        SAP BP: BAdI for Import of Role Data                          
    BUPA_STATUS                             Business Partner: Exits for Status Management                 
    BUPR_FILTER_RELSHP                      When Reading,Filter Rel'ships using BUB_BUPR_BUT050_LM_READ   
    BUPR_FILTER_RELTYP                      Filter Relationship Types                                     
    PARTNER_UPDATE                          Business Partner                                              
    BUPA_DA_PREPARE                         Business Partner: Selection of Data to Be Deleted             
    BUPA_SAVE_CONTROL                       Establishing the Save Event for the BAPIs                     
    BDT_XCHNG_CREATE_SET                    Affects XCHNG Indicator When Creating                         
    BUPA_MASK_LIST_ITEM                     Masking the de-personalized fields of the protected BP        
    BUPA_SHLP_CONTROL                       BADI for F4 Help Event SELONE                                 
    BUPA_SHLP_AUTH_CHECK                    SAP BP - Exit for authorisation check                         
    BUPA_ADDR_EXPORT                        SAP BP: Exports Address References (BUT020) and Usages        
    BUPA_ADDR_IMPORT                        SAP BP: Imports Address References (BUT020) and Usages        
    BUPA_ADDR_UPDATE                        Business Partner Addresses                                    
    BUPA_ADRREL_EXPORT                      SAP BP: Exports Address References for Relationships          
    BUPA_ADRREL_IMPORT                      SAP BP: Imports Address References for Relationships          
    BUPA_APPLI_CHECK                        BDT: BAdI for Changing Activity Status of the Applications    
    BUPA_APPL_MNT_IMPORT                    SAP BP: Import Indicator for Exchange of Business Hours       
    BUPA_AUGRP                              SAP GP: Exit for Authorization Check   > B_BUPA_GRP           
    BUPA_BANK_EXPORT                        SAP BP: BAdI for Export of Checked Bank Data for BP           
    BUPA_BANK_IMPORT                        SAP BP: Import of Bank Data                                   
    BUPA_BANK_UPDATE                        Business Partner Bank Data                                    
    BUPA_CARDS_UPDATE                       Business Partner: Payment Cards                               
    BUPA_CCARD_EXPORT                       SAP BP: BAdI for Export of Payment Card Data                  
    BUPA_CCARD_IMPORT                       SAP BP: BAdI for Import of Payment Card Data for BP           
    BUPA_CENTR_CI_CHECK                     SAP BP: Check Data of the BUT000 CI Include                   
    BUPA_CONTPREL_EXPORT                    SAP BP: Exports Detailed Data for Contact Person Rel.        
    BUPA_CONTPREL_IMPORT                    SAP BP:Imports Detailed Data for Contact Person Relationship 
    Rob

  • BADI OR EXIT for F-57

    Hi GURU ,
    I want BADI or EXIT which will trigger at F-57 ( in the save time ) .
    I want to call one more standard program from thats badi where I will pass the Document No which will be created at F-57 . Thats why I want the BADI/EXIT name which will trigger at F-57 and where I can get the Document No . Please tell me BADI/EXIT name .

    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    SAPLF051                                Workflow for FI (pre-capture, release for payment)
    RFKORIEX                                Automatic correspondence
    RFEPOS00                                Line item display: Checking of selection conditions
    RFAVIS01                                Customer Exit for Changing Payment Advice Segment Text
    FEDI0001                                Function Exits for EDI in FI
    FARC0002                                Additional Checks for Archiving MM Vendor Master Data
    F180A001                                Balance Sheet Adjustment
    F050S001                                FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002                                FIDCC1: Change IDoc/do not send
    F050S003                                FIDCC2: Change IDoc/do not send
    F050S004                                FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005                                FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006                                FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007                                FIDCCH Outbound: Influence on IDoc for Document Change
    Business Add-in
    FBAS_CIN_MF05AFA0                       EWT - Downpayment Clearing - Tax transfer for CIN
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences
    FI_AUTHORITY_ITEM                       Extended Authorization Check for Document Display (FB03)
    FI_DOC_DISP_LI                          Diversion to Document Items (FB03)
    FI_FB08_SUBST_BUDAT                     FB08: Check Posting Date for Reversal of FI Doc. with FB08
    FI_GET_INV_PYMT_AMT                     BAdI for determining the payment amount for an invoice
    FI_HEADER_SUB_1300                      Screen Enhancement for Document Header SAPMF05A
    FI_PAYREF_BADI_010                      BAdI: Payment Reference Number
    FI_RES_ITEM_CURRENCY                    Document of Residual Item with Invoice Currency
    FI_TRANS_DATE_DERIVE                    Derive BKPF-WWERT from Other Document Header Data
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ
    INVOIC_FI_INBOUND                       BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    RFESR000_BADI_001                       BAdI for Own Processing of POR Item
    AC_QUANTITY_GET                         Transfer of Quantities to Accounting - Customer Exit
    ADJUST_NET_DAYS                         Change to Net Due Date
    BADI_ENJ_ALT_ADR                        Go to alternative vendor/customer data
    BADI_F040_SCREEN_600                    Screen Enhancement on F040 0600 Document Header
    BADI_FDCB_SUBBAS01                      Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS02                      Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS03                      Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS04                      Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS05                      Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
    BADI_MIRO_SPLT_ADD                      Append additional fields of ACCVS to ACCIT
    BADI_PRKNG_NO_UPDATE                    BAdI for Deactivating Update of Parked Documents
    F050S008                                FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
    FBAS_CIN_LTAX1F02                       Tax interface
    No.of Exits:         14
    No.of BADis:         26

  • BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE initial screen

    Hi All,
    I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.
    please provide your suggestions.

    Hi,
    here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
      DATA: faelligkeit TYPE d,
            faelligkeit_text type c length 10,
            meldungstext TYPE c LENGTH 100.
      FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
      IF sy-uname = 'XYZ'.
    *    BREAK-POINT.
        READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
          ASSIGNING <it_source>.
        faelligkeit = <it_source>-dfaell.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             DATE_INTERNAL                  = faelligkeit
           IMPORTING
             DATE_EXTERNAL                  = faelligkeit_text
           EXCEPTIONS
             DATE_INTERNAL_IS_INVALID       = 1
             OTHERS                         = 2
        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 faelligkeit <> sy-datum.
          CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
          CALL METHOD pi_proxy_messages->set_message
            EXPORTING
              pi_message_id       = 'T0'
              pi_message_number   = '101'
              pi_message_severity = 'E'
              pi_message_var1     = meldungstext
            EXCEPTIONS
              OTHERS              = 4.
        ENDIF.
      ENDIF.
    It is not a really nice coding but it shows in a simple way how to use the BAdI.
    Regards
    Robert

  • BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE

    Hi All,
    I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.

    Hi,
    here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
      DATA: faelligkeit TYPE d,
            faelligkeit_text type c length 10,
            meldungstext TYPE c LENGTH 100.
      FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
      IF sy-uname = 'XYZ'.
    *    BREAK-POINT.
        READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
          ASSIGNING <it_source>.
        faelligkeit = <it_source>-dfaell.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             DATE_INTERNAL                  = faelligkeit
           IMPORTING
             DATE_EXTERNAL                  = faelligkeit_text
           EXCEPTIONS
             DATE_INTERNAL_IS_INVALID       = 1
             OTHERS                         = 2
        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 faelligkeit <> sy-datum.
          CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
          CALL METHOD pi_proxy_messages->set_message
            EXPORTING
              pi_message_id       = 'T0'
              pi_message_number   = '101'
              pi_message_severity = 'E'
              pi_message_var1     = meldungstext
            EXCEPTIONS
              OTHERS              = 4.
        ENDIF.
      ENDIF.
    It is not a really nice coding but it shows in a simple way how to use the BAdI.
    Regards
    Robert

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • User Exit for Changing G/L account in Accounting Document

    hi all,
    This one is urgent for me. If you guys can help.
    Iam looking for a user-exit to change the G/L account while posting the accounting document.
    If someone has worked on a similar user-exit Kindly help.
    Thanks and Regards
    Varun

    Hi Experts,
    The requirement is to change the GL account when PGI is done for a delivery.
    I have coded in the above user exit for changing the GL account. I am facing the issue here.
    I am changing the GL account through a user exit, but even before the user exit is  called the standard SAP is throwing a error.
    the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
    Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
    I have coded this in the enhancement point. Include  MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
    Thanks,

Maybe you are looking for