Hi Martin,
from the function module documentation:
- Fields of import parameter PI_COPYREFERENCE:
R/3 reference customer, sales area data (sales organization,
distribution channel, division)
Note on reference customer:
The reference customer should be created bearing in mind that its
sole purpose is to provide data for customers that are created via
the BAPI.
That is, the reference customer is not an operative customer in the
business sense. As a result, the customer should be created with a
separate account group with internal number assignment. In addition,
the reference customer must exist in the organizational data that is
transferred to the BAPI.
If company-code-independent data is transferred to the BAPI, the
reference customer must be created for a company code.
So, if you have created a reference customer already, you should know the organizational data (Org/DistrChan/Division and Company code).