Skip to Content
avatar image
Former Member

Decimal places change when a Sales order created through BAPI

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

Dec.jpg (117.9 kB)
Dec 1.jpg (118.0 kB)
Dec 2.jpg (37.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Dec 29, 2015 at 02:58 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2015 at 04:02 AM

    Dear Thambi Durai ,

    ZVAT is manual condition or value fetching from VK11.

    Regards,

    C.B Reddy

    Add comment
    10|10000 characters needed characters exceeded

    • 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.