Application Development 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: 

Update of object dependency allocation in Routings using CUKD_API_ALLOCATIONS_MAINTAIN

konrad_sap
Discoverer
0 Kudos
1,177

Hi All,

I need to develop some ABAP code which allows us to maintain dependency allocation for routing operations. I found the call CUKD_API_ALLOCATIONS_MAINTAIN which seems to be right one for this job. However, I'm not a completely sure about its input parameters. I understand that it either generates the KNOBJ ID or I can pass such an ID into the FM and this will eventually be the link to the operation. I also understand that I can define the dependencies itself using the BASIC_DATA table. But what is the purpose of the other tables like SOURCES? It seems to ignore whatever I enter and since we are talking about "global dependencies", I don't see how entering this information should make any sense.

Any information on this FM would be highly appreciated!

Thanks

Konrad

2 REPLIES 2

former_member1716
Active Contributor
0 Kudos
390

Konrad Hammerer,

When i went through the FM i see its still not released, its not recommended to use Non-released FMs. Below Screen shot for reference:

You can check the same in your version, if its released then probably you can use the WHERE USED LIST functionality and check on how its being called.

Alternatively you can use the below link for further details.

OBJECT DEPENDENCY

Regards

Flavio
Active Contributor
0 Kudos
390

Hi Konrad,

SAP note 488765 (Do-it-yourself EWB programming) could be an alternative, specifically the CP_CL_S_OPR_ODP_CHANGE function module.


It's actually called when doing object dependencies allocation within CEWB transaction.

Hope this could be of some help.

Thanks,

Flavio