<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: L_TO_CREATE_MULTIPLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378479#M185194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any reason/restriction for not creating a TO using FM L_TO_CREATE_DN.  Normally L_TO_CREATE_MULTIPLE is using for putaway's to bin, if there is no restriction let me know I can provide you details to create TO using L_TO_CREATE_DN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 14:41:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-17T14:41:42Z</dc:date>
    <item>
      <title>L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378477#M185192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;has anyone of you an example of how to create a TO for a delivery via FM L_TO_CREATE_MULTIPLE? or at least some useful hints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 14:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378477#M185192</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-17T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378478#M185193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM U have mentiones in the forum is used by these Include.&lt;/P&gt;&lt;P&gt;LL2018U01                        BAPI for Stock Data per Quant&lt;/P&gt;&lt;P&gt;LLMDEU09                         Process IDoc WMMTOD01: Create transfer orders&lt;/P&gt;&lt;P&gt;LWFR5F0C&lt;/P&gt;&lt;P&gt;RLLT0G00                         Return delivery to stock&lt;/P&gt;&lt;P&gt;RLS10034                         Stock transfer per mouse click: Start&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do the same to ur report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 14:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378478#M185193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378479#M185194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any reason/restriction for not creating a TO using FM L_TO_CREATE_DN.  Normally L_TO_CREATE_MULTIPLE is using for putaway's to bin, if there is no restriction let me know I can provide you details to create TO using L_TO_CREATE_DN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 14:41:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378479#M185194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T14:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378480#M185195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the data for input i intend to use are:&lt;/P&gt;&lt;P&gt;VBELN (delivery number)&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;VELNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 15:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378480#M185195</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-17T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378481#M185196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the correct 2nd value is VLENR.&lt;/P&gt;&lt;P&gt;(Sorry)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 15:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378481#M185196</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-17T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378482#M185197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am not sure what field VLENR corresponds to but the following would be your call if you are trying to create a TO based on delivery:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'L_TO_CREATE_DN'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;           i_lgnum = lwa_likp-lgnum&lt;/P&gt;&lt;P&gt;           i_vbeln = lwa_likp-vbeln&lt;/P&gt;&lt;P&gt;           it_delit = lt_delit&lt;/P&gt;&lt;P&gt;           i_teilk  = i_partialto  "Partial TO Create&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           e_tanum = lv_tanum&lt;/P&gt;&lt;P&gt;           e_teilk = lv_teilk&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;           ERROR_MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have the option to commit and also if you are creating in an update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 15:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378482#M185197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378483#M185198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;VLENR stands for "Source storage unit number".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 17:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378483#M185198</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-17T17:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378484#M185199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The L_TO_CREATE_DN function module has an internal table in which you can specify the source storage unit number IT_DELIT.  In your case you have to fill the POSNR (Delivery line item), ANFME (Quantity), ALTME (Alternative UOM) and VLENR and pass it to the function module along with the other parameters described in earlier reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also have to provide VLTYP, VLBER, VLPLA, VPPOS as a different bins can have the same unit number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sunil Achyut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 18:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378484#M185199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T18:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378485#M185200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the code i´m doing tests with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Zxxx.&lt;/P&gt;&lt;P&gt;TABLES: LTAK, T340D, L03B_DELIT.&lt;/P&gt;&lt;P&gt;DATA: WHS_ID                     like lein-lgnum,&lt;/P&gt;&lt;P&gt;      P_DELV_HEADERS_TABLE_VBELN like likp-vbeln,&lt;/P&gt;&lt;P&gt;      LV_TEILK                   like t340d-teilv VALUE ' ',&lt;/P&gt;&lt;P&gt;      LS_T340D                   like T340D.&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;      con_x                      type c   value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_delit TYPE L03B_DELIT_t with header line.&lt;/P&gt;&lt;P&gt;DATA: lv_tanum type ltak-tanum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: WHS_ID, P_DELV_HEADERS_TABLE_VBELN.&lt;/P&gt;&lt;P&gt;WHS_ID = '130'.&lt;/P&gt;&lt;P&gt;P_DELV_HEADERS_TABLE_VBELN = '80000677'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT         = P_DELV_HEADERS_TABLE_VBELN&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    OUTPUT        = P_DELV_HEADERS_TABLE_VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM T340D INTO LS_T340D WHERE LGNUM = WHS_ID.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;   IF LS_T340D-TEILV = CON_X.&lt;/P&gt;&lt;P&gt;         LV_TEILK = CON_X.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR it_delit.&lt;/P&gt;&lt;P&gt;it_delit-posnr = '000010'.&lt;/P&gt;&lt;P&gt;it_delit-anfme = '10'.&lt;/P&gt;&lt;P&gt;it_delit-altme = 'UN'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT                = it_delit-altme&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    OUTPUT               = it_delit-altme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_delit-vltyp = 'AL1'.&lt;/P&gt;&lt;P&gt;it_delit-vlber = '001'.&lt;/P&gt;&lt;P&gt;it_delit-vlpla = 'AL1001'.&lt;/P&gt;&lt;P&gt;it_delit-vppos = '01'.&lt;/P&gt;&lt;P&gt;it_delit-vlenr = '0080000677'.&lt;/P&gt;&lt;P&gt;APPEND it_delit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'L_TO_CREATE_DN'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    I_LGNUM                          = WHS_ID&lt;/P&gt;&lt;P&gt;    I_VBELN      = P_DELV_HEADERS_TABLE_VBELN&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_REFNR                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SQUIT                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_NIDRU                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_DRUKZ                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_LDEST                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_KOMIM                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_EINLM                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_EINTA                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_NOSPL                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_UPDATE_TASK                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_COMMIT_WORK                    = CON_X&lt;/P&gt;&lt;P&gt;    I_BNAME                          = SY-UNAME&lt;/P&gt;&lt;P&gt;    I_TEILK                          = LV_TEILK&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SOLEX                          = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_PERNR                          = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IT_DELIT                         = IT_DELIT[]&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_TANUM                          = LV_TANUM&lt;/P&gt;&lt;P&gt;    E_TEILK                          = LV_TEILK&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  T_LTAK                           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  T_LTAP_VB                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  T_WMGRP_MSG                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    FOREIGN_LOCK                     = 1&lt;/P&gt;&lt;P&gt;    DN_COMPLETED                     = 2&lt;/P&gt;&lt;P&gt;    PARTIAL_DELIVERY_FORBIDDEN       = 3&lt;/P&gt;&lt;P&gt;    XFELD_WRONG                      = 4&lt;/P&gt;&lt;P&gt;    LDEST_WRONG                      = 5&lt;/P&gt;&lt;P&gt;    DRUKZ_WRONG                      = 6&lt;/P&gt;&lt;P&gt;    DN_WRONG                         = 7&lt;/P&gt;&lt;P&gt;    SQUIT_FORBIDDEN                  = 8&lt;/P&gt;&lt;P&gt;    NO_TO_CREATED                    = 9&lt;/P&gt;&lt;P&gt;    TEILK_WRONG                      = 10&lt;/P&gt;&lt;P&gt;    UPDATE_WITHOUT_COMMIT            = 11&lt;/P&gt;&lt;P&gt;    NO_AUTHORITY                     = 12&lt;/P&gt;&lt;P&gt;    NO_PICKING_ALLOWED               = 13&lt;/P&gt;&lt;P&gt;    DN_HU_NOT_CHOOSABLE              = 14&lt;/P&gt;&lt;P&gt;    INPUT_ERROR                      = 15&lt;/P&gt;&lt;P&gt;    OTHERS                           = 16&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the message i get is:&lt;/P&gt;&lt;P&gt;&lt;U&gt;The transport order must have al least one position&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this happening?.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 05:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378485#M185200</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-18T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378486#M185201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell me if its a "Transport Order" or "Transfer Order".  If its transfer order it might be because your it_delit internal table might not have records.  Also your declaration of internal table shouldnt have a header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_delit TYPE L03B_DELIT_t with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare it the following way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_it_delit type L03B_DELIT_t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason when you pass an internal table with header line the FM thinks there are no records in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 01:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378486#M185201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T01:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378487#M185202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;it´s a transport order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 09:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378487#M185202</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-19T09:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378488#M185203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try changing the declaration of internal table as suggested.  If yes, am not sure why its throwing that error.  Can you try to debug and see where its complaining, that way you can atleast know which parameters are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 13:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378488#M185203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T13:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378489#M185204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil and thanks for your interest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve done the corrections you propose and i get the following dump:&lt;/P&gt;&lt;P&gt;CALL_FUNCTION_CONFLICT_TYPE&lt;/P&gt;&lt;P&gt;CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. &lt;/P&gt;&lt;P&gt;This exception will be dealt with in more detail below. &lt;/P&gt;&lt;P&gt;The exception, assigned to the class &lt;/P&gt;&lt;P&gt;'CX_SY_DYN_CALL_ILLEGAL_TYPE', was not caught, which led to a runtime error. &lt;/P&gt;&lt;P&gt;The reason for this exception is:                      &lt;/P&gt;&lt;P&gt;The call to the function module "L_TO_CREATE_DN" is incorrect:                                         &lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only fields of a particular type under "IT_DELIT". &lt;/P&gt;&lt;P&gt;The field "IT_DELIT" specified here has a different field type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 18:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378489#M185204</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-19T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378490#M185205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post your code so that I can see whats going on.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 20:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378490#M185205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T20:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378491#M185206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi here goes the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WHS_ID                     like lein-lgnum,&lt;/P&gt;&lt;P&gt;      P_DELV_HEADERS_TABLE_VBELN like likp-vbeln,&lt;/P&gt;&lt;P&gt;      LV_TEILK                   like t340d-teilv VALUE ' ',&lt;/P&gt;&lt;P&gt;      LS_T340D                   like T340D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;      con_x                      type c   value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_delit TYPE L03B_DELIT.&lt;/P&gt;&lt;P&gt;DATA: lv_tanum type ltak-tanum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: WHS_ID, P_DELV_HEADERS_TABLE_VBELN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Número de almacén&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WHS_ID = '130'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Número de albarán de entrega&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;P_DELV_HEADERS_TABLE_VBELN = '0080000673'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT  = P_DELV_HEADERS_TABLE_VBELN&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    OUTPUT = P_DELV_HEADERS_TABLE_VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM T340D INTO LS_T340D WHERE LGNUM = WHS_ID.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  IF LS_T340D-TEILV = CON_X.&lt;/P&gt;&lt;P&gt;    LV_TEILK = CON_X.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR it_delit.&lt;/P&gt;&lt;P&gt;it_delit-posnr = '000010'.&lt;/P&gt;&lt;P&gt;it_delit-anfme = '1000'.&lt;/P&gt;&lt;P&gt;it_delit-altme = 'UN'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT  = it_delit-altme&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    OUTPUT = it_delit-altme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_delit-vltyp = 'AL1'.&lt;/P&gt;&lt;P&gt;it_delit-vppos = '10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'L_TO_CREATE_DN'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    I_LGNUM                          = WHS_ID&lt;/P&gt;&lt;P&gt;    I_VBELN      = P_DELV_HEADERS_TABLE_VBELN&lt;/P&gt;&lt;P&gt;    I_COMMIT_WORK                    = CON_X&lt;/P&gt;&lt;P&gt;    I_BNAME                          = SY-UNAME&lt;/P&gt;&lt;P&gt;    I_TEILK                          = LV_TEILK&lt;/P&gt;&lt;P&gt;    IT_DELIT                         = IT_DELIT&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_TANUM                          = LV_TANUM&lt;/P&gt;&lt;P&gt;    E_TEILK                          = LV_TEILK&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    FOREIGN_LOCK                     = 1&lt;/P&gt;&lt;P&gt;    DN_COMPLETED                     = 2&lt;/P&gt;&lt;P&gt;    PARTIAL_DELIVERY_FORBIDDEN       = 3&lt;/P&gt;&lt;P&gt;    XFELD_WRONG                      = 4&lt;/P&gt;&lt;P&gt;    LDEST_WRONG                      = 5&lt;/P&gt;&lt;P&gt;    DRUKZ_WRONG                      = 6&lt;/P&gt;&lt;P&gt;    DN_WRONG                         = 7&lt;/P&gt;&lt;P&gt;    SQUIT_FORBIDDEN                  = 8&lt;/P&gt;&lt;P&gt;    NO_TO_CREATED                    = 9&lt;/P&gt;&lt;P&gt;    TEILK_WRONG                      = 10&lt;/P&gt;&lt;P&gt;    UPDATE_WITHOUT_COMMIT            = 11&lt;/P&gt;&lt;P&gt;    NO_AUTHORITY                     = 12&lt;/P&gt;&lt;P&gt;    NO_PICKING_ALLOWED               = 13&lt;/P&gt;&lt;P&gt;    DN_HU_NOT_CHOOSABLE              = 14&lt;/P&gt;&lt;P&gt;    INPUT_ERROR                      = 15&lt;/P&gt;&lt;P&gt;    OTHERS                           = 16&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 23:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378491#M185206</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2006-07-19T23:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_MULTIPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378492#M185207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok your problem is the function module is expecting an internal table as parameter and you are sending it a work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is a work area and not an internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: it_delit TYPE L03B_DELIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do two ways :&lt;/P&gt;&lt;P&gt;1) DATA: it_delit TYPE table of L03B_DELIT.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2) DATA: it_delit TYPE L03B_DELIT_t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first way is you are expicitly declaring an internal table. The second way is you are defining a internal table which refers to an internal table defined in DD.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To append the record declare a work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_wa_delit type L03B_DELIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_wa_delit-posnr = '000010'.&lt;/P&gt;&lt;P&gt;l_wa_delit-anfme = '1000'.&lt;/P&gt;&lt;P&gt;l_wa_delit-altme = 'UN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Add the other fields in the work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND l_wa_delit TO it_delit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the above and am assuming it should work this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hith&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. award points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 23:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-multiple/m-p/1378492#M185207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T23:53:23Z</dc:date>
    </item>
  </channel>
</rss>

