2008 May 02 4:00 PM
Hi
loop at it_tel into wa_tel.
insert into adr2 values wa_tel .
clear wa_tel.
endloop.for the above code i get the error as
"work area WA_TEL is not long enough. long enough"
Plz suggest what could have gone wrong.
if I use it_tel in the insert stmt.....even then i am getting same error as not long enough.
Thanks
2008 May 02 4:04 PM
hi in your code
wa_tel should be same type of adr2.
make it_tel and wa_tel of type adr2 and use corresponding fields in select query.
reward if useful.
Hi Alchemi,
According to your requirement check for any BAPIs or FMs which suits ur requirement
check the where-used-list of table ADR2 and checkout if any exists
2008 May 02 4:04 PM
hi in your code
wa_tel should be same type of adr2.
make it_tel and wa_tel of type adr2 and use corresponding fields in select query.
reward if useful.
2008 May 02 4:06 PM
First things first. Inserting records in to a standard SAP table can be dangerous.
The structure of the work area must be exactly the same as your table being updated.
Regards,
Ravi Kanth talagana
2008 May 02 4:20 PM
Hi Alchemi,
According to your requirement check for any BAPIs or FMs which suits ur requirement
check the where-used-list of table ADR2 and checkout if any exists
2008 May 02 4:31 PM
hi,
delcare your workarea as
data : wa_tel like it_tel. Regards,
Santosh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |