We have a custom logic to set organizational data for our sales documents. So we used function module CRM_ORGMAN_POPUP_INF_1020_SET to fill the organizational data determination pop-up.
We fill the functional module with following entries:
Scenario 1:Sales Organization Distribution Channel Division O 50000610 10 10 O 50000610 10 50
And in our custom function module we use, we fill actor_tab table with only sales organization O 50000610.
However we end up getting all the distribution channels and divisions defined for sales organization O 50000610.in PPOMA_CRM (screenshot 1)
Sales areas maintaned for sales organization 50000610 in PPOMA_CRM (screenshot 2)
On the other hand, if we send two different sales organizations (for instance O 50000610 and O 50000611) to pop-up function module CRM_ORGMAN_POPUP_INF_1020_SET
We get the results we expected and this absolutely meets our requirements
However it only works for scenario 2 meaning we send two different sales organizations with different distribution channels and divisions.
But we want it work out for scenario 1 meaning we send only one sales organization with different distribution channels and divisions.
Is this a bug or a standart behaviour? How can we solve this problem? Any ideas?
Thanks in advance,