‎2008 May 02 7:38 AM
Hi
to all
Can any body solve my problem,b'coz i am stack in one place.
Every time while uploading the excel file the following error is comming "Field BSEG-wrbtr input value is longer than screen field "
i am in client place
Thanks in Advance
‎2008 May 02 7:53 AM
Hi Shoven,
This is general error we will be getting in BDC for currency and quantity fields.
What u have to do is declare a character variable of length 16 then do like this.
DATA: w_amount(16) TYPE c.
Before populating BDC data populate this variable with the amount u are passing to BDC table.
WRITE wa_bseg-wrbtr TO w_amount.
We have to use write statement to counter for user settings
CONDENSE w_amount.
Now pass w_amount to ur bdc table instead of wa_bseg-wrbtr.
This will solve ur problem.
Thanks,
Vinod.
‎2008 May 02 7:48 AM
Try this one out.
declare a variable .
Data : amt(16) type c.
amt = w_amount.
*try this.
perform bdc_field using 'BSEG-WRBTR'
amt.
Reqard points if useful.
regards
vinsee
‎2008 May 02 7:53 AM
Hi Shoven,
This is general error we will be getting in BDC for currency and quantity fields.
What u have to do is declare a character variable of length 16 then do like this.
DATA: w_amount(16) TYPE c.
Before populating BDC data populate this variable with the amount u are passing to BDC table.
WRITE wa_bseg-wrbtr TO w_amount.
We have to use write statement to counter for user settings
CONDENSE w_amount.
Now pass w_amount to ur bdc table instead of wa_bseg-wrbtr.
This will solve ur problem.
Thanks,
Vinod.
‎2008 May 02 10:02 AM
‎2008 May 02 11:58 AM
Hi vinod
After that i again stack with next two field -"BUPLA, SECCO "
what is the solution?
can anybody tell me?
Thanks in Advance
‎2008 May 02 12:10 PM
Hi Shovan,
Please explain ur problem so that we can suggest u the appropriate solution. I see both are text fields is of length 4. So there will not be problem with length but may be with data u r passing is incorrect. When u do the BDC all validations will be done. If some thing is wrong with data eg. Data u are passing doesn't exist in check table of that field then also ur BDC will fail. So check these things also.
Also let us know which transaction u r using, What is the exact error u r getting so that it will be easy to help u out.
Thanks,
Vinod.
‎2008 May 02 12:29 PM
Hi
vinod
I am using TR : F-02
my problem is that while uploading the file the following field value is not been taken to the screen and after that a diloge box is there for another two entry.
what is the problem i can not understand exatlly.
plz. make a way for me.
thanks
‎2008 May 02 12:48 PM
Hi Shovan,
U must be doing some thing wrong in populating ur BDC data internal table. First try to process ur recording in fore ground and see whether data for these fields are being populated or not. If no rerecord and code accordingly. If yes then populate ur bdctable also in the same order with the screen in ur recording. If any one screen/subscreen is missing in ur code then u wont get data in to these fields and ur BDC will fail with out any errors in messages table. I am sure that this will be problem with the bdcdata only.
Recheck ur bdcdata code carefully with ur recording. It will work for u. If u have missed any screens/subscreens code those.
Hope it is clear.
Thanks,
Vinod.
‎2008 May 02 2:14 PM
hi
while i updating the data from flat file after taking three data it again jump 3 row puting the data in WRBTR field.
so next to wrbtr the fields are empty.
why it happen i donot under stand.
just help me
Thanks
‎2008 May 02 10:01 AM
‎2008 May 02 11:53 AM