2012 Aug 07 2:36 PM
I'm searching for a function module to change a rate routing in a WebDynpro,especially the assigned work centers in each operation.
The FM "Maintain_Routing" seems to work only for normal routings, not for rate routings. Is there any alternative? I wasn't able to find one.
2012 Aug 08 2:46 PM
Hello Thomas,
Unfortunately, there is NO BAPI, standard BDC or direct input programs available for rate routings and reference rate routings.
You cannot use BAPI_ROUTING_CREATE OR CHANGE for rate routings or reference rate routing because in the BAPI_ROUTING_CREATE/CHANGE the task list type (field PLNTY) is 'N" in which is Routing and not 'R' (rate routing).
You need to create your own program to meet your needs.
Regards
Amber
Hello Thomas,
Unfortunately, there is NO BAPI, standard BDC or direct input programs available for rate routings and reference rate routings.
You cannot use BAPI_ROUTING_CREATE OR CHANGE for rate routings or reference rate routing because in the BAPI_ROUTING_CREATE/CHANGE the task list type (field PLNTY) is 'N" in which is Routing and not 'R' (rate routing).
You need to create your own program to meet your needs.
Regards
Amber
2012 Aug 08 2:46 PM
Hello Thomas,
Unfortunately, there is NO BAPI, standard BDC or direct input programs available for rate routings and reference rate routings.
You cannot use BAPI_ROUTING_CREATE OR CHANGE for rate routings or reference rate routing because in the BAPI_ROUTING_CREATE/CHANGE the task list type (field PLNTY) is 'N" in which is Routing and not 'R' (rate routing).
You need to create your own program to meet your needs.
Regards
Amber
2012 Aug 09 8:05 AM
Hallo Amber,
thanks for your answer. I will try the "own program" way.
The program only needs to change the work center (ARBID) in an operation. Is there any other way than handeling the locks by myself and change the field ARBID directly in the table PLPO? Because I'm trying to avoid direct manipulation of standard SAP tables.
Kind regards,
Thomas
2012 Aug 09 11:59 AM
Hello Thomas,
Does it have to be program ? As you can use transaction CA85 to replace workcentres.
REgards
Amber
2012 Aug 09 1:28 PM
Hello Amber,
unfortunately it has to be a program. The idea is one transaction where the user can change work centers in operations similar to LDD2 (Line Balance).
CA85 doesn't work because I want to change only the work center of one operation (which is determined by the program) and not for a whole routing.
Kind regards,
Thomas
2012 Aug 09 1:33 PM
Unfortunately, there isnt any program... Internal programming is used for rate routings. I can guide you with all the tables that are used if you want ?
2012 Aug 09 1:44 PM
That would be great. So for my understanding: The only way to fulfill my requirements is to directly manipulate the database tables?
2012 Aug 10 11:23 AM
2012 Aug 10 11:24 AM
Hello Thomas,
Yes, You will need to create your own program for rate routings. Tables are the same it is only the type of the routing so you need to be very carefull with the programing. I have attached the data model for your help.
Regards
Amber
2012 Aug 10 12:02 PM
Hello Amber,
big thanks for your help and the data model. Think it can be a good help to get my program running.
Regards
Thomas
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |