cancel
Showing results for 
Search instead for 
Did you mean: 

BInput Data mismatch with currency format

Former Member
0 Kudos

i am working with fs10 transaction

I want to sum up the balance amount with respect to all

companycode and post SUM to the bseg table using Batch input.

i defined sum variable as below and coded.

-


data : sum like glt0-hsl01. (currency format)

After all SUM operation.

I have done like this to diplay SUM in report first(to check SUM output)

SUM = SUM * 100.

write : sum decimals 0.

>>>>Now in report output i get value '17,222-'

if u see in fs10 screen we are getting same value.

-


but when i try to post in Batch input.

i have done like this below.(before posting i have checked

for negative value )

if sum < 0.

sum = sum *100.

compute sum = abs( sum )

now...

perform open_group................

perform bdc_field using 'bseg-wrbtr' (currency format)

sum.

-


when i execute this BI i get error in Amount(Sum)value

display screen. (saying something differs in length )

how to match the field.

ambichan.

Accepted Solutions (1)

Accepted Solutions (1)

former_member214131
Active Contributor
0 Kudos

Hello,

Go to the Domain of the Field BSEG-WRBTR, which is WERT7. There you see the Output length as 16. So you decalre a local variable in BDC which is of CHAR16 in length to hold the value of WRBTR.

Hope this helps you.

Regds, Murugesh AS

Answers (0)