11-14-2005 4:38 PM
Hi,
i´m using LSMW for transaction CU01.
My problem is that when the recording is done the internal table for field TDLINE doesn´t have any length at all.
That is i have:
BEGIN OF itab.
TDLINE(000000) TYPE c.
END OF itab.
How can i overcome this problem?
Best regards.
11-14-2005 4:49 PM
I am not sure I understood your problem. You are doing a BDC recording of CU01 to use with LSMW. Am I correct? How is the itab getting defined? Is it some input that you are giving, or is it part of the generated code? Also, TDILNE sounds like you are trying to load texts. Use SAVE_TEXT instead of this after your do whatever using CU01, because texts are not best handled with BDC.
Srinivas
11-14-2005 4:42 PM
Im not sure to have well understood your problem. I think there is something wrong with table declaration.
Try to do this:
BEGIN OF itab.
TDLINE(132) TYPE c.
END OF itab.
usually tdline have length 132.
Manuel
11-14-2005 4:44 PM
11-14-2005 4:45 PM
Hello Calsadillo,
I guess your are trying to record LONG Text ,
which i am afraid is not possible by BDC.
Visit link belwo to the same with LSMW for long texts:
http://help.sap.com/saphelp_erp2004/helpdata/en/fb/787039172511d2b428006094b944c8/frameset.htm
Rgds,
Mano sri
11-14-2005 4:46 PM
Hi Manuel,
my problem is that the program in question has been generated by means of a recording in LSMW.
Regards.
11-14-2005 4:49 PM
I am not sure I understood your problem. You are doing a BDC recording of CU01 to use with LSMW. Am I correct? How is the itab getting defined? Is it some input that you are giving, or is it part of the generated code? Also, TDILNE sounds like you are trying to load texts. Use SAVE_TEXT instead of this after your do whatever using CU01, because texts are not best handled with BDC.
Srinivas
09-09-2016 10:06 AM