Enhancing IW52 / IW51

Hi Friends,
My requirement is to auto-populate the Activity tab under IW51 when I click on the 'WPFD' status. This is supposed to happen when I save the Notification.
Under the activity tab: code group is supposed to auto populate with 'PNTY' , Activity code with 'WHOL' , Activity code text with 'WHOLE JOB'.
I know of a user exit ZXQQMU20 to which the console goes after I click on the save button. The fields do not have a parameter ID and when I use DYNP_VALUES_UPDATE, sy-subrc = 0 but the fields do not get updated. I tried BDC but that is also not working. EXPORT is also not working.
Can someone please help me out ?
Thanks,
Dikshitha G

Hi abhishek,                                                                                                                                                     
ABHISHEK KUMAR wrote:
We have a requirement to add one extra field in one standard tab of the service notification. In the additional data1 tab we want an extra standard field to be diplayed.
Steps :
First Find out Suitable Badi .
se24 - > cl_exithandler class
get the method Get_instance with in parameters exit_name.
Put one Break-point at the exit_name.
Run the t-code ie iw41/52/53.
The place where you want to add a new field.
Get the screen and note down all the badi names(exit_name) where you put the break point.
Select the suitable badi->get the method .
Put another break-point .Again run the t-code.
Break-point will trigger.
That is the place where you can write the code.
Hope Helpful.
Regards
Venkata sudheer

Similar Messages

  • Tcodes that allow document attachment

    HI,
    Is there an easier way to get all transaction codes that allow attaching of documents? I know that a document can be attached if the transaction has the ff icons/fields: Documents icon, Services for Object icon, Document overview icon, and DMS link tab. I have check tcodes one by one and have come up with this list:
    cj20n
    migo
    me21n
    me22n
    HB22
    Hb21
    Hb12
    Hb11
    hb32
    hb31
    XD01
    XD02
    FK01
    FK02
    FD01
    FD02
    XK01
    XK02
    CV02N
    CV01N
    iw52
    iw51
    Is there an easier way to get all transaction codes that allow attaching of documents -- a table perhaps?
    thanks,
    Emma

    Hi,
    you can attach document (for FI document) only after posting it. Go to FB03 give the document no and go to extras tab here you can find texts option, here you can write vital informations about the document. or you can attah supporting document in FB03, there is a menu 'service object' using this menu you can attach file.

  • Userexit at Save for IW51/IW52 - Service Notification

    Hi,
    Does anybody know any userexit  or BADI that will be triggered when the user clicks SAVE for transaction IW51 or IW52 to create/change a service notification? The userexits that I found so far do not seem to be triggered at the SAVE.
    IWO10026
    IWO10027
    IWOC0001
    IWOC0002
    IWOC0003
    IWOC0004
    Any advice is appreciated.
    Thanks.
    Minami

    HI Ferry Lianto,
    Can you share how to find the enhancement which you have mentioned.i will be very thankfull for your support.
    thanks
    John

  • Enhancement for Date changes on IW52

    Hi All,
       I have been looking for an exit or a BADI in the forum for transaction IW51 or IW52, and I couldn't find one which meets the requirement. The requirement is:
    On the IW51/IW52 screen, when user changes the Begin Date and hits the 'Enter' key or navigates away from the screen, he should get a popup message asking to continue changing the date or discard the change (Course I am able to add the popup just before saving).
    SAP does provide this functionality, when user changes the priority type and hits enter, but I haven't been able to find a place where I can do the same when the date is manually changed.
    Can anyone help. Let me know, if my question is not clear.
    Thank you,
    Richa

    Hi Nagaraju,
    Do the following,
    go to SMOD -> LMR1M001 -> click on components -> display
    Double click on EXIT_SAPLMRMP_010 -> click on include zxm08u16 . -> a warning message will come -> press enter and we have a an editable screen
    if sy-tcode = 'MIRO' and E_TRBKPV-bldat > sy-datum.
    Message 'BLDAT cannot be greater than current date'  type 'W'.
    endif.
    Based on the requirement change the code inside the if condition...giving error message is not recommended inside exits...you can also try a pop_up_to_confirm  to get user confirmation
    Remember that we can do only validation here since BLDAT is an importing parameter only(we cannot change it)..see the function EXIT_SAPLMRMP_010 tabs for importing and table parameters....
    We can also try the BADI "INVOICE_UPDATE" in se18
    by using the interface CHANGE_BEFORE_UPDATE ...to do similar validations....
    For this approach,create an implementation for this badi and write code in CHANGE_BEFORE_UPDATE
    based on the table\structure from where we get bldat
    Hope it helps,
    Regards
    Byju

  • Add additional data tab for tcode IW51/IW52/IW53

    Hi,
    I have to add the additional data tab for tcode IW51/IW52/IW53
    I have tried using customer exit QQMA0001. But the tab is not visible.
    Please let me know how to add this tab using customer exits.

    Hi Jogeswara,
    Just need a small help.
    We are not updating the standard table QMEL.
    But we have a customised table for the same.
    So when we create a notification number... it goes in the function exit but at that time we do not have the notification number generated.... and we are inserting records in custom table in this exit....
    So please guide us how we go ahead about it...
    Regards,

  • IW51 IW52 Notification Contact Address

    I am trying to find a BAPI or FM to update the contact person address for the notification in IW51/IW52.
    This address update is only for the notification and not the update of address in VAP2.
    I can do a BDC but looking for a better way.
    In IW51/52, once we enter a contact person name and press enter, the next field called "Cont. Address" will list the sold to address.
    If we click on icon "Message Address" to update the address, a pop up comes up and we can enter a different address. Then the next field in IW51/52 will change from "Cont. Address" to "Spec address".
    What I understood that happens in background is that it creates a new record in ADRC table and updates that ADRNR in QMEL. I tried to replicate the same but now i cannot see the notif in change mode.
    I am using the BAPI BAPI_ALM_NOTIF_CREATE but did not see any field to populate the contact person name or their address.
    Any help is greatly appreciated.

    Thanks Both. you guys are an inspiration to the community.
    According to the submission by Maheswaran KD., we may have to overwrite the initial address details in Message tab if we need to add a new address since Object Address cannot be used.
    please suggest where to keep the overwritten address for reporting purpose in future.
    @ Pete,
    The Partner function is being used by using the Partner overview and maintaining the partner address. But the issue is which screen do we use to display such address since the customer tab, the contact person tab and the message tab are already occupied with various address details. Where do we display a new address details if we don't want to overwrite the message address?
    Kashi

  • Exits/Enhancemet spots in IW51/52 Screen

    Hello Experts,
    I have a particular requirement wherein an existing Service Notification is opened in iw52 screen, user makes some changes
    & then at the last moment decides NOT to SAVE the same.
    As a Result a standard SAP pop up comes up saying 'Data will be lost. Do you want to SAVE ? YES :  NO : CANCEL'.
    If User clicks on 'NO' then I need to update the status in database.
    Can anyone suggest any screen exit/enhancement spot so that I am able to catch the sy-ucomm value & act accordingly ?
    I saw the forums where exit names like QQMA0001(for header) and QQMA0008(for item) , QQMA0014 are given but that is of no help to me.
    Also I would like to know how did you guys find the Exits QQMA0001/08/14 ? When I go to smod & give package IWOC (for iw51 Transaction) I never get these exit names. Plesae help.
    Thanks in advance.
    Best Regards,
    Rohit

    Hi,
    These are the user exits for IW51/ IW52.
    IWO10026            User check on setting status 'Do not perform'
    IWO10027            User exit: Generate user-defined settlement rule
    IWOC0001            Create PM/SM notification: Determine reference object
    IWOC0002            PM/SM notification: Check whether status change is allowed
    IWOC0003            PM/SM authorization check of ref. object and planner group
    IWOC0004            Change single-level list editing PM/QM/SM ALV settings
    Also, check program SAPLIQS0 for any enhancement spots.
    Regards,
    Danish.

  • User Exit for IW51-Create Notifcation

    Hi Friends
    I want to capture User or System Status when Notifcation - IW51 is saved. Kindly help me finding the exact user exit for this requirement,
    Thanks
    Senthiil

    Hello,
    Below are the list of Exits and BADI,
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
    Business Add-in
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    Regards,
    Sujeet

  • Adding custom fields to standard table control in IW51

    Hi,
    I have added 4 custom fields to the standard table QMEL through the structure CI_QMEL .
    In transaction IW51 there is a table control as show in the screenshot below.
    The 4 custom fields which i have added in the standard table should also be added to this table control.
    Can this achieved by making adjustments in SPRO settings or can it be acheived technically by using some exit?
    Thanks in advance.
    Regards,
    Vignesh Sunkasi.K

    Hi Vignesh,
    Adding new fields is not possible, but custom subscreens can be added.
    Check enhancements QQMA0001 (subscreen for notification header) and QQMA0008 (subscreen for additional data).
    It might help you.
    Thanks & Regards,
    Swati

  • Adding custom functionality sub screen in transaction IW51

    HI,
    Bussiness needs to add a custom functionality sub screen in header tab of transaction code IW51.
    Please suggest if anybody worked on this issue.
    Provide me if any screen exits are available in IW51 and how to implement the screen exits.
    Thanks,
    Radhakrishna

    hi,
    i dont think for this application SAP has good solution, we went for Z developments on this modules.
    any how checkout....
    SPRO>Quality management>Notification --> Overview of notification types --> Select the notification & 90 give the customer specific screen area
    Subscreen Number for Customer Screen Area "Notif. Header"
    Specifies the customer screen area that you can activate on the main notification screen using the SAP enhancement if you are working with the screen area '090' (customer subscreen (one screen/NTyp)).
    If you want to use more than one customer subscreen in your notification type, use the screen area '091' (customer subscreen (>1 screen/NTyp)). Assign the screens directly to the tab pages.
    Thanks,
    Shailaja Ainala.

  • Notification IW51/2/3 : Additional Data tab

    Hi all,
    We have an existing enhancement to transactions IW51/2/3 which presents an 'Additional Data' tab.
    I have added further fields to the screen but they don't display when I run the transaction. If I add them at the top and move the existing data down, the new fields appear and the existing fields disappear.
    I've checked the screen attributes, and there are 50 lines avaiable, with only 27 occupied.
    Anyone got any ideas please?
    Thanks,
    Margaret.

    Hi Madhu,
    This is part of an enhancement implemented via QQMA0001. The additional tab is already there, I just want to add new fields to the end of it.
    Regards,
    Margaret.

  • Put in process in IW52 application

    Hi,
    Can any one let us know the EXIT,which serve the requirement of put-in-process in IW52.
    Kindly reply ASAP.
    Ragards,
    Naresh

    hi,
    check these exits and badi's also.
    Transaction Code - IW52                     Change Service Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWO10027                                User exit: Generate user-defined settlement rule
    IWO10026                                User check on setting status 'Do not perform'
      Business Add-in
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    reward points if hlpful.

  • User exit/BADI required to assign a pushbutton from transactionVA01 to IW51

    Hello experts,
    I have a requirement wherein the "Create Customer " pushbutton from VA01 Transaction has to be assigned to Tcode: IW51 .
    Our aim is to assign this "Create customer" button in IW51 screen instead of VA01 .
    Here are the details of the Module pool program.
    Standard SAP program: SAPMV45A
    Screen: 4701
    Button name: BT_IAAN
    Is there a standard User Exit/Function exit present for this?
    Please provide a reply at the earliest convenience.
    Thanks,
    Himanshu Limaye

    Himanshu Limaye,
    As far as I know you cannot add a button the the GUI menu without modifying the system..
    However there are user-exits available for menu Goto->Enhancements...
    Have a look [here|http://pjatkin.users.btopenworld.com/documents/PMCSUserExits.pdf] for the user-exits under the Notification section.
    Otherwise its back to the actionbox/QQMA0001 option described above
    PeteA

  • BADI for transaction IW51

    Hi frnds,
    Please suggest BADI for transaction IW51.
    Regards,
    Mehul.

    Hi Shah,
    In addition to the above answer I will give you the piece of code
    just paste in and execute it. You will be getting the list of exits and BADI's available for that particular Tcode.
    REPORT  ZSWAMY_BADI_FINDING.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    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,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    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 in ('SMOD', 'SXSD')
    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:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    do 2 times.
    enddo.
    Reward points if useful.
    Cheers,
    Swamy Kunche

  • IW52 Tracking change in address  Extras-- Address

    Hi All,,
    I am working on the Notifications. tcode IW52, In the Main menu --> Extras --> Address, whenever there is any change in the street, city, postal code I need to trigger a BADI. how can I track if there is change in address, and is there a way I can have both old and new values..
    I have been to CDPOS AND CDHDR but could not find that information .
    Please help.
    Thanks-
    Shrikant

    Hi Shrikant
    You need not even go to the CDHDR and CDPOS. to track address change.
    Open the Include program LSZA1I02. this is where the address is getting updated in the ADRC table.
    Create an enhancement point and write the following code.
    Below is the code.
    ENHANCEMENT 2  YIE_MWF_ADDR_CHANGE.    "active version
    *This is added by Shrikant Rajupalepu to track the address change.
    *If there is an additional space or change in the case,, then it should not track
    *the changes.
    *Removing additional spaces for the comparision.
    CONDENSE addr1_data-name1.
    CONDENSE addr1_data_old-name1.
    CONDENSE addr1_data-street.
    CONDENSE addr1_data_old-street.
    CONDENSE addr1_data-city1.
    CONDENSE addr1_data_old-city1.
    CONDENSE addr1_data-post_code1.
    CONDENSE addr1_data_old-post_code1.
    *Conversion of text in to upper case for the comparision.
    TRANSLATE addr1_data-name1 TO UPPER CASE.
    TRANSLATE addr1_data_old-name1 TO UPPER CASE.
    TRANSLATE addr1_data-street TO UPPER CASE.
    TRANSLATE addr1_data_old-street TO UPPER CASE.
    TRANSLATE addr1_data-city1 TO UPPER CASE.
    TRANSLATE addr1_data_old-city1 TO UPPER CASE.
    TRANSLATE addr1_data-post_code1 TO UPPER CASE.
    TRANSLATE addr1_data_old-post_code1 TO UPPER CASE.
    *comparision of the name
      if addr1_data-name1 NE addr1_data_old-name1.
        message i000(ZI_MOBILE) with 'Name:' addr1_data-name1 'has been changed'.
      endif.
    *comparision of the street
      if addr1_data-street NE addr1_data_old-street.
        message i000(ZI_MOBILE) with 'Street:' addr1_data-street  'has been changed'.
      endif.
    *comparision of the city.
      if addr1_data-city1 NE addr1_data_old-city1.
        message i000(ZI_MOBILE) with 'City:' addr1_data-city1 'has been changed'.
      endif.
    *comparision of the postal code.
      if addr1_data-post_code1 NE addr1_data_old-post_code1.
        message i000(ZI_MOBILE) with 'Postal code: 'addr1_data-post_code1 'Changed'.
      endif.
    ENDENHANCEMENT.
    Thanks-
    Rahul

Maybe you are looking for