Screen exit in VA02

HI SAP Gurus,
I have a scenario where client wants a popup screen everytime user tries to save the field IHREZ (Your reference) field in transaction va02..The screen will contain various database fields including the following
Unit# , Service Order #,
Material#,
Material description ,
Qty ,
Cost ,
Markup factor ( From Z factor table),
Sales Price,
All the field are display fields except for markup factor which is a field from a ztable.The number of line items can be 200.Sales price will be calculated as
qtycostmarkup factor
There are two additional fields Labour and Hours which are to be entered by the user and then some calculation will be done to get the total price invested in repairing.This total price should be updated in a custom condition pricing for repair.
i have been suggested
To trigger the pop-up screen, use user exit MV45AFZZ, Form
USEREXIT_MOVE_FIELD_TO_VBKD.
But I have doubts like as what to use screen painter or there is some standard function module to call a popup.PLease suggest all the possible solution which i can look into.
Thanks in advance.
<b><REMOVED BY MODERATOR></b>
thanks
twinkle
Message was edited by:
        Alvaro Tejada Galindo

Simply you can use POP-UP Function module ..
check the whether IHREZ has value or not.
if IHREZ contains any value then simple call POP-UP Function module.
goto SE37 -> use POPup -> then search it.
Thanks
Seshu

Similar Messages

  • Screen exit for VA02

    HI SAP Gurus,
    I have a scenario where client wants a popup screen everytime user tries to save the field IHREZ (Your reference) field in transaction va02..The screen will contain various database fields including the following
    Unit# , Service Order #,
    Material#,
    Material description ,
    Qty ,
    Cost ,
    Markup factor ( From Z factor table),
    Sales Price,
    All the field are display fields except for markup factor which is a field from a ztable.The number of line items can be 200.Sales price will be calculated as
    qtycostmarkup factor
    There are two additional fields Labour and Hours which are to be entered by the user and then some calculation will be done to get the total price invested in repairing.This total price should be updated in a custom condition pricing for repair.
    i have been suggested
    To trigger the pop-up screen, use user exit MV45AFZZ, Form
    USEREXIT_MOVE_FIELD_TO_VBKD.
    But I have doubts like as what to use screen painter or there is some standard function module to call a popup.PLease suggest all the possible solution which i can look into.
    Thanks in advance.
    points will be rewarded to all the relevant answers
    thanks
    twinkle

    Hi,
    Pls do not enter the fields as header data it has restriction of only two fields.
    These all r the possible user exits on VA02, Just go thru it ..
    SDTRM001 Reschedule schedule lines without a new ATP check
    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
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    Maybe you can use subroutine USEREXIT_MOVE_FIELD_TO_VBSN in MV45AFZB.
    Pls reward helpful points.
    Regards,
    Ameet

  • Screen exit for va02 item additional data b

    i completed to add a field in the in the sale order additional data B . in my requirement  i want to add  icon beside a field to allow execution of the query .
    could you tell me how to do this?

    hi
    but does it ask me for ACCESSKEY?
    i must not change the standard thing. i need to implement in Exits only.i have seen in SAPMV45A there are 2 exits exit_**_002 and 003 which can be used for PBO and PAI.
    but i am confused on how to bring the fields into ADDITIONAL DATA TAB B  without changing standard directly?

  • VA02 - Screen exits

    Hi ppl,
    can neone tell me how can I find the screen exits in VA02 (screen 4459/4462)

    Hi,
    Welcome to SDN.
    Please check this link.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Screen 8459 in program SAPMV45A is the additional data B tab to add your custom fields. In order to capture the data from this custon field you can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT in program MV45AFZZ.
    implement screen exit step by step:
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    the tcode is cmod...
    1.From the main screen of the Project management transaction, proceed as follows:
    Select Enhancement components and choose Change.
    2.Choose Edit component.
    3.Choose the screen exit and double click on it
    4.Create your subscreen using the Screen Painter.
    5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
    6.Choose the PAI and PBO to write down the logic.
    7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
    8.Go to the transaction ME22 to view the customer defined screen exit.
    9.Enter the purchase order number and press Enter.
    10.Go to the menu header --> Details.
    11.Purchase number is visible on the standard screen
    Regards

  • User Exit for VA02 while changing payment terms in the screen

    Hi,
      In Va02, in header details if we go to billing tab,
           Whenever we change the terms of payment(ZTERM) in the screen, we should check if the fixed value date(VALDT) is not blank based on some conditions.
      If it is blank before saving we should display error message with the VALDT screen field in VA02 transaction as open for input to enter the value.
    I have tried writing in MV45FZZ , in userexit_save_document_prepare , but the screen field is going to display mode after the throwing error message. but it should be open for input.
    Could anyone please suggest proper exits or badis to validate this condition?

    Hi Naimesh ,
      Thanks for your reply ,
    I have tried the code but its not working.
    As per my knowledge, statement after error message,will not be executed.
    Please suggest.
    raghavender,
    Thanks for your suggestion.
    I have tried it before , its working fine but as it is not suggested to use Leave to screen in custom code I was trying for alternate solution.
    Please suggest.
    Thanks ,
    Srilakshmi Godavarthi.

  • VA02 Screen Exit

    Hi
    I want to add some new fields to the Screen 8410 i.e Additional Item Data B screen of VA02...
    But I am unable to find the Enhancement name for this screen exit so that I can proceed ahead.
    I tried to find the user exits using traditional methods.. so please post me the exact enhancement name
    Can somebody help me with this ASAP...

    As suggested you have to use the access key and change the screen. If access key already entered, then it will not ask you for that. You can right away add the screen fields.
    You need access keys for PAI, and PBO modules also.
    MV45AOZZ.             " User-modules PBO
    MV45AIZZ               " User Modules for PAI.

  • Want to find the screen exits in VA01 and VA02

    Hi All,
      I want to find the screen exits in VA01 and VA02.
      How to find these screen exits.
      Actually i wnat to add a new custom field to the Additional data B tab on the header of VA01 transaction code.
    Now intially i want to know whether there are screen exits in VA01 transaction code ?If yes please provide the names?
    Please help me regarding this.

    Please check this
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    The SAPMV45A , 8309 screen is the Additional Data B tab  to add your custom fields . To capture the data from this custon field you can use
    the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    Thanks
    Vinod

  • User Exit in VA02 - Fast Change of selection

    Hello Experts,
    Is there an existing user exit in VA02 that can be used to add another menu item under menu Edit > Fast Change of ...
    I would like to add another item under that I can use to change the user status of the item.
    Thanks in advance.
    Regards,
    Erwin

    form userexit_field_modification in MV45AFZZ will be called during the VA02 transaction (and the VA01).
    There is a case statement within here.
      case screen-name.
    which allows processing to be limited to a field on the tranaction screen.  KUWEV-KUNNR is the screen element for the ship to, so you should be able to trap any changes in here.

  • Regarding screen exit

    Hi Friends,
    I created the sales order using VA01 and enter the payment terms and saved. But mu requirement is when i go through VA02, payment terms field must be in display mode. So, user not able to chage the payment terms value.
    Please give exact solution with Screen exit name and modifications.
    Thanks in advance
    Regards
    Govind.

    Hi,
        The SAPMV45A , 8309 screen is the Additional Data B tab providded by SAP to add your custom fields . In order to capture the data from this custon field you can use
    the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    If you include the field MGANR as a part of the VBRK /VBRP structure then these will be available.
    step by step method to implement screen exit:
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    the tcode is cmod...
    1.From the main screen of the Project management transaction, proceed as follows:
    Select Enhancement components and choose Change.
    2.Choose Edit component.
    3.Choose the screen exit and double click on it
    4.Create your subscreen using the Screen Painter.
    5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
    6.Choose the PAI and PBO to write down the logic.
    7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
    8.Go to the transaction ME22 to view the customer defined screen exit.
    9.Enter the purchase order number and press Enter.
    10.Go to the menu header --> Details.
    11.Purchase number is visible on the standard screen
    Regards

  • Screen Exit for adding custom fields in Additional Data tab in ME21N

    I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
    I also need a similar exit for adding a filed at item level.
    Thanks in advance
    Martin

    Hello,
    1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
    please check it for VA02
    SPRO u2013 SAP Reference IMG ---  Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
    1)Screen group                                  description
            zs                                           creating badi      --- (save)
           click on (label tab pages) u2013 new entries
           number u2013 10 , function code u2013 zs10 ,  description u2013 func ---(save) u2013(back)
    2)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS
         (desc u2013 impl for cust) u2013 (save)
        interfaceu2014(check_add_on_active) double click on it
    3)the above screen appear --  write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
         -- (activate) u2013 (back)
       Business adds in customer sub screens
    4)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS1
         (description -- cust) u2013 in attribute u2013 (give screen group name)
    5)go to interfaces (GET_TAXI_SCREEN)  double click on it
       (save)  --- (activate) 
    6)(SAVE)  -- 
        Goto SE38  -- CREATE PROGRAM WITH NAME (ZQW) type module pool
         Goto SE51  -- Prog : ZQW
           Screen : 200 (Create)
          Goto layout u2013 design the screen
    7)save u2013 activate
       then goto transaction : va02
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u ,
    santhosh

  • Urgent: SCREEN EXITS FOR VA01

    Hi all,
    Please tell me what r the screen exits available for VA01 transaction.
    points will be rewarded,
    Thanks in advance,
    SIRI

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - VA02                     Change Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    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
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    Rewards if useful.........
    Minal

  • Screen-exit code

    want to add the field on the Additional data B tab of the VA01 and VA02 at header level.
    Already one field is there now i want to add one more field.How to proceed.
    I think i have to go with screen exits.Can you help me in proceeding further and where should i write the code.
    I have to move the updated fields to the vbak table
    The code is like this
    If VBAK-ZZGrswgh less than ZTRKLMT-ZZweight OR
    VBAK-ZZCubTot less than ZTRKLMT-ZZCube OR
    VBAK-ZZPaltot less than ZTRKLMT-ZZPallet
    CLEAR VBAK_ZZTRKLMT.
    Else
    MOVE ‘X’ TO VBAK_ZZTRKLMT.
    End if
    should i write this code in the USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ ?
    This user exit should trigger when
    VBAK-AUART Equals 'ZWH' OR
    VBAK-AUART Equals 'ZFV'
    Reply soon

    Hi
    You are right.
    In USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ upi need to add
    IF VBAK-AUART Equals 'ZWH' OR
       VBAK-AUART Equals 'ZFV'.
      If VBAK-ZZGrswgh lt ZTRKLMT-ZZweight OR
         VBAK-ZZCubTot lt ZTRKLMT-ZZCube OR
         VBAK-ZZPaltot lt ZTRKLMT-ZZPallet.
        CLEAR VBAK_ZZTRKLMT.
      Else.
        MOVE 'X' TO VBAK_ZZTRKLMT.
    Endif.
    Endif.
    (I corrected your code but did not syntax check it)
    Then you need to add the field to the screen.  Go into an order and go to the addition data B screen, click on the field that is already there and do "system > status".  There will be a subscreen shown (on this system it is 8309, can't remember if it is always the same).  Double click on this number and it will take you into screen painter so you can add the field.  If you want to be able to change it you will need to add some logic to USEREXIT_SAVE_DOCUMENT in the same program.
    Mike

  • Runtime error in MIRO while using User/Screen exit

    Hello,
    I have implemented an exit in ABAP for MIRO which when transported to Quality server through runtime error.
    I have used EXIT (SMOD) : LFDCB001 which contains FM -> EXIT_SAPLFDCB_001 and include -> ZXM08U31. In this exit I have written my code to disable Inv. Party field. This field exist in Details Tab in Miro Transaction.
    Location of the field: MIRO -> Details (tab) -> Inv. Party (Field)
    Code written in include ZXM08U31 is:
    LOOP AT SCREEN.
      IF screen-name = 'INVFO-LIFRE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    This exit is assigned to a project in CMOD and I tested the same in Development system. It is working perfectly.
    Now I transported the TR (Includes program ZXM08U31 and Customer enhancement projects ZMIRO). Now when I run MIRO in quality server it triggers the my logic and then through runtime error.
    Runtime error says:
    Short text
        Dynpro does not exist
    Error analysis
        The system attempted to use dynpro 0400 in program "SAPLXM08".
        This dynpro does not exist.
    I agree that screen 400 does not exists in program for MIRO but it does not exists in development system as well. So if the runtime error is valid in QEC server then why not in DEV server. And when it can run successfully in DEV server why cant it run in QEC server.
    Hope I have explained all the things in detail.
    Please provide me the solution since user can bombard anytime for the MIRO dump everytime in QEC.
    Regards,
    Harjeet Grover

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

  • How to find out a screen exit

    hi seniors
    can any one tell me abt screen exit n thier search.
    pls hurry
    points will be rewarded
    offer valid for today only.
    Sameer

    hi,
    How to Find a Screen Exit in a Given SAP Standard T-code
    Program
    REPORT YSMOD2 .
    TABLES: MODSAP, MODACT, TSTC.
    PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
                INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    DATA: SEARCH1(6),
          SEARCH2(3),
          SEARCH3 LIKE MODSAP-MEMBER.
    DATA : FIRST_ROW VALUE 'Y'.
    CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
    '%' INPUT2 INTO SEARCH2.
    SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
    FIRST_ROW = 'Y'.
    CHECK TSTC-PGMNA NE SPACE.
    CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
    SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
    AND MEMBER LIKE SEARCH3.
    SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
    IF FIRST_ROW EQ 'Y'.
       WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
              45 MODSAP-MEMBER, 70 MODACT-NAME.
       FIRST_ROW = 'N'.
    ELSE.
       WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME. 
    ENDIF.
    CLEAR : MODSAP, MODACT.
    ENDSELECT.
    IF SY-SUBRC NE 0.
       WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
    ENDIF.
    CLEAR TSTC.
    ENDSELECT.
    END-OF-SELECTION.
    CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Regards
    Sudheer

  • Creation of sales order- screen exit

    Hi all,
    I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.

    Hi
    See SAP Note 209278 - Display of customer-specific fields in sales doc
    Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
    Regards
    Eduardo

Maybe you are looking for

  • Query in IDOC To JDBC Scenario

    hi all below is my scenario : As soon as vendor is  created/ updated at R/3 , the IDoc is triggered via. change pointer , and is send to XI. XI will create / update the corresponding vendor in   Oracle database at the pther side. My question is  , at

  • Problems converting Word 2007 document to PDF

    Greetings, Have a brand new shiny computer with Office 2007 basic (Word 2007, Excel 2007 and Outlook 2007). Comes with Adobe Acrobat Standard. Installed Adobe Acrobat Standard with no errors. Opened a Word 2007 document that has an embedded Excel 200

  • Invalid results with SDO_RELATE

    I am getting what appears to be invalid results when using the ANYINTERACT mask for the SDO_RELATE operator on our 8.1.7 system. The following query counts 85 linear geometries interacting with the "DC" polygon while the same spatial selection in ESR

  • Out of Memory when opening page setup

    I am getting an "Out of Memory" error when opening the page setup window.  I am unable to continue as Crystal is locked up.  Has any one seen this behavior before?  I am running Crystal Reports 2008 Service Pack 0 Version: 12.0.0.683.  This is runnin

  • Shopping cart in flash 8

    I made a Flash website of online shopping. I used PHP as a getway.My problem is, when I adding a new iteam to the cart, then flash sending a id to the php and on the base of this id php re write the xml or updating the xml. The php part is working fi