Dear all,
I am currently working with the BAPI_ROUTING_CREATE and so far I managed to get most of the things working.
However I now have one Operation (table operations) that I would like to add. This operation has a workcenter that (already) contains Rules for standard value Maintenance which are all set to 'May not be entered'. This operation has no activities, but is called a confirmation of a certain operation and has (as the only operation) a certain standard queue time.
The problem that I run into is that I always receive the error "You cannot enter an activity type for standard value Setup msg1", regardless of if include or exclude the following things: Operation.Value(1, "ACTTYPE_01") = .., Operation.Value(1, "STD_UNIT_01")= .. and Operation.Value(j, "STD_VALUE_01") = .. . Giving no value (""), giving value "0" or "1", or not including the entire field doesn't work.
Is anyone able to help me insert this operation? am I maybe using the wrong table for this operation (but which one should I use then)?
I use the BAPI in combination with VBA.