Showing posts with label SAP CML Batch/Periodic Process Testing. Show all posts
Showing posts with label SAP CML Batch/Periodic Process Testing. Show all posts

Wednesday, March 18, 2009

SAP CML Batch/Periodic Process Testing-Part 2

March 18, 2009: 2:50 PM
QA sign-off form is on desk of our PM. PM is in meeting. So I drop on desk and left a sticky note, when done. Mean while I’m doing blog. At last we did with Periodic process sign off today. This is second sign off with in 3 week. This sign- off is like part 2 of our periodic process. As I mention in my last post, our daily periodic processes are in Prod.
This sign off is about our monthly processes. We tested again in T3 and Then TX. We are going with one defect with this sign off in prod. Actually this is not defect, hum kind of.

Let me explain it little bit. We have one process which updates those loans that do not have IOA frequency into 1 on condition in SAP CML. If we run this process first time or if we added few loans. That loans need to change, frequency of IOA, then this process work very well, without any hiccup. But thing is when we run this process with any change or run it twice, it cancelled it self. It cancelled itself after showing error message. The error message is no IOA found on loans to change.

So we have 2 problems with one process. One is why the heck it showing error message. We are expecting warning message. Second which is my major concern, and that is why it cancelled itself. Let me mention this is a daily process. The expected results we are expecting are:
A. When we run this process daily, if it get some loan to change, it show the loans number. It works well, when we add new loans?
B. When it rerun again, as this is daily process, if it not found any loans to change, its display warning message that “no loans found to change”. Not error message
C. After rerun or after not getting any loan to change, we expect it should not cancel itself. Why? Right now its independent process. No processes are dependent on it.

When we investigate this issue, we found this. Our old developer has hard coded, in this way, it always show error message instead of warning message. So guys lesson learn old things always haunt.....

Saturday, March 14, 2009

SAP CML Batch/Periodic Process Testing

SAP CML Batch/Periodic Process Testing.

What is Batch/Periodic Process Testing?
Answer is mess, yes don't be surprise.Batch Process or Periodic process or Batch process in SAP CML is a pure shit/mess. However testing it is more shitty. It's not a very easy job.

First lets understand,what the hell is Periodic process or Batch Process. I want to call it a Batch Process. Batch processes are jobs which triggers itself periodically. They complete the process and trigger other process. They are scheduled according to need.Take example,a big banks or finical company, getting payments on loan or mortgage every day from different customers. They have different type of payment methods, like Cheque,Cash,Pre Auth.Payment or electronic payments or wire. So banks or finance company run process everyday to maintain customer account,cash flow,account statement, ledgers to update accounts. So batch process can be daily,weekly,biweekly,monthly,quarterly,semi annually and annually.

It's all depend on business rules or what is running in current system. Here in my company we have categorized the batch process in 4 periodicity. Daily, Monthly, quarterly and annually.We have sliced and diced our all finical business process and then come up these 4 periodicity. But shit don't stop here. We have some processes which run twice a day. These are payments and disbursements processes. Posting of payments and disbursement on loan and etc.

Some processes run monthly, like Accrual/Deffer, IOA cal, and lots of corresponding generated processes.

The worst part is testing all these processes. These all processes are interdependent or interwoven to each other. I created our test plan in iterative approach. Plan is this- First test the daily job, then monthly and then quarterly and annually. So for till today we already tested daily processes in Testing, and Then in UAT and then in TX environments. Last weekend we sign off and it goes in Prod. Next week will be sign-off for Monthly and quarterly processes. I already tested these process in T3. I think our netweaver guys has transported all transport into TX.So Monday we have to create data in TX. Most probably our sing-off will be on Wed/Thur.

Yes we are testing directly in UAT region. Why, first we don't have time. Second our QA region is fully of garbage data. So we think that may break our region. Third everyone so dry, why, the CML project so long, and so many new faces are in. we are just 3 people in whole team are old faces. Me(QA) and 2 BAs are left.Our Developers are new, our PM is new.

That's it from my side. That was very long time from my last posting on this blog. We were deadly busy in to bring multi-applications-integration into Prod. woooww. We work's some 100 hrs/week last 2 months. I don't believe myself, that i really work so long hours.

Atul