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: 

Problem in BAPI_SALESDOCU_CREATEFROMDATA1 returning item category

Former Member
0 Kudos

Hi Gurus,

I have a problem in FM BAPI_SALESDOCU_CREATEFROMDATA1

the sales order is created sucessfully using this .

here i want to return back the item category which is generated by BAPI

i have used the itemx table

and also set the flag like

itemx-ITEM_CATEG = 'X'.

but cud nt find the item category back in item table

i cud c the entry of item category in VBAP table

Any Inputs ?

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

BAPI will give you the sales order number only, it it is success . it will not return any item category back. if you want to know what is the item category you have all the information with you. if the sales order created successfully then you can use SALES_ITEMS_IN-ITEM_CATEG .

1 REPLY 1

former_member188685
Active Contributor
0 Kudos

BAPI will give you the sales order number only, it it is success . it will not return any item category back. if you want to know what is the item category you have all the information with you. if the sales order created successfully then you can use SALES_ITEMS_IN-ITEM_CATEG .