User Exit regarding SD billing Document

Hi Experts,
I want several user exits of SD billing document.  The one is used to update Item condition when Billing document created, and the second is used to save to my add-on table before document saved.   Could you have any suggestions?
Thanks.

[User exits in sales document processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm]

Similar Messages

  • BADI or User-Exit while a billing document is generated in CRM

    Hi SAP Gurus,
    I'm looking for a BADI or a user-exit that gets triggered when a billing document is generaed in CRM.
    (My requirement is to transfer Invoice information to Legacy when a billing document is generated.)
    Please let me know if you have any idea about it.
    Thanks in advance.
    Regards,
    Sreeraj
    Edited by: Sreeraj Pulickal on Apr 21, 2011 1:49 PM

    Found the solution.
    We used certain 'Events' under the 'Billing Engine' in CRM to achieve the results

  • User exit trigerred after billing document is generated

    The objective is to set the Sales Order Item Level System Status. Using a line item that is created in VA01, I have to create a reference item in VA02. For both the line items created I have to generate billing document in VF01. After the billing document is created (when I give save in VF01), using the billing document number I have to set the Billing and delivery system status to completed.
    The functional specification provided me with a user exit USEREXIT_NUMBER_RANGE in RV60AFZZ. But the exit is getting triggered before the billing document number is generated. So I am unable to set the status.  Can you suggest me a user exit that would be triggered after the billing document is generated?

    if your invoice is relevant for accounting posting - you may use one of SD/FI exits (check RV_ACCOUNTING_DOCUMENT_CREATE and search for call customer-function).
    OR you may define new output type for your invoice and put your logic there, nast-objkey will have invoice number.

  • 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 / BADI for billing block in VL01n

    Hello Techies,
    Through custom transaction we are creating delivery notes. We run a background job to pick up these delivery notes & create return deliveries using BDC call transaction method calling VL01N (We also create order of type return for same). Though i can not see any place where billing block is filled in custom program but still there are some deliveries with billing block. Could you please let me know if there is any User exit / BADI for billing block or any configuration setting for same?

    Just to add more details:
    Our program sets memory id field.
    We call transaction VL01N.
    program clears memory id field value.
    all this happens in loop for number of deliveries.
    In VL01 user exit overwrites LIKP-FAKSK value to 05. However we have written code here which imports value from memory id. by this we come to know that we have created this delivery using custom transaction & billing block should not be set.
    From this we can conclude that only when sy-subrc for import memory id is not equal to 0 then billing block is set.
    what could be the reason for sy-subrc for import memory id is not equal to 0 ?
    can it be because of number of deliveries created at a time where memory id export / import is causing problem?
    we are not able to replicate this issue in Dev/Quality systems.
    Thanks & Regards,
    Sachin

  • 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

  • Is there any user exit in IW54 before document saving?

    Dear experts,
    Is there any user exit in IW54 before document saving? I want to check some data before saving.
    thanks
    Lance

    Or BADI NOTIF_EVENT_SAVE (Change When Saving Notification)
    PeteA

  • How to block certain users to print S1 billing document type documents

    Hello,
    I need to block some user so that they can not print the S1 reversed billing documents. How can I do this?
    Thank you.
    H

    Hi ,
    You can very well control this with the basis help.Pls inform to basis the role of a user which you want to restrict the access to transaction code.We can control this through the authorisation object concept with activities create/change/display/release etc.
    Please don't use any exits for this,this is possible in standard SAP.
    Hope it helps.
    Regards,
    Pasapula.

  • USER EXIT ON Posting RMCA documents FI-CA Interface

    Hi all,
    I have to fill some custom fields in RMCA documents during the FI-CA interface.
    I used the events 61, 4000, (transaction FQEVENTS) but there isn't any billing information (VBRK).
    That's all.
    Thanks for your help.
    Bye Enzo

    Hi Enzo,
    do you have debug your user-exit and check if in a calling program you have this information ?
    if yes, you can access this information with a little tip&trick.
    Rgd
    Frédéric

  • User-Exit to Modify Accounting Document of Incoming Invoice

    Hello,
    My requirement is to add two new Line Items (One Debit One Credit - with net value 0) in the Accounting Document of the Incoming Invoice.
    Is there any User-Exit available for modification of the Accounting Document?
    P.S. - The Incoming Invoice is being Posted using BAPI - BAPI_INCOMINGINVOICE_CREATE
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Try this exits. You go through the flow and put a break point on the selected exits, and check it whether it triggering or not?
    I too not aware of this invoice flow, so I am listing all the relevant exits. I think this may help you.
    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
    Reward points if it helps you.
    Cheers,
    Swamy Kunche

  • 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 VA41 at save document

    Hi Freinds,
    Im using VA41 tcode to create contract. Before saving the contract, i want to do some validation. Is there any user exit for VA41 at save document.
    Thanx
    RR

    Hi Rajiv,
    you can use the user exit USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ(use se38 to access this) to do your validation
    All VBAP details are available in XVBAP
    and all VBAK details are available in XVBAK
    Reward if helpful
    Regards
    Byju

  • User exit regarding Network activities

    Hi,
    I need an user exit checking the activites after press 'SAVE' in transaction CJ20N and CN22.
    What I do: after setting technically complete on an avtivity I want to check for specific conditions before the user is allowed to save.
    I have tried BADI WORKORDER_UPDATE method AT_SAVE, but this method is not importing the activies -> so I can't use this method.
    Method IN_UPDATE is importing the activites, but this methos is not called when pressing 'SAVE'. I don't know when this methid is called..
    I have also investigated substitition and validation (Project system - Network activity), but sub. and val. have to many limitations.
    Someone who can help??
    Best regards,
    Anne Johannessen
    StatoilHydro Norway

    Hi,
    Refer these.
    CCOWB001  Customer exit for modifying menu entries
    COIB0001  Customer Exit for As-Built Assignment Tool
    COZF0001  Change purchase req. for externally processed operation
    COZF0002  Change purchase req. for externally procured component
    PPCO0001  Application development: PP orders
    PPCO0002  Check exit for setting delete mark / deletion indicator
    PPCO0003  Check exit for order changes from sales order
    PPCO0004  Sort and processing exit: Mass processing orders
    PPCO0005  Storage location/backflushing when order is created
    PPCO0006  Enhancement to specify defaults for fields in order header
    PPCO0007  Exit when saving production order
    PPCO0008  Enhancement in the adding and changing of components
    PPCO0009  Enhancement in goods movements for prod. process order
    PPCO0010  Enhancement in make-to-order production - Unit of measure
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0013  Change priorities of selection crit. for batch determinatio
    PPCO0015  Additional check for document links from BOMs
    PPCO0016  Additional check for document links from master data
    PPCO0017  Additional check for online processing of document links
    PPCO0018  Check for changes to production order header
    PPCO0019  Checks for changes to order operations
    PPCO0021  Release Control for Automatic Batch Determination
    PPCO0022  Determination of Production Memo
    PPCO0023  Checks Changes to Order Components
    STATTEXT  Modification exit for formatting status text lines
    Regards,
    Prashant

  • User Exit to change accounting document

    Hi all,
    Is there any user-exit in which we can change the accounting document data before it is created.
    I want a user exit which can update the accounting document during PGI for a delivery
    I was able to find the one in ehich we can make chages to the material document and iam sure that there should be one by which we can change the finance document
    Kindly help, this issue is urgent for me
    Regards
    Varun

    Check OSS Note# 415716 "User exits in delivery processing"
    There are several User exits to choose from, this document describes tham all.

  • User Exit - Include for delivery document?

    Can anyone please tell me the user exit / include details that control creation / mofiication of outbound delivery document
    I need to figure out a solution to create a split delivery if the country of origin of material is different in the stock
    Say, if the SD order line item requires 76 units, and the stock has 50 units from one country and 26 from another, then it should result in split deliveries - each with line item of a unique country of origin

    SM,
    If the origin country is different (say US for line item 1 for Qty 75, and GB for line item 2, qty 25 wouldn't you have different plants & shipping points for each line item?
    Scenario: At the time the sales order is created, there are 100 on a single line all for the same country (because as you say, it is not known during Order create). Then, when it comes time to create the delivery, you know that 75 come from US and 25 from GB. So, reduce qty on line item to 75 (US plant & Shipping Point), and create a new line item for 25 (GB Plant & shipping point). Then, your copy routines from Sales Order to Delivery would force you to split between different deliveries.
    A sales order can have different shipping points - one for each line, but the delivery holds the shipping point at the header, so you cannot mix them.

Maybe you are looking for