User exits for route determination in Sales order & Deliver creation

Hi Gurus,
I need to do some change in the route determination for both sales order & Delivery creation.
Can anyone suggest me which user exit I have to use.
Appropriate answers will be awarded.

Hi,
You can use the following exit for route determination - EXIT_SAPL0VRF_001.
The FM documentation is below. Check the functionality:
"The customer exit can be used for customer-specific route determination or to modify the inbound data for the company's own route determination.
The following data is transferred to support customer-specific route determination:
I_VBAK current order header (for route determination in sales order)
I_VBKD order business data (for route determination in sales order)
I_VBAP current order item (for route determination in sales order)
I_VBPA current sales partner
I_LIKP current delivery header (for route determination in delivery)
The following data can be modified and transferred back to the standard route determination or used for a specific route determination:
C_ALAND Country of departure
C_AZONE Departure zone
C_LLAND Destination country
C_LZONE Receiving zone
C_VSBED Shipping condition
C_TRAGR Transportation group
C_GRULG Weight group
C_FLAG_GEN_VT Flag: Route determination with generic shipping
requirements/transportation group.
C_FLAG_INCR_GRULG Flag: Increase weight group if no route
If you want to use a standard route determination with different parameters, trigger the exception 'CONTINUE_WITH_STANDARD'.
In the log table C_PROT, the log data from the customer-specific route determination can be transferred back. In this case, the log entries always refer to customer-specific messages. To add a message to the log table, the function module SD_ROUTE_DET_LOG can be used (see below).
If a route is determined in the customer-specific route-determination, it can be transferred back in the E_ROUTE field. If no route was found, the exception 'NO_ROUTE_FOUND' is to be triggered."
Thanks.

Similar Messages

  • Screen /user exit for additional screen on sales order header

    Hello sir's,
    can anybody help me for this query---
    Screen /user exit for additional screen on sales order header.
    exit name.
    Thanks in advance,
    Vikram

    Hi,
    SAP has provided screen modification. This you can do on "Additional data B" screen at both <b>header</b> and line iteam level.
    Additional <b>header data is on screen SAPMV45A 0309</b>, additional item data on screen SAPMV45A 0459. These screens contain the <b>Include screens SAPMV45A 8309 ( this is the screen exit at header  )</b> or SAPMV45A 8459 ( this is the screen exit at item ) as user exits. There few more exits you will have to code to get this screen works. The are,
    MV45AOZZ - PBO module of screen
    MV45AIZZ - PAI module of screen
    MV45ATZZ - Global data definition for user-exit.
    Check this link for more info regarding user-exit in sales docs.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    We have alredy implemented this solution at line item level. Let me know if you have any question.
    Regards,
    RS

  • User exit for route determination in Stock trasnport order

    Hi All,
    Can somebody help me with a user exit that I can use for route determination in the Stock transport order.
    Kind Regards
    Chakradhar

    Exit to be used is   EXIT_SAPLEBND_002. Enhancement M06E0004.
    DATA it_ekpo TYPE LINE OF mmpur_bekpo .
    To have controls in system for Standard Cost Estimation under two conditions if SCE is not run then,
    1)      System will not allow creating Process Order (COR1).
    2)      System will not allow Post Goods Issue (VL02N).
    Till date we do not have any control of SCE while creating Stock Transport Order.
    Now we have another control for SCE, that is
    3)      Henceforth system will not allow creating STO (ME21N).
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N'.
      IF i_cekko-bsart = 'UB'.
        LOOP AT it_bekpo INTO it_ekpo.
          SELECT SINGLE mtart FROM mara INTO mara-mtart WHERE matnr = it_ekpo-matnr .
          IF mara-mtart = 'IFIG' OR mara-mtart = 'ISFG'.
            SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                                AND bwkey EQ it_ekpo-werks.
            IF mbew-vprsv = 'S'.
              SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                              AND bwkey EQ it_ekpo-werks.
              IF mbew-stprs > '0.00'.
                CONTINUE.
              ELSE.
                MESSAGE e004(zpp) WITH it_ekpo-matnr it_ekpo-werks.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Mallick

  • Logic and User Exit for Availabilty Check in Sales Orders,

    Hi All,
    I have a requirement of creating a Sales order from an Inbound IDOC. Before saving i need to do all the validations for the sales order including the availabilty check for the sales orders. If it is not  fulfilled i need to reject the sales order creation.
    I am trying to search for the logic for the availabilty check of the sales order but i am not able to find one. Please help me out with that and also i need the user exit for the availabilty check for the sales orders. Please help me out with that one too.
    Regards,
    Sharadendu

    See this function Module for message type ORDERS
    IDOC_INPUT_ORDERS all validations are there in this Function Module .
    Please reward if useful.

  • User exit for route determination in VA01

    Dear friends,
    I need a userexit for route determination whenever required delivery date is changed at the time of sales order creation VA01.
    Please reply ASAP.
    Thanks,
    --Sonal

    Hi,
    MV45AFZZ should solve the issue.
    Check the subroutines userexit_move_field_to_vbap and  userexit_save_document_prepare.
    Place a break point in all the subroutines and run VA01 and change the date. You can find the exact place where you can code.
    Thanks,
    Vinod.

  • User exit for partner tab on sales order

    Hi All,
    Is there any user exit available for partners tab on sales order which should trigger when ever user changes anything from that tab like add/change remove any of the partners.
    Thanks,
    Suman.

    Hi Guys,
    Any Updates.
    Thanks,
    Suman.

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • Question - SD user exit for Billing with multiple sales orders

    We have a situation where we are summarizing Accounting Billing document updates via OBCY, transaction type VBRK .
    We will also have multiple sales orders per billing document.
    One of our accounts is a COGS- clearing account which will post for both delivery and billing documents.
    Our goal will be to clear the COGS-clearing account after the delivery and billing has occurred.
    One alternative being evaluated is to update the assignment field ( bseg -zuonr) for the sales order. 
    To do this, one of the SD user exits , perhaps SDVFX008, would be necessary to update the sales order from vbrp-vbel2 to bseg-zuonr.
    I am concerned about
    1) will the update work
    2) what will be the effect on summarization
    If we try to implement the user exit , would we be successful to just update the assignment field for just the COGS accruall account.   _Therefore the next effect is that AR,Rev, etc, would summarize , but the COGS clearing would break out due to the update to the assignment field..
    Does anyone have any experience similar to this situation.
    Thank you,
    Jeff

    Hi
    You can use SDVFX008 or FI Substitution exit RGGBS000 (Form U100)
    You can very well update the required GL (COGS Clearing) with the Sales order No... However, how exactly it would behave upon summarization, I am not sure about that.. you need to develop that and see
    In the COGS account during PGI, Sales Order No is populated always in the field "Sales Order"... In your case, the COGS clearing account should be having sales order no populated...
    So, if you are successful to populate Sales Order No during billing in the "Sale Order" Field for the COGS clearing account, that should also suffice...
    or See if you can have relevant sort key in FS00 for the COGS clearing account so that Sales order no is always populated..
    Regards
    Ajay M

  • Billing user exit for partner determination/substitution

    Hi ,
    For my SAP ERP , I need a Billing user exit for partner determination/substitution .
    If somebody has the info .
    Thank's

    Hi,
    User Exits For Billing:
    - USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified
    in the billing type table and can be changed in this user exit. This
    user exit is only called when the billing documents is created.
    - USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMKCV (header fields).
    - USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMPCV (item fields).
    - USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the
    billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user
    exit is being applied.
    - USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created.
    It is used to provide the header and the item of the new billing
    document with deviating or additional data.
    - USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    - USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    - User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    - USEREXIT_RELI_XVBPAK_AVBPAK
    - USEREXIT_NEWROLE_XVBPAK_AVBPAK
    - USEREXIT_NEWROLE_XVBPAP_AVBPAK
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    - EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    - EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    - EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    - EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    - EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    - EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    - EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan parameters in the GL account item.
    - EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    - EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    - EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Route determination during sales order creation!

    Hello all,
    I am having a problem with route determination in sales order. The issue is when I remove delivery block (LIFSK) on the sales order and select 'under minimun' in orther reason (AUGRU)field, the route is not getting determined when the partner at the header level is changed.
    When if there is a delivery block and other reason is empy, the route is correctly determined when the partner (intermediate consignee) is changed.
    Why is it behaving this way? Any siggestions?
    Thanks,
    Message was edited by:
            Naren Somen

    Hello all,
    Looks like if there is credit block for a customer, the sales order is not getting updated. Is there anyway to get around this?
    Thanks,

  • User exit for partner determination in delivery document

    Hi,
    Can some one suggest an user exit for partner determination in delivery document.
    We have a scenario of excluding certain plants for few of the partner determinations in delivery document..
    Please suggest
    Regards
    Ravikumar

    Hello Ravikumar,
    Please ceck if these userexits help
    Normally there are 2 userexits available in function kopierte_partner_pruefen:
       - EXIT_SAPLV09A_003
       - EXIT_SAPLV09A_004
    Regards,
    Raghavendra YN

  • User Exit for Partner Determination in VA01, VA02 transaction ( Sales order

    Dear All,
    I have an issue in which i need to determine partner for every change in ship to party both at header and item level during sales order creation or change.
    Can you please suggest an appropriate user exit for the same.
    I have tried
    EXIT_SAPLV09A_003
    EXIT_SAPLV09A_004
    but they get triggered only when we enter into VA01 transaction and not when the ship to party is manually changed.
    If possible i want to avoid MV45 exits as there are chances of regression due to too many different functionalities already present in my system.
    In worst case scenario please specify the place wherein i need to code in MV45 exits and what are the fields i need to change.
    Most probably i filtered out on "USEREXIT_MOVE_FIELD_TO_VBAP" but i am not 100 percent sure on this, please suggest.
    Thanks in advance
    Ronak

    Hi,
    please use User exit function: EXIT_SAPMV45A_003
    Put your coding in include: ZXVVAU05 (create it by double clicking, if not already created) and activate.
    Regards,
    Sanjay Gogikar

  • User Exit for Changing Quantity in Process Order , COR1, COR2

    Hi All,
    Can anyone point me towards the light in User exit related to COR1 and COR2.After the Creation of Process order  while saving i need to write a code that rounds off the quantity values.
    I tried to change the values in the below user exits but i was not succesfull.
    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 determination
    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
    Reason was the data related tp materials was not accesble at this point and residing in resb internal table .
    Any suggestions ? Ideas  ?
    Thanks in advance,
    Gowri

    Hi,
      Try with BADI <b>WORKORDER_UPDATE</b>.
    Regards

  • USER EXIT REQUIRED DURING DELIVERY OF SALES ORDER VL01N

    hi
    i want to block all the delivers ( by default ) i.e after creating sales order when user go for delivery ( or runs transaction VL01N ) it should block all the deliveries
    plz suggest user exit as i dont find any
    thanks
    taran

    Hi taran,
    Check, it may help you.
    Exits for VL01N ::::::
    V02V0001 Sales area determination for stock transport order
    V02V0002 User exit for storage location determination
    V02V0003 User exit for gate + matl staging area determination (headr)
    V02V0004 User Exit for Staging Area Determination (Item)
    V50PSTAT Delivery: Item Status Calculation
    V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 Collective processing for delivery creation
    V50R0002 Collective processing for delivery creation
    V50R0004 Calculation of Stock for POs for Shipping Due Date List
    V50S0001 User Exits for Delivery Processing
    V53C0001 Rough workload calculation in time per item
    V53C0002 W&S: RWE enhancement - shipping material type/time slot
    V53W0001 User exits for creating picking waves
    VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
    LE_SHP_GOODSMOVEMENT BADI.
    Regards,
    Ramesh.

  • User Exit for Tax Determination

    Hi Friends,
    I am working on Purchase Order(PO) creation process and my client requirement is, if the vendor is based in UK and even delievery is going to abroad, system should call normal tax code instead of SAP standard (which is; sap considers it as export and apply customs duty).
    Anybody know about the User Exit in the Tax Code (Tax) determination process where I can change the Tax Code during runtime?
    Regards,
    Shabbar

    These are the user exits for the purchase order.
    V02V0001-Salesarea determination for stock transport order
    V02V0002-User exit for storage location determination
    V02V0003-User exit for gate + matl staging area determination (headr)
    V02V0004-User Exit for Staging Area Determination (Item) 
    V50PSTAT-Delivery: Item Status Calculation
    V50Q0001-Delivery Monitor: User Exits for Filling Display Fields
    V50R0001-Collective processing for delivery creation
    V50R0002-Collective processing for delivery creation
    V50R0004-Calculation of Stock for POs for Shipping Due Date List
    V50S0001-User Exits for Delivery Processing
    V53C0001-Rough workload calculation in time per item
    V53C0002-W&S: RWE enhancement - shipping material type/time slot
    V53W0001-User exits for creating picking waves
    VMDE0001-Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002-Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003-Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004-Shipping Interface: Message SDPACK (Packing, Inbound)
    Award poits if this was helpful.
    Thanks and regards.

Maybe you are looking for

  • Need Working Drivers for Macbook 2,1 running Windows 8 (64-bit) using Boot Camp 5 (Mountain Lion)

    So I found my old Macbook 2,1 on Leopard the other day and decided to make it my dedicated Windows computer. I wanted to run Windows 8 on it, so I figured out I needed Boot Camp 5. Then I realized Boot Camp 5 only runs on Mountain Lion, so I went tho

  • Speaker cannot be detected (occasionally)

    Hi, I have connected a Creative I-Trigue 200 to my new PC, just to have some basic sounds/music (I am not really particular about sound quality). However, it seems that the PC sound card occasionally can detect the speakers, but sometimes it does not

  • Invoices in Java

    How to implement software in Java being able to create and print invoices?? Are there any free libraries??

  • Communication Channels for IDOC scenario

    Hi! I have a conceptual question regarding the communication channels within IDoc scenario. Case 1: - File_to_RFC scenario Here I defined a File communication channel from business system A. 1a) For which system (business system A or B) do I need to

  • WD ABAP CRM WebUI Integration

    Hi, I have a question regarding CRM WebUI integration with WD ABAP. My requirement is to trigger a particular CRM application (lets say, create quotation) from EP environment for a particular portal role, may be, from a WD application. I searched in