cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with Error Message Display in RAP Managed Scenario with Unmanaged Save

ankahit
Participant
0 Kudos
2,221

I am working with a managed scenario using an unmanaged save (Late Numbering) and employing BAPI to update data. However, I am facing an issue where error messages do not appear in the event of a failure. Success, information, and warning messages display correctly when there is no error in LT_BAPIRETURN. However, if there is an error message, nothing is shown, and the screen remains unchanged. This issue was working as expected in my development system but is not functioning correctly in other systems. I have attached an image for reference. I also tried passing %pid, but that didn’t resolve the problem.

ankahit_0-1735131243850.png

 

Accepted Solutions (1)

Accepted Solutions (1)

ankahit
Participant
0 Kudos

Solved by myself.

MioYasutake
SAP Champion
SAP Champion
0 Kudos
@ankahit Could you explain how you solved it?

Answers (1)

Answers (1)

rammel_sapdev
Participant
0 Kudos

Are you using this base class CL_ABAP_BEHAVIOR_SAVER_FAILED when you implemented the unmanaged save? Or just the CL_ABAP_BEHAVIOR_SAVER class?

ankahit
Participant
0 Kudos
CL_ABAP_BEHAVIOR_SAVER
rammel_sapdev
Participant
0 Kudos
Can you try CL_ABAP_BEHAVIOR_SAVER_FAILED instead and see if it works?
ankahit
Participant
0 Kudos
I tried it, but it's not working. We've escalated the issue to SAP.