‎2017 Jul 14 12:45 PM
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.
‎2017 Jul 19 3:09 PM
Just FYI if someone else has this struggle. We solved it by changing the Rules for standard value Maintenance of the relevant workcenters from may not be entered to should not be entered.
‎2017 Jul 19 3:09 PM
Just FYI if someone else has this struggle. We solved it by changing the Rules for standard value Maintenance of the relevant workcenters from may not be entered to should not be entered.
‎2018 May 10 10:39 AM
Hi Tom,
My suggestion is to go via BDC recording to create routing or you can do modify/delete routing