Key Information
SAP Scripts are a fundamental part of many customers SAP systems allowing system data to be printed or displayed for users, customers and vendors in a more modern format. SAP Scripts forms can be generated from various standard SAP transactions and sent to the printer for printing. Many batch jobs also generate SAP Script forms for spool printing.
When these SAP Script forms are generated by the system (whether through a SAP GUI dialog transaction or a batch job for example), then the Testimony capture code will automatically record them and associate them as linkages with the various scripts/steps which created them.
In the screen-shot below, you can see the SAP Script Form as a linkage for step 3 in the script. This is the step that generated the SAP Script Form.
When the linkage in the lower left is selected, the right hand side appears with the recorded/expected SAP Script form on the left and the playback/actual SAP Script form on the right. You are able to see the header information relating to the two forms, the PDF view of the forms as well as the raw OTF data.
Recording SAP Script Forms
To capture SAP Script Forms in your source system, you need to activate the SAP Script Form recording enhancement. This is detailed in the following earlier section on General Enhancements -> Enhancements.
Once captured in the recording, these linkages will be visible as “SAP Script Form” linkages in the Business Transaction Linkage Explorer. After transferring to the Repository, these same linkages will be found within the Test Script Linkage Explorer.
Playing back and comparing SAP Script Forms
During the playback, the same SAP Script Forms will be captured and then compared to what happened in the recording.
Additional Notes
You can deactivate the comparison of the raw OTF data if you expect to see differences between the form data in the recording versus the playback. This would typically happen if such fields as time-stamps, unique identifiers or GUID’s are contained within the output data. This parameter is explained in the earlier section on Configuration Parameters.
Post your comment on this topic.