cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member200995
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member183363
Active Contributor
0 Kudos

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

former_member200995
Contributor
0 Kudos

Hi Lewis,

Thanks a lot.

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

Benny Huang

former_member183363
Active Contributor
0 Kudos

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

Answers (0)