Zero Record load should trigger warning

Hi,
I have got one more requirement where the client should get warning if there is any Zero delta load.
where would be future monitoring best to implement from your point of view - on BI side or source system side to get warnings about this kind of issues (0 record loads)?
I feel can we achieve this in process chain by using email.If yes how.
Regards,
Anita

Yes this can be done... there's a table rsmonicdp which store all the info abt RSMO... so just check this table in a report and put where condition for load type as delta and records transferred as 0...
Just a have a look at RSMONICDP...and rsmdatastat....
Regards,
Aadil.

Similar Messages

  • ODS to CUbe Zero Record Load

    Hi,
    A daily load from ODS to Cube is scheduled but the source may or may not have records. so every time the source hass zero records the load happens till the ODS and the status for the ODS remains yellow.
    I manually change it to green and activate the request so that the process continues. Is there a way to automate this so that eventhough there are zero records in the load the ODS is activated.
    Help would be appreciated

    Hi
    You can do this.
    RSMO>select your request>settings>Evaluation of requests(traffic lights)>
    IF no data is available in the system the request-->select the radio button.Status Successful..
    Hope it helps
    Thanks
    Teja

  • Zero Record Data Load Problem

    Hi,
    Please give your suggestion for following problem.
    we are loading data from ETL (Flat File - Data Stage) into SAP BW 3.1.
    data may contain Zero records. When we try to push the data into BW. At ETL side, it is showing successful data transfer. At, BW side it is showing "Processing state" (Yellow light). and all BW resources are hang-up.
    When we try to send another data load from ETL side, We could not push the data as BW resources are hang up by the previous process.
    Whenever we are getting this kind of problem, we are killing the process and continuing with another data Re-load. But this is not a permanent solution. This is happening more often.
    What is the solution for this problem?
    One of my colleague suggested following suggestion. Shall I consider this one?
    Summary:  when loading with empty files, data may be in the processing state in BW 
    Details:  When user load with empty file(must be empty, can not have any line returns, user can check the data file in binary mode), data is loaded into BW with 0 records. BW will show be in yellow state(processing state) with 0 record showing, and in the PSA inside BW, 1 datapacket will show there with nothing inside. Depends on how user configured their system, BW server can either accept the 0 record packet or deny it. When BW server is configured to accept it, this load request will change to green state(finished state). When the BW server is configured to deny it, this load request will be in the yellow state.
    Please give me ur suggestions.
    Thanks in advance.
    Regards,
    VPR

    hi VPR,
    have you tried to set the light 'judge'ment
    go to monitor of one request and menu settings->evaluation of requests(traffic light), in next screen 'evaluation of requests', 'if no data is avaible in the system, the request' -> choose option 'is judged to be successful' (green).
    Set delta load to complete when no delta data
    hope this helps.

  • Load fails everytime if it has zero records

    Hi friends,
    1.Load fails everytime if it has zero records?.
    how to overcome this issue.
    2.HOw to Load field more than 60 chars length& how to represent in WEB Reports?
    It's Very Urgent.
    Thanks,
    Basava Raju

    <i>1.Load fails everytime if it has zero records?.
    how to overcome this issue.</i>
    Check this - Open up a load in RSMO - Menu - Settings - Evaluation of Requests - Set it Green - This will act global.
    To make is specific  to a load - Infopackage - Scheduler - Jst look for similar option ( guess it is the penultimate one )

  • Query returns zero records in coldfusion context, but works fine in Navicat

    I've got a query that's returning zero records when I load a page.  If I copy and paste that same query (from the debug output) into navicat, I get rows returned (as I expect).  Has anyone seen this?  It happens locally (CF9) AND remotely on our staging server (CF10).  Even weirder, it's a query that was previously working fine - I simply added an if statement to the where clause, and all of a sudden... 
    Here's the query:
            <CFQUERY name="LOCAL.getEncounterServices" datasource="#REQUEST.dsn#"> 
            SELECT
                a.EncounterProductID,
                a.DateTime AS ServiceDate,
                aa.CartItemID,
                aaa.CartID,
                aaaaa.CartStatus,
                b.ProductID,
                b.ProductName,
                b.CPTCode,
                b.Price,
                c.EncounterID,
                c.DateTimeClosed AS EncounterClosedDate,
                d.FirstName,
                d.LastName
            FROM
                EncounterProducts a
                    LEFT JOIN CartItemProduct aa ON (a.EncounterProductID = aa.EncounterProductID AND aa.Active = 1)
                    LEFT JOIN CartItem aaa ON (aa.CartItemID = aaa.CartItemID)
                    LEFT JOIN Cart aaaa ON (aaa.CartID = aaaa.CartID)
                    LEFT JOIN CartStatus aaaaa ON (aaaa.CartStatusID = aaaaa.CartStatusID),
                Product b,
                Encounters c,
                Contacts d,
                EncounterStatuses e
            WHERE
                1 = 1
                AND (aa.CartItemID IS NULL OR aaaaa.CartStatus = 'Deleted')
                AND a.Active = 1
                AND a.ProductID = b.ProductID
                AND a.EncounterID = c.EncounterID
                AND c.PatientID = d.ContactID
                AND c.EncounterStatusID = e.EncounterStatusID
                AND e.EncounterStatus = 'Closed'
              <CFIF IsDefined("ARGUMENTS.encounter") AND IsObject(ARGUMENTS.encounter)>
                     AND c.EncounterID = <CFQUERYPARAM cfsqltype="cf_sql_integer" value="#ARGUMENTS.encounter.getID()#">
             <CFELSE>
                    AND c.DateTimeClosed >= <CFQUERYPARAM cfsqltype="cf_sql_date" value="#ARGUMENTS.startDate#">
                    AND c.DateTimeClosed < <CFQUERYPARAM cfsqltype="cf_sql_date" value="#DateFormat(DateAdd('d', 1, ARGUMENTS.endDate), 'yyyy-mm-dd')# 00:00:00">
               </CFIF>
                AND c.LocationID = <CFQUERYPARAM cfsqltype="cf_sql_integer" value="#ARGUMENTS.locationID#">
                AND c.CustomerID = <CFQUERYPARAM cfsqltype="cf_sql_integer" value="#ARGUMENTS.customerID#">
            </CFQUERY>
    All of this worked just fine before I added the lines:
             <CFIF IsDefined("ARGUMENTS.encounter") AND IsObject(ARGUMENTS.encounter)>
                     AND c.EncounterID = <CFQUERYPARAM cfsqltype="cf_sql_integer" value="#ARGUMENTS.encounter.getID()#">
             <CFELSE>
                    AND c.DateTimeClosed >= <CFQUERYPARAM cfsqltype="cf_sql_date" value="#ARGUMENTS.startDate#">
                    AND c.DateTimeClosed < <CFQUERYPARAM cfsqltype="cf_sql_date" value="#DateFormat(DateAdd('d', 1, ARGUMENTS.endDate), 'yyyy-mm-dd')# 00:00:00">
              </CFIF>
    Previously, it had just been:
                    AND c.DateTimeClosed >= <CFQUERYPARAM cfsqltype="cf_sql_date" value="#ARGUMENTS.startDate#">
                    AND c.DateTimeClosed < <CFQUERYPARAM cfsqltype="cf_sql_date" value="#DateFormat(DateAdd('d', 1, ARGUMENTS.endDate), 'yyyy-mm-dd')# 00:00:00">
    With no IF/ELSE statement.
    Anyone seen anything like this before?  Any ideas? 
    Thanks.

    Right, I'll start disabusing myself of the DateFormat!
    I'm sorry, I should've posted the actual query too.  It's inserting the first part - "AND c.EncounterID = ....."
    Here's the full query:
    LOCAL.getEncounterServices (Datasource=xmddevdb, Time=9ms, Records=0) in /Applications/ColdFusion9/wwwroot/XMD_NEW/xmd_dev/cfc/ShoppingGateway.cfc @ 16:56:28.028
    SELECT
                a.EncounterProductID,
                a.DateTime AS ServiceDate,
                aa.CartItemID,
                aaa.CartID,
                aaaaa.CartStatus,
                b.ProductID,
                b.ProductName,
                b.CPTCode,
                b.Price,
                c.EncounterID,
                c.DateTimeClosed AS EncounterClosedDate,
                d.FirstName,
                d.LastName
            FROM
                EncounterProducts a
                    LEFT JOIN CartItemProduct aa ON (a.EncounterProductID = aa.EncounterProductID AND aa.Active = 1)
                    LEFT JOIN CartItem aaa ON (aa.CartItemID = aaa.CartItemID)
                    LEFT JOIN Cart aaaa ON (aaa.CartID = aaaa.CartID)
                    LEFT JOIN CartStatus aaaaa ON (aaaa.CartStatusID = aaaaa.CartStatusID),
                Product b,
                Encounters c,
                Contacts d,
                EncounterStatuses e
            WHERE
                1 = 1
                AND (aa.CartItemID IS NULL OR aaaaa.CartStatus = 'Deleted')
                AND a.Active = 1
                AND a.ProductID = b.ProductID
                AND a.EncounterID = c.EncounterID
                AND c.PatientID = d.ContactID
                AND c.EncounterStatusID = e.EncounterStatusID
                AND e.EncounterStatus = 'Closed'
                     AND c.EncounterID = ?
                AND c.LocationID = ?
                AND c.CustomerID = ?
    Query Parameter Value(s) -
    Parameter #1(cf_sql_integer) = 28
    Parameter #2(cf_sql_integer) = 16
    Parameter #3(cf_sql_integer) = 6
    Thansk again for the help!

  • Zero records added after dataload from texttable of 1 infoobject to another

    Hello,
    We are working on BI 7.0 (2004S)  but we still use BW 3.5 data flow.
    We have a requirement to load text data from one infoobject (0material) to another infoobject (0rt_confmat). The actual requirement was - Text table of  0material (/BI0/TMATERIAL) should  be added  to info-object 0RT_CONFMAT text table.)
    0rt_confmat is a navigational  attribute of 0material.
    I did the following steps to load this data using 2 methods. The data loads using both these methods are successful but zero records are added to the text table of 0rt_confmat.
    Method 1 :
    1. Text table of  0material (/BI0/TMATERIAL) cannot be added directly to info-object 0RT_CONFMAT text table.
    So a datasource ZTXTMATERIAL was created with text table  /BI0/TMATERIAL.
    2. Infosource, transfer rules and update rules were created. Changes were made to
    the info-object 0RT_CONFMAT to include its own text table according to the specifications given.
    Method 2:
    1.  created an export datasource for 0material and did the necessary steps such as replicating data source, creating infosource, update rules and transfer rules and infopackage.
    The problem is that the number of transferred records  is 16089 but 0 records are added to the text table of 0RT_CONFMAT.
    Records from text table are not getting loaded from
    I have searched sdn and sap notes but was unable to find a solution for this issue.
    Is it not possible to load data from the text table of a characteristic infoobject to the text table of its navigational attribute ?
    Please suggest a solution for this issue.
    Thanks and Regards,
    Radhika

    Hi All,
    Please refer below for replies to your questions
    Now I was to suggest the second approach:
    1. What have you set into the transfer structure, did you map 0rt_confmat with 0rd_confmat? -  I mapped it with 0material
    2. Do you see text elements in the transfer structure? -yes the text elements exist in the transfer structure
    3. As 0rt_confmat is an attribute of 0material, there is a possibility that for multiple material you may have same 0rt_confmat. In that case, your load may fail saying duplicate records.  - The data load is successful, but records are not added to the target.
    4. What is the data type for 0rf_confmat and 0material in your system? - Both are character strings
    On what basis are you loading the text from 0material to 0rt_confmat. -the key field 0material is mapped to 0rt_confmat
    Your problem seems to be the update rules / transfer rules from 0MATERIAL text table to 0RT_CONFMAT, that's why in your second method you have transfered values, but none were added.
    Remember that you have to have a key for 0RT_CONFMAT and the text for that key mapped through transfer rules, and I beleive that 0MATERIAL text table doesn't have the key for 0RT_CONFMAT, but has the key for 0MATERIAL. If you want both keys to be the same, then in your transfer rules map 0MATERIAL to 0RT_CONFMAT, and the text from 0MATERIAL to the text for 0RT_CONFMAT.
    Is that what you've done? - Yes, in the update rules 0material is mapped to 0rt_confmat and the text from 0material is mapped to text from 0rt_confmat. After reading your reply I mapped 0MATERIAL to 0RT_CONFMAT  it in the transfer rules as well, but still zero records are added.
    The data load is successful using both methods , but records are not getting added.
    Can you chk in RSA3 if the data is extracted for the datasoruce ZTXTMATERIAL?? - Yes, data gets extracted.
    ALso while you loaded the data, did you get the data in the PSA? - Yes data is seen in the PSA.
    Please suggest how I can proceed now.
    Thanks and Regards,
    Radhika

  • Initialization with zero records

    Hi BW Folks,
    I have scheduled initialization to ODS object, Ran successfully but zero records.
    After that tried to do delta the package got failed with out any proper error message. i can see only error message " Start InfoPackage XXXXX "
    if i go to infopackage manually its showing message saying that " There is no active delta Initialization for this IS/QS/DATA source"
    Have checked in R3 - extract checker could see only Zero records.
    Can you please help me in this! Thanks in Advance.
    Regards,
    --Nani.

    Hi,
    Thats the reason for why you are not able to do the delta loads. This request should be there in the <i>Schedular</i> as the prerequisite to do the delta loads.It does not matter  even you have that request in the data target if there is no delta init info at infopackage.
    So you need to do delta init one more tmie. So delete teh data from data targets. And do the delta init .
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

  • Infopackage group-- zero to zero records

    Hi friends ,
    I have an IPG which consists of 20 Ips .  all are loaded  sucessfully , but  many IPs are showing zero to zero records.  Iam doing a full load . In the  RSMO,  status is giving : NO DATA IS THERE IN SOURCE SYSTEM.  INFOIDOC recived with status  8 . How to solve this error , plz provide inputs what migght be the errors and also i donto have access to source system.
    Regards,
    Pavan.

    hi,
       i want to know wheter you have given data in 'dataselection' tab page if it is so see that they are approporiate i.e the range should be present in the source system.
    pls assign points idf helpful.

  • 0fi_ar_4 INIT returning zero records

    Hi gurus,
    0fi_ar_4 INIT is returning zero records while loading into ODS.I have checked in RSA3 it is returning zero records with INIT selection but is it is fetching records with Full update.Can ne one tell me what to do.how to solve this problem.
    rgds,
    ***Points Assured**

    Hi Suravi,
    Check at the Info Package selection-- Init with out data transfer.
    Make it with data transfer..
    Hope it helps..

  • SSRS report email Scheduling omit zero record

    Is that a way to omit zero record for SSRS report email scheduling?
    That means if zero record happened it shouldn't trigger emailing.

    Hi SAMSUNG TECH,
    Per my understanding that you don't want to send the scheduled email subscription if the report have no data, right?
    I have tested on my local enviroment that you can modify the commend in the job step include some condition to send the email or not.
    Detials information in below for you reference:
    Open SQL Server Management Studio (SSMS) to connect to Database Engine ->expand SQL Server Agent->expand Jobs, double-click the Job.
    you can use query below to find the Subscription you have just created and the “ScheduleID” in the table is equal to the Jobs Name.
    use ReportServer;
    SELECT USR.UserName AS SubscriptionOwner
    ,SCH.ScheduleID
    ,SCH.NextRunTime
    ,SCH.LastRunTime
    ,SCH.EndDate
    ,SCH.EventData
    ,SUB.EventType
    ,SUB.SubscriptionID
    ,SUB.ModifiedDate
    ,SUB.[Description]
    ,SUB.DeliveryExtension
    ,SCH.Name AS ScheduleName
    ,CAT.[Path] AS ReportPath
    ,CAT.[Description] AS ReportDescription
    FROM dbo.Subscriptions AS SUB
    INNER JOIN dbo.Users AS USR
    ON SUB.OwnerID = USR.UserID
    INNER JOIN dbo.[Catalog] AS CAT
    ON SUB.Report_OID = CAT.ItemID
    INNER JOIN dbo.ReportSchedule AS RS
    ON SUB.Report_OID = RS.ReportID
    AND SUB.SubscriptionID = RS.SubscriptionID
    INNER JOIN dbo.Schedule AS SCH
    ON RS.ScheduleID = SCH.ScheduleID
    ORDER BY USR.UserName
    ,CAT.[Path]
    2.  Select "Steps" on the left pane on the Job Properties window.
    3.  Click Edit button in the bottom of the window and then change the command
    Existing command is:
    EXEC [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='9be28f07-3784-4070-802a-b7ca0aec4c7c'
    Change the command as below: (Remember to check the Database Name and table name):
    If exists
    (Select top 1 * from [DBName].TableName )
    EXEC   [ReportServer].dbo.AddEvent @EventType='TimedSubscription',   @EventData='9be28f07-3784-4070-802a-b7ca0aec4c7c'
    BEGIN
    END
    Note: Change the @EventType and @EventData to the values in your job,the value of this two fields can be found by execute the query in step1.
    More details information in below articles:
    http://www.jasonyousef.com/2012/02/dont-send-that-empty-ssrs-report.html
    http://blogs.msdn.com/b/bimusings/archive/2005/07/29/445080.aspx
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Email print attachment should trigger by created by name...

    Dear All,
    I have one doubt related to Email print output. Presently in my project I get one request from the user that when he  create a order at that time a email should trigger so that he/she get a email notification .
    In standard Sap for this we need to maintain the condition record and according to that it should directly goes to either Sold-to-party or contact person assign in that sales order but our requirement is to send the same who create that sales order means created by name. this is for return order type.
    For your information for that output type we used sap script
    Regards,
    Moni

    OK.
    Then you should create a new output type for this mail in transaction NACE.
    And then you should add this program without any sapscript or smartform.....only this program !
    And in the NACE - "Processing routine" enter:
    Special function - ZZSEND_MAIL - ENTRY
    report ZZSEND_MAIL.
    tables: nast.
        data: l_subject type so_obj_des,
              lt_bodytext type bcsy_text,
              i_addr type adr6-smtp_addr,
              l_bodytext_row type soli.
        data: bcs_exception type ref to cx_bcs.
    FORM entry USING return_code us_screen.
    *>>>Here you must add abap for getting email address.....
    * select single ernam from vbak into tmp_ernam where vbeln = nast-objky(10).
    * i_addr  = email_address for tmp_ernam. 
    try.
    *---1) Subject and body
            l_subject = nast-objky.
            l_bodytext_row = 'bodytext'.
            append l_bodytext_row to lt_bodytext.
    *---2) Email document object
            data: document type ref to cl_document_bcs,
                  num_rows type i,
                  textlength type so_obj_len,
                  l_mailtext type soli_tab.
            describe table l_mailtext lines num_rows.
            num_rows = num_rows * 255.
            move num_rows to textlength.
            document = cl_document_bcs=>create_document(
                        i_type = 'RAW'
                        i_text = l_mailtext
                        i_length = textlength
                        i_subject = l_subject ).
    *---3) Create persistent send request
            data: send_request type ref to cl_bcs.
            send_request = cl_bcs=>create_persistent( ).
    *---4) Add document to send request
            send_request->set_document( document ).
    *---5) Get sender object
            data: sender type ref to cl_sapuser_bcs.
            sender = cl_sapuser_bcs=>create( sy-uname ).
    *---6) Add sender
            call method send_request->set_sender
              exporting
                i_sender = sender.
    *---7) Create recipient
            data: recipient type ref to if_recipient_bcs.
            recipient = cl_cam_address_bcs=>create_internet_address(
                                                           i_addr ).
    *---8) Add recipient with its respective attributes to send request
            send_request->add_recipient( exporting i_recipient = recipient ).
    *---9) Set send immediately
            send_request->set_send_immediately( 'X' ).
    *---10) Send document
            send_request->send( ).
            commit work.
          catch cx_bcs into bcs_exception.
            data: ex_msg type string.
            ex_msg = bcs_exception->get_text( ).
            write: 'Caught exception.', ex_msg.
        endtry.
    ENDFORM.

  • Zero records in delta update

    Dear All,
    In HR :Time management (Time and Labour )(cube)  0PT_C01 two data sources are there  and one is 0HR_PT_1 , during delta load it does not get any recors and it will show zero records at cube level and in r/3 rsa3 ir shows new records.Please suggest how to solve this issue.
    Regards
    Albaik

    Hi,
    This is because you havent run the init load till now.
    We have to run a init load before running delta(one time process).
    now as you have selected init with datatransfer, you got all the records transferred.
    from next time, no need to run init and you can proceed with delta.
    Cheers,
    Srinath.

  • Getting zero records while extracting data from R/3

    Hi friends,
    I have a cube to which data was getting loaded earlier in qulaity system. But i came acorss some issues with the loads. The issues were that everytime  a load was run it was extracted with Init with some selection, i was wondering why did they do Init instead of repair full . After doing some investigation i came to know that this data source is not supporting Init without data transfer, so i think thats why they have done Init.
    I have deleted the requests from the cube until the point where there were incorrect loads and started to do Init again from 10.01.2010 to 31.12.9999. When i run the RSA3 i can see about 65,000 records but when i run the Init or full Load i am getting zero records. Not able to load the data can anyone please tell me where am i going wrong?
    I am using data source 0UC_SALES_STATS_02 (IS-U datasource).
    Thanks in advance.
    Regards
    BN

    Hi prashant,
    Thanks a lot for your quick reply. But there is no Init flag available, becuase it was already deleted.
    If it was existing then the system would popup a message saying that there is a init already existing and proposing me to delete it ,and it will not allow me to run the Load without deleteing the flag.
    So, the issue is not with the Init flag.
    Regards
    BN

  • Zero records in Delta Queue for Non-LO Datasource

    Hi,
    I have a process chain which loads data daily and last loaded on 5th of this month which is a delta load to DSO, and then I have triggered process chain on 10th  and now the process chain got successful but delta is returning zero records. I have gone through the Delta queue monitor, in that the data source is showing 0. what could be the reason for this? The data source is a Generic data source built on View and it is not a LO data source and delta is on timestamp.
    Thanks,
    Karan.

    Hi lokesh.
    Repair Full delta option it wont distub existing deltas.....
    repair full delta put full update indicate request as repair request.
    Via the Scheduler menu we can indicate a request with full-update mode as Repair Full Request. This request can be updated into every data target even if the data target already contains data from an initialization run or delta for this Data Source/ source system combination, and has overlapping selection criteria.

  • Should display warning message.

    Hi gurus,
    i have a quiery....
    Customer palced sales order (OR), order done. Now customer has taken loan againest of that sales order.when end user trying to change the price of the particular sales order, system should not allow him and must display the warning message.Can any body help me which logic i need to follow on this...
    Thnks,
    Rahkes.

    Now customer has taken loan againest of that sales order
    I am not clear on this concept.  In normal circumstances, only manufacturer will receive advance payment from customer.  Here, why the buyer has taken money from the supplier ??
    Nevertheless, all FI related transactions will be stored in tables like BSEG, BSID, BSIS etc., where you can see a field "Reference" or "Header Text".  Here the FI people has to key in the related order reference and based on this field, you have to apply a logic  in sale order user exit such that if there is a change in price, system should trigger a warning message after checking the above tables.
    thanks
    G. Lakshmipathi

Maybe you are looking for