cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP RAP Error Message not displaying

AbhishekSharma
Active Contributor
0 Kudos
1,326

Hi Gurus,

I am able to Save record in Un-Managed scenario thanks to pavankumarjagadeesh89 and sagarprusty1

https://answers.sap.com/questions/13821735/behavior-illegal-statement-in-abap-rap.html

I am getting success message displayed correctly... Now I am facing Issue in case of Failed scenario, Error message is not getting displayed, though I have filled Failed and Reported structures..

My scenario is Error messages are coming from standard FM in LT_BAPIRET parameter... and when this fails I didn't get any value of Key field. and so Dump is happening... Please have a look to below Images for reference.

Note:

I do not have any auto populated field in standard SAP Table. So when trying to create new record there is no number getting generated.

Dump I am getting

my code (I know its not clean and well written)

Please help...

Thanks-

Abhishek

TamasFodor
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

We helped you to accept the answer, since there were no updates after 7 days. You can unaccept it anytime if you have further questions.

Kind regards,

Tamas

Accepted Solutions (1)

Accepted Solutions (1)

j_pavan_kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Abhishek,

Is it a late numbering case? If so then preliminary id should be filled ( %pid ).

Thanks,

Pavan

Answers (0)