Queries:Editable ALV - Without OO concept and BAPI for Quality notification

Hi Abaper's,
1. Is there a possibility of giving F4 help for an editable field in Classical ALV ?
2. Could anyone suggest bapi for changing notification status in QM02 ? Approving/Rejecting/Closing Notifications.
Regards,
Kausthub

Similar Messages

  • Assign Execute and Review for Quality Notification

    Hello Experts,
    Can we configure the workflow WS24500047 or is their any change in configuration in SPRO so that we can make the following business scenario.
    1- Quality Administrator will create quality notification in QM01.
    2- Quality Administrator will assign the task to the responsible person for eg. User1 is responsible to complete the task to fix a bolt of a machine
    3- After fixing the issue. User1 will make the the task complete and request to close the task
    4- Other User say Reviewer will see the request from User1 and finds the the task is properly done and he will make a request to the approver to close the task
    5- The approver will approve the request and close the task.
    6- And if the all the task of the quality notification is complete then
    quality administrator will complete the quality notification and close the task.
    in other words.
    QA (will create the Quality notification and assign to user) --> User1 (Fix the issue and make a request to complete the outstanding task to the reviewer ) --> Reviewer (Inspect and make a request to the Approver to approve and close the outstanding task) --> QA (finally close the quality notification after completion of all Outstanding tasks)
    Thanks and Regards,
    Kuldeep Verma

    Hi Kuldeep,
                       You have to generate 3 SAP Login ID's like ...
    1. Q_01 : Who will have the rights of Creating & Changing the Notification. He will also have the right to complete the Notification as wel as revoke it.
    2. Q_02 : Who will have the rights to enter the details about the Task and its activities as you said fix a bolt on machine.
    3. Q_03 : Who will have the rights to review the whole process thru closing the Task.
    I feel that there is no need to have fourth one in picture as your all requirement can meet within these three.
    Please revert with comments.

  • BAPI for Quality notification create QM01

    Hi,
    any body plz provide me bapi for creating qualyty notification of type ZS/ZV
    which are store to dc,mail to vendor,w.r.t delivery etc.
    Thanks.
    Regards.

    Hi,
    Use the following BAPI's
    BAPI_ALM_NOTIF_CREATE - Create PM notification
    BAPI_SERVICENOTIFICAT_CREATE - service Notification
    <b>Reward points</b>
    Regards

  • Suggest BAPI for change notification IW52

    Hi,
    Kindly suggest BAPI for change notification IW52.
    Regards,
    Tanaya

    How to find function module or Bapi for particular transaction in sap?
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Answer: This is  the BAPI for your mentioned   transaction code BAPI_GOODSMVT_CREATE.
    thanks,
    Sankar M

  • Suggest BAPI for create notification IW34

    Hi,
    Kindly suggest BAPI for create notification IW34.
    Regards,
    Tanaya

    How to find function module or Bapi for particular transaction in sap?
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Answer: This is  the BAPI for your mentioned   transaction code BAPI_GOODSMVT_CREATE.
    thanks,
    Sankar M

  • Restricting authobject I_QMEL for Quality notifications and HR PCRs

    Hello,
    We have encountered an role conflict when the authorization object I_QMEL is used both for Quality notification and HR PCR access on the portal.  Here is the scenario.
    Quality Administrator has I_QMEL for:
    - notification type X
    - transaction IQS1 and IQS2
    - all work is done in the GUI
    Employee who is a Manager has I_QMEL for:
    - notification type Z
    - transactions IQS1 and IQS2
    - all work is done on the portal
    The role conflict arises when one user has both the Quality Administrator role and the Manage role.  The user can then use the GUI to view notifications of type Z - that any manager has submitted.  This means the user can view all personnel change requests in the systems.  These PCRs contain sensitive information.
    Any ideas on how I can design the security such that this role conflict is suppressed?
    Thanks!

    Hi Vicky,
    I have the same problems you had. I also need to implement your requirements 2) and 3)
    How have you solved your requirements? Please let me know your solutions.
    Thanks in advance
    Sarah

  • Editable alv: add custom validation and display "errors" in protocol list

    Hi,
    What I want to do:
    PAI validation of editable alv with displaying error's in the protocol list by adding custom entries to the existing protocol object.
    What is my problem:
    After registering "data_changed event", the protocol list don't appear.
    My understanding is, that the object "er_data_changed" is passed by the event "data_changed"
    an so I thought I can add some more entries to the protocol list.
    After "de-registering" the "data_changed" event, the protocol appears with the standard errros messages (e.g. "input to numeric" by enter charachters)
    One more hint:
    By creating a new object "er_data_changed" in the handler method the protocol list works, but I would like to append entries to the object that was passed with the event.
    Probably I've misunderstand something, please help !
    My coding:
    PAI:
    trigger event "data_changed" -> calls handler method
      CALL METHOD r_myalv->check_changed_data
        IMPORTING
          e_valid = is_valid.
    stop processing
      IF is_valid NE 'X'.
        MESSAGE 'invalid input' TYPE 'E' .
      ENDIF.
    handler method:
    handle_data_changed FOR EVENT data_changed  OF cl_gui_alv_grid  IMPORTING e_ucomm
                                                                                    er_data_changed.
    METHOD handle_data_changed.
        data: ls_mod_cell type lvc_s_modi.
         CALL METHOD er_data_changed->add_protocol_entry
                    EXPORTING
                           i_msgid     = 'SU'
                           i_msgty     = 'E'
                           i_msgno     = '000'
                           i_msgv1     = 'This is a test !'
                           i_fieldname = ls_mod_cell-fieldname.
         er_data_changed->refresh_protocol( ).
         er_data_changed->DISPLAY_PROTOCOL( ).
    ENDMETHOD.                    "handle_data_changed

    Dear Olaf,
        If understood correctly, you want to Edit an ALV and do some data validations when some data is changed in an ALV.   To do this follow the following steps:
    1.   Before displaying ALV, Register the edit event.
    * Set cell modified to trigger data_changed
    CALL METHOD go_alv_grid->register_edit_event
    EXPORTING
    i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    2.  Register the event DATA_CHANGED of class CL_GUI_ALV_GRID & handle the event.
    SET HANDLER lo_event_receiver->handle_data_changed FOR go_alv_grid.
    The event DATA_CHANGED of class CL_GUI_ALV_GRID has a parameter ER_DATA_CHANGED which is of type CL_ALV_CHANGED_DATA_PROTOCOL.
    This er_data_changed has internal table MT_MOD_CELLS(contains index of records changed ) & MP_MOD_ROWS(contains the changed row), using these update your internal table accordingly.
    DATA : wa_mod_cell TYPE lvc_s_modi.
    FIELD-SYMBOLS: <fs> TYPE table.
    LOOP AT er_data_changed->mt_mod_cells INTO wa_mod_cell.
    ASSIGN er_data_changed->mp_mod_rows->* TO <fs>.
    READ TABLE <fs> INTO wa_output INDEX wa_mod_cell-tabix.
    MODIFY lt_output FROM wa_output INDEX wa_mod_cell-row_id.
    ENDLOOP.
    3.   Here it self you can do the required data validations(No need of any PAI modules) as below.
    IF wa_orders-zfstfirmtyp = c_9.
    MESSAGE s288(zcsp).
    DELETE er_data_changed->mt_mod_cells.
    EXIT.
    ENDIF.
    Regards
    Kesava

  • Editable ALV - Particular Lines Display and Edit Problem

    Hi,
    I have developed a program which updates the Custom tables in the database.
    I am using cl_gui_alv_grid in the module pool program. I am making all the fields editable using ls_fcat-edit = 'X'.
    But as per my requirement in the change mode of the same data base entry, the user should not be able to change the existing data (like PO line items).
    My requirement is for a particular Purchase Order if there are line items, when I open the Purchase Order in the change mode all the existing line items should be in display mode and I need to provide the user to add more lines.
    Say the PO has 3 line items, in the Grid, it should be like all the existing 3 line items should be in display mode and rest of the lines should be in editable mode which will give the option for the user to add more line items for the same PO.
    Here it is not Purchase Order,  I just compared as an example.
    Logic I am using.
    I am building the internal table with a serial numbers from 1-99 and this particular column will be in display mode in the ALV Grid. Using the class cl_gui_alv_grid.
    Capturing all the data entered using event handler with method handle_data_changed.
    Please tell me how do I set the particular lines in display mode and others in editable mode within the same internal table.
    Thanks

    Hi Prabhu,
    thanks for the logic, but for some reason the it is not working for me.  Please see the below logic and let me know what I am missing.
    I am not passing anything related to style to the method Set table for first display.
    Is this correct  it_outtab            = gt_outtab[].
    or because of the below method
    CALL METHOD g_grid->set_ready_for_input the lines are not actually coming in display mode
    DATA : BEGIN OF gt_outtab OCCURS 0.
    INCLUDE TYPE zaodoperation.
    DATA: celltab TYPE lvc_t_styl ."--->for styles.....
    DATA: END OF gt_outtab.
    DATA ls_celltab TYPE lvc_s_styl .
      DATA lt_celltab TYPE lvc_t_styl .
      DATA v_tabix TYPE sy-tabix.
      IF gt_outtab[] IS NOT INITIAL.
    *Setting the non editiable mode
        LOOP AT gt_outtab INTO gs_outtab.
          IF gs_outtab-heatnum IS NOT INITIAL.
            LOOP AT gt_fieldcat INTO gs_fieldcat.
              ls_celltab-fieldname = gs_fieldcat-fieldname.
              ls_celltab-style = cl_gui_alv_grid=>mc_style_disabled."-->no edit.....
              INSERT ls_celltab INTO TABLE lt_celltab.
            ENDLOOP.
            INSERT LINES OF lt_celltab INTO TABLE  gs_outtab-celltab.
            MODIFY gt_outtab FROM gs_outtab.
            CLEAR : gs_outtab.
    *      else.
    *        v_tabix = sy-tabix.
          ENDIF.
    *      delete gt_outtab INDEX v_tabix.
        ENDLOOP.
      ENDIF.
    CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          is_layout            = gs_layout
          it_toolbar_excluding = gt_exclude
        CHANGING
          it_fieldcatalog      = gt_fieldcat
          it_outtab            = gt_outtab[].
    * set editable cells to ready for input
      CALL METHOD g_grid->set_ready_for_input
        EXPORTING
          i_ready_for_input = 1.
      CALL METHOD g_grid->register_edit_event
        EXPORTING
          i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    Thanks

  • Editable ALV using OO concept

    Hi Experts,
    We have a  requirement for an editable ALV grid where the values can be changed in the ALV and needs to be validated.
    Once the user has made an entry in the ALV grid,
    Even if the user has entered values in all the cells, It should throw error log only for the rows selected  by the user .
    Once the user has made correct entry in the field ( the row which was selected earlier and throwing error ), then the error log should be emptied and it should allow for processing.
    Please help us on this requirement, if possible with the code.
    Thanks in Advance,
    Vidya
    Edited by: vidya vidya on Oct 16, 2009 8:30 AM

    Hi,
    in the wiki (code gallery) you can find several examples.
    e.g.
    http://wiki.sdn.sap.com/wiki/display/ABAP/InteractiveEditableOOALVgridwithdynamicitab,FCATandENTERkeyeventtrigger
    Best regards.

  • Transaction Codes and BAPIs for Mobile Time And Travel

    Hi All,
    Please can anyone give me the "Transaction Codes" and "BAPIs" that are needed and used for developing an application for Mobile Time and Travel.?
    Please help me out.
    Cheers,
    Anu.
    Message was edited by:
            Anuradha Yandamuri

    Hi Anu
    Below are the Functional Modules used in the standard MTT application.
    <u><b>RFC's for Time Sheet (MTS)</b></u>
    CATS_MY_GET_MASTER_DATA      
    CATS_MY_GET_PICKLIST_FIELDS  
    CATS_MY_GET_REJECTION_REASONS
    CATS_MY_GET_TEXT_ELEMENTS    
    CATS_MY_GET_TIME_DATA        
    CATS_MY_GET_BOOTSTRAP      
    CATS_MY_GET_CUSTOMIZING_DATA
    TT_GET_PICKLIST
    <u><b>RFC's for Travel Expenses (MTR)</b></u>
    WAF_TRIP_ADD_RECEIPT          
    WAF_TRIP_CHANGE_RECEIPT       
    WAF_TRIP_CREATE               
    WAF_TRIP_DELETE_RECEIPT       
    WAF_TRIP_GET                  
    WAF_TRIP_GET_CREDIT_CARD_ITEMS
    WAF_TRIP_GET_CUSTOMIZING      
    WAF_TRIP_GET_DELETED_LIST     
    WAF_TRIP_GET_LIST             
    WAF_TRIP_MODIFY               
    WAF_TRIP_PROCESS_RECEIPT      
    WAF_TRIP_RESULTS              
    Hope this helps
    Thanks
    Raj

  • Function modules and BAPIs for a transactio code

    Hi friends,
    How i can find  the List of function modules and BAPIs being used for a particular transaction code?
    for example: I would like to find List function modules and BAPIs being used for the Transaction code
    "FBRA"(Reset cleared items)?
    Any sort of help on this will be helpful.
    Thanks,
    Punjaala

    hi Anjaneyulu,
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    selct the tree structure----in the left side the includes screen and function module everthing will show..
    or
    open the t-code --> and go to menu system->status-->select the program and open the program-->
    go to attributes and select the Package..
    next----
    go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
    Regards,
    Prabhudas

  • Show long text for Quality Notification when double click field in alv

    I have an ALV grid called using a FM and I am using the user command routine to do somthing when a particular cell is  clicked.  I want to  call up the root cause text from the action box of the QN via QM03 .  I am building a BDC table to call with a CALL transaction but when I write my BDC up to that point, the program is running the BDC but not going to the point where the long text is displayed is i am in mode 'N'.
    FORM user_command USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      READ TABLE itab INDEX rs_selfield-tabindex.
      CASE r_ucomm.
        WHEN '&IC1'.
          CASE rs_selfield-fieldname.
    * When double click on root cause, display root cause long text
            WHEN 'ZZ_URCOD'.
              PERFORM display_root_cause_text.
              CALL TRANSACTION 'QM03' USING gt_bdc MODE 'N'.
      ENDCASE.
    ENDFORM.                    "user_command
    FORM display_root_cause_text .
      FREE gt_bdc.
      PERFORM fill_bdc USING 'SAPLIQS0'     '0200'      'X'.
      PERFORM fill_bdc USING 'RIWO00-QMNUM'  itab-qmnum  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=10\TAB03'  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_CURSOR'
                             'QMICON-LTURSACHE(01)'     space.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=UX01'  space.
    ENDFORM.                    " DISPLAY_ROOT_CAUSE_TEXT
    Any one have any suggestions of know of a BAPI that I can achieve the same thing?
    Thanks
    Larissa Maryniuk

    Hello,
    also try to use the messages clause (of type BDCMSGCOLL).
    This will return the system messages.
    call transaction 'XXXX' using BDCTAB
                                            mode 'P'
                                            messages into MSG_TAB.
    Try to change the mode from 'N' to 'P' and try to place a breakpoint and check what happens.
    Alternatively, you can read the Quality Notification text using FM READ_TEXT, and then show this data to the user in pop-up, rather than calling the tx.
    Hope this helps.

  • 101 to be used only for unrestricted stock and not for quality stock

    Dear Experts,
    My client requires that mvt type 101 to be used for GR into ONLY unrestricted stock and not into Quality stock, if it requires we can create new mvt type as well.
    Please let me know how to achieve this.
    Regards
    Abhi

    You can set default value in MIGO for movement type and stock type..
    Go to MIGO
    The set default value for stock type as Unrestricted and movement type 101.
    Then Go to OLMB-Settings for Enjoy Transactions-Settings for Goods Movements (MIGO)-Field Selection for MIGO
    Here set the field Stock type as display..
    Then check in MIGO
    The field value will be unrestricted always and user will not able to change this..
    Test the scenario and revert back..

  • Editable ALV with New Row and Save

    Hi Experts,
      I created an ALV report which is editable, add a New Row with SAVE options.
    Problem is: when i try to save the changes using SAVE button in the application tool bar for the coloumn in the specific row, the event is not triggered and the changes were not available. However if i press Enter and then the SAVE the changes were available and i am able to update it.
    I do not want to press ENTER after doing the changes, All i want is to press SAVE to save my changes.(one click)
    How can I do that? Thanks.

    Thanks satish,
    From the thread,
    We have to either press return key (enter) or switch between cells. But the problem here is with the user, they do not want to do it either way. All they want is to press the save button in the application tool bar after the data is changed in the cell.
    Any inputs will be greatly appreicated.
    Thank you.

  • BAPI for Service Notification Creation (with address)

    Hi Friends,
    Could any one help and let me know if there is a BAPI which helps to create a Service Notification and has the capability to update the address fields in that Service Notification. I am aware of the BAPI  "BAPI_SERVNOT_CREATE"  but it does not have the capability to update the address fields (like name1, name2, street, city, region, email address etc). Thanks in advance.
    Regards
    Sid

    Ravi ,
    Thanks for your passing me the bapi , when i use it the program goes to dump , its regarding the category , what has to be passed to the category ,
    As of now i m passing Notification type , Requestor , Code grp and activity code.
    Sorry for not Rewarding points in time , i was at lunch ,

Maybe you are looking for

  • I-trigue 3400 soundwoofer not working / right speaker low output compare with left speaker

    Hi, basically i have 3 sets of creative i-trigue 3400 purchase as second hand. All these 3 sets have some minor problem. I trust my ability i able to repair it as iam a professional electronic engineer. Just need some advance information or guidance

  • Opatch Error !!

    I have installed Oracle SOA suite 10g 10.1.3.1 While applying the Oracle SOA 10.1.3.3 patches, we are getting the error Iam trying to apply an interim patch and getting the following error: Oracle Interim Patch Installer version 1.0.0.0.57 Copyright

  • HT201272 There are no purchases on my iTunes

    I just upgraded my iPad iOS from 3.2.2 to 5.1.1.   I have never used iCloud but turned it on and signed in.  When I go to purchases it says there are none associated with my ID.  Should have $1000 worth of purchases!

  • After scanning a picture, I cannot find it on my iMac.

    After scanning a picture i cannot find it on my iMac. the scanner says it was sent and to check my computer screen.

  • BW Hierarchy drill issues

    Hi all, I'm having issues in webi when drill down to the lowest level of a hierarchy and that level contains no data. The symptom is that I get an empty table with no hierarchy label and no way to drill back up to the previous level. The report has t