on 08-13-2015 5:40 PM
Hi All,
In our current process, we have multiple process chains which extracts data from Legacy systems and data is loaded to BI Infocube via DTP.
I wanted to know is there any configuration which will mark DTP as Red or send out any notification if Zero records are transferred by DTP. Basically we have multiple instances where step will complete successfully but No records would be sent to Infocube due to some error either in extraction or at PI end.
So, we would like to notified in such cases as process chain completing successfully gives a false impression that all steps were fine.
Please suggest.
Regards,
Alok
You can use the below pseudo code :
1. RSMONICDP will give you the Records inserted-Request ID-Data Target, find ZERO record update Request ID.
2. Find the DTP from RSPROCESSLOG , by giving the Request ID.
3. Use the mail sending functionality of ABAP to send the mail to Support team, so that they will take action.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alok,
Maybe this would help.
For more details refer below Link;-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can put some ABAP code in the end routine / start routine.
For example in result package.
IF result_package[] is initial.
raise exception type CX_RSROUT_ABORT.
ENDIF.
In the process chain for the DTP or the local chain include a message for failure. This should trigger the mail when the load is red.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, this is expected. The DTP operates in multiple steps, the first of which is extraction of data from the source object. The whole transformation gets executed only after that. It is quite natural that if the extraction yields zero records, the system will not execute the rest of the steps as there is no data for the transformation to process. Your requirement is something that the DTP/Transformation aren't designed to handle.
As others have suggested, add an ABAP step just after the DTP load in the Process Chain. The program should check the table entries given by Nanda and based on that, send out an email if there are zero records.
Hi Alok,
You can all information in one table.
RSSTATMANPART,
DTA ==> Field give you restrict either infocube/DSO/Infoobject
DTA_TYPE ==> Data target wise, like ODS, Cube , Open hub Etc....
ANZ_RECS ==> No of records transferred
INSERT_RECS ==>No of records inserted
UPDMODE -==> update mode.
lot more.
Please check this table.
Thank you,
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alok
if you want the load to fail if there are zero records. Create start routine and check for source_package, if it is initial raise the exception so that load will fail. In the process chain, you can create message for the variant so that if it fails to send email alert.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.