2008 Aug 12 9:50 AM
Hello!
Could you help me i nfollowing question:
For initial upload of patient we try to use functional module BAPI_PATIENT_CREATE.
-
piece of code when functional module is being called----
CALL FUNCTION 'BAPI_PATIENT_CREATE'
EXPORTING
client = sy-mandt
institution = ipat-einri
PATIENTID = ' '
patient_data = patient_data
testrun = ' '
transact_mode = 'N' "/'S'
IMPORTING
new_patient_data = new_patient_data
worst_returned_msgty = worst_returned_msgty
TABLES
i_addresses = i_addresses
i_add_phones = i_add_phones
e_addresses = e_addresses
e_add_phones = e_add_phones
return = return
-
AS a result we see in debugging: numbers for the patients are reserved from the number ranges ISH_NPAT, Sy-Subrc = 0, table "return" is empty, teables "new_patient_data" and "e_addresses" are correctly filled.
But table NPAT is empty. Patients master data have not been created.
What the reason of it? May be smth special in BAPI?
2008 Aug 12 10:02 AM
Hi Olga,
please have a look at BAPI_TRANSACTION_COMMIT to save your changes in the database.
Regards,
Claudius
2008 Aug 12 10:02 AM
Hi Olga,
please have a look at BAPI_TRANSACTION_COMMIT to save your changes in the database.
Regards,
Claudius
2008 Aug 12 11:54 AM