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

Former Member
0 Kudos

Hi all,

Iam using BAPI_0050_CREATE for creating budget document .In this bapi in period data there is a field called PERIOD_AMOUNT (tables) .My doubt is can i pass negative amount to this field.

thanks inadvance,

alex.

3 REPLIES 3

Former Member
0 Kudos

yes u can -

data d1 type BAPICURR_D.

d1 = '-2'.

write d1.

0 Kudos

Whn i pass -amount in the bapi i mentioned its giving error like

Annual budget exceeded by amount wht we have passed.

Therefore i am not geeting the document created.

Former Member
0 Kudos

Hi,

If you are having problem with the -ve sign, chck the BAPI func.module if you have any debit/credit indicator.

Pass H if it is -ve and S if it is +ve and check.

Regards

Subramanian