11-22-2007 9:46 AM
Hi All,
I have made lsmw for uploading PO text using standard object : 0001
But i need the text to be more than 132 chars --the size od TDLINE,gone through previous post but no satisfactory answers this there.
If any body can help,this is urgent.
Thanks,
Sachin Soni
11-22-2007 11:36 AM
11-22-2007 11:36 AM
11-22-2007 2:15 PM
you have to create multiple lines with do...enddo loop., like this:
(assuming excel_long_text-text is 924 characters long, 7 lines X 132 char)
__GLOBAL_DATA__
data: offset type i,
text_132(132) type c.
__BEGIN_OF_RECORD__ Before Using Conversion Rules
Rule : Default Settings Modified
Code: /sapdmc/ltxtl = init_/sapdmc/ltxtl.
CLEAR offset.
DO 7 TIMES.
text_132 = excel_long_text-text+offset(132).
offset = offset + 132.
__END_OF_RECORD__ After Using Conversion Rules
Rule : Default Settings Modified
Code: transfer_record.
ENDDO.
11-22-2007 2:26 PM
excelent ans harris ,although i have done with a diff soln but still i was searching for an intelligent soln like this.
06-10-2008 9:33 AM
hi sachin,
iam also facing same problem, can you please tell me how to write that code and where to write that code in lsmw to upload longtext with morethan 132 chrs...can you please eloborate your answer or solution you have achieved.
regards,
kishore.
06-10-2008 10:06 AM