User exit for requested delivery date at SO header

Hi Experts,
Trying to find a user exit which can be used to calculate the default requested delivery date in the order header based on the current date and the lead-time in the route.
By default, In SO header, requested delivery date is system date.
On based some conditions, i need to add lead time in current date and finally this date should be populated instead of current date in requested delivery date field .
     The RDD( requested delivery date ) determination should happen only for some order types and for some sales organization & Distribution Channel.
Thanks,
satendra pateria

Hi Ravi,
Thanks  for input.
I neee one more favour on enhancement for automatically batch determination.
In SO item level, when one item is given and press Enter automatically Batch getting popualted.
I need to check Batch Expiry date and if it got expired then need to display a error message.
As of now  i got one user exit EXIT_SAPMM07M_010.
And Batch validation should be happened only for some order types and some Sale Org + Distribution
channel.
Thanks,
satendra

Similar Messages

  • User Exit for Requested Delivery Date in Sales Order

    Hi
    Which user exit can be used to change Requested Delivery Date in Sales Order.
    Scenario:  Sales Document Type: OR has Lead Time: 7 days.  System always proposes delivery date after 7 days.  We need to change this Lead Time based on plant.
    Thanks in advance for your support.
    Regards
    Uma

    Hello,
      try with USEREXIT_MOVE_FIELD_TO_VBEP or USEREXIT_SAVE_DOCUMENT_PREPARE, of program MV45AFZZ.
    Hope to be useful.
    Best regards,
    Andrea

  • User exit for "Latest GR date"

    Hi Experts,
    Please can any one provide me user exit for "Latest GR date" field in PO item level to update the value with 180 days plus on the delevery date mentioned for PO item.
    Thanks in advance.
    Regards,
    Vijay

    Please check this answered link:
    Common USER EXIT for ME21N,ME22N
    Edited by: Afshad Irani on Jun 18, 2010 11:08 AM

  • User exit for updating delivery block of Sales order before Delivery

    Hi  Folks,
    Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
    I have got an exit in Program SAPMV45A
    MV50AFZ1
    FORM USEREXIT_REFRESH_DOCUMENT.
    that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
    Now i want now how to change the Delivery Block indicator of Sales order in that exit
    any FM available ?
    Thanks n regards
    Sonal...

    Hi  ,
    How did you solved this issue?
    I am having similar scenario in which while pressing the save button  delivery block should update if multiple schedule line exist.
    Tried by two different approaches in various user exit without any success.
    AFAIK we have two ways to achieve this functionality.
    1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
    2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
    If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
    Multiple schedule line indicator is not populate so can not use 2nd approach.
    If I write code in  USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
    If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
    the condition of fcode but it also fails in some condition.
    If fcode eq 'SICH'.
    Read table xvbap with key epmeh = 'X'.
    IF SY-SUBRC = 0.
    VBAK-LIFSK = '03'.
    Else.
    VBAK-LIFSK = ' '.
    Endif.
    Endif.
    Please help me to get the desired functionality working for all cases.
    1) One line item with multiple schedule line                                              
    2) Two line item with multiple schedule line                                             
    3) One line item having one schedule line and second one having multiple
    4)Two line item both with single schedule line.

  • 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

  • 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 exits for Sales Order Data

    Hi,
    May i ask if there's any user exit that will get data from Sales order like ex. the order qty and the net price and pass to SHP_OBDLV_SAVE_REPLICA like ex in the segment  E1BPOBDLVITEMRFO of delivery note.
    or get the commodity code (STAWN) from MatMas and pass also to SHP_OBDLV_SAVE_REPLiCA
    Thanks in advance..
    aileen

    These are the user exits for VA01
    V45E0001 Update the purchase order from the sales order
    V45S0001 Update sales document from configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    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
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    Use this also USEREXIT_SAVE_DOCUMENT
    Regards,
    Shamma

  • User Exit for VA01 - Delivery Block

    Dear Friends
    I wanted to do a User Exit for VA01 which should set the Delivery Block = Credit Memo as default for a particular user.
    Can anyone give me the solution.
    REg
    S.K.Raj

    Hi Kamaraj,
    First of all u have to find out the perticular exit for make the changes, after that take one field TBTKZ which is flag for decit /credit memo. Based on the condition that flag set as 'X'. If that flag set as 'X' then populate the data.
    Here it ishow to find out the user exit.
    execute the following report and enter the t-code VA01 it will display all the exits. then search them by seeing coments..
    report zuserexit no standard page heading.          
    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.
    Hope this helps you..
    Regards,
    Kumar.

  • IDoc programming for Requested Delivery Date - Inbound ORDERS

    Hi Folks,
    I want to manipulate Requested Delivery Date on the Sales Order.
    The Field for Req Del Date is RV45A-KETDAT.
    But this value is stored in VBAK-VDATU.
    When i am trying to modify this value using dxvbak structure, this value is getting populated correctly, but not updating in the table.
    Look at the code snippet below.
    if zedidc-sndprn = '0000902000'.
            IF ze1edk03-iddat = '002'.
              MOVE ze1edk03-datum TO zvbak-vdatu.             " Requested Delivery Date
               zvbak-vdatu = sy-datum + 7.
               BREAK-POINT.
               dxvbak = zvbak.
            ENDIF.
            endif.
    What's wrong here??
    Thanks,
    Matt

    Done

  • User exit for start-up date in transaction ib02

    Hi all,
    i need to change the start-up date in transaction ib02.
    Is anyone know how to change it? Is there a user exit for this field?
    thanks  in advanced.
    Dana.

    Hi Check out following exits
    PCSD0001            Applications development R/3 BOMS                                      
    PCSD0002            BOMs: Customer fields in item                                          
    PCSD0003            BOMs: Customer fields in header                                        
    PCSD0004            BOM comparison                                                         
    PCSD0005            BOMs: component check for material items                               
    PCSD0006            Mass changes user exit                                                 
    PCSD0007            Check changes in STKO                                                  
    PCSD0008            WBS BOM: Customer-specific explosion for creating                      
    PCSD0009            Order/WBS BOM, determine URL page                                      
    PCSD0010            Order/WBS BOM, determine explosion date                                
    PCSD0011            Knowledge-based order BOM, parallel update                             
    PCSD0012            Customer - Mat. number/mat. number during material exchange            
    PCSD0013            Customer-specific processing of an explosion for BOM browser           
    Thanks
    Sandeep
    Reward if helpful

  • User exit for contract start date in sales order change mode.

    24.10.2008
    Hi Gurus,
    I need to disable the 'contract start date' (VEDA-VBEGDAT) field  in Contract data tab at header and item level. Can someone suggest a user exit for the same ???
    Regards,
    Udaynath

    Dear Udyanath,
    Please check these User exits with the help of ABAPer
    User exits in the program MV45AFZZ                                                                               
    The user exits which you can use for modifications in sales document         
    processing are listed below.                                                                               
    USEREXIT_FIELD_MODIFICATION                                              
         This user exit can be used to modify the attributes of the screen        
         fields.                                                                  
         To do this, the screen fields are allocated to so-called                 
         modification groups 1 - 4 and can be edited together during a            
         modification in ABAP. If a field has no field name, it cannot be         
         allocated to a group.                                                    
         The usage of the field groups (modification group 1-4) is as             
         follows:                                                                               
    -   Modification group 1:   Automatic modification with transaction      
             MFAW                                                                               
    -   Modification group 2:   It contains 'LOO' for step loop fields                                                                               
    -   Modification group 3:   For modifications which depend on check  tables or on other fixed information.
    USEREXIT_MOVE_FIELD_TO_VBAK                                                 
    Use this user exit to assign values to new fields at sales document         
    header level. It is described in the section "Transfer of the               
    customer master fields into the sales document".                            
    The user exit is called up at the end of the FORM routine                   
    VBAK_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBAP                                                 
    Use this user exit to assign values to new fields at sales document         
    item level. It is described in the section "Copy customer master            
    fields into the sales document".                                            
    The user exit is called up at the end of the FORM routine                   
    VBAP_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBEP                                                 
    Use this user exit to assign values to new fields at the level of           
    the sales document schedule lines.                                          
    The user exit is called up at the end of the FORM routine                   
    VBEP_FUELLEN.                                                                               
    USEREXIT_MOVE_FIELD_TO_VBKD                                                 
    Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer 
    master fields into sales document".                                  
    The user exit is called up at the end of the FORM routine            
    VBKD_FUELLEN.                                                        
    I hope this will help you,
    Regards,
    Murali.

  • User Exit for VA41 Validity Date

    Hi,
    I am giving order type in VA41 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract created with validity date lessthan today's date(in Contract Tab).For Example i created a Contract xxxxxx with 'valid to' 9.12.2008. When I am giving this contract and clicking on 'Copy' button a Warning message is getting generated 'The sales document is only valid until 09.12.2008'. Now i have to change this into Error message instead of Warning Message.
    i used User Exits mv45afzz,MV45AFZA,MV45AFZB. But the debugger is getting started only after Warning message got generated.Is there any User Exit for which debugger gets started when i give the Contract and then Click on 'Copy' button. Please Suggest.
    Thanks
    K Srinivas

    Hi,
    Create a file say breakpoint.txt file as follows:-
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    Once you come to the screen of 'Create with reference' where you are giving the contract, from  second session drag the above mentiuoned file to the session where you are running VA41, & drop it here. Now debugger has been activated. Proceed with debugging. This method you can use for any of the 'POP UPs'.
    I hope this helps,
    Regards
    Raju Chitale

  • User Exit For Tagging Delivery To A Manual Shipment

    Hi All,
    We have a process in which we are creating a shipment manually and then we are trying to tag a delivery manually to that shipment. The requirement is that it should give an error for a particular type of delivery.
    Please let me know if there are any exits for that.
    Thanks,
    Sharadendu

    You should try to control it while transaction VA02 then. I think the user exit should be MV45AFZZ, u plz check in the list of user exits - SPRO-IMG- Sales and Distribution- System Modifications- User Exits and you will have all specific user exits used during various SD processes there.
    And then u might want to issue a hard error when some one changes or tries to change the Delivery date- can use a message number according to the application(for ex if its sales then Message class is V1). And then get that message number and code included in the particular user exit.
    Else u can have a screen variant defined for a specific users profile which will not allow any changes to the particular field. creta evariant using SHDO- select ur specific needs- assign this screen variant to the tarnsaction code may be VA02.
    Regards
    Sai

  • User exit for foreign trade data in domestic scenario

    Hi,
    i need to fetch some batch characteristics in foreign trade/ customs tab of delivery.
    The user exit 'EXIT_SAPLV50E_003'  is working fine for the export scenario.. i.e. when the likp-expkz (export indicator) is NON-Blank.
    but the requirement now is to fetch the characteristic in Domestic scenario. in this scenario the likp-expkz (export indicator) will be BLANK. so it will not trigger this user exit.
    Can you please tell me , which user exit i can use to get the data for 'foreign trade'  in domestic scenario.

    Hi,
    i need to fetch some batch characteristics in foreign trade/ customs tab of delivery.
    The user exit 'EXIT_SAPLV50E_003'  is working fine for the export scenario.. i.e. when the likp-expkz (export indicator) is NON-Blank.
    but the requirement now is to fetch the characteristic in Domestic scenario. in this scenario the likp-expkz (export indicator) will be BLANK. so it will not trigger this user exit.
    Can you please tell me , which user exit i can use to get the data for 'foreign trade'  in domestic scenario.

  • User exit for PO Item data update

    Hello All,
    At time of creation of PO using ME21N / ME58, we want to update PO item data . We want to update Over and Under delivery tolerances values from corressponding sales order rather than purchase info record.
    Please let me know if anyone has worked on similar requirement or any pointers for relevant user exits in SAP Release 4.6C .
    Regards,
    Manu.

    Hello ,
    Would you please check the below Userexits in 4.6C .
    EXIT_SAPLV50E_001
    EXIT_SAPLV50E_002
    EXIT_SAPLV50E_003
    EXIT_SAPLV50E_004
    EXIT_SAPLV50E_005
    EXIT_SAPLV50E_006
    In which I hope 2 and 4th were usefull.
    Regards,

Maybe you are looking for

  • Install from Recovery partition after upgrade from 10.9

    Hi all, on my MacBook 13" nov. 2012 I upgraded from Mavericks to Yosemite using the standard upgrade. After a couple of days I decided to perform a clean install: - formatted "Macintosh HD Partition" - rebooted with cmd+R - reinstalled from recovery

  • Trouble connecting to internet (wireless)

    Hi, I am running a Lenovo Idea Centre with Win 8 and have 3 user accounts set up.  My own account seems to work fine, but the other 2 accounts will not connect to the internet, but Window Mail works ok!!  Does anybody know of a tweak which will resol

  • Providing security to pdf web page.

    How would I provide security to a web page that is a pdf file? Basically I want the user to be able to access the file only if they are logged in. I do not want them to be able to put the .pdf webpage in their favorites and access it without logging

  • Configure SOA - Full fails, but basic suceeds

    I have tried every combination to get full to succeed I get errors below in startsoa.log. Form the docs I would gather I don't need full to configure BAM? When I try to configure BAM on basic installation I get AsyncWebService cannot be found error i

  • Port 3689

    Get a Port 3689 firewall error when trying to sync apple tv with itunes, please help.