Skip to Content
-1

How to export the parameter after I raise a exception in Function module?

Aug 17, 2017 at 12:53 AM

67

avatar image
Former Member

Hi Expert,

I want to raise an exception and export a parameter in the same time.But it seems the export parameter 'E_SERIAL' will be clean when I raise a exception.Is any way to achieve this?

capture.png (80.7 kB)
capture.png (14.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Aug 17, 2017 at 05:54 AM
1

If it is a RFM, no chance.

If it is a normal function module make yourself knowledgable about passing parameters by reference and by value.

Share
10 |10000 characters needed characters left characters exceeded
Matthew Billingham
Aug 17, 2017 at 08:23 AM
0

Easy. Use a class based exception. It's one of the things they're for - giving context to the exception to enable more precise handling at higher levels.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

In RFC?

0

Did he say it was an RFC?

If it is, then perhaps use the BAPIRET approach.

0
0

Ah - who checks the tag?! :-)

0