Hi experts,
I need to build an abap program to control if a process chain loading was sucessfull or not to send a mail afterwards.
So i tought about using FM RSPC_API_CHAIN_GET_STATUS.
The issue, is that i need to have the technical name of the process chain and also the last logid to pass them as parameters.
So i tought about using table to recover the logid as follwonig:
select chain_id
log_id
datum
zeit
analyzed_status
from rspclogchain
into table it_chain
where chain_id = wa_upload-process.
if sy-subrc eq 0.
sort it_chain by chain_id descending datum descending zeit descending.
endif.
What do you think? is there any other way to recover it?
Thanks.
Amine