Alert system for chain process

Hello,
I want to configure the alert system for when an error occurs in processing chains.
I followed the steps in the forum THROUGH ALRTCATDEF transaction, but I can not do the following, which is what I really need;
That the key responsibility for a particular user cube notifications will arrive Error loading this cube, not all the cubes.
All I've got to make is that the error messages will reach all key users regardless if you have access to that hub or not.
Sincerely,

Hi Use
Use Tbales RSSELDONE and REREQDONE and take the status an dthen raise a message using the following Program
DATA : is_doc_chng        TYPE sodocchgi1,
       it_objtxt          TYPE STANDARD TABLE OF solisti1,
       is_objtxt          TYPE solisti1,
       it_objpack         TYPE STANDARD TABLE OF sopcklsti1,
       is_objpack         TYPE sopcklsti1,
       it_objbin          TYPE STANDARD TABLE OF solisti1,
       is_objbin          TYPE solisti1,
       it_reclist         TYPE STANDARD TABLE OF somlreci1,
       is_reclist         TYPE somlreci1,
       w_lines_tx         TYPE i.
       is_doc_chng-obj_descr = 'Auto genareted Mail from BW'.
       is_objtxt-line = 'This is an automatically generated mail. Please do not reply  to it.'(028).
       APPEND is_objtxt TO it_objtxt.
       is_objtxt-line = space.
       APPEND is_objtxt TO it_objtxt.
DESCRIBE TABLE it_objtxt LINES w_lines_tx.
READ     TABLE it_objtxt INTO is_objtxt INDEX w_lines_tx.
is_doc_chng-doc_size = ( w_lines_tx - 1 ) * 255 + STRLEN( is_objtxt ).
CLEAR is_objpack-transf_bin.
is_objpack-head_start = 1.
is_objpack-head_num   = 0.
is_objpack-body_start = 1.
is_objpack-body_num   = w_lines_tx.
is_objpack-doc_type   = 'RAW'.
APPEND is_objpack TO it_objpack.
is_reclist-receiver = 'SURENDRA.REDDY'@'ABC.IN'.
is_reclist-rec_type = 'U'.
APPEND is_reclist TO it_reclist.
CLEAR is_reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
  EXPORTING
    document_data              = is_doc_chng
    put_in_outbox              = 'X'
    commit_work                = 'X'
  TABLES
    packing_list               = it_objpack
    contents_txt               = it_objtxt
    receivers                  = it_reclist
  EXCEPTIONS
    too_many_receivers         = 1
    document_not_sent          = 2
    document_type_not_exist    = 3
    operation_no_authorization = 4
    parameter_error            = 5
    x_error                    = 6
    enqueue_error              = 7
    OTHERS                     = 8.
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thaks
Reddy

Similar Messages

  • PSA Delete for chain process

    Hi experts,
    We are "upgrading" a load process that is using ABAP routines, Events and Infopackage groups to delete index, rollup agregattes, load some cubes, ... into a chain (RSPC chain).
    We have some problems when it comes to delete some PSA's, the infopackages are 3.5 version, so PSA isn't like 7.0 PSA. They have an individual PSA for every package.
    But the chain process "Delete PSA" only works for datasources PSA (7.0 PSA's), it only allows to select datasources.
    Is there any chain process to delete 3.5 PSA's ? Or any notes about this issue.
    Thanks in advance.

    Hi John,
    you could take a look at the following document on SDN.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?quicklink=index&overridelayout=true
    This should also work in case of a 3.x PSA.
    regards,
    Raymond Baggen
    The Future Group

  • Logical System for Integration Process

    I am getting a error message for my Integration Process: "Unable to convert sender service IP_Kleinschmidt_Shipments to an ALE logical system"
    I am confused as to what i need to put in the IP -> Service -> Adapter Specific Identifires ->Logical System.
    I won't let me enter either the R3 system nor the XI system.
    What value do I need to put here so my acknoldgement can go back to the R3 system?

    Use header mapping in receiver agreement to apply a business system as sender of the Idoc message.
    That business system must have a logical system aplied and this should be maintained in R/3 as well.
    if you use XI system as logical system as IDoc receiver in R/3, then you can apply also XI as sender here.
    But you have to load the PI as business system to ID for this reason.
    You cannot apply a logical system to the business system, which already used elsewhere.
    I discused that issue with the developer a couple of years ago. He told me to use the workaround.

  • Intigrating SAP and Non-SAP system for recruitment process

    Hi All,
    Our Client has a requirement which is related to Recruitment.The requirement is that the employee resumes ,photos and credentils are stored in legacy system.The shortlisted resumes sud be transferred into SAP and the hiring process sud be done in SAP.After the hiring process , the status of the applicants sud be triggered in the legacy system and not in the SAP system.
    Is there any Standard BAPI's for this requirement. Any Workflow is involved in this requirement.
    As a HR Abaper i need to give the complete technical details for this requirement. Pls advice me on this .This is very urjent.
    Points will be awarded.
    Many Thanks,
    Chakradhar Maddina

    what is this 3rd party application?
    if anyways they are using SAP for masterdata, why dont they use the same for applicant data?
    ok for whatever the reason they have decided that..only way looks like is to do it manually,
    create a bdc/lsmw for the hiring process and let them use it regularly for hiring all the selected applicants in a single go.
    as for updating their system with the updated status, again i think they should do it manually.or maybe if their legacy system allows mass data update/chages.
    becoz you do the creation of BDC/LSMW only once not everytime you want to hire.. i think its an easir process. also wait for other experts to give their feed back you may get some valuable info.
    hope it helps

  • Set up of system for acquiring/​processing images from digital camera

    Hi all,
    I am new to LabVIEW and I need to choose and install a system camera+software able to acquire and process images. I would like to achieve this as painlessly as possible, by choosing the appropriate equipment. I was thinking of buying an industrian camera with GigE interface amongst the list of NI supported  cameras. 
    Once I have that, what software do I need in order to acquire and process images with LabVIEW? Do I need NI-IMAQdx and If I already have NI-IMAQ, do I need to purchase a license for NI-IMAQdx? 
    What steps are required to install and configure the system? If anyone can give  suggestions on how to implement this systemit would be greatly appreciated.
    Thank you!

    As Paul suggested the software you need will be the NI Vision Acquisition Software, NI-IMAQ alone will not be sufficient.
    Take a look at this tutorial, part one gives a nice bit of background and part two gives you specifics on how to set things up.
    Acquiring form GigE Vision Cameras with Vision Acquisition Software - Part I
    Acquiring form GigE Vision Cameras with Vision Acquisition Software - Part II
    If you need any further help please do not hesitate to call our pre-sales engineers on 01635 523545.
    Regards
    Rich
    NI | UK

  • Alert log for apply process

    I am seeing the following:
    AP01: warning -- apply server 13, sid 2707 waiting for event (since 4975 seconds):How can I tell what it's waiting for?

    An apply server is an Oracle Session like any other session. check v$session_wait, v$session or v$lock

  • Alert System for playbook

    Hi guy, i read up a little with regards to the playbook.
    it uses bluetooth connecting to the blackberry mobile to surf the internet,therefore i would like to ask, should 1 day, you forget your playbook and left it on the table, if it's possible to have the playbook have an "alarm" to sound off probably the trigger would be the deactivation of the bluetooth.

    Hi guy, i read up a little with regards to the playbook.
    it uses bluetooth connecting to the blackberry mobile to surf the internet,therefore i would like to ask, should 1 day, you forget your playbook and left it on the table, if it's possible to have the playbook have an "alarm" to sound off probably the trigger would be the deactivation of the bluetooth.

  • Email Alert for Process Chain for ABAP Process Type

    Hi BW Experts,
                             I created a process chain based on ABAP Process Type ( for Broadcasting rsrd_broadcast_starter). I want to add alert message for each ABAP process if it is failed. But I cant see any option showing Successfull or Error or Always when I select create message option on the process type. How ever I can see for other process chain which is loading data (Process Type is Info Package ) from SAP into BW.
                             Please some one tell me why it is not showing alert message for ABAP Process Type.
    Thanks
    Ganesh Reddy.
    Edited by: Ganesh Reddy on Jul 13, 2009 10:16 PM

    I dont have the exact answer for your question, But as a work around i can suggest you that.
    If these ABAP programs are included in a chain and this local chain is a part of meta chain then you can create a message on the local chain.By right clicking on the local chain >Create Message>Success
                                                                                    --->Failure
    >Always
    Hope this resolves the problem tempervorly.I will get back to you once i have
    Or the permanent solution is
    Its big and also easy method to perform, by this you will be able to get all the options for a ABAP Program also.If you have any questions please let me know.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/creating%20an%20abap%20process%20type%20for%20process%20chains%20in%20bi.pdf

  • Display Source System Name in Process Chain Email

    We would like to show the source system name (QA, Prod, etc) in the email subject when process chain messages are emailed so we can easily discern between production messages and messages from our test system. There doesn't appear to be a straightforward way to do this.
    I have seen a Re: Howto Insert System ID into Process Chain Email Message which discussed this topic and offered 2 potential solutions neither of which work for us:
    1. Open the production system and modify the messsage directly in the production system
    2. Edit the First & Last Name of the sending user in the production system (does not work for us because we use central user administration)
    Can anyone suggest another method of accomplishing this requirement?

    we achieved it by changing text of [email protected] from 'BIWREMOTE' to BIP BIWREMOTE'....so in our mails even though mail id is same, but it display it for us as BIP.
    Just go for user BIWREMOTE, and change format field with whatever name you wanna recieve mail. It should work properly.

  • Implementing a custom process type for a process chain

    I have created a custom process type for a process chain that allows a user to send back a failure or error status when calling an ABAP program.  I copied the class that is used from the existing ABAP process type as a template. 
    The process type works fine, I just cannot find out how to recreate the documentation for my custom type using free text. When you maintain the process type there is a field for the documentation object, but I can't find where in SAP to implement this.
    I have tried looking at the document maintenance using SE61 and looking into the class documentation from SE24 with no success.  The only detail that is provided in the SAP help portal is:
    "If necessary, assign a documentation type and a docu. object to the process type. The docu object can be called up via F1 in the process chain maintenance overview tree. "
    Does anyone out there have any experience with this that can push me in the right direction?
    Thanks,
    Eddie

    You can create and maintain system documentation from transaction SE61. This is how you would create documentation for a process type or if you wanted to create a book. <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a4/d47df949e111d189730000e8322d00/frameset.htm">more info</a>
    Here are the steps to make your documentation similar to that used for the ABAP process type:
    From transaction SE61:
    -Create a document of type TX (either from scratch or by copying RSPC_ABAP which is used for the SAP-delivered ABAP process type)
    -Make any changes you need. I suggest downloading the document in ITF format and make the changes in a basic text editor and then uploading your changed document. It's a little easier to tell what is going on that way.
    Now on to transaction RSPC.
    Once you save your changes, go to RSPC and select on any chain you have to get into the "plan and check views of process chain maintenance." Then just go to Settings -> Maintain Process Types.
    From here you can select your process type, select TX from the document type dropdown, and then enter the name of your document in the docu. object field.
    Hope that helps.

  • Running time for group process chain

    Hello Gurus,
             in our system, a group process chain includes a lot of process chains, after the whole group process chain runs through , how can I check how long it takes for  the whole group process  run?
    Many thanks.

    Hi,
    right click on start process of your meta chain..
    there you can find the start time of your meta chain.take that as A.
    go to last process of the chain and right click and take that time as B.
    The difference between the two times is your total meta chain runtime.
    hope this is clear for you.
    Regards
    Ramsunder

  • Assign a server group as the background server for a process chain

    Dear Experts,
    Can I assign a server group as the background server for a process chain?
    Even I assign a server group as the background server for a process chain by following T-cd: RSPC > W click a process chain > (Menu) Process Chain > Attributes > Background server and save & activate the process chain, no entry was saved in the column in RSPCCHAINATTR-SERVER with OBJVERS = "A".
    Moreover, it seems that there is no process type for a process chain as a whole in T-cd: RSBATCH, so I assume that I may not be able to assign a server group to a process chain as a whole...
    I know I can assign a server group as the background server for each process in a process chain.
    Many thanks for your suggestions.
    Best Regards,
    Norifumi

    On many UNIX systems there's a utility called detach which will launch the following command in such a manner that killing the shell will not kill the process. On systems that lack this command, I'd find an open source implementation and install it.

  • Steps for Creating Process chain!

    Hi All,
    I want to create process chain which can schedule IP and run the concern job to fill infocubes/ODS?Can someone please guide me stepwise how to proceed.Some sort of doc will eb appreciated.

    Hi,
       You can either create a process chain directly in the process chain maintenance screen, or by using a maintenance dialog for a process
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    In the BW Administrator Workbench
      1.      Choose the  Process Chain Maintenance icon from the AWB toolbar.
      2.      Choose Create.
      3.      Enter the technical name and a description of the chain, and confirm your entry.
       4.      Create a variant for a start process.
           On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
           If you choose to schedule the chain directly, enter the start date value for a chain under Change Selections and save your entries.
           Save your entries, go back to the previous screen and confirm your entries in the Add Start Process dialog box.
    The  Plan View of the process chain maintenance screen appears.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
           5.      Use Drag&Drop or double-click to add the relevant processes to your process chain.
    Choose  Process Types to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate  InfoSources and  Data Targets navigation trees.
                   If you insert a process into the chain that is linked to additional processes by default, the respective process variants are generated and automatically inserted into the process chain. These variants are suggestions and can be changed, replaced or removed from the chain as required. Variant maintenance is called when the change run performs automatic insert.
    a.       On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    b.       If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    c.       Save your entries, go back to the previous screen and confirm your entries in the Add Start Process dialog box.
    The  Plan View of the process chain maintenance screen appears.
                   The various process categories, the application processes, and collection processes are displayed in the left-hand area of the screen. In the right-hand area of the screen, the process chain is displayed.
                      If the process that you used to create a chain is linked to additional processes by default, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain as required. Variant maintenance is called when the change run performs automatic insert.
                      Choose  Process Types to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate  InfoSources and   Data Targets navigation trees.
            When you add a process, you need to select a process variant or create a new variant. For collection processes, the system uniquely determines the variants.
            Various functions for editing the process are available from the context menu
    Maintain variants  With the exception of the variants in the collection processes OR and EXOR, you can use this function to change all process variants.
    Exchange variants
    You can exchange the variants for an existing variant or a variant that is to be created.
        You can use this function to link a process to a successor process. You can choose from the processes that are not yet linked to the current process. They are grouped according to process type in submenus.
          Display scheduled jobs
    Once the process chain is active, you can use this function to display the jobs that have been scheduled.
           After at least one process chain run, you can display all of the scheduled jobs for a specific process and all of the jobs with which this process was run. The Job Overview appears and you can call the relevant job log.
    Create message
        You can also send messages to an application process of the chain, depending on the success or failure of the process.
    1.       To do this, using the context menu for a process, create another process variant of type Send Message.
    2.       If you maintain a message, first specify whether you want the message to be sent when the process has been completed successfully or unsuccessfully. Then choose Next.
    3.       A dialog box appears, in which you can select an existing process variant or create a new one.
    4.       If you create a new process variant, edit the document that is going to be sent and maintain a list of recipients.
    5.       Save your process variant and go back.
    The message process variant is now assigned to your application process. When the message is sent, the status information and the process log are also sent.
    Only use this function to debug a process run.
    Specify how long (in seconds) you want the delay to be between one event being triggered and the next process starting.
    You can capture the process in the debugger by using transaction SM37 (Job Overview) or SM50 (Process Overview).
    Remove process
    You use this function to remove a process from a process chain.
    Manage data target
    You use this function to call the data target administration for the following types of process variants:
             Construct index
             Delete index
             Construct database statistics
             Roll up filled aggregates
             Compress InfoCube
             Activate DataStore object data
           7.      Hold down the left mouse button to connect the processes with events.
    Before you do this, select the process underneath the process type row, and position the cursor over the required process. When you select the process type row, the whole process is moved into the plan view.
    From the context menu of a link, you can display the event or remove the link. To do this, select the link and right-click with the mouse.
           8.      If necessary, specify whether you want the event to be triggered after the previous process has been completed successfully or unsuccessfully, or whether you want the event to be triggered independently of the outcome of the process that precedes it. If the process that triggers the event has more than one option, choose the option after which the successor process is to be run
           9.      Assign a display component to the process chain using Attributes
         10.      Maintain additional process chain attributes if necessary.
         11.      Check your process chain in the  Check View and make any necessary corrections.
    The  Legend explains the meaning of the different colors used to display the processes and links.
    From the context menu for a process, you can display the messages resulting from the check.
    During the check, the system calculates the number of parallel processes according to the structure of the chain . The result is compared with the number of background processes on the chosen server (or the total of all available servers if no server is specified in the attributes of the process chain). If the number of parallel processes is greater than the number of available background processes, the system highlights every level of the process chain where the number of processes is too high. The system produces a warning for these levels.
       12.      Save your process chain if it does not contain any errors.
    You can activate and schedule your process chain. After scheduling, the chain starts in accordance with the start process selections. For example, if you scheduled the start process directly and chose Immediately as the start date value, the chain run starts immediately after scheduling.  In the  Log View, you can display the reports for the chain runs.
    If ie helps assign points

  • ALE logical systems for business service or process

    Hi,
    I am trying to send an IDOC into my R/3 system. It is the same IDOC type that I have sucessfully sent out to parties. All the config is in place for communicating with the system, because I have sent others IDOCs in the past. However, they always were sent from another R/3 business system. They processed sucessfully.
    I am now trying to sending IDOC's from a BPM,as well as, from a business service. They are under the "With Party" section of the directory. These obviously do not have logical systems, so when I try to send the IDOC I get
    "Unable to convert the sender service Purchase_Orders to an ALE logical system", where purchase_Orders being the name of the business serice.
    How can I handle this problem?
    Should I hard code values somewhere?
    Which ones?
    I have read the other posts for the error above, but my situation seems to be different.
    Help!
    Chris

    Hi,
    To solve your problem, here my solution:
    1/ In your Business Process of your ID (configurator), go to menu "Service > Adapter-specific identifier" and in the part "IDoc Adapter", write your Logical System.
    2/ Create this Logical System on your target system (R/3).
    WARNING: XI allows you to used a Logical System for only one service (Business Process). Thus, if you are several interfaces, you must used different Logical Systems.
    Mickael.

  • Any ideas on this plan for a process chain?

    Hi,
    I have 6 ODSes. I load these on a daily basis with 6 different flat files. ODS1, ODS2 and ODS3 needs to be loaded first before ODS4, ODS5, ODS6.
    Once all six ODSes are loaded, they are then aggregated based on some two key fields to and loaded into a cube. Npw I want to automate the process.
    Can you please check if my plan for the process chain is right:
    1. Start Process:   
    direct Scheduling
    Change Selections:
    Start date & Time
    Period Jobs: check
    Periodic Values: Daily
    Restrictions: Always execute job
    2. Indexes:(this flows into the first 3 ODSes)
    Delete indexes
    3. Load Data:
    Load Data ODS1 
    Load Data ODS2
    Load Data ODS3
    4. Activate ODS1
    5. Activate ODS2
    6. Activate ODS3
    (? What do I setup here so that the following will be loaded only if ODS1, ODS2 and ODS3 are successful)
    7.Load Data
    Load Data ODS4
    Load Data ODS5
    Load Data ODS6
    8.Delete Indexes
    9. Load Data
    Load data from ODS1, ODS2, ODS3, ODS4, ODS5, ODS6 to the CUBE
    10.Activate Cube (?Needs to activate cube? Is there a process type like that of activate ODS)
    11. Create Index  (Hm, will the Delete and create indexes in this plan take apply to both ODS and Cube)
    Thanks, I will lovr to get hint from you. How do I factor in PSA? i.e. To always go to PSA then to ODS and Cube?

    Hi,
      1.Start the process.(as per your requirement)
      2. Load the data to ODS in parallel (ODS1 , ODS2 & ODS 3)
      3. Activate the three ODS , with separate ODS activation process type.
      4.Put an AND condition
      5. load data to ODS4 ,5 and 6
      6. Activate ods4 ,5, & 6.
      7. delete index for cube
      8. load different data from ods to cube
    9. create index.
                    start
    load ODS1  -- Load oDS2 -- Load ods 3
    Activate ODS1 - Activate oDS2 - Activate ODS3
                     AND (process)
    Load oDS4      load ods5    load ODS 6
    Activate oDS4  Activate ODS5  Activate ODS 6
                     AND
              Delete the index
               Load data from different ODS to cube
                Create Index
       there is no concept of activating the cube .. it is only applicable to ods.
    Regards,
    Siva.

Maybe you are looking for

  • How do I add a website to my favorites in my ipad Mini?

    How do I add a website to my Favorites Bar in my Ipad Mini?

  • Macbook pro camera not working

    My Camera on my 2011 Macbook Pro just stopped working. It says there is no camera? How do I get my camera back?

  • Ugly select lists in Safari 5.1 on Lion

    Hello community! Select lists (html SELECT tag) in Safari have suddenly (not quite sure if it is since Lion or since one of the recent updates, I've just had my new iMac with Lion for a few days) turned ugly, they are so thin they're ugly and difficu

  • Error after implementing SP11 Patch 5 for 7.5 MS

    After implementing SP11 Patch 5 for BPC 7.5 the SPRunConversion function (which worked find under SP07) no longer works.  Every time that the function runs an error FX-160 is generated indicating that there is No Entity selected. I have modified all

  • Plotting two continuous analog intpus on the same graph.

    Hey,im currently using visual basic 6.0 and Measurement Stdio and want to read in two analog input signals at the same time and plot them on the same graph.Is there any sample code available to look at to carry this out?Or any help on how to go about