User exit to set user status for quote

Hi,
I need to update the user status in the header of quotation (using VA22) based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
Could any one please provide me where I can write the code to put the conditions before upating user status in header
Thanks
Thang Tran

Hi,
Is there anyone can give me some suggestions?
Thanks in advanced
Regards,
Thang

Similar Messages

  • User exit to set user status

    Hi,
    We have a requirement to implement our own status management for SD orders. I have configured a new SD item object status profile in transaction BS02. Now I need to program the logic to update the item object status when the user is saving the sales order. I have looked at the relevant user exits in MV45AFZZ, but not found a way to update the item status upon saving. 
    Has anyone faced a similar problem and know a good way to update the item object status upon sales order save?
    Thanks in advance!
    Kind regards,
    Geir Kronkvist

    I had accomplished this requirement as follows.
    Step 1:-
    There is an SAP function module STATUS_UPDATE. This FM should be invoked in update task.
    Reason: SAP internally invokes this FM as an update task during the Sales order save process. Hence your updates should follow SAP's status update process.
    Step 2:
    Created a report program with 2 form routines to export and import JEST entries as follows.
    form set_usrstat tables it_jest_upd structure jest_upd.
    Export internal table into memory
    export it_jest_upd to memory id 'it_jest_upd'.
    Execute only after the next commit statement
    perform zset_status on commit.
    endform.
    *&      Form  set_status
          Form for updating status after commit
    form zset_status.
    data: it_jest_ins like jest_upd occurs 0,
          it_jest_upd  like jest_upd occurs 0 with header line,
          it_jsto_ins  like jsto  occurs 0,
          it_jsto_upd  like jsto_upd occurs 0,
          it_obj_del like   onr00 occurs 0.
    Import data from Memory
    import it_jest_upd from memory id 'it_jest_upd'.
    Run function module to update the status
    CALL FUNCTION 'STATUS_UPDATE' in update task
      TABLES
        jest_ins       = it_jest_ins
        jest_upd       = it_jest_upd
        jsto_ins       = it_jsto_ins
        jsto_upd       = it_jsto_upd
        obj_del        = it_obj_del
    endform.                    " zset_status
    Step 3:
    If you want to set a user status fill the i_jest_upd internal table accordingly and invoke the perform statement as follows.
    Execute only after the commit
                PERFORM set_usrstat(zsd_status_update) TABLES  i_jest_upd.

  • User Exit to update user status at VA01/VA02

    Hi Expert
    Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change.
    Requirement is to set check mark on a specific user status in case of a material master is missing HTS code.
    Regards-Aamir

    Hi,
    If your requirement is to set the check the HTS field in the material master, you can make the field as Mandatory without which the  Material cant be saved
    You can make this field mandatory in OMS9 transaction code with field status as 89 and the field is MARC-STAWN
    Please revert if you need more details
    regards,
    santosh

  • User exit; Article master SAP Retail for MVKE table?

    Is there a user exit in SAP Retail for the MVKE table?
    The articles is maintained in a third-party system and are transferred to SAP via Idoc. For sales sets, article category = 10, these requires a item category = ERLA in SAP (MVKE-MTPOS) so that the sales set "explodes" in the sales order.
    The third-party system doesn't maintain sales org-spesific data for the articles, therefor we use one ref.article for all article groups. And because sales sets exits in many article groups, we found it difficult to have ref.articles for all of these article groups.
    Also the article type is also "normal",so the only way to differentiate the sales sets, are via article category. But since SAP has no link between article category and item category in customizing (as far as I know), I wonder if there is a user-exit to set the item category based on the article category?

    Hello Sonika,
    WE_PLU is generally used along with the POS interface.
    Please check this for more details
    http://help.sap.com/saphelp_470/helpdata/en/ed/df673c86d19b35e10000000a11402f/frameset.htm
    Article Master Uploading in IS- Retail system
    This is basically your call depending on what data the message type is intended to carry and the use. ARTMAS should be the choice in your case.
    Regards,
    Nimish

  • User Exit transaction VI01 and VI02 for checkup.

    Hi all, I need one user Exit transaction VI01 and VI02 for checkup.
    How to realize a checkup on having modified expenses of transport VIO1 and VI02?
    I need name user exit please for checkup on having modified expenses .

    Hi Rubén,
    Check the follows BADIS, they could be helpful:
    BADI_SCD_ACCTG       
    BADI_SCD_CREATE      
    BADI_SCD_CREATE_CHCK 
    BADI_SCD_PROCESS_CHK 
    BADI_SCD_SAVE        
    BADI_SCD_TRANSFER    
    regards,
    Alejandro.

  • Set required status for all subtypes first error

    Hello,
    While implementing OSS note 1744002 for Application Control Workflow i had the following error.
    In fact, i added a new attribute for BOR bus2201.
    When i wanted to change the status to implemented, i got the following error 'Set required status for all subtypes first'.
    Thanks,
    Meriem.

    Hi Meriem,
    Any new attribute should be added to the newly created custom SubType of the Object type BUS2201, but not Object BUS2201 itself.
    Revert the BOR BUS2201 to its original state and add the new attribute to your z<subtype>. You will no more get the error.
    Regards,
    Kiran

  • User exit or badi or enhance for MIRO using Purchase order

    Hello All,
              When Miro was done using Purchase order i want to change the field BSEG-ZUONR value to assign purchase oder number.
    In the setting when the purhcase order was selected but still it comes as blank. could any body suggest the solution.
             Thanks in Advance !
    Regards
    Srinivas

    Hello srinivas,
    Exits for the given tcode
    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
    LMR1M005  Logistics Inv. Verification: Release Parked Doc. for Po
    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 Verifica
    Badis and Enhcance spots for the given tcode
    Badis                                 Enhcance spots
    INVOICE_BW                     ES_BADI_INVOICE                BW Update
    INVOICE_UPDATE             INVOICE_UPDATE
    INVOICE_UPDATE                                                       Business Add-In
    Thanks,
    Santhosh Kumar R
    Edited by: santhosh kumar on Dec 23, 2010 9:25 AM

  • VA02 User exit - authorization (AND same requirement for IW32)

    I require user exits in VA02 and IW32 that allows me to stop some users profile from changing Sales Orders and Service Orders.
    Our idea is to create an Autorization object and asign it to a user profile.
    When users try to Modify a Sales order or a Service Order, system should verify authorization object first. If not then user cannot access to the document.
    User exits should be available when document is going to be open, not after opening (meaning that user exits where saving do not work either).
    Thanks for your help

    If you require some user to use VA02 or IW32 then at the t-code level you can set the authorization.
    But when you say "User exits should be available when document is going to be open, not after opening", it is confusing.
    Userexit works only after the document is "opened"
    You can try fieldexit.
    This weblog (/people/ashish.mohapatra/blog/2007/11/28/sd-userexit--i) may also be helpful to you.

  • EXIT_SAPLEBND_002 of M06E0004 User exit to Reset Release Status if PO

    Hi All,
    I have implemented a user-exit EXIT_SAPLEBND_002 of M06E0004, as advised, which can reset/cancel the release status of a certain PO document when a certain field has been changed aside from the quantity and price fields.
    I would just like to ask if how woud the exit know if something in the document has been changed by the user if he goes to me22n? Basically, the requirement was that everytime a user changes the partially released PO in the header data and other fields aside from price and quantity, the release status should be reset to start all over again.
    I have this code, but this should only be ran if a partially released PO has been changed in most of its fields (header/item).
    DATA: wa_ekpo TYPE ekpo,
          wa_bekpo TYPE ekpo,
          lv_frgke TYPE ekko-frgke,
          tx_ekko TYPE char200,
          tx_ekbe TYPE char200,
          lv_frgzu TYPE ekko-frgzu.
    FIELD-SYMBOLS: <fs_ekko>  TYPE ekko.
    tx_ekko = '(SAPLMEPO)ekko'.
    ASSIGN (tx_ekko) TO <fs_ekko>.
    If <fs_ekko>-frgke = '1' AND
       <fs_ekko>-frgzu IS NOT INITIAL.
    <fs_ekko>-frgke = '2'.
    <fs_ekko>-frgzu = space.
    ENDIF.
    UNASSIGN <fs_ekko>.
    Kindly send some recommendations.
    Regards,
    RE

    Add this code in user exit exit_saplbend_002 .
    Code=> This code use to change release status on PO amount decrease and increase.
    ================================
    **** Start of changes for Release status change on PO amount decrease .
    E_CEKKO = I_CEKKO .
    DATA : wa_bekpo type BEKPO,
           wa_ekpo TYPE ekpo,
           WA_CEKKO TYPE CEKKO,
           w_reset(1) TYPE c VALUE 'X'.
    if sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22'.
    WA_CEKKO = I_CEKKO .
    IMPORT WA_CEKKO = WA_CEKKO FROM MEMORY ID 'ZREL_COST'.
    IF SY-SUBRC NE 0.
      EXPORT WA_CEKKO = WA_CEKKO TO MEMORY ID 'ZREL_COST'.
    ENDIF.
    ENDIF.
    if ( sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22' )
      and sy-ucomm eq 'MESAVE' or sy-ucomm eq 'MECHECKDOC'.
    *Import/Export the origninal values.
    *Check if the limit is passed.
    LOOP AT it_bekpo INTO wa_bekpo .
    SELECT SINGLE NETWR FROM ekpo INTO wa_ekpo-netwr WHERE ebeln eq wa_bekpo-ebeln and ebelp eq wa_bekpo-ebelp.
    IF SY-SUBRC EQ 0.
    IF wa_bekpo-netwr < wa_ekpo-netwr.
        w_reset = 'X'.
      endif.
    ENDIF.
    ENDLOOP.
    *IF limit passed - reset the value to high limit beyond tolerance.
    IF w_reset = 'X'.
    E_CEKKO-GNETW = WA_CEKKO-GNETW + 1000000.
    ENDIF.
    endif.
    **** End of changes for Release status change on PO amount decrease .

  • User exit to change user status in IQ01/02 after full installation EG31

    Hi Experts,
    In iq01 there are two fields 1 device status 2 user status . device status will be automatically changed (avlb to insl) by system  after full installation  but  i need to change the user status (AVLB, NTAV) in iq01.I have created one bdc for iq02 and that will be properly changing the staus if i run seperately  but when  i am calling this bdc in user exit(EDMDI001,EDMDI002,EDMDI003) this shows one error '
    device is already blocked bu user ---" reason being i have to use that device at the time of full installation and user exit that will change the staus also working on  the same device during full installaion .
    So Please resolve.
    Thanks in advance
    Edited by: dilipgupta on Jan 12, 2011 3:02 PM

    Hello
    dilipgupta
    try this:
    Exit Name           Description
    E07                 IS-U: Geräteinstallation und Anlagenstruktur
    EDMDI001            Kundeneigene Vorschlagswerte für Einbau, Ausbau, Wechsel
    EDMDI002            Kundeneigene Prüfungen für Einbau, Ausbau, Wechsel
    EDMDI003            Kundeneigene Daten zur Warenbewegung bei Ein-und Ausbau
    regards
    Chris

  • User Exit or Enhancement or BADI for CA03 & MM03

    Hi Experts,
    I had a scenario like validate the Material No for CA03 & MM03. When ever we give 'material no' in the MM03 or CA03 ans press
    enter I need to validate that material no. I don't see any proper user exit or badi for these tcodes to validate material no.
    I used this  enhancement  MGA00003 - EXIT_SAPLOMCV_001 - INCLUDE ZXMG0U08 my own logic which is
    calling a RFC function module here. It send values to this FM in turn this FM is sending the values to (third party - thru WSDL) Proxy . Here I am having the problem. When we give material no in MM03 or CA03 and press enter this enhancement got
    triggered and it is going into dump. in my custom RFC FM we have 3 methods in WSDL I.e. Connect,Query,Close. When ever
    it comes to the statement 'Connect' this dump is triggered. I am unable to find the exact problem because in the debugging mode
    it is not showing constantly in one place...if I run for first time it is showing at one point , for second time if I run it is showing
    at some other place. I can't predict correctly like where exactly we r getting dump.
    Can any one please let me know any other user exit or BADI or enhancement points... exist to vlaidate Material No.
    Can any one please let me know the procedure how to do if enhancement points exists?
    Error :  RPERF_ILLEGAL_STATEMENT
    Short text
        Statement "RFC-SYSTEM RFC_ID id RFC_VALUE value" is not allowed in this form.
    Error analysis
        There is probably an error in the program
        "SAPLSHTTP".
        The program was probably called in a conversion exit
        or in a field exit. These are implemented by
        function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or
        USER_EXIT_xxxxx_INPUT.
        Conversion exits are triggered during screen field transports or
        WRITE statements, field exits during field transports from the
        screen to the ABAP/4 program.
        In this connection, the following ABAP/4 statements are not allowed:
        -  CALL SCREEN
        -  CALL DIALOG
        -  CALL TRANSACTION
        -  SUBMIT
        -  MESSAGE W... and MESSAGE I...
        -  COMMIT WORK, ROLLBACK WORK
    Thanks in Advance,
    Yamini.

    Hi,
    How did you resolve that issue?

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus,
    With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
    Thanks!
    <b>
    Best Regards.
    Brando</b>

    Hello Brando,
    With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
    The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
    1. PPA_CUST_BADI
    2. FI_RES_ITEM_CURRENCY
    3. AC_QUANTITY_GET
    4. BADI_PRKNG_NO_UPDATE
    5. FM_POP_CORE
    6. FMRI
    7. FMRE_BUS_PROCESS
    8. FAGL_SET_SEGMENT
    9. EXIT_XFMPR1_001
    10. BUAVC_CHECK_RESTRICT
    11. UKM_R3_ACTIVATE
    12. CO_DOCUMENT_INFO
    I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
    Good luck.
    Cheers,
    Sougata.

  • User exit to set  GR field in PO while creation

    Hi All,
    I have requirement where we have to tick check box for GR under delivery tab in line item details of Purchase order depending on some conditions.
    Say, if company code is 'X' and material group is 'Y' then only this check box should get ticked automatically before saving the PO.
    Can any buddy tell me which User Exit we can use to fulfill this requirement or how we can search for this user exit.
    Note: Problem is we want user exit which we tick this field before saving the PO.
    regards,
    Rahul

    Hi Rahul,
    I have the same requirement of yours in my project.
    could you please share me the solution, how you solved the same.
    You can update the forum
    Need to know the user exit to change unlimited check box in delivery tag
    Reward points assured.
    Thanks and Regards,
    Baburaj

  • Overhead user exit (COOM0001) not being triggered for specific plant

    Hello all,
    I was wondering if anyone came across this situation before. I activated user exit COOM0001 for overhead calculation. This user exit is triggered when I create PCE for plant A but not plant B.
    I can't figure out why it is not being triggered for plant B at all. I put a break point in function module EXIT_SAPLKASC_001, EXIT_SAPLKASC_002 and EXIT_SAPLKASC_003 and the system didn't stop in anyone of these function module.
    Any help is greatly appreciated.
    Regards,
    Cassandra

    Hi
    It seems that you are a Functional Consultant.
    Please follow the following simple step for any userexit to see where all its been called.
    1. Go To T. Code SMOD
    2. Enter the Exit name COOM0001
    3. Click on the COMPONANTS RADIO BUTTON and DISPLAY
    4. U get Function Modules
    EXIT_SAPLKASC_001
    EXIT_SAPLKASC_002
    EXIT_SAPLKASC_003
    5. Now individually double click on each FM and put a break point ther.
    6. Open a new session and see wheather it stop at the break-points of the T. code you are looking for.
    I havent used this user exit, so no comments on how it ll be use ful.
    Reward points if useful
    Thank-You
    regards
    vinsee

  • QA10 User Exit to run addational code for Material Backflush

    Does anyone know if there is a User Exit for QA10 Automatic Usage Decision that will allow you to tack on additional code to complete a material backflush.  I have a batchjob that runs every 5 minutes which fires off a variant to evaluate the Inspection Results.  If all results recording are good the UD gets completed and the material is moved from QI Stock to Unrestricted.  At the same time once the UD and stock transfer is done I would like to run a User exit that will allow me to access a custom lookup table to change the material from CP14.B1 to CP14 and complete a backflush.

    Yes you are correct in saying that I want to do another Backflush once the auto UD is completed.  The scheduled job using program RQEVAI30 completes the UD and posts the material from QI Stock to Unrestricted Stock if results are good.  Once the UD is completed and the stock is posted to Unrestricted I need to find a User Exit that will allow me to write custom code to do a table lookup.  This table will also be custom development that we can use to say if material is CP14.B1 and the Insp. Lot Type is 04 then run MFBF to backflush raw material and complete movement type 309 to CP14 Material.  I just need to know if there is a User exit available that I can use once the lot evaluation is completed.

Maybe you are looking for