Skip to Content
0

How can I check the system status using ABSL after the function had executed?

Feb 19 at 08:30 AM

28

avatar image

Hi experts,

There is some function in the OBJECT, for example, SupplierInvoice.Item.AddAssignment(), it is no return parameter.
When the function had executed, I don't know the status.

How can I check the system status using ABSL after the function had executed?
(In ABAP, there is the SY-SUBRC record the status, I don't know if there's something similar in ABSL.)

Thanks in advance.

Best Regards,
Benny Huang

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Lewis Peters Feb 19 at 02:27 PM
0

Benny,

You could get the count of the assignments in the next line, perhaps? If you know how many there were before, you can see whether the addition was successful by counting the number of assignments after the fact.

Lewis

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

Hi Lewis,

Thanks a lot.

I had checked the funciton, I use the foreach to get all the items.

Benny Huang

0

That's great; if my answer was helpful, can you mark it as such please?

0