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: 

BAPI - Sales Order creation

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Preema,

The fields are

1) Mode of transport - OIC_PIPE-OIC_MOT

2) Forwarding agent - OIC_PIPE-OIC_LIFNR

9 REPLIES 9

Former Member
0 Kudos

hi,

please try using BAPI_SALESORDER_CREATEFROMDAT1

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

hi harpeet,

can u tell me the field names for the fields?

Former Member
0 Kudos

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*********

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Preema,

The fields are

1) Mode of transport - OIC_PIPE-OIC_MOT

2) Forwarding agent - OIC_PIPE-OIC_LIFNR

0 Kudos

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

Former Member
0 Kudos

Thanks Preema and Poorna ,

i wll figure out the problem at my end now.