Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_CTRACDOCUMENT_CREATE and COPA fields

Former Member
0 Likes
751

When trying to create a document using BAPI_CTRACDOCUMENT_CREATE, the result is a message stating "You must make an entry in field Profitab. Segmt No.".

Is there a way to determine the profitability segment number via a F/M call?

The BAPI is called from an outside program and the user can only pass the CO-PA values.

Thanks,

Bill

3 REPLIES 3
Read only

Former Member
0 Likes
608

perhaps you can look in the example where this bapi is used

RFKKBOR_DOC

Read only

0 Likes
608

I checked the CA_DOC method (RFKKBOR_DOC) and found nothing that can determine a profitability segment.

Was there something specific you were referring to in RFKKBOR_DOC?

Thanks,

Read only

Former Member
0 Likes
608

The requirements for this request were changed and this issue became irrelevant.