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

BAPI_ROUTING_CREATE - Rules for standard value Maintenance

Former Member
0 Likes
1,231

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
886

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.

2 REPLIES 2
Read only

Former Member
0 Likes
887

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.

Read only

Former Member
886

Hi Tom,

My suggestion is to go via BDC recording to create routing or you can do modify/delete routing