Which user exit MV45AFZZ or MV45AFZ1 or MV45AFZB to use.

Hi All,
            In the Sales Order Types ZDRC and ZCRU, when Sales Org is US15, the field VBAP-MVGR1 shall be mandatory.
We need to use MV45AFZZ or MV45AFZ1 or MV45AFZB user exit.
In MV45AFZB, USEREXIT_CHECK_VBAP, seems closest, which is used to carry out additional checks (e.g. for completion) at item level.
Please suggest.
Thanks.

Hi
Pl check this exit...this may be useful to meet the requirement
in program MV45AFZB
USEREXIT_CHECK_VBAK
This user exit can be used to carry out additional checks (e.g. for completion) in the document header. The system could, for example, check whether certain shipping conditions are allowed for a particular customer group.
Thanks,
Ravi

Similar Messages

  • Is the Sales Order Item User Status available in user exit MV45AFZZ

    Hello,
    Does anyone know if a sales order line item user status is available within user exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT)?
    I need to send an email when the status changes from one specific value to another specific value but I don't seem to have access to what the latest value is in this user exit.
    I have found a table XTVSTAT which cntains some user status' but it's not clear which status maps to which line item.
    If anyone has any suggestion please let me know.
    Thanks,
    Ruby

    Hi,
    I do need to access the values as I need to check for a specific change to the user status from value A to value B.
    I have already tried debugging the user exit and searching through the available variables but the status information doesn't seem to be available.
    I guess I will have to try the output determination route. Can you explain this in a bit more detail please.
    Thanks,
    Ruby

  • About which user-exit do they talk at note  424635

    Hi!
    Has Anyone an idea about which user exit they talk about at note  424635 ?
    Thanks and Regards,
    Franz

    1)go to the main program sapmv45a
    include MV45AFZZ ->userexit_move_field_to_vbak
    depending on ur conditions ...
    keep a break-point in the form userexit_move_field_to_vbak ,and if it stops there Check for vbak-lifsk .
    Write a condition to set the deliveryblock that is vbak-lifsk = 'xx'.
    2)then regarding your second point ...what is the middle ware used to interact with legacy system
    let me know

  • I have to find out which user exit useing

    Hi All,
    functional consultant useing user exit ,for substitution of profir center.
    can any body plz tell ,which user exit he useing to get profit center value.
    thanks,
    venu.

    For substitution Tx:GGB1 is used. go to the tx, select FI accounting, line item, Step, double click on substitution, u'll find user exit like U100, double click on it, thats the code used for substitution.
    If its different functionla area, select it instead of FI in GGB1
    Tx: GCX2 shows the Z program (like ZGGBS000) used for substitution.
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • Populating cost center automatically by Ts code WVFB - Which user exit ?

    Hi experts,
    I want to populate cost center and to do 'k' assignment automatically using WVFB for Sotre Order creation.
    Which user-exit should be activate? thanks a lot in advance.
    ( the purpose is when user create a  store order by transaction code WVFB ,  the fields of  'k' assingment and cost  center don't need to be filled out, an user exit should make 'k' assignment &  fill out cost center KOSTL. I just need to know this user exit).
    EXIT_SAPLWVFB_002  will be good for my problem? please advice. thanks.

    Yes. I solved my problem.
    EXIT_SAPLWVFB_002 was used to do it.

  • Which user exit is triggered on Save of CV01N/CV02N

    I have some requirement to be triggered on the Save of a document using CV01N/CV02N.
    I found three exits in the transaction EXIT_SAPLCV110_001, EXIT_SAPLCV110_002, EXIT_SAPLCV110_003 but none of them get triggered on Save even though I have activated the enhancement.
    If someone knows which user exit gets triggered on Save of CV01N/CV02N please let me know.

    You can use BADIs.
    You can use DOCUMENT_MAIN01.
    Go to SE18. Display 'DOCUMENT_MAIN01.
    On the menu bar, Click on Implementation > Create.
    Give your own implementation name starting with Y or Z.
    There's a method called BEFORE_SAVE in this.
    It has all the data DRAW, DRAD, DRAZ etc as Changing Parameters.
    So you will be able to manipulate that data in that method.
    Activate the implementation And you are good to go.
    Reward if helpful.

  • Which user-exit or BAPI triggered when a schedule line is changed

    Dear All,
    Does anyone know which user-exit, enhancement or BAPI is triggered when we do change on schedule line item?
    Let's say, I have two line schedule line item, then I do change for delivery date. After triggered "Item Availability" button, system will accumulate confirmed Qty on first line and second line into first line. And then the second line will remain zero.
    I need to know, which enhancement or user exit or any standard FM do this process.
    I searched, but not found any user exit or enhancement that will go through.
    Best regards,
    Dinivian.

    Hi,
    For MFBF there are sollowing user-exits....
    XMRM0001 - Backflushing in Repetitive Manufacturing.
    PTRM0001 - For lead column in REM planning Table.
    SAPLRMPU - Customer Exit for Article Staging.
    Reward points if useful....
    Regards
    AK

  • Which User Exit / BADI I can use?

    Hello All,
    While Saving PO or PR I need to check the value of commitment Item(FIPOS).
    Which User Exit / BADI I can use?
    Regards,
    Lijo John

    try this method;
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    when u run the  po transaction it will repeatedly stop at the breakpoint check the value of exit name there press  f8 to continue now when u just save the po then check the values of exitname in the debugger

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • User exit MV45AFZZ - Unable to modify the code

    Hi,
    I am working in ECC 6.0 version and new to this editor.
    I need to do some changes in include MV45AFZZ,when sales order is saved.
    When i try to go to change mode,program is asking for 'Access key'.
    Whether i need to get 'Access key' from SAP,or is there any procedure for doing code changes in this exit?
    Please help.
    Thanks & Regards,
    Seshagiri.

    Hi Seshagiri,
    To modify the User exit MV45AFZZ you need to get the Access Key from the Basis.
    The Basis Team will Generate the Access Key so that you can make the changes .User exit MV45AFZZ is not yet Used so that why its asking the Access key.
    Thanks & Regards,
    Nelson
    Reward points if helpfull

  • Manually trigger Availability Check in the Sales Order User Exit MV45AFZZ

    Hi All,
    As per the normal scenario where sales orders are created and the schedule line delivery dates are determined.
    Based on some business logic for few customers we need to change the delivery priority and confirmation delivery date.
    We are implementing this logic in the user exit MV45AFZZ in the routine USER_EXIT_SAVE_DOCUMENT_PREPARE.
    The availability check logic is already implemented by then. Now we have scenarios where the date redetermined by the custom logic is greater than the one determined by the standard availability check done by SAP.
    We have changed the values of the field VBEP-EDATU as per our logic but we still have 2 lines in the schedule line data where the requested date is greater than the confirmed date.
    This can be tackled if we can redo the Availability Check.
    Can someone provide pointers on how can we trigger the availability check manually in the code.
    Regards,
    Karthik

    What was the solution?

  • User Exit Mv45afZZ for Promotional BOM

    Hi All,
    I am adding custom code to the user exit MV45AFZZ for Promotional BOM. The aim is to add a new entry in the Line tiems details with the BOM header data.
    Say if the initial order is  like this:                                       It should like this after user exit execution:
    Material         Quantity            Itm Ctg                                          Material         Quantity            Itm Ctg
      M1                   10                  X                                                   M3                   1                    Z
      M1                   10                  X                                                   M1                   10                  X
                                                                                    M2                   10                  X
    We assume that in the configuration, we have configured so, such that, BOM Item M3 comprises of Items (M2, M1) with 10 Qty each.
    For this purpose, we are adding a new row to the XVBAP table at runtime. But, when we post the order, finally the quantity field for item M3 is automatically getting changed to 10.
    Please help and revert back. Let me know if i have to clarify more on my doubt.
    Thanks
    Debabrata

    Hi,
    The userexit save_document_prepare will directly hit the tables like vbak and vbap. So, as i can see that you would like to change at the pricing conditions so it is better to user the user exit:userexit_pricing_prepare_tkomk...
    All the pricing conditions will be stored in the tkomp and tkomk tables.
    The changes can be happnd at this level also.
    Thanks
    rohith

  • Global data declaration in user exit 'MV45AFZZ ' for VA01

    Hi folks,
    i  am using USEREXIT_PRICING_PREPARE_TKOMP  in MV45AFZZ for VA01 pricing modification.i need to declare one Global internal table for this exit.i tried to do this one in MV45ATZZ.but i can not save as it is asking access key.
      how can i achieve this one?
    ur answers will be rewarded.
    Thanks
    pabi

    Hi Pabitra,
    You can find the parent program and use an enhancement point to declare a global internal table mainly in the top include of the program
    ed: if t-code ABC is executed then the program for the t-code ABC is your parent program...
    Here SAPMV45A is your parent program for VA01
    and in INCLUDE MV45ATOP.
    use ENHANCEMENT-POINT MV45ATOP_02 SPOTS ES_SAPMV45A STATIC. to declare the global internal table
    Once the table is declared,also check in the user exit by debugging if the table is made available..
    i have done the above technique to use an internal table in userexit_save_document after declaring table in the mentioned enhancement point and it worked for me...
    Pls check and revert
    Reward if useful
    Regards
    Byju

  • Which user exit to use in Fixed Assets?

    You should have Funds Management implemented and integrated with Asset Management to understand this problem.
    Create an asset (AS01) and while doing that notice that you dont see a "Derive Again" button in the Time-dependent tab. Save and Exit. Now got to AS02 and then to Time-Dependent tab. Now you see a "Derive Again" button at the bottom.Click the Derive Again button, you see that the Fund and Fund Center are automatically derived. Save it.
    Now my question is - Is there any user exit/bte through which I could automatically populate the Fund and Funds Center once the asset record is created. ( instead of manually going to AS02 and clicking the Derive Again button every single time. Because it doesn't make any sense for us to tell the end user to do that manually every time)
    Appreciate if you could throw your ideas in detail. By the way we are using ECC 6.0
    R@vi

    Dear Ravi,
    Check the following one's,I hope this can help you.
    AAPM0001  Integration of asset accounting and plant maintenance 
    AFAR0003  External changeover method         
    AFAR0004  Determination of proportional values for retirement   
    AINT0004  Change amount posted for certain areas  
    AINT0005  Dummy for extended syntax check. Do not use.     
    AISA0001  Assign Inventory Number    
    AIST0001  Exchange number range in master data maintenance      
    AIST0002  Customer fields in asset master  
    AMSP0002  Determine relationship type for two company codes 
    TRAN0001  User exit for asset transfer                          
    Regards
    Mangalraj.S

  • Which user exit belongs to which project

    hello,
    1) imagine I have got the user exit name
       EXIT_SAPMV45A_003 and now I want to find out
       to which project this user exit belongs.
       How can I obtain this information
    2) Is it possible to deactivate only one
       or designated user exit instaed of the
       whole project
    Ilhan

    Hi,
    Herewith i am sending the sample coding for the report which will help to u can find through whatever transaction codes are having how many user exits are there and through that u can run that user exits and u can go to any transaction code.
    *& Report  YMS_USEREXITTEST                                            *
    REPORT  YMS_USEREXITTEST 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.
    -End of Program-
    Thanks,
    Shankar

Maybe you are looking for

  • How do I go about cancelling my BT contract due to...

    I joined BT in December 2012 when I moved home. I have had to move again and gave a weeks notice that I would like my service transferred to my new address, was told that my services will stop the night before my move and that my phone service at the

  • Measure resistance for long time

    Hi, I'm trying to measure the changing of resistance by using this program (picture 14). and I did use "Write to measurement file" which is not what I want. is that any good method to record the data? I'm using LabView 8.5 + PXI 4072  Attachments: Pi

  • Problems updating folios in multi issue viewer

    I created a multi issue viewer app containing two issues. Now I try to update one of these two issues in the DPS Folio Producer Organizer, but the app still shows the old version of the issue. I update the issue with the "update"-button and deleted t

  • CF8 - GDSFactory class error when connecting to Firebird DB

    Hello,     I am trying to get started in learning CF but I can't seem to get past the starting gate.  The problem is in connecting to the Firebird DB.    I followed the instructions from many blogs and forums (including this one which is most helpful

  • Small Query.......

    Hi Friends, I Start Studying Java in Oracle Database, I have created a simple java class and java function as given in the developer guide. But i want to know how exceptions are handled in a java Stored procedure and Functions. can anyone give me a e