Application Development and Automation 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: 
Read only

BAPI - Sales Order creation

Former Member
0 Likes
1,156

Hi,

Can any one help me in finding the BAPI to create sales order ?. The BAPI should also populate values like Order Quantity , <b>External Details</b> (Mode of Transport , Forwarding agent etc ).

please give you inputs as soon as possible .Its urgent !

Thanks.

Harry

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,054

Hi Preema,

The fields are

1) Mode of transport - OIC_PIPE-OIC_MOT

2) Forwarding agent - OIC_PIPE-OIC_LIFNR

9 REPLIES 9
Read only

Former Member
0 Likes
1,054

hi,

please try using BAPI_SALESORDER_CREATEFROMDAT1

Read only

Former Member
0 Likes
1,054

Hi Prema,

Thanks for quick response.

I am working with the BAPI u suggested , but i am not able to find the fields Mode of transport and forwarding agent, may be i am doing something wrong .Can you please suggest or if u can give me the details of the corresponding fields in this BAPI ?.

Thanks again.

Harry

Read only

Former Member
0 Likes
1,054

Hi Preema,

I hope my question was clear .

I am waiting for some inputs from your side :).If u have .

Points will be rewarded for sure !

Thanks

Harry

Read only

0 Likes
1,054

hi harpeet,

can u tell me the field names for the fields?

Read only

Former Member
0 Likes
1,054

Hello,

BAPI you are using is correct - Order Quantity you do not have field in item details but if you populated Quantity in Scheduling it will automatically populated (i.e vbep)

fields.

if you come for External Details can u tell us where these fields are avialble in sales order (header or Item) - if item in which tab it is avial or is it custom fields?

********Poorna*********

Read only

Former Member
0 Likes
1,054

Hi Poorna,

Thanks for the reply.The external details which i need to populate is in <b>Sales</b> tab. There is a button Ext Dtls on the bottom right side coener.If u click on the button there will be a pop up which has Mode of transport and Forwarding agent in the "miscellanous information " , i want to populate values in these fields , and so i need coreesponding fields in BAPI.

Thanks

Harry

Read only

Former Member
0 Likes
1,055

Hi Preema,

The fields are

1) Mode of transport - OIC_PIPE-OIC_MOT

2) Forwarding agent - OIC_PIPE-OIC_LIFNR

Read only

0 Likes
1,054

hi harpeet,

in which version of SAP are you in? or are you in some specific module like CRM?

I couldnt find any structure or Database table like OIC_PIPE.

I checked in Std SAP sales order screen in ECC 5 version.. couldnt find the fields mentioned either in header sales or item sales tab.

null

Read only

Former Member
0 Likes
1,054

Thanks Preema and Poorna ,

i wll figure out the problem at my end now.