AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-01-25 · Documentation low

File: code-library/latest/ug/iam_example_iam_GenerateCredentialReport_section.md

Summary

Added SAP ABAP SDK code example for GenerateCredentialReport with error handling

Security assessment

Documents secure credential report generation in SAP ABAP, including service failure handling. Credential reports are security features, but this change only adds SDK implementation examples without addressing specific vulnerabilities.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_GenerateCredentialReport_section.md b/code-library/latest/ug/iam_example_iam_GenerateCredentialReport_section.md
index 9ed53b1b8..8de6cbc3c 100644
--- a//code-library/latest/ug/iam_example_iam_GenerateCredentialReport_section.md
+++ b//code-library/latest/ug/iam_example_iam_GenerateCredentialReport_section.md
@@ -130,0 +131,27 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+SAP ABAP
+    
+
+**SDK for SAP ABAP**
+    
+
+###### Note
+
+There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/iam#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_iam->generatecredentialreport( ).
+            MESSAGE 'Credential report generation started.' TYPE 'I'.
+          CATCH /aws1/cx_iamlimitexceededex.
+            MESSAGE 'Report generation limit exceeded.' TYPE 'E'.
+          CATCH /aws1/cx_iamservicefailureex.
+            MESSAGE 'Service failure when generating credential report.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [GenerateCredentialReport](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+