1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
*&---------------------------------------------------------------------* *& Report ZSD001_TEST_OMC *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* report zsd001_test_omc. data: my_interface type ref to zsdco_si_sd001_esito_ordini_ob, my_request type zsdmt_sd001_esito_ordini. * my_response type zmy_response_message_type. * create instance create object my_interface. * fill request data my_request-mt_sd001_esito_ordini-numero_ordine = '12345'. my_request-mt_sd001_esito_ordini-seriale = '123443545'. my_request-mt_sd001_esito_ordini-codice_esito_ordine = '51007'. my_request-mt_sd001_esito_ordini-descrizione_esito = 'Cliente inesistente'. * call proxy try. call method my_interface->si_sd001_esito_ordini_ob exporting output = my_request * importing * input = my_response. . catch cx_ai_system_fault . catch cx_ai_application_fault . endtry. commit work and wait. |