User exit for Reversing the Document

Hi,
Is there any User exit  for reversing the document for FBRA?
Thanks

Hi,
Execute this report you will get the list of user exist for particular transaction,The inpur parameter for this report is transaction code , the output you will be getting is the list of user exists available for this trransaction.
If find my answer suitable pelase reward me suitable points.
REPORT Z_USEREXIT .
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
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 EQ enlfdir-area.
      MOVE : tadir-devclass TO v_devclass.
    ENDIF.
  ENDIF.
  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.
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.
Regards,
Irfan Hussain

Similar Messages

  • User-Exit for changing Sales Document Number - Urgent

    Hi Experts ,
                     Please suggest me the <b>User Exit for changing Sales Document Number.</b>
    thanks,
    Jayesh<b></b>

    hi jayesh,
    chech this exit-----EXIT_SAPFV45S_002.
    this exit's description says " Change Sales Document Using Configuration".
    Other available exits are
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    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
    Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
    Reward me if useful..........
    Harimanjesh AN

  • User Exit for making the field Bill of Lading Mandatory in Delivery

    Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.

    Hi,
    I'm not sure, pls check these
    USEREXIT_SAVE_DOCUMENT_PREPARE
    EXIT_SAPLV46H_001
    NOTIF_EVENT_SAVE
    thanks
    Mohanprabu C

  • 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 checking the vendor emailid in me22n or me21n

    hi all,
         can anybody suggest me a user exit for checking the email id of the vendor in me21n or me22n or me29n.
       plz suggest me a solution its urgent.

    hi yaan,
           i checked with the user exit that u suggested me, it is getting triggered, i am able to check whether the vendor email id is present or not, but this is happening all the time that is even when the user dont want to send a email to the vendor i.e. he just wants to print the purchase order, even at that time this user exit is getting triggered and giving a message that the vendor email id is not maintained.
      the reson why this is happening is there is no import parameter to this user exit which gives the "medium of data transfer"  the user has entered. if i get this parameter visible inside the user exit, then i can check this parameter inside the user exit and do the required operation.   i checked up with all the user exits in "me" package and even the other related packages but none of them is getting triggered,
      do u know a user exit or badi which imports this parameter and also gets triggered at the time of creation of purchase order.
      plz give me a solution.
    regards,
    santosh.

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

  • User exit for different Material Document for different company code

    Hi,
    We want to have different no. range for Material document (GR) for different compnay code. Presently we have no. range at client level. Can we do with any userexit. If so pls. give the details.
    Regards
    Sai Krishna

    [user exit for generating external serial;
    [BADI MB_DOCUMENT_BADI;
    [user exit or any other enhancements during good receipt;

  • User exit for merging the credit limit in different credit control area.

    Dear All,
    Please provide user exit for the merging the credit limit in different credit control area as well as logic for the same.
    I have to merge the overall credit limit of the customer for some divisions. At this time in one company code we have created 9 credit control area as per product line. While creating customer master data and Credit management (FD32) user has assigned the different limit with respective to credit control area e. g Customeru2019s total limit assigned is 10 laks.  For credit control 1100 Limit is Rs. 3 laks and for credit control area 2200 limit is 7 laks. Now the user wants to merge the credit limit for only above two credit control area. The sales orders should get created in any credit control area up to 10 laks.
    Regards,
    Suresh

    Dear Damodhar/All,
    Would you please explain me prerequisite setting from functional side for these user exit?
    I want complete functional setting prior to ABAP application so that it work properly post configuration.
    Regards,
    Suresh

  • User exit for Change the Tariff Number in Customs Declaration Document

    Hi Guru,
    Due the business requirement, user only maintain the Tariff Number in ECC, there is an solution when GTS creating the customs declaration document in GTS, there is an user exit calling the Function Module (Customized program) to get the Tariff Number from ECC and then update the Tariff number in the item level automatically.
    Do you know if there is user exit or BADI can update the "Tariff Number" in the item level of Customs Declaration Document in GTS?
    Thanks,

    Hi,
    I would not do it in that manner, first because of performance reasons and 2nd, GTS needs to have the Data in the system and for certain procedures (for example swiss customs you will have to manipulate them in GTS). Furthermore we tried to do this for dummy numbers and then conclusion is that it only works with a Programm modification (at least for CH customs) becasue the system needs to retreive more than just the Tarif number.
    Yet if ECC has to be your master for Numbering (which I dont recommend by the way), but if there is really no other way.
    Then create a batch job that transfers the ECCN number to GTS (there is a standard functionnality to do so), and then do a batch job in GTS that retreives these numbers.
    Regards,
    Marc

  • IDOC user exit to update the document flow of the delivery

    Hi all,
    Scenario:-
    There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
    I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
    I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
    Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and where i can find the delivery no also.
    Thanks,
    Neslin.
    I have closed the other thread there is no more duplication.

    I already checked VEDA0001, but the tables for the delivery is not getting populated as it is processing through BD87(Reprocessing Idoc). Is it advisable to use the export import parameter?. Exporting the idoc data from any of the user exit in VEDA0001 and importing it in some other exit where the vbeln is available.?
    Thanks,
    Neslin.

  • Idoc user exit to update the document  flow of delivery

    Hi all,
    Scenario:-
    There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
    I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
    I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
    Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and  where i can find the delivery no also.
    Thanks,
    Neslin.
    Edited by: neslin on Jul 12, 2010 5:44 PM
    Moderator message: cross-post locked.
    Edited by: Thomas Zloch on Jul 12, 2010 2:27 PM

    Check for the enhancement VEDA0001
    Go to smod and refer to the further documentation for the same..
    Hope it helps.
    Thanks and regards

  • BADI/User Exit for During the automatic/manual clearing f.13/f-03

    Hello Experts,
    I am looking for a user exit or BADI to accomodate the additional functionality during the automatice and manual clearing process.
    During the clearing, standard SAP process post differences to one GL account.  This process needs to be modified, in new process a program within the user exit or badi will retrive the clearing account info from a custom table (based on certain criterial). . If there is no record found in the custom table, then standard SAP process should post as normal, posting to the GL account which is controlled within the IMG.
    Any input from your side will be appreciated, and if you need further information to understand the scenario, I will be more than happy to provide you.
    Thanks,

    Hi,
           Did you get a solution for this problem from any other means? Cause I am also facing the same problem. It will be great if you can  help me in this regard.
    Thanks
    Sudheer K

  • User exit for geting the Date of Production automaticaly

    Dear Gurus,
    We are using SAP 4.6C. We have activated expiration date check. When goods reciept of a batch happens, a pop up box asking date of production comes. Clients requirement is that this date has to be picked automatically and should be same as the posting date of goods issue made agaist the process order. Our process is that when we confirm the process order using transaction code CORK automatic goods reciept happens.
    I want to know how should I proceed i.e which user exit I must used for the above requirement.
    Waiting for your replys.
    Thanks and Regards
    Milind.

    Hi,
    You can achieve this using the field exit. Your ABAP consultant can help you to achieve this.
    Regards,
    V. Suresh

  • 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

  • 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

  • Iphone 5: Incoming Calls won't go through.

    Hello everyone, I purchased the Iphone 5 about 1-2 weeks ago and so far i love it. However as of recently i've been expeirencing a few issues where incoming calls won't go through. I'll try my best to break it down: Someone calls me. Phone "rings" on

  • Vendor ageing report

    Hi all, i have to prepare vendor ageing report.In that there is one exception that is if "no. of overdue days > 7 " color should be red.But here no. of overdue days can be calculated with the following formula as shown below. no. of overdue days = qu

  • Drivers for Xenserver on TS130 Software/O​nboard RAID

    Inspired by the Intel Hybrid Cloud raid controller I ordered a TS130 w/16GB RAM and a couple enterprise 1TB drives, along with the Xeon cpu. I configured the 2 1TB drives in a RAID 1 mirror and booted from Xen, but currently it sees the drives indivi

  • Ios 7 update---no request

    ios 7 update-no request Hello, i have an ipod touch 16GB...but im not too sure what generation it is. I was really excited too get the ios 7 update for it, but unfortunatly when ios 7 came out i checked for the update and i didnt have it. even too th

  • Remove Duplicate Contacts

    Help, I've read numerous threads about this but can't find anything that works. I have duplicate contacts on my iphone.  I backup and sync with iTunes, and not iCloud.  I have an iPhone 5.  I recently downloaded ios 7 and synced, now I have duplicate