cancel
Showing results for 
Search instead for 
Did you mean: 

Data Transfer/ copy control routines rules with BAPI_CUSTOMERRETURN_CREATE

Former Member
0 Kudos

Does anybody know with any certainty if BAPI function modules call data transfer routines and copy control rules in the same way that the equivalent system transactions would? We are using BAPI_CUSTOMERRETURN_CREATE and cannot seem to get the data transfer routine to be executed (yes, it is active, and the routines were re-generated using RV80HGEN).

BR,

Tony.

Accepted Solutions (1)

Accepted Solutions (1)

Rauno
Participant
0 Kudos

Hi Tony

please check OSS 370988. It looks like that it is not possible to have the same functionality in BAPI as you have in online transaction.

Perhaps you can try bapi_salesdocument_copy. But this is not designed to create a return but make an exakt copy.

Sorry that I could help you in better way.

Rauno

Answers (1)

Answers (1)

Rauno
Participant
0 Kudos

Hello Tony

these routines are only used, when you create your document with reference to an already existing document like an invoice or order.

Have you entered a reference document in your BAPI-Call?

Regards

Rauno

Former Member
0 Kudos

Yes!

BR,

Tony.

Former Member
0 Kudos

Hi Anthony,

Have you checked the flags properly for Importing and exporting of values in the function module.?

May be you need to check that in Se37 under the Import/Export tabs.

Award points if it helps.

Regards

Biju