Skip to Content
0
Former Member
Dec 08, 2008 at 09:23 AM

Query on BAPI_ROUTING_CREATE

421 Views

Hi All,

I am using BAPI_ROUTING_CREATE to create routings. My requirement is that while creating a routing if user chooses reference, I donot want to increment the Group counter (PLNAL) - only one of the fields ZKRIZ(Counter for additional criteria) or ZAEHL (Internal counter) should get incremented.

While passing parameter TASK and MATERIAL task allocation i tried to keep the PLNAL same. But, the BAPI returns an error saying :-

"Task list N 50000001 7 already exists"

where, 50000001 = PLNNR (Key for Task List Group) AND

7 = PLNAL (Group Counter)

How do i keep the PLNAL same incrementing only the ZKRIZ / ZAEHL field ?

Regards,

Ashish