Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

can u check sy-subrc after perform?

Former Member
0 Kudos

can u check sy-subrc after perform?

4 REPLIES 4

Former Member
0 Kudos

Hi,

Yes,you can do a sy-subrc check after a perform but after instead of doing it after the perform you can do it inside the perform after some statements.

Thanks,

Sandeep.

former_member188685
Active Contributor
0 Kudos

no use.

it is not worth checking sy-subrc after perform.

Regards

Vijay

0 Kudos

Hi,

PERFORM will not return any value to SY-SUBRC.

but hat you can do is pass a changing parameter to the PERFORM with similar type and then set the value in the FORM ENDFORM.

Regards,

Sesh

Former Member
0 Kudos

Perform routine - no exception handling means it will not return sy-subrc but you can have externally

where as Function module gives exception handling

Thanks

Seshu