‎2007 Jul 11 7:31 AM
hi,
call function 'ZV_SALES_ORDER_CANCEL_TSPPRA'
exporting
salesdocument = l_order
customer = l_kunnr
importing
return = return
.
the return contains the error message.
how to display this error message in our program
‎2007 Jul 11 7:33 AM
Hi,
After FM
if return-MSGTYP <> 'S'.
write return-MSGNO......
endif.
Reward if useful!
‎2007 Jul 11 7:35 AM
Hi Sudarshan,
What is the type of return. Is it a BAPIRET.
Then just check for the MSGTYP and if it is E then show the error.
Regards,
Atish