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

COPA_PROFITABILITY_SEGMENT

Former Member
0 Likes
2,082

Hi All ,

We are trying to generate COPA document at the time of depreciation run for specific asset classes. We already have added Copa characteristics fields in asset master . We have created substitution rule in OKC9 in program SAPFGBES . Depreciation is run through AFAB. In SAPFGBES we are calling FM COPA_PROFITABILITY_SEGMENT which is working fine in test run as we enter the characterstics in window pop-up and continue. When we try to run depriciation through AFAB in background , depriciation does not run and gives u error. When we comment out FM COPA_PROFITABILITY_SEGMENT and run depriciation it works fine but there are no characterstics.

Can you please tell me how can i pass characterstic values to COPA_PROFITABILITY_SEGMENT without pop up as i think the issue is due to pop up occuring in background ??????

Hi All ,

We are trying to generate COPA document at the time of depreciation run for specific asset classes. We already have added Copa characteristics fields in asset master . We have created substitution rule in OKC9 in program SAPFGBES . Depreciation is run through AFAB. In SAPFGBES we are calling FM COPA_PROFITABILITY_SEGMENT which is working fine in test run as we enter the characterstics in window pop-up and continue. When we try to run depriciation through AFAB in background , depriciation does not run and gives u error. When we comment out FM COPA_PROFITABILITY_SEGMENT and run depriciation it works fine but there are no characterstics.

Can you please tell me how can i pass characterstic values to COPA_PROFITABILITY_SEGMENT without pop up as i think the issue is due to pop up occuring in background ??????

2 REPLIES 2
Read only

Former Member
0 Likes
962

Hi Shitiz,

Did you find a solution to this issue?

Thanks,

Geert

Read only

rahul_negi
Explorer
0 Likes
962

Hi Shitiz ,

You can resolve this by passing

      anzeige    = ' '

       dialog     = ' '

in FUNCTION 'COPA_PROFITABILITY_SEGMENT' .


Regards,

Rahul