How to attach a customer program during saving in tcode qm02

hi,
i have written a abap program which will send emails after saving data in qm02 . but i do not know how to attach this program so that it executes upon saving data in qm02 . can any one help me out .
thanks in advance.
Kallol.

Hi Kallol,
Check with this user exit QQMA0014  QM/PM/SM: Checks before saving a notification.
Close the thread if this solves your query.
Regards
Abhii

Similar Messages

  • How to create a customer program for "PPMOD"feature(pe03)?

    Hi,
    I want to create customer program for "PPMOD"feature(tcode:pe03),who can tell me the steps? (ECC6.0)
    thanks a lot?
    Olivia Yang

    Hi,
    /1PAPA/FEAT610PPMOD the generated program for the feature.
    You are forbidden to change this generated program. Ideally whatever logic regarding the feature needs to be put through pe03 tcode of feature and not in the program.
    Still if there are any changes that need to be done to the program you can enhance the program.
    To enhance the program you need to go to se 38 and open this program and press Shift + F4
    Then Goto->Enhancement operations->Show implicit enhancement operations
    Then go to yellow line right click on mouse and Enhancement implementation->Create
    And put your own code in the implementation.
    Regards,
    Divya

  • How to attach and run std payslip available through tcode HRFORMS

    Hi all,
    Need to have much data along with graphics on the payslip. This includes Leave data(days paid, LOP, Payroll days, etc.), gross salary break-up, Year-to-date details, Tax details(line items), Standard Salary components, company logo, custom messages, etc. on the payslip. We are running India Payroll on SAP 4.7.
    <b>Wanted to know how to attach and run standard payslip available with tcode HRFORMS in place of the one we have with tcode PE51?</b>
    Your help will be <u>gratefully appreciated and rewarded</u>.
    Thanks in advance

    can u tell me how u manage to do this

  • GOS on custom program not saving links

    Hi all, I've just implemented GOS to a Z program following the instructions of a SDN contribution document called "How to attach documents to any custom program using GOS". I simply want to add GOS to the selection screen of the program in order to locat and store documentation regarding this Z program.
    I run the program and the GOS button is displayed, I add some link or document and then I display the list of attachments and everything seems to be working ok. So when I leave the program and run it again no list of attachments is available as this is greyed out. Anyone could help please.
    Steps I performed:
    I created the Business object saved and released to implemented with the following:
    Key -> programName (TRDIR-NAME)
    and redefined the GOSAddObjects method like this:
    BEGIN_METHOD GOSADDOBJECTS CHANGING CONTAINER.
    DATA:
          SERVICE(255),
          BUSIDENTIFS LIKE BORIDENT OCCURS 0,
          LS_BORIDENT Type BORIDENT.
        CLEAR LS_BORIDENT.
        LS_BORIDENT-LOGSYS = SPACE.
        LS_BORIDENT-OBJTYPE = 'ZGOS'.
        LS_BORIDENT-OBJKEY  = OBJECT-KEY.
        APPEND LS_BORIDENT TO BUSIDENTIFS.
      SWC_GET_ELEMENT CONTAINER 'Service' SERVICE.
      SWC_SET_TABLE CONTAINER 'BusIdentifs' BUSIDENTIFS.
    END_METHOD.
    Z program:
    REPORT  Z_RUBS_TEST_GOS.
    CONSTANTS: OBJTYPE TYPE BORIDENT-OBJTYPE VALUE 'ZGOS'.
    DATA: MANAGER TYPE REF TO CL_GOS_MANAGER,
    OBJ TYPE BORIDENT.
    PARAMETERS: MATNR TYPE MARA-MATNR.
    AT SELECTION-SCREEN OUTPUT.
    CLEAR OBJ.
    * SET OBJECT TYPE TO 'ZGOS'
    OBJ-OBJTYPE = OBJTYPE.
    OBJ-LOGSYS  = 'OP1CLNT200'.
    * SET OBJECT KEY = REPORT NAME
    SELECT SINGLE NAME FROM TRDIR INTO OBJ-OBJKEY
    WHERE NAME = SY-REPID.
    * CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
    CREATE OBJECT MANAGER EXPORTING
    IS_OBJECT = OBJ EXCEPTIONS
    OTHERS = 1.

    You must add COMMIT WORK (AND WAIT or not) somewhere in your application (add a button that the user), or use CREATE OBJECT manager EXPORTING ... IP_NO_COMMIT = space or 'R' ... so that the COMMIT WORK will be done automatically by the GOS manager. Note: IP_NO_COMMIT = 'R' means that the service will start in its own LUW (using synchronous RFC).
    For more information, read the [SAP Library - GOS - Publishing unique object|http://help.sap.com/saphelp_nw2004s/helpdata/EN/7e/4dbeb62c8e11d4a39e00a0c943858e/frameset.htm] (well, it doesn't talk about 'R'...)

  • How to get the custom program generated in Background

    Dear Freinds,
    I have written a below code in my submit program ( zreport) .
    REPORT  ZHRRPCPRRU0_SUBMIT  NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
    SUBMIT RPTQTA00 VIA SELECTION-SCREEN
    WITH pnpbegda = sy-datum
    WITH pnpendda = lv_date
    with pnppernr = '99007057'.
    As per your logic i have used the submit program and i am able to default the dates  in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
    Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
    it is just scheduling and further when i look at the sm37 i can see the  job getting finished . However , i dont  find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
    so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
    because when  i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
    So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
    Thanks in advance
    regards
    madhuri,

    Hi Can you try the following?
    Hope this helps... (Taken from help)
    Example
    Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

  • How to attach a custom to special menu

    Hi All
    I am using oracle Apps R12
    I have created a custom Form and registered the form in PO and created a form function.
    Now how to attach a form to the special menu, can any one provide the steps would be useful.
    regards
    Srikkanth

    Find the file screen shots for the same
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0BxunA4-pnNcqMGUyYThlMTktNmQzZS00OTRiLTlhMjItMjZlOTI4YjAzMmQz&hl=en_US
    Thanks,
    Neil

  • How to attach a custom transaction to a user menu

    Hi all,
    I need some help on how to attach a transaction code to a user menu.
    I've checked the forum but I could not find the exact instructions on how to do it.
    This is how the user menu should look like:
    User menu for Ricky Orea
    '->Manager Catalog Content
    '--->Standard transaction
    '--->Standard transaction
    '--->(insert my transaction here)
    Appreciate the help.  Useful answer will be rewarded.
    Thanks,
    Ricky

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

  • How to find which custom program uses authorization checks

    Hi all,
    I have been asked to find out which custom ABAP program in our organization is using Authorizations checks and which is not.
    Since there are thousands of custom programs I will need to automatize this process somehow.  But I am not an ABAP expert and I will need some help.
    Could any of you give me an idea of what would be the best strategy to find out if authorization objects/checks exist in a number of ABAP programs?  (would a simple text search do?).
    Many thanks,
    Aldo

    If you are looking out for Authorization related to Execution of any program, then look for entries in table TRDIR where field SECU (Authorization Group) is not blank.
    Below SAP documentation may help you:
    Authorization Group
    Authorization group to which the program is assigned.
    The assignment of a program to an authorization group plays a role when the system checks whether the user is authorized to:
    Execute a program
    --> Authorization object S_PROGRAM
    Edit a program (-Include) in the ABAP Workbench
    --> Authorization object S_DEVELOP
    Programs that are not assigned to an authorization group are not protected against display and execution.
    Security-related programs should, therefore, always be assigned to an authorization group.
    Report RSCSAUTH can also be used to assign programs to authorization groups. This report is documented in detail.

  • How to grant a customized program.

    Hi,
    A have a customized report called APVOUCHER.rdf . My boss said if u put customized report under $AP_TOP , if will be deleted when u run autoconfig.
    So I have to create its own directory path, and it own Responsibility Name owner and its own Request Group.
    How do I grant access this report to all with "Payables" responsibilities?
    Thanks a lot

    Hi,
    A have a customized report called APVOUCHER.rdf . My boss said if u put customized report under $AP_TOP , if will be deleted when u run autoconfig.It will not be deleted by AutoConfig.
    So I have to create its own directory path, and it own Responsibility Name owner and its own Request Group. If you still want to create a new path, set it in the custom<CONTEXT_NAME>.env file under $APPL_TOP.
    How do I grant access this report to all with "Payables" responsibilities? - Login to System Administrator responsibility
    - Navigate to Security > Responsibility > Define
    - Query the Payables responsibility
    - Get the Request Group Name
    - Navigate to Security > Responsibility > Request
    - Query the Request Group
    - Add the program
    Regards,
    Hussein

  • How to include MATLAB custom program to LabVIEW

    I am pretty new to LabVIEW environment. I need to take two voltage signal and manipulate that signal with MATLAB( if possible) for certain automatic calculation. I am not quite sure how I can do this.

    Thanks all
    In addition how can i directly give DACmx input to mathscript for processing purposes. When mathscript input is directly connect from the DACmx out, it is not allowed saying that the data type is different. Any suggestion to over come this.

  • How to send a custom script configured in QC02 tcode as an pdf attchement

    Hi All,
    In my requirement I configured SAPScript in QC02 Tcode.Now when I execute QC22 Tcode COA will be generated.Here before displaying the form output I need a pop up box asking a question that 'do you need a print or need to send an email?'.But an issue is how to get control on the standard program,Is there any enhancement spot or Exit to write the code for converting to pdf and to send email to the user.Help me if any one knows.If any doubts regarding the requirement please revert back.
    Thanks in advance.
    Regards,
    Satya.

    Hi All,
    In my requirement I configured SAPScript in QC02 Tcode.Now when I execute QC22 Tcode COA will be generated.Here before displaying the form output I need a pop up box asking a question that 'do you need a print or need to send an email?'.But an issue is how to get control on the standard program,Is there any enhancement spot or Exit to write the code for converting to pdf and to send email to the user.Help me if any one knows.If any doubts regarding the requirement please revert back.
    Thanks in advance.
    Regards,
    Satya.

  • Custom Program error APP-FND-00222

    Hi:
    "APP-FND-00222: Encountered an error while getting the ORACLE user account for your concurrent request"
    This happend when running a custom program for 12.1.3 on linux. The suffered web and found this link. but don't know how to change the Application field. WOuld you please help? THX.
    http://oracleared.blogspot.com/2012/05/app-fnd-00222-encountered-error-while.html

    907485 wrote:
    Hi:
    "APP-FND-00222: Encountered an error while getting the ORACLE user account for your concurrent request"
    This happend when running a custom program for 12.1.3 on linux. The suffered web and found this link. but don't know how to change the Application field. WOuld you please help? THX.
    http://oracleared.blogspot.com/2012/05/app-fnd-00222-encountered-error-while.html
    Re: How to grant a customized program.
    Thanks,
    Hussein

  • SWI2_ADM1 : Without agents workflow for custom program

    Hi,
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and display error work items list in the output.
    kindly suggest me how to write the custom program.
    Thanks & regards,
    Bala.

    Hi,
    I think you have a two requirement.
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and
    For this purpose please follow the below steps.
    1. Get all the dialog workitems from table SWWWIHEAD where WI_TYPE = 'W' , WI_STAT = 'READY' and WI_CD = current date.
    2. Now this dialog workitems are with agent and without agents. Now you need to filter them.
    3. use FM SAP_WAPI_GET_WI_AGENTS/RH_SWWUSERWI_READ_FOR_WI to find the agents of the dialog workitem.
        FM SAP_WAPI_GET_WI_AGENTS will return workitem list those have agents. FM RH_SWWUSERWI_READ_FOR_WI  will return
        initial  if the workitem does not have any agents. I would recommond you to use  SAP_WAPI_GET_WI_AGENTS. So you can filter them
        by using the above FM
    4. Submit the report RSWIWILS with the workitem ( without agents ) to execute agent rules
    display error work items list in the output.
    Use FM SAP_WAPI_WORKITEMS_BY_ERROR to get the list of workitem or select workitems from table SWWWIHEAD where, WI_STAT = 'ERROR' and WI_CD = current date.
    Hoping that this can help you.
    Thanks and regards,
    SNJY

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

Maybe you are looking for

  • How to display multiple signals on the same chart/graph

    Hello, I have a text file that has 21 different signals acquired through NI DAQ. I am able to read the file and display on the chart but the problem is all the signals have the same dynamic range -6 to +6 so when plotted they all show up on top of ea

  • Is Action Script for netStreaming and FLVPlayback component radically different, not interchangeabl?

    Hi. I am using NetConnection and NetStream to play back flv in Flash Pro CS5.5, and trying to add cue point to trigger events using Action Script, and to automatically rewind to the start at the end. There is no problem to trigger events via AS when

  • Fillable PDF from Smartforms

    Has anyone converted a Smartform to a PDF document with certain fields that are fillable by the user before he prints out the form?  We are on version 4.6C of SAP. I do not mean that after he fills them they are communicated back to SAP.  I am just s

  • Selecting in Non-Editable JTextField in JDK 1.4

    Hi. Posting as new thread - maybe somebody can help. I want a formatted non-editable (!) display component (for incoming Instant Messages, if anyone cares), which allows selecting with the mouse (including selection highlighting) and then copying FRO

  • Outlook 2013 sync problem!!

    I use IMAP email on two computers. when i open outlook at home (computer2) i receive new emails, but after seeing them at work (computer2) or receiving new emails at work i can't see them on computer2 anymore. I need to keep emails on both computers.