Site icon SAP Human Resources Experts And Solutions

Advanced LSMW use examples

<p>Look what I&&num;8217&semi;ve just heard&period;<&sol;p>&NewLine;<p><a href&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;lsmw&lowbar;val&lowbar;1&period;png"><img class&equals;"alignnone size-full wp-image-2166" src&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;lsmw&lowbar;val&lowbar;1&period;png" alt&equals;"" width&equals;"875" height&equals;"433" &sol;><&sol;a><&sol;p>&NewLine;<p>This is just a simple screen of simple LSMW project&period; Boring&excl; But if you click Layout button&comma; mark all checkboxes and then double-click &&num;8230&semi;<&sol;p>&NewLine;<p><&excl;--more--><br &sol;>&NewLine;Here we can do something&period; During execution system automatically generates ABAP program based on LSMW settings made&period; As it&&num;8217&semi;s an ABAP program we can do almost anything here&period; Let&&num;8217&semi;s say we want to collect errors during the run&period; Now we can process fields&comma; do data validation and record messages per each record in a file&period; We can use a standard global T&lowbar;ERRORTAB table that&&num;8217&semi;s shown in the log during Conversation phase&period; And then at the end of &lowbar;END&lowbar;OF&lowbar;PROCESSING create a specific log file in CSV format which easily readable in MS Excel&period;<&sol;p>&NewLine;<p>Consultants usually write validations in MS Excel using formulas or macroses&period; When we process large volumes there could be issues with different MS Excel versions&period; Oldest ones don&&num;8217&semi;t support large volumes&period; Very little knowledge of ABAP could avoid you of these problems moving validations from Excel to LSMW&period; IN case of critical error you can skip the whole transaction&comma; or even process all file and run validations without actually trying to create data entries in the system&period; It&&num;8217&semi;s a huge time saver&period;<&sol;p>&NewLine;

Exit mobile version