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.