How to save va01,va02 transaction code

Hello Every one,
When creating sales order in VA01, at last screen as soon i save a message box to be appeared and when editing details in VA02 as soon enter details and save a message box to be appered please let me know the userexit and releavent code tobe written......
Regards
Martin

Hi,
U can do it in MV45AFZZ ,inside this include use the userexit USEREXIT_SAVE_DOCUMENT.
Regards,
nagaraj

Similar Messages

  • User Exit for VA01 and VA02 transaction codes

    Hi,
    I am writing a userexit for PO number checking for VA01 and VA02 transaction codes.The PO number should be unique in the table (vbkd-bstkd).Duplicate PO number entries can be checked with Sold-to Party.If anybody written something like this....please advice me...
    Thanks in advance.
    fractal

    Hi Fractel,
    Why are you looking for a user exit to do this duplicate PO check?
    This can be achieved through configuration of your sales order document type and message control. Follow the path below for configuration of the document type.
    Implementation Guide for R/3 Customizing (IMG)
    -->Sales and Distribution
       -->Sales
          -->Sales Documents
             -->Sales Document Header
                -->Define Sales Document Types
    Once you execute this node, you will see all the available document types. Select the one you are interested in and click the details icon. In the subsequent screen, under "General Control" section, there is a field "Check purch.order no". Pick the value 'A' from the drop-down list.
    Once you do this, system will check for duplicate PO numbers whenever you are creating or changing the sales order with that document type. If duplicate, it issues a message.

  • Creating customer fields in VA01/Va02 transaction in additonal tab 2

    hi,
        I have to create Customer fields in the item level to va01 / va02 transaction in additional tab 2 subscreen.
    Include MV45AFZZ is used for validation. help needed for adding customer fields. thanks in advance.

    The program SAPMV45A screen 8309 is the Additional Data B tab provided by SAP to add your custom fields . In order to capture the data from your custom fields you can use the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    You need to append the fields in VBAP. Then use the screen painter to add the fields in the screen.
    Thanks
    Vinod

  • How to find BAPI for Transaction Code

    Hi everyone!
    I'm just wondering how to get the name of the corresponding BAPI for a given transaction code - is there a way to search from within SAP?
    When I open transaction "BAPI", I can create a list of BAPIs. But how can I find information about transactions - let's say XD03?

    If you mean that you need to know what BAPI's a particular transaction uses, follow the below said example.
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.
    1. Start va01 go to system-->status 
    2. Double click transaction VA01 
    3. Double click on package 
    4. Read the application component. (this is SD-SLS Sales) 
    5. Then open the transaction BAPI 
    6. Sales and distribution>Sales>sales order 
         createfromdat2 
    Hope this helps you to find a BAPI for a particular transaction.
    Regards,
    D.Veeralakshmi

  • How to create varient for transaction code

    hello expert,
    I created one Mod. pool program and transaction code.
    while run this tcode, Save button is disable and unable to create varient.
    could you please guide me hw to enable this save button and create varient. please
    with best regards
    srinivas

    Hi,
    You can create variants for transaction using transaction variants. That is meant to simplify these kinda scenarios.
    The tcode for transaction variants is SHD0. You can create variants as you wish. It is simple only. No coding required. Just take SHD0. Give your transaction name.
    Then press create variant.
    It will guide you.
    Regards,
    Renjith Michael.

  • User exit for save button in transaction code CBIH82

    HI All.
    i have got an issue with finding of user exit for transaction code cbih82.
    my functional consultant want me to go for exit CBIH_LB39_UE_POST_COMMIT (se37) but i cont find any user exit in this function module as it is triggering when i click on save at cbih82 in debugging.
    but i cont find any user exit in this CBIH_LB39_UE_POST_COMMIT.
    so could any one help me in this issue for finding user exit which should trigger when i click on save at cbih82 tcode.
    will be waiitng for a good answer.
    bye.
    regards.
    seetaram.

    check in smod
    user exits for CBIH82
    Exit Name           -- Description
    EHSIAHM1           --  EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2           ---  EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1           --- EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2           --  EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1        --   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2         -- EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1          --  EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2          --  EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA            --  EHS: Check/Edit Lines in SARA List Before Printout
    Salil...
    Edited by: salil chavan on Nov 19, 2008 8:23 AM
    Edited by: salil chavan on Nov 19, 2008 8:25 AM

  • How to attach Form to Transaction Code F-92

    Dear All,
    I have a reuirement from my client, where in they need Printout for Transaction Code f-92, I want to know how to attach Form to the Transaction Code or is there any standard Form availabale in the system.
    Thanks in advance
    Dnyanesh Shenwai

    Hi
    The user menu is the set of menu of all roles of user, so you should check the roles of the user and update one of menu of user roles.
    You can do it by transactions PFGC, but if you change a role you'll change the menu of all users have that role.
    This operation usually is made by the administrators of system.
    Max
    Message was edited by: max bianchi

  • How can i integrate several transaction codes into a single report?

    Hi.. I am faced with a situation wherein i need to create a report. The output of the report is the combined output of the outputs of two or three standard sap transaction codes.. how can i code my report ? i tried to capture suitable portion of codes from the standard program of the t-codes, but analysing the program itself is taking a long time.. please help.. thanks in advance.

    Hi,
    Ask ur functional people and know abt the functionality of all three tcodes and summarize the common tables and fields. Add the fields which are not common and know abt the report output ( in which format ALV or Normal Interactive report).  Check any dynamic internal tables need to be constructed for this. Check it shud be run in bgrnd r foreground. If it is foregrnd then check the output limit.
    Regards
    Kannaiah

  • How to find out obsolete transaction codes?

    Hi,
    Is there any way we can find the obsolete transaction codes in a system.
    Thank you.
    Regards,
    Soumya

    You can try using these tables.
    PRGN_CORR2
    RODIR.

  • 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

  • How to implement bapi for transaction code f-02 for multiple line items

    Hi All,
    I am having one requirement to of implementing bapi for tcode f-02.
    I have identified the name of the badi e.i.  BAPI_ACC_GL_POSTING_POST.
    but i dont have any idea how implement it.
    i have multiple line items for one header.
    Please help me in this.
    Regards,
    Shoaib.

    HI
    In recording once u save, the recording comings out the transaction.
    If u want the pop-up to display before save. Then in recording also
    after entering all data and before Save press enter or do check.Try
    this way after that save the transaction.
    Regards,
    Raghu.

  • How to display smartform through transaction code on action of button

    Hi All,
    Please let me know how can i display smartform through tcode on button action.
    For e.g. I have a F.62 tcode where the smartform is attached. Now i want a button in BSP which when clicked should call tcode F.62 and display that smartform.
    Also if i cannot use "CALL TRANSACTION" can i use "SUBMIT" and call that transaction.
    If not how will i able to acheive that?
    Please help as it is very urgent.
    Thanks,
    Rahul

    Hi,
    Use ITS to display the F.62 transaction is worth a try. But I am not sure whether the ITS will be able to display Smartforms...
    Another option is trying to launch the Smartforms (I dont know the F.62 transaction enough to tell if it is time-consuming or not) and convert it to PDF (there is plenty of threads about this in SDN) and then, display it through BSP (either inline or for the user to download).
    Best regards,
    Guillaume

  • How to find tables in transaction codes.

    hi guru,
    suppose i want to findout tables for mm01,xk01,t-codes.
    then how can we find tables from above t-codes.
    subhasis.

    HI,
    From the TCODE Use the menu option System-Status.
    There you can see the relevent program. Double click to navigate to the program.
    Then Goto the package of the program. The relevent table most probably will be there in this package.
    Also if you know the table name then goto SE11 and check the where used list by restricting the search to the package.
    Regards,
    Sesh

  • How to find currently editing transaction code details using ABAP code

    Hi,
      if some user is using VA02 tcode.i want to know for which sales order(i.e Sales order number)he is making changes.
    i want ABAP code sample for this scenario.
    Cheers,
    Jag

    Hi,
                  For this you need to create Lock Object from se11 .It will automatically crate Two Function modules for enque and deque.
    In you case If you want to see the Details for Va02 use.
        CALL FUNCTION 'ENQUEUE_EVVBAKE'
             EXPORTING
                  VBELN          = VBELN
             EXCEPTIONS
                  FOREIGN_LOCK   = 1
                  SYSTEM_FAILURE = 2.
        CASE SY-SUBRC.
          WHEN 1.
            MESSAGE E042(V1) WITH vbeln RAISING ERROR_IN_COPY.
        ENDCASE.
    Regds,

  • How to call a new transaction code after GR/GI is done in MIGO ?

    Hi Guys ,
       I have a requirement  like Whenever GR /GI  is done the material documnet will be created. so here i need to excute my report programe . whenever the  material document created  my report needs to excute and generate a report in background?  so  i need  to find badi   or exit for this.. can any help me about   migo  transaction  how to exute my report  in back ground?
    Thanks in Advance .

    Hi
    Try to use the BADI MB_DOCUMENT_BADI, probably the method MB_DOCUMENT_UPDATE is gooed for you
    Max

Maybe you are looking for

  • Help with OIE - Default Project Expenditure Organization based on Task

    Hi, I am extending OAF page in OIE and based on Task selected by user, Project Expenditure Organization has to be defaulted.. Page uses OAHGridBean, I tried to use OAHGridQueriedRowEnumerator, but OAHGridBean is always null.. OAHGridBean localOAHGrid

  • SAP Business Partner in SAP Interactive Forms

    Hello, when I use the addresses from the BAS in the interactive forms, I have noticed that in the properties window on the buttom I can enter values for SAP Business Partners. What are these Business Partners? (just out of curiousity as I don't norma

  • Can I Do Pan & Zoom Motion in iDVD Photo Slideshows ?

    I just moved over from a PC to an iMac, and am trying to make a DVD out of a lot of still images. In Roxio Easy Creator, you could select a Pan & Zoom option for the slideshows, which would give the effect of the photos moving around while the slides

  • Connecting remote FoxPro dbf file using jdbc odbc bridge driver?

    Hi all, I am new to this topic, (even I read some threads) I need to access some FoxPro tables (dbf files) and select some data and save to an oracle table. what is the best method to do this? If I use java as development tool. which other drivers or

  • Shadow migration

    FishWorks Q3 release comes with Shadow Migration which looks like a fantastic feature! But where is it in the BUI? I can see the place to configure the source when creating a share but after that there is nothing, yet the documentation talks about vi