2015 Dec 31 9:25 PM
I have read hundreds of posts related to BAPI_ACC_DOCUMENT_POST and creating profitability segment; however, I still am not satisfied that I have found the correct answer.
Some background...
I can make the BAPI work of course by populating the CRITERIA table with plant, product, and profit center; however, with the complexity of COPA, I will not always know which characteristics to add to the CRITERIA table. I feel like it must be possible to get a profitability segment assigned without putting any information in the CRITERIA table; however, I may be wrong.
Question: Is it possible to have BAPI_ACC_DOCUMENT_POST behave similar to how FB01 auto-assigns values to characteristics in the assignment to profitability screen? If not, does anyone have advice on how to determine what the characteristics need to be each time I use a GL where profitability segment is active?
Thank you!
Respectfully,
Brian
2016 Jan 04 4:11 PM
AFAIK you must populate the Criteria table with the PA Segments you or functionals want.
You already identified the Plant, Product, and Profit Center fields. If you don't want to hardcode this, quite commendable, you have to analyze your Customizing tables.
Regards,
Raymond
2016 Jan 04 4:11 PM
2016 Jan 04 4:18 PM
Raymond,
Thank you for the reply. This is the same conclusion I have come to.
Brian
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |