About Bapi_patient_create (Patient master data creation)

Source: Internet
Author: User

The first time you use BAPI, you encounter several problems. Summarized below.

Pager FUNCTION 'bapi_patient_create'  ExportingClient=*institution = ' * '*Patientid = ' '*Sap_bpartnerid = ' '*Sap_bpgroup =Patient_data =*testrun = ' '*transact_mode = ' N '*Importing*New_patient_data =*worst_returned_msgty =*TABLES*i_addresses =*I_add_phones =*e_addresses =*E_add_phones =*RETURN =*I_legal_rep =*E_legal_rep =.

After the call, no data can be created successfully (New_patient_data is empty). There are several possibilities for this issue:

    1. The incoming data is incorrect, and you can see the error in the parameter return . You can see the input help in the foreground (transaction code NP01), or in the related tables (NPNT), to learn the correct way to enter.
    2. The runtime uses the test mode (TestRun = ' X ').
    3. After the call, no bapi_transaction_commit is used.

After the call, the data in the returned New_patient_data is normal, but the address data is not updated (e_addresses is empty), possibly because:

There is no correspondence between the Addr_no in the incoming patient_data and the addr_no in i_addresses.

After the call, the data in the returned New_patient_data is normal, but the additional phone number data is not updated (E_add_phones is empty):

    1. There is no correspondence between the addr_no in the incoming patient_data and the addr_no in I_add_phones.
    2. I_addresses-other_phones is not an ' X '. The i_add_phones will only take effect if the incoming i_addresses-other_phones is ' X ' .

This article link: http://www.cnblogs.com/hhelibeb/p/6132826.html

  

About Bapi_patient_create (Patient master data creation)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.