How to run any functional module with input data from text file

We all know SAP Legacy System Migration Workbench (LSMW) pretty well. We use it in 99% data migration projects, or when we need to do some mass changes in the live system and standard PA70 doesn’t work well because of its limits. Some geek guys like myself dig deeper and use function modules instead of writing ABAP code to make any mass changes. There is a great advantage – you don’t need a Developer license to run the functional module. Open SE37 transaction, select module and run it with some parameters. Today I want to share with you my research how to run any functional module with a dataset from a text file. Just couple clicks and you have a VERY powerful tool to do almost everything in SAP. And, one more advantage, running functional modules directly is much faster, than using batch inputs.

Yes, here comes eCATT to the scene. It’s that flexible that we can use not only for testing purpose but to run mass operations. It has its own script language which could help us to analyze FM output and build a chain of FM calls to accomplish something complex.

Read More

Right way to organize SAP testing

Why pay for 3rd party test tools and software?

I don’t see any reason and willingness¬†to do that. We have¬†paid enough to SAP to have these tools for free and already integrated into our workflows. Here is a way to organize SAP testing in SAP ERP system. it’s free as already covered by your professional licenses. Solution Manager could be a great extension but even without it classic SAP ERP already has all required tools. It’s just best practice from SAP how to build test plans, test cases, organize testing itself and control every single step. Hundreds of users? User Acceptance Test, Unit-Test, Automated Testing – no problem at all!

Step by step guide how to organize SAP testing

Transaction STWB_1. Create test catalog. There are three main options. Creating manual tests (a-la MS Excel, MS Word), automated eCATT, external (through an external program).

For example, I’ve created two simple tests.

Read More