Symptom
For a faster analysis you should always create test data in SE37 if an ECTR Function Module (FM) returns an error and you want somebody to analyze this.
Reason
You like to report an issue regarding an ECTR function with faulty behavior.
Solution
- Find out which Function Module (FM) returns the error: Open the ECTR Debug - log file.
Take a look in the apilog with number #19 (in this example) in your log file directory.
==> In this example the FM /DSCSAG/DOC_CREATE2 returns the error! - Open a new SAP GUI on the same system and client with SAP logon pad (don't open a SAP GUI from ECTR!)
- Use SE37 to open the Function Module. In our example, open FM /DSCSAG/DOC_CREATE2 in display mode.
- Set an external break point in the Function Module.
- Reproduce the issue in the Frontend UI
- Once the break point has been hit. Select the "service tool" icon:
- Click on “Save Parameters as Test Data (SE37)”:
- Enter a name e.g. "SAP Support message XXXXXXX":
- Call the Function Module via SE37 and click on “test data directory” so that your new test data gets displayed and can be used.
- You can test the function now without the Frontend just with SE37 and debug the FM yourself easy.
- Add the information about this test data (FM e.g. "/DSCSAG/DOC_CREATE2" and Title e.g. "SAP Support message XXXXXXX") to your incident or ticket.
See also: http://scn.sap.com/docs/DOC-72002 and https://wiki.scn.sap.com/wiki/x/hI3wDg