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

Creating a Routing from the Configuration Simulation

Flavio
Active Contributor
0 Likes
821

Dear Friends at SCN,

With reference to the SAP library related to the matter in subject (here is the link)

[http://help.sap.com/saphelp_46c/helpdata/en/92/58c9c2417011d189ec0000e81ddfac/frameset.htm]

I was wondering if it could be possible to create an ABAP program that automates the routing creation for a bunch of material codes, maybe to be run as a background job.

Do you have any idea for achieving this?

Thanks a lot for any help or suggestion.

Bye,

Flavio

4 REPLIES 4
Read only

Former Member
0 Likes
754

Hello Falvio,

The document refers to transaction CU50 where you can simulate configuration and create a task list based on that. It is an intregrated transaction. There is no bapi or FM that will do it all but as for routings you can use BAPI_ROUTING_CREATE to create them. For configuration you will need a to create program to read the values first and then create the routing.

Thanks

Amber

Read only

0 Likes
754

Hello Amber,

Thank you for your reply.

Indeed, the big issue is how to get the configuration data from simulation: Do you have any clue for this?

Thanks again

Bye,

Flavio

Read only

0 Likes
754

Hi Flavio,

For simulation , It is difficult as there is no set order and nothing is stored on the database. You will need to call lot of FM's etc. Generally FM ce_c_processing is used for all sort configuration, To use data stored on the database you can vc_i_get_configuration_ibase,. But for simulation, I have never come across anything

Thanks

Amber

Read only

0 Likes
754

Thank you, Amber.

I see and it really seems a complicated task.

Has anyone else ever succeeded in doing this?

Thanks a lot.

Bye,

Flavio