Displaying an audit through a process chain message

Does anyone know the best and cleanest practice for writing an audit either via spool or job log within a BW Process chain.
I have 2 itabs in which I'm comparing and I need to email the results and specific data rows during a failure to specific users.  This audit is taking place after data is loaded into the new table (40 table) and before activiation.
Thanks for any help.

Hi,
Create a program like below,
CALL FUNCTION 'BP_EVENT_RAISE'
  EXPORTING
    EVENTID = 'EVENT WHICH YOU HAVE CREATED'
EXCEPTIONS
   BAD_EVENTID                  = 1
   EVENTID_DOES_NOT_EXIST       = 2
   EVENTID_MISSING              = 3
   RAISE_FAILED                 = 4
   OTHERS                       = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
Include the event which you have created in the start condition of the job.
Note: No need of give any variant, because here we are calling only one function in this program.
Regards,
Sridevi.

Similar Messages

  • Trigger a job using an event through a process chain

    Hi,
    After the success of 5metachain, I am using AND condition
    My requirement is as follows, it should trigger a job which needs to be after AND condition,
    I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
    Regards.
    Jerry

    Hi,
    Create a program like below,
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID = 'EVENT WHICH YOU HAVE CREATED'
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
    Include the event which you have created in the start condition of the job.
    Note: No need of give any variant, because here we are calling only one function in this program.
    Regards,
    Sridevi.

  • 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.

  • How can I display SQL%ROWCOUNT in the "Process Success Message"

    Hi all;
    I am trying to display SQL%ROWCOUNT in the "Process Success Message" of a custom update Process.
    Any ideas?

    Chris,
    I assume,
    ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID );
    is a package / procedure you call to do something. Change the procedure and add an
    out parameter to it, which will get the
    SQL%ROWCOUNT
    value. Then, call this package like this:
    DECLARE
      in_DEPARTMENT_UID NUMBER;
    BEGIN
      in_DEPARTMENT_UID := :P4_DEPARTMENT_UID;
      ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID,  :P4_ROW_COUNT );
    END;Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to create the planning function through the process chain

    Hi guys,
    currently i am running some planning function in fortend so it is time consuming now customer want the run the planning function through the process chain any body having the idea please give me.

    Hi,
    this is standard functionality, cf.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/946677f8fb0cf2e10000000a114a6b/frameset.htm
    Regards,
    Gregor

  • Process Chain Message for Run completion

    Dear experts,
    In our system the Process chains and as they complete processes, there are some messages, such as completion of run for master data or hierarchies...
    Then when I run the PC, if I don't click to confirm the messages, the PC sometimes times out...
    I would like to NOT display thoses messages.
    How can I change the settings for that???
    Alice

    Dear Pravender,
    What do you mean by block?
    The start event or the attrib. change box?
    if i right-click on them both I see:
    "Display Variant...
    Exchange variant...
    Display all jobs
    Create message...
    Debug Loop...
    Remove process"
    I don't see "maintain message."
    I think you mean that I should I click "create message..." and change successful to error.
    If that correct?
    Alice

  • How to incorporate time in the Process chain messages

    Hi,
    I would like to create message after success or failure of process chain with time of failure in the subject.How to put system variable in the message subject?.
    Your help will be appreciated.
    thanks in advance.
    Manju

    raj,
    thanks for your quick reply but i would like to incorporate the finish time in the mail subject.
    for example mail subject is as follows.
    "GL process chain has been finished at xx:xx time".
    Here time (xx:xx) should automatically read and fill as per the finish time of the process chain.
    hope now it is clear.any idea how it can be done?.
    manju

  • Trigger an ABAP program through a Process Chain

    Hi,
    I have an ABAP program as part of my Process Chain that updates the BW Hierarchy OREGH. 
    However I can't get the program to execute through the chain, even the though chains goes all green. without any REDS anywhere along the chain. 
    When I check if the program has made the desired changes in the tables it hasn't.
    If I run the program using SE38 it works fine and in seconds.
    Is there a parameter setting I have to set in the process chain or within the program itself.Tthe program is active.
    Ive checked many of the  posts about this issue but couldn't find a someone experiencing a similar problem.
    Please Help
    Thanks
    Amir

    Remove that ABAP program from the Process Chain and activate. Leave RSPC screen.
    Re-enter to RSPC, and add that program by creating a new variant with following options:
    Call Mode : Synchronous
    Call From : Local
    Check and Activate process chain.

  • Missing subject line in BW Process Chain Messages

    Hi Experts!
    We are using BW3.5 (Support pack 16) process chains. There are a number of process chains and almost every thing is working fine.
    But 2 process chains, send message without any subject into the email.
    I did a number of tricks e.g. reactivated/rescheduled process chains, removed from scheduling and rescheduled, also deleted and recreated the message but nothing is working.
    Did any one else face the similar problem?
    Please let me know,
    Thx
    Praveen

    Praveen I also had similar problem and i raised one earlier post here also .., you can check that
    Re: Process Chain Maintain Message Edit Document Problem
    what i found it is because of some bug and needed to import 23 support package for bw 3.1 there I noticed one more note for 3.5
    hope it guides u some way
    Message was edited by: Sukthi Sri

  • Process Chain Messages

    Hello
    Can you please tell me where is kept the subject of the e-mail that is sent using the message in the process chain?
    Thank you all
    Ramona

    Hi Ramana,
    You can create and maintain message for the each process type in the procee chain.
    Step by Step :-
    1.Right click on the any process type which you would like to create the message and trying send this message to E-mail.
    2.Choose Create message which will ask you for the process variant and long description ( If you have the variant we can use them).
    3.Right click on the Process type -->Choose maintain message.
    4.Click on the Edit Document where you have to provide the relevant info respective process type for easily understable --> save the message --> Back.
    5. Click on the Maintain the Recipient  List where we have provide the USER email ID --> type should be Shared distribution list.
    I hope you it will help you.........
    Thanks & Regards,
    Venkat Vanarasi.

  • Is there a free version of an Mac Word that I can download. My previous computer was an HP and it was installed for free. I tried downloading it but halfway through the process, a message popped saying it is currently running in one of my programs.

    I googled and downloaded a free version in my mac but halfway of it being downloaded, I was informed it cannot be properly installed as it is running in my program? Is there a built in Word for Mac. I have never been a Mac user so everything is new to me.

    Allan Eckert wrote:
    There is OpenOffice and NeoOffice which are free
    NeoOffice is not totally free. You can download it for free, but I had to switch my mom away from NeoOffice to LibreOffice because NeoOffice started nagging for payments to be able to download updates.
    In fact NeoOffice is now in the Mac App Store for $9.99.

  • Settings need to be done for messages through process chains.

    Hi friends,
    Iam trying to send messages through my process chain . I have done the required settings in the process chain to create messages . Now , i came to know that some settings nedd to be done in tcode SCOT to enable the messaging from process chain .
    Can any body tell me the steps to do that , as our Basis guy is not here . Are there any need to install some Interner mail gateways ..
    Thanks in advance..

    Hi Nihuja,
                 After creating node with all details destination and every thing.That will come like  this
               ex : Your Node  name
                             ->   SMTP
    Then double click on the  SMTP -> U can see the Mail port option there u  have  to put 25.
    Regards
    Ramakanth.
    While creating the node  itself u  have to give all the details like  destionn via.(internet  etc......)
    "Assign  points  if  useful"

  • How to delete master data in bi 7? through process chain

    Hi all,
    I can see millons of records for master data is getting loaded daily. Can anyone pls advise me how to delete the master data through the process chain?
    Thanks
    pooja

    Hi,
    If Cube/DSO then we can choose the option Delete the Contente of the DataTarget in Process Type in PC. But for Mater data you can see any FM is available and keep that FM in Program and Insert that Program in PC's
    RSDMDD_DELETE_MASTER_DATA
    RSDPW_MASTERDATA_DELETE
    See the above TWO FMs in SE37 and if it is working then keep in in one simple program and then call that Propgram in Process Chain
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jun 30, 2010 7:19 AM

  • Populate Databse Table through RSCRM_BAPI in Process chain

    Hi,
    I am using RSCRM_BAPI to extract a query output in a custom database table in BW 3.5. On the database table I have created a Data Source which will populate the end cube. I have to automate this flow through a Process Chain.
    Please let me know, how can I call RSCRM_BAPI through ABAP in a process variant to load the database table.
    Regards,
    Dibyendu

    Hi,
    Please go thorugh the below link:
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    Rgds,
    Sonal

  • What are process types in process chain

    hi any one tell me what are process types in Process chains

    Hi,
    In the Plan View of the process chain maintenance screen.
    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.
    Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function 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 into the chain a process that is linked to additional processes, 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 if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    Creating a Process Chain Using the Maintenance Dialog for a Process
    You are in the maintenance dialog of a process that you want to include in a process chain.
    1. Choose the Process Chain Maintenance pushbutton and create a process variant.
    2. Save the variant and go back to the previous screen.
    A dialog window appears in which you enter a technical name and a description of the chain that you want to create.
    3. Confirm your entries.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. 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.
    2. 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.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    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, 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 if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    5. Use the drag-and-drop function to insert any additional relevant processes into your process chain.
    You use the Process Types function 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.
    Additional Steps to Creating a Process Chain
    6. When you add a process, you need to select a process variant or create a new variant. For collection processes, the system determines the variants.
    Various functions for working with the process are available from the context menu:
    Context Menu Entry for a Process Function Information
    Maintain Variants With the exception of the variants in the collection process, you can use this function to change all process variants.
    Exchange Variants You can swap the variants for an existing variant or a new variant.
    Display Scheduled Jobs Once the process chain is active, you can use this function to display the jobs that have been scheduled.
    Display All Jobs After at least one run of the process chain, you can display, for a specific process, all of the scheduled jobs for this process and all of the jobs with which this process was run. You arrive at the job overview from where you call up 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. 1. From the context menu of a process, create an additional process variant of the Send Message type.
    2. 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. 3. You arrive at a window, in which you can select an existing process variant or create a new one.
    4. 4. If you create a new process variant, edit the document that is going to be sent, and maintain a list of recipients.
    5. 5. Save your process variant and go back a step.
    The message process variant is now assigned to your application process. When the message is sent, the status information and the process log can also be sent.
    Wait Time
    You use this function only 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 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 in connection with the following types of process variants
    1. • constructing indexes
    2. • deleting indexes
    3. • constructing database statistics
    4. • rolling up filled aggregates
    5. • compressing InfoCubes
    6. • activating ODS object data
    to call up the administration for each of the data targets.
    7. Hold down the left mouse button to connect the processes through 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 again. To do this, highlight 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.
    9. Under Attributes ®Display Components assign a display component to the process chain.
    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.
    12. Save your process chain if it does not contain any errors.
    Result
    Your process chain can be activated. After activation, 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 activation. In the Log View, you can display the reports for the chain runs.
    Hope it helps.
    Regards,
    Amith

Maybe you are looking for

  • How can I change JUST the root password, not my user's passwords?

    I'd like to have access to this machine remotely and be able to drop files onto it's multiple users' desktops from anywhere on our network. I can do this with a root login. I have enabled root, but I am unable to log in using the "Connect to Server"

  • How do I make new albums in photos and move picture from one album to another

    How do I make new albums in Photos and move photos from one album to another

  • Goods Receipt after Completion Confirmation for Service Order

    Hi, We have a scenario in which a Notification is used to create a Sales Order & a Service Order using the action button. The Sales Order has a old/used product as a line item which we will consume along with some other new parts(added in the compone

  • Choose a programming language

    I want a program that can analyse http://www.youtube.com/browse?s=mr&t=&l=&e=en_US&p=*  (*=1-5) every 10 minutes then pick out  the link that start with http://www.youtube.com/watch?v= export their related information and their links to a form that I

  • Help with +15DB on Digital Conection!

    Hello I have a question First, I use the Logitech Z-5500, with the X-Fi Titanium Fatality Pro So I used the sound in analog mode, and I had all the resources, as the bass redirection and +15 dB. It's been a while since my X-Fi broken and burned all a