Professional Documents
Culture Documents
Do you want to save your data for this patient first?' text_button_1 = 'Yes'(001) text_button_2 = 'No'(002) display_cancel_button = 'X' IMPORTING answer = ret_code EXCEPTIONS text_not_found = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. CASE ret_code. WHEN '1'. IF zhm_patient-patientnm zhm_patient-city zhm_patient-county zhm_patient-pincode zhm_patient-age zhm_patient-gender zhm_patient-occupation
IS IS IS IS IS IS IS
INITIAL AND INITIAL AND INITIAL AND INITIAL AND INITIAL AND INITIAL AND INITIAL.
PERFORM save_patient_9002. LEAVE TO SCREEN 9001. ELSE. MESSAGE w007(zhosp_msg) DISPLAY LIKE 'E'. ls ENDIF. WHEN '2'. CLEAR zhm_patient. LEAVE TO SCREEN 9001. WHEN OTHERS. ENDCASE. CLEAR ret_code. "Enter Patient detai