Application Development 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: 

Error using IDoc SALESORDER_CREATEFROMDATA202

Former Member
0 Kudos

Hi I'm trying to use IDoc SALESORDER_CREATEFROMDATA202 to create a sales order in the R/3 system, but I' keep getting the following error:

"Maintain billing plan type in sales document type or item category"

We are not using billing plan type at all in non of the configuration. Does any body knows how to fix this? What fields I might be missing?

Thanks.

1 ACCEPTED SOLUTION

naveen_kumar116
Active Participant
0 Kudos

Hi Pablo Lopez ,

Check whether in item level you are passing Sales document item category into FM.

check your internal table,

BAPISDITM- ITEM_CATEG you are passing are not in line item details.

ITEM_CATEG PSTYV CHAR 4 0 Sales document item category

3 REPLIES 3

naveen_kumar116
Active Participant
0 Kudos

Hi Pablo Lopez ,

Check whether in item level you are passing Sales document item category into FM.

check your internal table,

BAPISDITM- ITEM_CATEG you are passing are not in line item details.

ITEM_CATEG PSTYV CHAR 4 0 Sales document item category

0 Kudos

Hi, I tried that but I didn't make any difference. Still complaining about the same issue. The problem is that we are not using billing plan at all and still complaining about it.

When I use the BAPI directly, the sales order is created successfully, is only the IDoc which is not working.

Thanks

davide_delmonte
Participant
0 Kudos

Hi Pablo, I have the same issue.. using the BAPI with web services.

Did you find a solution?