Add button in transaction transaction PA20 for Infotype 0002

Hi All,
Hope all are doing good progress in their works... I had one question.
Has anyone added a button in the transaction PA20 for the Infotype 0002. I need to add a button in this screen so that the User can navigate from this screen in PA20 to the transaction CV04n.
Helpful answers will definetly be rewarded..
Thanks,
Susanth Kumar.

Hi,
Package name PBAS.
Check in SMOD with F4 help and give pakage name.
We can find the exits. But for your requirement we need to have a screen exit or menu exit.
FM exit-
HRPBAS01-User Exit for HR Master Data-EXIT_SAPLRPIN_001.
User exit-
PBAS0002-PA: Enhancements for Personnel Administration - Menu-EXIT_SAPMP50A_001.
Reward if helpful.
Best Wishes,
Chandralekha

Similar Messages

  • Add button to the transaction SM30

    HI
       Whether it is possible to add a buton to application tool bar in the transaction SM30.
    help reg this.

    Hi,
    Yes, it is possible to add button for the transaction SM30.
    This is possible through Menu exit.
    Procedure for Menuexit:-
    Go to SM30 ->System -> Status
    Repository data -> Transaction -> Double click on it
    Copy package name
    Go to SMOD
    Press F4 then a popup will open
    Click on information system
    Enter package name and press Enter
    Then we will get Exit
    Put cursor on that exit and press Enter
    Go to change mode and save it.
    Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
    Specify Project name in the enhancement text box
    Click on Create icon on the application toolbar.
    Enter description for the project and save it
    Click on Enhancement Assignment button on the application toolbar
    Give Exit  and save it
    Go to Components on the application toolbar
    Double Click on MENUS001
    Write function text which we want to add to menu item and save it with an request      number
    Double Click on Exit and write code there to display menu item in the screen
    Activate the include program and finally activate the project.
    Please reward points if helpful.

  • Encrypt SSN in idoc for infotype 0002

    I have to encrypt a field SSN for IT 0002 in idoc.
    after transporting i should have ssn in encryptred form.
    Is there any function module to encrypt desired field ?
    Thanks in advance.

    Encryption at database level is implemented using the BAdI IDOC_DATA_MAPPER and the enhancement spot IDOC_DATA_CRYPT.
    If it only needs to be encrypted for display check transaction WECRYPTDISPLAY.

  • IDOC HRMD_A for Infotype 0002 (Personal Data)

    Hello,
    I'm trying to send the modifications that I make in a person in the transaction PA30 in the table PA0002 automaticly. But when I go to thew program "RBDMIDOC" and select the message type "HRMD_A" (HR: Plan data and HR master data) it says that it doesn't have anything to send. But when I modify a Object (o, c, s), and I execute the program it send information. The object(o,c,s) has sent correctly. But when I want to send the Personal Data (P), it doesn't send anything. I have the trigger activated.
    Have I selected the message type correctly?
    PM

    updating id for malasian employee is not working.
    Q0002-perid. it come only for malasian employee.
    screen no 2044
    Use transaction PA30,
    Enter infotype number 2 or select Personal Data (0002) on the Personal Data tab
    You can use any Malaysian employee #
    Click on change button
    Enter in an ID number.  (There is no validation on ID number field.)
    Click either the enter or save button.  The ID number disappears and a message says ‘No change found’.

  • Personal Profile service for Brazil - Type Conflict for infotype 0002

    Hello All,
    We are enabling personal profile service for Brazil. And we did all the required configuration for that.
    When I access the personal info service I can see the overview page with personal data. But when I click on display link, I get the error message saying -
    Type conflict with ASSIGN in program CL_HRPA_UI_CONVERT_0002_BR
    Is there any configuration missing?
    Thanks,
    Bhushan

    Short text
        Type conflict with ASSIGN in program "CL_HRPA_UI_CONVERT_0002_BR====CP".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_HRPA_UI_CONVERT_0002_BR====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        You attempted to assign a field to a typed field symbol,
        but the field does not have the required type.
    How to correct the error
        Adapt the type of the field symbol to the type of the field or use an
        untyped field symbol or use the "CASTING" addition.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "ASSIGN_TYPE_CONFLICT" " "
        "CL_HRPA_UI_CONVERT_0002_BR====CP" or "CL_HRPA_UI_CONVERT_0002_BR====CM003"
        "IF_HRPA_UI_CONVERT_STANDARD~OUTPUT_CONVERSION"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    Line  SourceCde
        6   DATA: attributes           TYPE hrpad_field_attribute_tab.
        7   DATA: l_object_key         TYPE hcm_object_key.
        8   DATA: l_subrc              TYPE sysubrc.
        9
       10   FIELD-SYMBOLS <r0002_br>   TYPE hcmt_bsp_pa_br_r0002.
       11   FIELD-SYMBOLS <p0002_br>   TYPE p0002.
       12   FIELD-SYMBOLS <p0625>      TYPE p0625.
       13
       14   is_ok = if_hrpa_ui_convert_standard~true.
       15   ASSIGN screen_structure    TO <r0002_br>.
       16   l_object_key = <r0002_br>-object_key.
       17   MOVE-CORRESPONDING pnnnn TO super_screen_ref.
       18
       19   CALL METHOD super->if_hrpa_ui_convert_standard~output_conversion
       20     EXPORTING
       21       screen_structure_name = a_super_screen_structure_main
       22       pnnnn                 = pnnnn
       23       message_handler       = message_handler
       24       field_metadatas       = field_metadatas
       25     IMPORTING
       26       screen_structure      = super_screen_ref
       27       is_ok                 = is_ok
       28       field_attributes      = field_attributes.
       29
       30   MOVE-CORRESPONDING super_screen_ref TO screen_structure.
       31
       32   CASE a_super_screen_structure_main.
       33     WHEN 'HCMT_BSP_PA_XX_R0002'.
       34       ASSIGN pnnnn                  TO <p0002_br>.
       35       ASSIGN screen_structure       TO <r0002_br>.
    >>>>>       ASSIGN pnnnn2                 TO <p0625>.
       37       MOVE-CORRESPONDING <p0002_br> TO <r0002_br>.
       38       MOVE-CORRESPONDING <p0625>    TO <r0002_br>.

  • How to validate the Male or Female in for infotype 002 in LSMW at FieldMapp

    Dear freinds,
               Small problem in LSMW for infotype 0002.
    Whiel recording for infotype 002  ihae done for an employee based on FeMale(GESC2) , no when i uploading data i am having for male (GESC1) ...how can i toggle in my
    Field mapping please can any body tell me
    My field mapping presenlty have is :
    __BEGIN_OF_RECORD__ Before Using Conversion Rules
                        Rule :   Default Settings
                        Code:    ZPA30_002 = INIT_ZPA30_002.
    TABNAME                      Table Name
                        Rule :   Default Settings
                        Code:    ZPA30_002-TABNAME = 'ZPA30_002'.
    TCODE                        Transaction Code
                        Rule :   Default Settings
                        Code:    ZPA30_002-TCODE = 'PA30'.
    PERNR                        Personnel Number
                        Source:  ZP0002_STRUC-PERNR (Personnel number)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-PERNR = ZP0002_STRUC-PERNR.
    TIMR6                        Time period indicator: Period
                        Rule :   Constant
                        Code:    ZPA30_002-TIMR6 = 'X'.
    CHOIC                        Infotype selection for HR master data maintenance
                        Rule :   Constant
                        Code:    ZPA30_002-CHOIC = '0002'.
    BEGDA                        Start Date
                        Source:  ZP0002_STRUC-BEGDA (Start Date)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-BEGDA0(2) = ZP0002_STRUC-BEGDA6.
                                 ZPA30_002-BEGDA2(2) = ZP0002_STRUC-BEGDA4.
    ENDDA                        End Date
                        Source:  ZP0002_STRUC-ENDDA (End Date)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-ENDDA0(2) = ZP0002_STRUC-ENDDA6.
                                 ZPA30_002-ENDDA2(2) = ZP0002_STRUC-ENDDA4.
                                 ZPA30_002-ENDDA+4(4) = ZP0002_STRUC-ENDDA.
    ANREX                        Form of address text
                        Source:  ZP0002_STRUC-ANREX (Title)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-ANREX = ZP0002_STRUC-ANREX.
    NACHN                        Last Name
                        Source:  ZP0002_STRUC-NACHN (Last Name)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-NACHN = ZP0002_STRUC-NACHN.
    VORNA                        First Name
                        Source:  ZP0002_STRUC-VORNA (First Name)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-VORNA = ZP0002_STRUC-VORNA.
    GESC2                        Gender key  -
    > how can i put MAle condition
                        Source:  ZP0002_STRUC-GESC2 (Female)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-GESC2 = ZP0002_STRUC-GESC2.
    GBDAT                        Date of Birth
                        Source:  ZP0002_STRUC-GBDAT (Date of birth)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-GBDAT0(2) = ZP0002_STRUC-GBDAT6.
                                 ZPA30_002-GBDAT2(2) = ZP0002_STRUC-GBDAT4.
                                 ZPA30_002-GBDAT+4(4) = ZP0002_STRUC-GBDAT.
    GBLND                        Country of Birth
                        Source:  ZP0002_STRUC-GBLND (Country of Birth)
                        Rule :   Transfer (MOVE)
                        Code:    * Leave date value in internal format (YYYYMMDD)
                                 ZPA30_002-GBLND = ZP0002_STRUC-GBLND.
    Caution: Source field is longer than target field
                         Code:    ZPA30_002-NATI2 = ZP0002_STRUC-NATI2.
    FATXT                        Marital Status
                         Source:  ZP0002_STRUC-FATXT (Marital Status)
                         Rule :   Transfer (MOVE)
                         Code:    ZPA30_002-FATXT = ZP0002_STRUC-FATXT.
    Note : however my SourceField if i click i can see both GESC1 & GESC2.
    Please help me in this regard
    Regards
    Syamla

    Hello,
    Male or female in 0002 is determined the field ANRED. (Mr. Ms.) based on this only the GESCH(Gender key is determined).
    So if a employee is a male fill ANRED with 1 else with 2.
    Thanks.
    Krishna

  • How to validate the Male or Female for infotype 002 in LSMW at FieldMapping

    Dear freinds,
               Small problem in LSMW for infotype 0002.
    Whiel recording for infotype 002  ihae done for an employee based on FeMale(GESC2) , no when i uploading data i am having for male (GESC1) ...how can i toggle in my
    Field mapping please can any body tell me
    My field mapping presenlty have is :
    __BEGIN_OF_RECORD__ Before Using Conversion Rules
                        Rule :   Default Settings
                        Code:    ZPA30_002 = INIT_ZPA30_002.
    TABNAME                      Table Name
                        Rule :   Default Settings
                        Code:    ZPA30_002-TABNAME = 'ZPA30_002'.
    TCODE                        Transaction Code
                        Rule :   Default Settings
                        Code:    ZPA30_002-TCODE = 'PA30'.
    PERNR                        Personnel Number
                        Source:  ZP0002_STRUC-PERNR (Personnel number)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-PERNR = ZP0002_STRUC-PERNR.
    TIMR6                        Time period indicator: Period
                        Rule :   Constant
                        Code:    ZPA30_002-TIMR6 = 'X'.
    CHOIC                        Infotype selection for HR master data maintenance
                        Rule :   Constant
                        Code:    ZPA30_002-CHOIC = '0002'.
    BEGDA                        Start Date
                        Source:  ZP0002_STRUC-BEGDA (Start Date)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-BEGDA0(2) = ZP0002_STRUC-BEGDA6.
                                 ZPA30_002-BEGDA2(2) = ZP0002_STRUC-BEGDA4.
    ENDDA                        End Date
                        Source:  ZP0002_STRUC-ENDDA (End Date)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-ENDDA0(2) = ZP0002_STRUC-ENDDA6.
                                 ZPA30_002-ENDDA2(2) = ZP0002_STRUC-ENDDA4.
                                 ZPA30_002-ENDDA+4(4) = ZP0002_STRUC-ENDDA.
    ANREX                        Form of address text
                        Source:  ZP0002_STRUC-ANREX (Title)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-ANREX = ZP0002_STRUC-ANREX.
    NACHN                        Last Name
                        Source:  ZP0002_STRUC-NACHN (Last Name)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-NACHN = ZP0002_STRUC-NACHN.
    VORNA                        First Name
                        Source:  ZP0002_STRUC-VORNA (First Name)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-VORNA = ZP0002_STRUC-VORNA.
    GESC2                        Gender key  -
    > how can i put MAle condition
                        Source:  ZP0002_STRUC-GESC2 (Female)
                        Rule :   Transfer (MOVE)
                        Code:    ZPA30_002-GESC2 = ZP0002_STRUC-GESC2.
    GBDAT                        Date of Birth
                        Source:  ZP0002_STRUC-GBDAT (Date of birth)
                        Rule :   Transfer (MOVE)
                        Code:    * Date Value as DDMMYYYY
                                 ZPA30_002-GBDAT0(2) = ZP0002_STRUC-GBDAT6.
                                 ZPA30_002-GBDAT2(2) = ZP0002_STRUC-GBDAT4.
                                 ZPA30_002-GBDAT+4(4) = ZP0002_STRUC-GBDAT.
    GBLND                        Country of Birth
                        Source:  ZP0002_STRUC-GBLND (Country of Birth)
                        Rule :   Transfer (MOVE)
                        Code:    * Leave date value in internal format (YYYYMMDD)
                                 ZPA30_002-GBLND = ZP0002_STRUC-GBLND.
    Caution: Source field is longer than target field
                         Code:    ZPA30_002-NATI2 = ZP0002_STRUC-NATI2.
    FATXT                        Marital Status
                         Source:  ZP0002_STRUC-FATXT (Marital Status)
                         Rule :   Transfer (MOVE)
                         Code:    ZPA30_002-FATXT = ZP0002_STRUC-FATXT.
    Note : however my SourceField if i click i can see both GESC1 & GESC2.
    Please can any one let me know .
    Regards
    Syamla

    Hello,
    Male or female in 0002 is determined the field ANRED. (Mr. Ms.) based on this only the GESCH(Gender key is determined).
    So if a employee is a male fill ANRED with 1 else with 2.
    Thanks.
    Krishna

  • Need Fcode in User Exit For Infotype

    Hi,
    I am writing a User exit for Infotype 0002 at Customers Site. I need Fcode to realize a specific logic. I am using the exit PBAS0001 for this purpose. can anyone tell me how to I get Fcode so that I can use it in the code ?
    Regards,
    Suma

    Hi Suma,
    sorry that i posted the false BAdI.
    You have to use HRPAD00INFTY. That is for PA.
    The BAdI HRBAS00INFTY is for PD/OM.
    Regards
    Bernd
    But there is no paramter ok_code
    Message was edited by:
            Bernd Köhn

  • Sending the enhanced Infotype 0002 outside SAP via an IDOC

    Hello Friends,
    We have added couple of Z fields to the standard 0002 Iinfotype table PA0002.
    I can see the custom fields in the trans : PA30 screen for infotype 002.
    Now, we want to send these custom fields value outside SAP via an IDOC.
    Here are the steps I followed :
    I created a Z Segment in an extended idoc with the structure PA0002.
    I went in transaction PM01 for Infotype 0002 and added the above created Z segment as a 2nd IDOC segment.
    In transaction PA30 for 002, I made changes to the custom field value for a person 12039.
    Created an idoc via BD21.
    IDOC generated with the Z Segment but it doesn't contain any  Z  custom fields.
    Which step am I missing here? Do I have to have a user-exit or BADI to achieve this OR can it be done without writing any code?
    Basically I
    I will really appreciate your help.
    Regards,
    Pooja Pandey

    Pooja,
    you need to fill each field manually.
    check this code i am filling ZHCMS_PI_SEMENT
    data: sgmnt_e1pityp type e1pityp.
      field-symbols: <wplog> type any.
      field-symbols: <wplog1> type any.
      data: ixxxx type e1pityp, iyyyy type e1plogi,sgmnt_hcms_pi type zhcms_pi_segment,wa_idoc_data_x type edidd, ls_idoc_data type edidd.
      data: lv_p0001 type standard table of p0001 ,lv_p0002 type standard table of p0002 ,lv_p0007 type standard table of p0007 .
      data: lv_p0521 type standard table of p0521 ,lv_p0710 type  standard table of p0710 ,lv_p2001 type  standard table of p2001 .
      data: ls_p0001 type  p0001,ls_p0002 type p0002,ls_p0007 type p0007 ,ls_p0521 type  p0521 ,ls_p0710 type  p0710 ,ls_p2001 type p2001 .
      data: row_index type sy-tabix,del_index type sy-tabix.
      data: lcx_root type ref to cx_root.
    fILL THE E1PITYP
    try.
    Keep the segments which have changed date greater than last run date in update mode
        read table idoc_data into wa_idoc_data_x with  key segnam = 'E1PITYP'.
        assign wa_idoc_data_x-sdata to <wplog> casting type e1pityp.
        ixxxx = <wplog>.
        loop at idoc_data into wa_idoc_data_x where segnam = 'E1PLOGI'.
          row_index = sy-tabix + 1.
          assign wa_idoc_data_x-sdata to <wplog1> casting type e1plogi.
          iyyyy = <wplog1>.
          sgmnt_e1pityp-plvar = ixxxx-plvar.
          sgmnt_e1pityp-otype = ixxxx-otype.
          sgmnt_e1pityp-objid = iyyyy-objid.
          sgmnt_e1pityp-infty = '0001'.
          sgmnt_e1pityp-begda = ixxxx-begda.
          sgmnt_e1pityp-endda = ixxxx-endda.
          clear ls_idoc_data.
          ls_idoc_data-segnam = 'E1PITYP'.
          ls_idoc_data-sdata = sgmnt_e1pityp.
          insert ls_idoc_data into idoc_data index row_index.
    APPEND t_idoc_data .
    Get the ZZSWISSREID
          sort lv_p0001 by begda descending.
          read table lv_p0001 into ls_p0001 index 1.
          sgmnt_hcms_pi-zzswissreid = ls_p0001-zzswissreid.
    Get the custom data from IT0002
          sort lv_p0002 by begda descending.
          read table lv_p0002 into ls_p0002 index 1.
          sgmnt_hcms_pi-zzglobalid = ls_p0002-zzglobalid.
          sgmnt_hcms_pi-zzsource_id = ls_p0002-zzsource_id.
          sgmnt_hcms_pi-zzlegacy_emp_id = ls_p0002-zzlegacy_emp_id.
          ls_idoc_data-segnam = 'ZHCMS_PI_SEGMENT' .
          ls_idoc_data-sdata = sgmnt_hcms_pi.
          row_index = row_index + 1.
          insert ls_idoc_data into idoc_data[] index row_index.
          clear : lv_p2001[] , lv_p0001[] , lv_p0002[] , lv_p0710[] ,lv_p0007[], lv_p0521[], ls_p2001 , ls_p0001 , ls_p0002 , ls_p0710 ,ls_p0007, ls_p0521 .
    APPEND t_idoc_data.
        endloop.
    Thanks
    Bala Duvvuri

  • Iam getting any error in infotype 0002 while doing enhancement ...

    Dear all
                could any one let me know why iam getting this error ,
       " TABL HRTIM00WS_PWS_INFTIES was adjusted
      Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
      Enhancement category for table missing
      Enhancement category for include or subtype missing
      Field name TIME is reserved (Do not use structure as include in DB table)
      Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    i have just added an one custom field ...(zzname , data element is zzname type char 20)as per the business requirement.
    regards
    vamsi

    Iam getting any error in infotype 0002 while doing enhancement .
    " TABL HRTIM00WS_PWS_INFTIES was adjusted
    Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field name TIME is reserved (Do not use structure as include in DB table)
    Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    when iam activating .................the structure i got the above error...........please urgent i have just added only one field

  • Poland Infotype 0002 - standard screen

    Hi,
    In infotype 0002 there are many standard screens for countries for example Japan has screen 2022. Is there a standard screen for Poland for infotype 0002 or should I use 2000 or 2044?
    Regards,
    Warren.

    you can use one of these 2 or copy into some new screen and use

  • Add a new Button to PR05 Transaction

    Hi,
          I have a requirement to enhance the transaction PR05 .  I want to add a button on this Screen PR05  change or Display screen. Screen No is 1350.
        Please let me know the methods to do this customization.
        Any Exit or BADI??
        How to add the button and the code for that??
    Regards,
    Lijo

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

  • Add new tools as "Descending" button to VB32 transaction

    Hi,
    Is it possible to add new functionalities such as "Ascending & Descending" buttons to Standard SAP Screen 435 - Promotion: Overview Screen (VB32 transaction) ?
    The request is because the users do not have the ability to filter the "Valid on / Valid to" dates for the assigned sales deals, and usually they have more than 10 Sales deals assigned to a promotion. The promotion screen is not user friendly and they are consuming more time to scroll to the bottom or find recent contracts.
    This issue is related Promotion and Sales Deals transactions (VB32 and VB22).
    Thank you
    Eli

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

  • I need to add a button in std transaction

    I need to add abutton in standard transaction IE03 (Equipment Display)
    I need to write a code to open a new screen.
    How to do this .
    Points will be awarded.
    Is there any user/menu.customer exit.
    If it had then how to proceed.
    Regards,
    Jayasimha Jangam

    Hi Jayasimha,
              I found these exits and badis, pls have a look at these....
    Enhancement/ Business Add-in
    Description
    Enhancement
    IEQM0001
    Add. checks for equip. installation at functional locations
    IEQM0002
    Additional checks for definition of equipment hierarchies
    IEQM0003
    Additional checks before equipment update
    IEQM0004
    Object is allowed for contract partner (Order->MaintCont.)
    IEQM0005
    Object allowed for SD contract (MaintContract->MaintCont.)
    IEQM0006
    Object allowed for SD contract (Maintain maintenance cont.)
    IEQM0007
    Check/change manufacturer field in equipment master
    Business Add-in
    EQUI_SERLV_CHECK
    External Inspections for MARA_SERLV
    EQUI_SCR_CC
    Implementable Subscreen for Equipment for CCM
    EQUI_SCR_06
    Implementable Subscreen for Equipment No. 06
    EQUI_SCR_05
    Implementable Subscreen for Equipment No. 05
    EQUI_SCR_04
    Implementable Subscreen for Equipment No. 04
    EQUI_SCR_03
    Implementable Subscreen for Equipment No.
    EQUI_SCR_02
    Implementable Subscreen for Equipment No. 02
    EQUI_SCR_01
    Implementable Subscreen for Equipment No. 01
    Thanks & regards

  • CRM2007 - Add a new button to activity transaction

    Requirement is to Open an popup window while clicking on the customised Button .
    Kindly guide us the technical approach to it.
    Regards,
    Aashish

    Hello Aashish,
    these information is provided in the sap documentation. And I see that you did not use the search in this forum at all to gather more information on how to create popups and how to add buttons, as your question is very generic. It always helps to get started on a subject if you search for already existing threads.
    Nevertheless, I would like to give you some starting hints.
    To add the button to the view: usually the buttons are stored into a class attribute on the view controller of type CRMT_THTMLB_BUTTON_T. Now at creation time of the view thistable of buttons are maintain, and usually we use the DO_PREPARE_OUTPUT for this. I also advice to look for previous post on this topic, you will find a lot of usefull hints.
    To create a popup use the window_manager(IF_BSP_WD_WINDOW_MANAGER) attribute of the component controller, method CREATE_POPUP or similar ones depending on your requirement.
    After you have created the popup instance of type IF_BSP_WD_POPUP, you can work with this and call the OPEN method. You can find a lot of examples in the system, by making a where used list on the interface IF_BSP_WD_POPUP.
    Good luck,
    Erika

Maybe you are looking for