Skip to Content
0
Former Member
Aug 19, 2009 at 03:36 PM

BAPI_ACC_DOCUMENT_POST

49 Views

Hello Everyone,

I am a new to WD ABAP but worked on WD JAVA before, so I have developed an application that allows us to post an accounting document using BAPI_ACC_DOCUMENT_POST. By following few tutorials and the ABAP documentation in SAP help I managed to create an application for this.

But, I am struck at one point where the field(attribute) "AMT_DOCCUR" of the "CURRENCYAMOUNT" node is not accepting a '-' sign in the inputfield and it is giving an error message stating "The sign in invalid" as shown in the below screenshot. Then I realised that the Domain of that field is not allowing us to enter negative values in to this field.

The Sign is Invalid

http://i31.tinypic.com/15zh4qg.jpg

Now, if I dont give a negative value to the line item of the Accountspayable item it throws an error message stating "Balance in transaction currency" as shown in the below screenshot. Please have a look.

http://i30.tinypic.com/25khmbs.jpg

Now, I haven't got a clue about what to do next to resolve this issue. I hope you can understand my problem. Let me know if you need more clarification. I would appreciate your help.

Regards,

Gopal.