Skip to Content
author's profile photo Former Member
Former Member

BInput Data mismatch with currency format

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 18, 2005 at 03:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.