Skip to Content
0
Former Member
Feb 10, 2009 at 10:34 PM

Schedule line Category CN not defined.

1449 Views

hi all,

I am trying to create sales order using FM BAPI_SALESORDER_CREATEFROMDAT2 in a program.

when i am giving multiple line items i am getting error Schedule line Category CN not defined.

this is happening when there is multiple schedule line items and they have different schedule item category.

if schedule line item category is same for all items it is creating sales orders.

even if there are items having schedule item category 'CN', they are processed correctly. the sales order is getting created. the problem arises only if there are mixed schedule item categories for multiple items.

is there any error in coding or some configuration is missing. I have searched a lot on SDN but did not find any specific solution??

Can anybody provide some help??

Thanks!!