2015 May 01 6:18 PM
Hi experts
I'm beginer in ABAP OO and i created this code :
output-cep = ch_adrc_struc-post_code1.
TRY.
CREATE OBJECT lr_cep.
CATCH cx_ai_system_fault .
ENDTRY.
TRY.
CALL METHOD lr_cep->si_servico_cep_out
EXPORTING
output = output
IMPORTING
input = input.
CATCH cx_ai_system_fault .
ENDTRY.
My doubt is : How to know the call method worked?
In call function i use = if sy-subrc = 0 for check the return but can i use it after call method ?
thanks a lot.
2015 May 01 6:37 PM
there is an importing which is used to get back data.
once you process input then you can decide whether method worked or not.
2015 May 01 6:37 PM
there is an importing which is used to get back data.
once you process input then you can decide whether method worked or not.