2005 Apr 21 1:35 PM
Hi everybody,
I'm currently using this bapi to create new routings. First I upload a few files for the header information and operation information. When succesfully uploaded, I determine the currect taskgroup of this material and select the first free possible number as a counter from the total amount of records that are in the mapl table (max plnal + 1). I do this because if I do not provide a group number it just generated a new groupnumber for the material plant combination.
I call this bapi using this info and it generates a new routing with the provided information.
An other thing I'd like to do is to copy a routing instead of creating a new one.
Lets say I created a routing with number one. The next thing I'd like to do is to copy the first created routing instead of creating a new one. Does someone know how to use this bapi to copy thing routing?
Thanks in advance.
Best wishes
Laurens
Hi everybody,
I'm currently using this bapi to create new routings. First I upload a few files for the header information and operation information. When succesfully uploaded, I determine the currect taskgroup of this material and select the first free possible number as a counter from the total amount of records that are in the mapl table (max plnal + 1). I do this because if I do not provide a group number it just generated a new groupnumber for the material plant combination.
I call this bapi using this info and it generates a new routing with the provided information.
An other thing I'd like to do is to copy a routing instead of creating a new one.
Lets say I created a routing with number one. The next thing I'd like to do is to copy the first created routing instead of creating a new one. Does someone know how to use this bapi to copy thing routing?
Thanks in advance.
Best wishes
Laurens
2007 Jan 02 2:23 PM
Well actually that´s almost exactly what my task is as well.
So what i do is:
- reading the headdata of the given routing (the one which is to be copied)
- reading the positiondata of the given routing (the one which is to be copied)
then calling the BAPI_ROUTING_CREATE while exporting the headdata and the positiondata to the BAPI.
It works perfect for the routing itself, but the BAPI doesnt create any operations while it displays a sucess message and NO errormessages.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |