‎2007 May 04 4:05 AM
Hi Everyone,
I use LSMW (IDoc:KNOMAS) to upload the Object Dependency with T-Code CU01. However I can not upload the formula/source code within more than 72 characters due to the maximum size of the source code field in dependency editor is 72 characters.
Is there anyone that have the same problem and know the solution? Or is there any advice / tips how to upload the Object Dependency that have long source code?
Any comments is appreciated. Thank you before hand.
‎2012 Aug 02 2:29 PM
Hi Mika Permana,
Same Problem am also getting when i was trying to upload more than one object dependency syntax's on CU01,
After that i came to know we can restrict that all those things before 72 character's and we can add all those things to the next line in notepad,
For Example,
| Header 1 | ||||
|---|---|---|---|---|
| ||||
| Here We cant upload the object dependencies through to excel file,because KCD_EXCEL_OLE_TO_INT_CONVERT and ALSMEX_TABLINE function module having 'Value' field ,its length is 50 only, |
so it cant allow after 50th word. so i preferred to use notepad!!!
the following code is for your reference.
*************************************************************************************************************************************
LOOP AT i_index WHERE knnam_001 = it_mmtab-knnam_001.
l_count = l_count + 1.
CONCATENATE 'RSTXP-TDLINE(' l_count ')' INTO var1.
PERFORM bdc_field USING var1 " 'RSTXP-TDLINE(01)' " syntax
i_index-tdline_01_006.
IF l_count > 15.
MESSAGE 'LINE ITEM EXCEEDED > 15 ' TYPE 'E'.
ENDIF.
ENDLOOP.
*********************************************************************************************************************************************
Thanks & Regards,
BASTIN VINOTH NG
SAP Technical Consultant,
Unisoft Infotech Pvt. Ltd.,
**************************************************************************************************************************************************************