Automatic creation of Notification using T-code IK11

Hi Gurus,
  i got stuck in a requirement, where they want Automatic creation of notification using T-code IK11.
I am using EXIT IMRC0001.
    Please guide me that with what logic i should go.
Thanks
Regards
VICKY
Moderator Message: Vague Question. Expecting others to do your work for you => Thread Locked.
Edited by: kishan P on May 12, 2011 12:35 PM

In the role give Authorization object P_ORIGIN for Infotype 0, 1 and 2. with Authorization level as R (read)
This will resolve your issue then no need to give sap_all authorization
Good Luck
- Ashish

Similar Messages

  • Creation of role using T-code PFCG in R/3

    Hi Experts,
    I have created a Role using PFCG inorder to give acess only to three T-codes(PZ09. PZ80,PZ88).
    so i have created a role intially using PFCG and incorporated PZ09 tcode in it and assigend the Role to users in R/3. it is displaying the TCode(PZ09) in Portal.
    Now again i have added PZ80 & PZ88 to the same Role in R/3, but now i am getting an error:
    Infotype 0000 does not exist.
    but whereas when i assign SAP_ALL they(PZ88 & PZ 80) are working fine.
    Is they anything i can do so that i can avoid assigning SAP_ALL Profile to the users and eliminate the Error "Infotype 0000 does not exist.
    Thanks Inadvance,
    Regards,
    Siva

    Hi,
    Thanks for your reply,
    Creation of role using T-code PFCG in R/3
    The above link has solved my issue, Thank you!
    Regards,
    Siva

  • Automatic creation of Batch using mvt type 311

    when i am trying to transfer material from one storage location to another using mvt type 311. the system is not creating the batch automaticcally.
    I have already maintained allthe basic configuration required for this.even in IMg ->logistic general->batch management---->creation of new batch in this path also for mvt type 311 i mainatined (automatical/manual without check)batch creation.but still the system is not generating the new batch.
    Can anybody help in this issue.
    Thanks in advance

    Hi,
    When you do transfer postings, SAP will set the batch number same as the one from which you are issuing the stock. To avoid this you can set the creation of batch to B (Automatic/ Manual with check in user exit)
    You need to use following user exit at batch creation
    EXIT_SAPLV01Z_001
    EXIT_SAPLV01Z_002
    Hope this helps, reward if useful,
    Best Regards VS

  • Restrict Automatic creation of Notification from an Order

    Hi,
    In one of my client, During creation of order a notification is created automatically in the background.
    Now they dont want to create notification in the background.
    How to stop this ?
    Thanks

    Hi
    SPRO-Plant Maintenance and Customer Service---Maintenance and Service ProcessingFunctions and Settings for Order Types--Define Notification and Order Integration
    please follow the path and uncheck the notification option for perticular order type .
    Shail

  • Automatic Creation of Documents using Document Templates in UCM

    Hi,
    We need to cater following requirements in my project and we are using Oracle UCM 11g.
    1. Can we create documents automatically using some document templates? i.e.     Auto-generation of documents based on message input and templates.
    2. Can we enter free text into some areas of the documents available in UCM repository? And can we enter that new text parts in to UCM library?
    3. Can we automatically create printable pdfs in UCM?
    Please guide me how I can achieve these functionality in UCM.
    Regards,
    Sunny

    Hi,
    When you do transfer postings, SAP will set the batch number same as the one from which you are issuing the stock. To avoid this you can set the creation of batch to B (Automatic/ Manual with check in user exit)
    You need to use following user exit at batch creation
    EXIT_SAPLV01Z_001
    EXIT_SAPLV01Z_002
    Hope this helps, reward if useful,
    Best Regards VS

  • Automatic Creation of PR using 59

    Hai,
       I have created on PR 1200000585(Account category K & item category D).
    Then converting(me59) this PR to PO.
    While doing I am getting the following mesage  "No suitable purchase requisition found)
    I am not using any material, using only material text  as "Consultant" in my PR.
    With Regards,
    Jaheer,Saudi  Arabia.com

    HI,
    Prerequisites are
    The system selects only those requisitions for automatic PO generation for which the indicator Automatic purchase order has been set for both the material and the vendor.
    It can only generate purchase orders from requisitions to which a unique source of supply has already been assigned.
    Refer this link
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11e655c811d189900000e8322d00/frameset.htm
    Optimised Purchasing - Automatic Generation of POs from Requisitions
    Thanks & Regards,
    Kiran

  • Pass field from order to notif in automatic creation of notif from order

    Hi all,
    I am scheduling a maintenance plan from IP10. According to the configuration work order is automatically created. When PREV type order is created then one notification is also automatically created. I need to pass some user fields from maintenance plan/work order to notification.
    Any body has any idea of user exit or badi?
    Thank in advance.

    What User Fields you want to pass ,explain in detail , Usually all many fields automatically gets passed like Technical objects , Maintenance Plan Number .....................  , Even the Long text from Order can be made to pass in customisation , kindly mention user fields u need to pass
    regards,

  • To automate the SQL scripts using PLSQL Code

    Hi All,
    I have 20 database server (11.2.0.3) hosted on  unix and Windows platforms.
    Every day I have to kill inactive sessions from all the these 20 database servers. So I have made a below script::
    connect sys/&&sys_password@&&tns_database_name as sysdba
    SPOOL E:\DELETE_INACTIVE_SESSIONS.SQL
    set PAGESIZE 1000
    set LIN 5000
    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET HEADING OFF;
    select 'alter system kill session '||'`'||SID||','||SERIAL#||'`'||' immediate;'  from v$session where status='INACTIVE' and username in ('OSS_DICTIONARY','ADMINISTRATOR');
    SPOOL OFF;
    @@E:\DELETE_INACTIVE_SESSIONS.SQL
    Is there any way so that this execution of script can be automated in PLSQL code for 20 servers so and that code could be put in batch file for execution(i.e. can be execute through batch file from my windows laptop).
    Thanks

    Shrma wrote:
    Is there no way to handle the sql scripts in PLSQL code?
    Well, remember that PL/SQL is executed on a specific server by a certain user so you are already connected when executing a PL/SQL code.
    You could actually use a SQL Plus script to connect to different servers using connect and run your script.
    i.e.:
    SQL> connect sys/pwd_server1@db_server1
    SQL> @killinactive.sql
    SQL> connect sys/pwd_server2@db_server2
    SQL> @killinactive.sql
    But it does not make so much difference with my previous solution.
    Please explain exactly what you would like to do.
    Regards.
    Al

  • Notification creation using imrc0001 exit(ik11) but unble to get the status

    Hai to all
    i had used the exit IMRC0001 for the creation of notification if reading exceeds the upper range using fm
    BAPI_ALM_NOTIF_CREATE
    BAPI_ALM_NOTIF_SAVE
    It is updated in table VIQMEL
    but when i open tcode iw22 is giving me a error message
    Object does not exist (status management)
    Message no. IM258
    Diagnosis
    This refers to an error in central status management.
    Task status
    The central status management connection at task level will only be supported from Release 3.0.
    For this reason, no task status is available for statuses created before changing to Release 3.0, and status change is therefore also not possible.
    Procedure
    In the case of task statuses of notifications in releases prior to 3.0:
    When you save a notification you can create a status for the tasks.
    In the case of notification or task statuses for notifications from Release 3.0:
    Please refer to your system administrator.
    i had applied the OSS NOTE 437878
    then also iam unale to update the staus directly
    when iam running the note program ZPMNOT_STATUS01 separetly with the created notification it is upadting the status.
    how to update the status automatically
    thanking you.

    HI,
    See If this helps you...
    DATA: it_bapi2080_nothdri LIKE bapi2080_nothdri,
    it_bapi2080_notfulltxti LIKE STANDARD TABLE OF
    bapi2080_notfulltxti WITH HEADER LINE,
    it_bapi2080_notitemi LIKE STANDARD TABLE OF
    bapi2080_notitemi WITH HEADER LINE,
    it_bapi2080_notcausi LIKE STANDARD TABLE OF
    bapi2080_notcausi WITH HEADER LINE,
    it_bapi2080_notactvi LIKE STANDARD TABLE OF
    bapi2080_notactvi WITH HEADER LINE,
    it_bapi2080_nottaski LIKE STANDARD TABLE OF
    bapi2080_nottaski WITH HEADER LINE,
    it_bapi2080_notpartnri LIKE STANDARD TABLE OF
    bapi2080_notpartnri WITH HEADER LINE,
    it_bapi2080_notkeye LIKE STANDARD TABLE OF
    bapi2080_notkeye WITH HEADER LINE.
    ADD NOTIFICATION *******************
    IF e_subrc = 0 AND e_msgty NE 'E'.
    CLEAR p_qmnum.
    SELECT SINGLE qmnum
    INTO p_qmnum
    FROM afih
    WHERE aufnr = s_e1orhdr-aufnr.
    IF p_qmnum NE space.
    CLEAR it_bapi2080_notfulltxti.
    REFRESH it_bapi2080_notfulltxti.
    CLEAR it_bapi2080_notcausi.
    REFRESH it_bapi2080_notcausi.
    CLEAR it_bapi2080_notactvi.
    REFRESH it_bapi2080_notactvi.
    CLEAR it_bapi2080_notitemi.
    REFRESH it_bapi2080_notitemi.
    IF s_zin_tcs_servorder-fegrp NE space.
    it_bapi2080_notitemi-item_key = '0010'.
    it_bapi2080_notitemi-item_sort_no = '0010'.
    APPEND it_bapi2080_notitemi.
    it_bapi2080_notcausi-cause_key = '0010'.
    it_bapi2080_notcausi-cause_sort_no = '0010'.
    it_bapi2080_notcausi-item_key = '0010'.
    it_bapi2080_notcausi-causetext = s_zin_tcs_servorder-ecomm.
    it_bapi2080_notcausi-cause_codegrp = s_zin_tcs_servorder-fegrp.
    it_bapi2080_notcausi-cause_code = s_zin_tcs_servorder-fecod.
    it_bapi2080_notcausi-item_sort_no = '0010'.
    APPEND it_bapi2080_notcausi.
    it_bapi2080_notactvi-act_key = '0010'.
    it_bapi2080_notactvi-act_sort_no = '0010'.
    it_bapi2080_notactvi-acttext = s_zin_tcs_servorder-comnt.
    it_bapi2080_notactvi-act_codegrp = s_zin_tcs_servorder-mngrp.
    it_bapi2080_notactvi-act_code = s_zin_tcs_servorder-mncod.
    it_bapi2080_notactvi-item_sort_no = '0010'.
    APPEND it_bapi2080_notactvi.
    CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_ADD'
    EXPORTING
    number = p_qmnum
    orderid = s_e1orhdr-aufnr
    TABLES
    notitem = it_bapi2080_notitemi[]
    notifcaus = it_bapi2080_notcausi[]
    notifactv = it_bapi2080_notactvi[]
    return = it_bapiret2.
    PERFORM error_check.
    CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
    EXPORTING
    number = p_qmnum
    TABLES
    return = it_bapiret2.
    PERFORM error_check.
    PERFORM bapi_commit.
    ENDIF.
    ENDIF.
    ENDIF.
    NOTIFICATION OVER *************************

  • Automate DBAdapter creation and testing using ANT

    I am using SOA suite 10.1.3.1.
    I would like to automate creation and testing of DBAdapter and I know that we have some ANT task to create and test connection pool and datasource like
    createJDBCConnectionPool
    createManagedDataSource
    testConnectionPool
    testDataSource
    etc...
    but I fail to found ANT task for DBAdapter.
    It would be grateful if someone can tell if it exists or not.

    sure, it's my pleasure.
    Before running the code, please read the following document first. They talked about how to use JMX to control the AS. Basically, you will need the admin client library to do the job as Oracle don't use JRMP, so you need the library to provide the underlaying protocol(i.e. ORMI).
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDGIAEI
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28952/mbeans.htm#CIHCCAFJ
    here comes the sample code
    String url = "service:jmx:ormi:///opmn://<host>:<opmn reuqest port>/<OC4J instance for BPEL>";
    String login = "<username>";
    String pass = "<password>";
    String mbeanName = "oc4j:j2eeType=JCAConnectionDefinition,name=javax.resource.cci.ConnectionFactory,ResourceAdapter=Database Adapter,ResourceAdapterModule=DbAdapter,J2EEApplication=default,J2EEServer=standalone";
    String opName = "addConnectionFactory";
    // connection setup
    JMXServiceURL serviceURL = new JMXServiceURL(url);
    Hashtable credentials = new Hashtable();
    credentials.put("login", login);
    credentials.put("password", pass);
    Hashtable env = new Hashtable();
    env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "oracle.oc4j.admin.jmx.remote");
    env.put(JMXConnector.CREDENTIALS, credentials);
    JMXConnector jmxCon = JMXConnectorFactory.newJMXConnector(serviceURL, env);
    jmxCon.connect();
    MBeanServerConnection mbServer = jmxCon.getMBeanServerConnection();
    // prepare parameters for the invocation
    Object[] param = new Object[4];
    param[0] = "<JNDI name of the DbAdapter>";
    Map temp;
    param[1] = temp = new HashMap();
    temp.put("defaultNChar", Boolean.FALSE);
    temp.put("platformClassName", "oracle.toplink.platform.database.Oracle9Platform");
    temp.put("sequencePreallocationSize", new Integer(50));
    temp.put("usesBatchWriting", Boolean.TRUE);
    temp.put("usesNativeSequencing", Boolean.TRUE);
    temp.put("xADataSourceName", "<dataSource name>"); // assume that the dataSource is created somewhere else
    param[2] = new Integer(1); // 1 for private connection pool
    param[3] = ""; // connection pool name, not useful for private pool
    // prepare signature of the operation which we would like to invoke
    String[] signature = new String[4];
    signature[0] = "java.lang.String";
    signature[1] = "java.util.Map";
    signature[2] = "java.lang.Integer";
    signature[3] = "java.lang.String";
    ObjectName beanName = new ObjectName(mbeanName);
    mbServer.invoke(beanName, opName, param, signature);

  • Automatic Creation of Quality Notification

    Dear All,
    In standard SAP whenever defects recording is done for an inspection lot and saved,automatically a quality notification is also created.In my business scenario they will record defects for almost all the inspection lots hence resulting in a huge number of unwanted quality notification which then later wont be processed at all.
    Hence i wanted to know whether anything can be done to stop auto creation of notification.Is there anything which i could in IMG or any setting to avoid that???
    Expecting your valuable comments
    Regards
    JR

    Hi
    i wanted to know whether anything can be done to stop auto creation of notification.Is there anything which i could in IMG or any setting to avoid that???
    1.This is very much possible through SPRO setting.
    QCC0>Quality planning>catalogs>select defect calss->
    like for Minor defect-->remove Raido button & make it No active function
    Just a suggetion ...what you can do for all Critical & major type of defect keep "Active Notification"
    for Minor type of defects keep "No Act  fuction"
    this will reduce unnecessory notification.
    2.If you permanently want to remove all notification after defect recording then
    Go to Inspection type setting in SPRO & remove notification against inspection type.
    QCC0>Qul insp>Insp lot creation-->maintain inspec type.
    Regards
    Sujit

  • Automatic Creation of BP Code

    Would like to automatically find the next availble BP code, independent if the BP is a customer/supplier/lead.
    Current structure and setup for BPs example (no C or S prefixed)
    100100 Customer
    100101 Supplier
    101102 Customer
    101103 Customer
    101104 Supplier
    This formula finds the next BP code available for that card type
    SELECT MAX(T0.CardCode)+1 FROM OCRD T0 WHERE T0.CARDTYPE = $[OCRD.CARDTYPE] FOR BROWSE
    Using example BP numbers above and this formula to create a new Customer number, the customer number returned would be 101104, but this number already exisits!
    What formula would be used to find the next available BP number, in isolation of BP type. 
    Thnks inadvanced for your assistance.

    The sample code has been taken from the SAP notes - in which have the affected as outlined in the example.
    The codes does not do what my requirements are, which is to identify the next available number in isolation of the BP type.

  • Issue during automatic Creation of Work Order from Notification

    Hi,
    I have a issue during automatic Creation of Work Order from Notification.
    BADI implemented: NOTIF_EVENT_POST
    BAPI called in BADI: BAPI_ALM_ORDER_MAINTAIN
    I am able to create Work Order successfully but after that i need to update notification header with created work order number.
    But i am unable to update the same (VIQMEL-AUFNR).
    Can anybody provide solution for the same!
    Thanks,
    Kumar.

    Hi,
    Any inputs on above posted issue!
    Thanks in advance.
    Thanks,
    Kumar.

  • Why is creation of a service notification using BAPI not working?

    I need to create a service notification.
    I have found 2 BAPIs.
    BAPI_SERVICENOTIFICAT_CREATE
    BAPI_SERVNOT_CREATE
    The code below using the second BAPI is not creating a notification and the return parm does not have any errors.
    You can see it does a call to commit after the BAPI call
    Perhaps I am missing something critical in the parms.
    We are trying to creat a service type notification using equipment.
    DATA ls_notif_h TYPE bapi2080_nothdri.
    data ls_notif_e type BAPI2080_NOTHDRE.
    DATA lt_return  TYPE STANDARD TABLE OF bapiret2.
    DATA ls_return  LIKE LINE OF lt_return.
    ls_notif_h-equipment = '10000044'.
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
      EXPORTING
      EXTERNAL_NUMBER          =
        notif_type               = 'S3'
        notifheader              = ls_notif_h
      TASK_DETERMINATION       = ' '
      SENDER                   =
      ORDERID                  =
    IMPORTING
        NOTIFHEADER_EXPORT       = ls_notif_e
    TABLES
      NOTITEM                  =
      NOTIFCAUS                =
      NOTIFACTV                =
      NOTIFTASK                =
      NOTIFPARTNR              =
      LONGTEXTS                =
      KEY_RELATIONSHIPS        =
        return                   = lt_return
    IF lt_return IS INITIAL.
      COMMIT WORK AND WAIT.
      write: / ls_notif_e-NOTIF_NO.
    ELSE.
      LOOP AT lt_return INTO   ls_return.
        WRITE:/ 'errors'.
       ls_return.
      ENDLOOP.
    Thanks.
    Scott

    Try this way
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
    EXPORTING
    * EXTERNAL_NUMBER =
    notif_type = 'S3'
    notifheader = ls_notif_h
    * TASK_DETERMINATION = ' '
    * SENDER =
    * ORDERID =
    IMPORTING
    NOTIFHEADER_EXPORT = ls_notif_e
    TABLES
    * NOTITEM =
    * NOTIFCAUS =
    * NOTIFACTV =
    * NOTIFTASK =
    * NOTIFPARTNR =
    * LONGTEXTS =
    * KEY_RELATIONSHIPS =
    return = lt_return
    * IF lt_return IS INITIAL.                                               " <<< Comment this lie
    read table  lt_return into ls_return with key type = 'E'. " << Change
    if sy-subrc ne 0.                                                             " << Change
    COMMIT WORK AND WAIT.
    write: / ls_notif_e-NOTIF_NO.
    ELSE.
    LOOP AT lt_return INTO ls_return.
    WRITE:/ 'errors'.
    * ls_return.
    ENDLOOP.
    endif.

  • Automatic Creation of Maintenance Order from Notification

    Hello Eperts,
    I need an opinion. I have a scenario where i am required to create a maintenance order automatically from a notification. I want to know the best way of doing it. Can it be done by configuration in the node> Notification processing>Define follow up actions for tasks, where based on a open status of task an order can be automatically created.
    Please let me know the best way to do it.
    Regards,
    Boby Mathew

    Hi Pete,
    Thanks a lot for the reply. Based on your experience can you tell me which function module can be used to create an order if an open task exists in the notifictaion. What I am trying to do is,
    in Customization >Plant Maintenance & Customer service>Maint & Ser Processing>Maintenance & Service Notifications>Notification Processing>Additional function>Define follow-up actions for tasks;
    Here I am creating a follow-up action for a task as create order and thought of assigning an order create function module ALM_ME_ORDER_CREATE with modifying the subrc parameters with some return values. Can it be done this way? I am asking because I am not very sure as to what is the best way to acieve it. I want to achieve this min minimum development.
    Please explain in detail.
    Thanks & Regards,
    Boby Mathew

Maybe you are looking for

  • Mail crashes at start-up after update to 10.8.3

    Help!! After updating to 10.8.3 my Mail application crashes at start-up. This dialog box comes up and no matter which I choose, the program crashes. I tried trashing V2 folder, deleting and reinstating mail accounts, prefs, and reinstalling 10.8.3 fr

  • Creating a Continuous PDF from word

    I have created a document using the web layout in word and i am needing to create a PDF but have it continuing the whole document, not separated into A4 pages. Please help - how can i do that?

  • AS3.0 External Interface: Pass variables to flash using javascript

    Hello all, I am looking for a simple and straightfoward example of how I can pass the value of a variable into flash using javascript. Specifically, I'd like to use javascript to pass the filename of an external video file that I would like to load i

  • How to modified the current file?

    Hi, excuse for my english, I'm developing a plug-in with SDK 9, How can I do for modified the file opened with Acrobat Reader ? thanks

  • Cannot Uninstall/Update AIR

    I have a WINXP Home Edition SP3 PC on which Adobe AIR 1.5.2 is installed. Any attempt to uninstall or update AIR results in the dialog: Adobe AIR Setup Adobe AIR Sorry, an error has occurred. An error occurred while installing Adobe AIR. Installation