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

Former Member
0 Likes
469

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
Read only

Former Member
0 Likes
433

yes u can -

data d1 type BAPICURR_D.

d1 = '-2'.

write d1.

Read only

0 Likes
433

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.

Read only

Former Member
0 Likes
433

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