Urgent. Badi or user exit for ML81N transaction

Hi!
   Currently I am working on the transaction LM81N. I am looking for a user exit or BADI  before save (commit work). I need to modify the  XIMSEG table where this table is updated in the code:
FORM SET_XIMSEG_ACC using p_rcode.
*&      Form  SET_XIMSEG_ACC
      ximseg fuellen - Buchung auf Ebene Kontierung
p_rcode = 0.
CLEAR XIMSEG.
XIMSEG-BWART = T156N-BWART_NEXT.
XIMSEG-EBELN = XESSR-EBELN.
XIMSEG-EBELP = XESSR-EBELP.
XIMSEG-KZBEW = 'B'.
XIMSEG-LFBJA = XESSR-ERDAT.
XIMSEG-LFBNR = XESSR-LBLNI.
XIMSEG-ELIKZ = XESSR-FINAL.                 "set ELIKZ
IF XESSR-KZABN EQ KZABN_S.                  "Storno
  XIMSEG-XSTOB = 'X'.
  XIMSEG-ELIKZ = SPACE.                     "reset ELIKZ
ENDIF.
XIMSEG-ERFMG = 1.
XIMSEG-ERFME = XEKPO-MEINS.
XIMSEG-BPMNG = 1.
XIMSEG-BPRME = XEKPO-MEINS.
<b>XIMSEG-SGTXT = XESSR-TXZ01.</b>
LOOP AT XESKN WHERE PACKNO EQ XESSR-LBLNI
              AND LOEKZ IS INITIAL
              AND NETWR > 0.
  XIMSEG-LFPOS = XESKN-ZEKKN.
  APPEND XIMSEG.
ENDLOOP.
IF SY-SUBRC > 0.
  p_rcode = 8.
  REFRESH: XIMSEG, XEMSEG.
  exit.
ENDIF.
ENDFORM.                    " SET_XIMSEG_ACC
I need to modify
XIMSEG-SGTXT = XESSR-TXZ01 with ESSL-KTEXT1
I found that use ATP_PUBLISH_RESULTS BADI after the call  SET_XIMSEG_ACC .  But I didn't found it.
Thanks in advance.

Hi Diana,
these are the available exits for this t.code:
Enhancement/ Business Add-in            Description
Enhancement
SRV_FRM                                 SRV: Formula calculation (obsolete since 4.0A!)
SRVSEL                                  Service selection from non-SAP systems
SRVREL                                  Changes to comm. structure for release of entry sheet
SRVQUOT                                 Service export/import for inquiry/quotations
SRVPOWEB                                Purchase order for service entry in Web
SRVMSTLV                                Conversion of data during importing of standard service cat.
SRVMAIL1                                Processing of mail before generation of sheet
SRVLIMIT                                Limit check
SRVKNTTP                                Setting the account assgnmt category when reading in, if "U"
SRVEUSCR                                User screen on entry sheet tabstrip
SRVESSR                                 Set entry sheet header data
SRVESLL                                 Service line checks
SRVESKN                                 Set account assignment in service line
SRVESI                                  Data conversion entry sheet interface
SRVENTRY                                Unplanned part of entry sheet (obsolete since Rel. 3.1G)
SRVEDIT                                 Service list control (maintenance/display)
SRVDET                                  User screen on tab strip of service detail screen
INTERFAC                                Interface for data transfer
o.of Exits:         18
o.of BADis:          0
Try to found the correct exits and provide the and activate the exits.
If u wan to where the exits is working put the breakpoint.
***********Rewords some points if it is useful.
Rgds,
P.Naganjana Reddy

Similar Messages

  • User Exit for ML81N  at the time of save -- urgent

    hello all,
    I need to fill the field reference field in ML81N transaction with some value for this i need to find user exit i was able to find so many user exits for this transaction but i couldn't find the perfect user exit at the tiem of save,
    Any pointers wouls be of great help..............

    Hi,
    check these 2 threads.
    User exit in ML81N
    Urgent. Badi or user exit for ML81N transaction
    Regards,
    Maha

  • BADI or User Exit for Txn : CRMD_ORDER

    Hi Experts,
    Is there any badi or user-exits for the transaction crmd_order.
    regrads,
    arul jtohi a

    Dear Arul Jothi,
    BAPI_ACTIVITYCRM_CREATEMULTI
    BAPI_BUSPROCESSND_CREATEMULTI
    CRM_BUSPROCESSND_BAPI
    CRM_LEADCRM_BAPI
    BAPI_LEAD_CREATEMULTI
    CRM_OPPORTUNITYCRM_BAPI
    BAPI_OPPORTUNITY_CREATEMULTI
    CRM_SLSTRANSACTCRM_BAPI
    BAPI_SLSTRANSACT_CREATEMULTI
    Also, visit the following thread:
    Change status for sales order in crmd_order
    BAdi/Enhancement:
    /people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    Regards,
    Naveen.

  • BAdI: or User Exit for Campaign Creation   IN CRM 5.0

    Hi all,
    we are working in CRM 5.0,
    we have a Requirement like :
    when we create the campaign it should check higher level project ID (marketing Plan ID)
    if it is there it should permit for create campaign else it ll show error...
    Any BAdI: or User Exit for Campaign Creation?
    I ll geive reward points....
    Rhanks & Regards,
    Ganesh

    IN WHICH TRANSACTION U R CREATING CAMPAIGN ??

  • Badi or user exit for changing currency INR to EUR

    hi friends,
    in po header there is one tab called status.
    in this tab there is one field called delivery payment
    which has curr INR but i want to change that INR CuRR
    to EUR.Can any one tell me how do this is there any badi or user exit
    for this req.
    thanks.

    Hi Sonu,
    Use the following program to find out the appropriate user exist for ur transaction:
    REPORT ZGURU_USER_EXIT_FIND .
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
    Regards,
    Himanshu

  • BADI or User exit for PO

    Hi Gurus,
    I am looking for BADI's or User exits for transaction ME23n.
    Exactly I am looking for BADI or user exit for the release strategy for the PO and then mailing it to th e apporover.
    regards
    kanishka

    dear ,
    check out these two badi it may be useful for your requiremrnt
    ME_RELEASE_CREATE
    SMOD_MRFLB001         
    Cheers
    fareed

  • BAdI: or User Exit  for Campaign Creation

    Hi all,
              we are working in CRM 5.0,
    we have a Requirement like :
          when we create the campaign it should check higher level project ID        (marketing Plan ID)
          if it is there it should permit for create campaign else it ll show error...
    Any BAdI: or User Exit  for Campaign Creation?
    I ll geive reward points....
    Rhanks & Regards,
    Ganesh

    Dear Ganesh,
    As campaign can be created and executed individually also, it will never check for higher level project ID.
    Let me check the system if we can block creation of campaign individually, without having a higher level marketing plan.

  • Badi or user exit for allocation run (Tcode-J3AT) on save button

    hi friends,
    i m searching for the BADI or user exit for the Tcode J3AT on the save button press. if u know any badi or user exit for same pls let me know.
    thanks and regards,
    vicky.

    solved with the help of SAP note.

  • BADI or USER Exit for BP Adress check

    Hi All ,
                what is the badi or user exit for giving a additional check on Postal Codes when creating a BP ?
    I have checked BUPA_ADDR_CHECK
    BUPA_ADDR_EXPORT
    BUPA_ADDR_IMPORT
    BUPA_ADDR_UPDATE
    BUPA_ADRREL_EXPORT
    and the user exit ZXSZARU01
    but when i am entering the postal code and pressing Enter , i am not able to catch the User/EXIt or badi .
    Thanks for help.

    Hi
      Use the BAdi : ADDRESS_CHECK
      Implement the method: ADDRESS_POSTAL_CHECK
    Once you enter the Post Code and Country on BP Txn, Pressing Enter will trigger this Badi for  address check !
    Good Luck !
    Thanks
    <b>Allot points if this helps !</b>

  • Find active user exit for a transaction code

    Hi All,
    Please help to find the active user exit for a transaction code.
    for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
      Exit name    Short text
      SDTRM001  Reschedule schedule lines without a new ATP check
      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
      V45E0001  Update the purchase order from the sales order
      V45E0002  Data transfer in procurement elements (PRreq., assembly)
      V45L0001  SD component supplier processing (customer enhancements)
      V45P0001  SD customer function for cross-company code sales
      V45S0001  Update sales document from configuration
      V45S0003  MRP-relevance for incomplete configuration
      V45S0004  Effectivity type in sales order
      V45W0001  SD Service Management: Forward Contract Data to Item
      V46H0001  SD Customer functions for resource-related billing
      V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Thanks & Regards,
    Sabu

    Goto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
    You will get all active exits in system.
    Exits related to SD may be in ZSD package.

  • BADI or User Exit for updating MSEG

    Hi,
       We are using ECC 6.0 and here is the scenario that we have to update custom fields into VBAP, LIPS and MSEG tables when these fields are entered on the sales order screen VA01,VA02.These field are added on this screen using Additional Data B screen.Also, These fields are there in VBAP and LIPS through Append Structure and MSEG through CI_COBL.Is there any BADI or USER EXIT for this.Thanks in Advance.
    Priya.

    Hi
    You can use exit ZXMBCU02 ( Function EXIT_SAPMM07M_001
    in SAP enhancement MBCF0002 ). Here also whtever changes you make to I_MSEG will be lost as MSEG is an importing parameter. You can do something like this.
    FIELD-SYMBOLS <F1> TYPE MSEG.
    DATA NAME(50) VALUE '(SAPMM07M)MSEG'.
    ASSIGN (NAME) TO <F1>.
    <F1>-KOSTL = 'XXXX'.
    ( In above example MSEG-KOSTL will be set as XXXX, you can change any of MSEG fields in above way. ).
    Cheers

  • BADI/User Exit for APO Transaction: /SAPAPO/SNPTLB

    Hi Experts,
    We have a proxy interface and currently we are using  FUNCTION EXIT_SAPMSNPUSER_006 for the APO Order transaction: /SAPAPO/SNPTLB.
    This exist is triggering before the Order is being saved in APO and at times it is throwing an error 'Order key already exists in live cache' in the APO system.
    Is there any other BADI or User exit available to Save the order in APO before the interface gets processed?, if so, plese guide me. 
    Thanks & Regards,
    Vijaya

    Hello Lakshmi,
    I am having the same issue with the message "Order key already exists in live cache" in our system. 
    We are using the user-exit EXIT_SAPMSNPUSER_005 for UoM conversion.  But we are not making any explicit proxy calls
    to /SAPAPO/SNPTLB.  Does the system automatically call this transaction with this user-exit?
    Did you get a resolution for the issue.  I would really appreciate if you can let me know how you have addressed this.
    Thanks,
    Ratnam

  • BADI or User Exit for  Transaction CK 24

    Hi Experts ,
    I need to do some customization as per my client requirement , once CK 24 transaction get executed .
    For that i am searching for a BADI or User exit that is being triggered after execution of the transaction  CK 24 .
    Can any body please help me on this to find a BADI or User exit on the same . Ihave tried all the basic methods for fidning the same .
    Good points will be rewarded on the solution .
    Regards
    Sarmistha

    SD,
    Am afraid to say there is no exit or BADi for same.just ask access key for program than change where you want.
    Amit.

  • FIND BADI OR USER EXIT FOR TRANSACTION CORK -STEP SAVE CONFIRMATION

    Hi all .
    I need to find  a badi or user exit to make some w/h movements on action "save confirmation"
    in transaction CORK .
    Please  ,your help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
      Helena

    CONF0001            Enhancements in order confirmation                                                        
    CONFPI01            Process order conf.: Calculate cust.specific default values                               
    CONFPI02            Process order confirmation: Customer spec. input checks 1                                 
    CONFPI03            Process order conf.: Cust. spec. check after op. selection                                
    CONFPI04            Process order conf.: Customer specific input checks 2                                     
    CONFPI05            Process order conf.: Cust. spec. enhancements when saving                                 
    CONFPI06            Process order confirmation: Actual data transfer                                          
    CONFPM01            PM/SM order conf.: Determine cust. specific default values                                
    CONFPM02            PM/SM order confirmation: Customer specific input checks 1                                
    CONFPM03            PM/SM order conf.: Cust. spec. check after op. selection                                  
    CONFPM04            PM/SM order conf.: Customer specific input check 2                                        
    CONFPM05            PM/SM order conf.: Cust. specific enhancements when saving                                
    CONFPP01            PP order conf.: Determine customer specific default values                                
    CONFPP02            PP order conf.: Customer specific input checks 1                                          
    CONFPP03            PP order conf.: Cust. specific check after op. selection                                  
    CONFPP04            PP order conf.: Customer specific input checks 2                                          
    CONFPP05            PP order conf.: Customer specific enhancements when saving                                
    CONFPP06            PP Order Confirmations: Actual Data Transfer                                              
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens                                 
    CONFPS01            PS confirmation: Determine customer specific default values                               
    CONFPS02            PS confirmation: Customer specific input checks 1                                         
    CONFPS03            PS confirmation: Customer specific check after op. selection                              
    CONFPS04            PS confirmation: Customer specific input checks 2                                         
    CONFPS05            PS confirmation: Customer specific enhancements when saving                                                                               
    No of Exits:         24

  • User Exit for ML81N - Goods Receipt

    Hello,
    I need to populate BSEG-XREF1 and BSEG-XREF2 with custom values from ML81N - Can't find a BADI or User exit - is there one?
    Many Thanks

    Should able to do it with FI substitution:
    Transaction Code: OBBH
    1. Create a substitution
    2. Create a Step and Define the pre-requisites eg: document type
    3. Create the substitution rule. You can create an exit and use it
    For more information on creating and maintaining substitutions, see Financial Accounting -> Special Purpose Ledger -> Validations and Substitutions -> Substitutions in the SAP Library.

Maybe you are looking for