cancel
Showing results for 
Search instead for 
Did you mean: 

PC runs an ABAP program and get its status

Former Member
0 Kudos

Hello,

We would like to run an ABAP program (or of function module) which will return to the PC status( for ex. SUBRC).  if it finished suceesfully the PC step which run the program will be green and if it failed it will be red.

Is it possible?

Thank,

Amir

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes it is possible. Try to search for document for custom ABAP type with status.

In program give message of type 'E'

Answers (3)

Answers (3)

RamanKorrapati
Active Contributor
0 Kudos

Hi,

Why can't you use existing methods.

We have create message option which can report(thru mail) us whether our process chain(step) was failed or failed.


As you need also possible. you can ABAP Program step

Thanks

former_member184884
Active Participant
0 Kudos

This message was moderated.

MGrob
Active Contributor
0 Kudos

Hi

Use the ABAP programm item with RC and yes it's possible

hope that clarifies

Martin