cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal places change when a Sales order created through BAPI

Former Member
0 Kudos

Hi,

I created sales order manually though VA01 and key in items pricing condition manually there is no problem with it.

When i try to create Sales Order through BAPI,now the problem occurs,in the BAPI for condition type ZVAT it is manitained as 7 only,but while creating Sales order the value comes as 70,how does it happens.

Even in BAPI it is mainatined as 7 only,see the below,I dont have a clue what to do with it ,please guide

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member220617
Contributor
0 Kudos

Dear Thambi Durai ,

ZVAT is manual condition or value fetching from VK11.

Regards,

C.B Reddy

Former Member
0 Kudos

ZVAT is manual only,but in order to fetch tax code i have assigned access sequence.

So in VK11 i maintained with tax code and price as null value.

former_member220617
Contributor
0 Kudos

Dear Thambi Durai,

Value is coming through Bapi to ZVAT manual condition type. so the error value is coming in the program to sales order . Debugging the program will give root cause for this solution . i doubted that program is converting this vales and taking two decimals values . discuss and take the help of abaper to resolve this issue .

Regards,

C.B Reddy.

cathy_liang
Contributor
0 Kudos

Hello,

This kind of issue happened in my previous project. In my memory, it was related to the convert of pricing condition type in bapi. It was fixed by ABAPer.

Sorry, I just can give you a clue because it happened many many years ago.