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: BAPI_SALESORDER_CREATEFROMDATA

Former Member
0 Likes
777

hello,

i am using BAPI_SALESORDER_CREATEFROMDATA for creating the sales order, it is getting created but the condition value for the line item is getting mulipied by 10 and getting created is teher any thing i should do while creating

cheers

4 REPLIES 4
Read only

Former Member
0 Likes
610

Hey Dhanbal,

These r the steps for BAPI creation.Did u follow all this.

Give import and export parameters.

PASS VALUE iN TABLES GIVE BAPI RETURN (returns back frm the structure)

assign fun mod to bapi.

evrythig should start with the bapi.

for creating bapi -- > swo1

Inside bapi -- add method -- add func mod name

to implement -- this is on the remote system.

release it

second implement -- generate.

to c the released data goto the transaction code BAPI.

Hope this helps u,

Regards,

Nagarajan.

Read only

0 Likes
610

Hi Nagarajan Kumarappan ,

Dhanabal is asking about using BAPI (calling) and not about creating BAPI.

Regards

Raja

Read only

christian_wohlfahrt
Active Contributor
0 Likes
610

Hi!

Have a look at OSS note 593246, also in following thread some example is given:

Number of decimals is customized per currency, be carefull to use variables with fixed 2 decimals, but different filling depending on your currency (in other words, divide by 10).

Regards,

Christian

Read only

Former Member
0 Likes
610

Hi,

I am got around that by moving 10 to cond_p_unt and moving the sales uom to cond_d_unt. In other words I am saying that the price entered in the condition value is for 10 units instead of 1.

Thanks

Deep