Skip to Content
0
Former Member
Apr 11, 2007 at 06:32 AM

Confusing of useing BAPI_ROUTING_CREATE

806 Views

Dear all,

It's boring that I couldn't use BAPI_ROUTING_CREATE to create a routing with Inspection Characteristics successfully.

After call the BAPI FM BAPI_ROUTING_CREATE in my program, a routing was created, the Header,Oprations, could be created successfully,but the Inspection Characteristics of the first Operation is missing. No any error message occured.But why the Inspection Characteristics is missing?

A part of my code is like:

CALL FUNCTION 'BAPI_ROUTING_CREATE'

IMPORTING

GROUP = PLNNR

TABLES

TASK = ZTASK

OPERATION = ZOPERATION

INSPCHARACTERISTIC = ZINSPCHARACTERISTIC

RETURN = ZRETURN .

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Anybody can help me? With many thanks!

regards,

Brian