<?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_TR testrunresult differs from programresult in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172711#M123528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this Function Module as replacement of LT04.&lt;/P&gt;&lt;P&gt;Because i use this to create a TO based on TR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do it with LT04 i have no problems and i can book the transfer on destination bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2006 15:11:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-13T15:11:41Z</dc:date>
    <item>
      <title>L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172704#M123521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Girls,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use L_TO_CREATE_TR to create a TO refering to a TransportRequest. Works fine, but the palletnumber that I store in IT_TRITE-NLENR does not show up where it should: in the resulting TO in the field NLENR (LT21, Tab Dest.data, field Dest.storage unit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, happens. But:&lt;/P&gt;&lt;P&gt;When I enter the exact same data in SE37 in the testrundata as is passed to the functionmodule in my program, the palletnumber is stored nicely in the new TO!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody for any tips how to solve this mystery?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim van Steenbergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 17:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172704#M123521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T17:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172705#M123522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SE37 will take care of internal-to-external and external-to-internal conversions needed, whereas you need to do that in your code if you are calling the same function module. See if you need to pass the pallet number in internal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 17:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172705#M123522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172706#M123523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!! The leading zeros fouled me again!@#$%$#@ When am I going to learn?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I had to do was to add 12 zeros in front of the 8 meaningfull digits and now it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank again,&lt;/P&gt;&lt;P&gt;Tim van Steenbergen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Tim van Steenbergen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 17:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172706#M123523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T17:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172707#M123524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the ABAP you are using to populate IT_TRITE and the subsequent function call. I am struggling with the IT_TRITE population part and any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2006 18:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172707#M123524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-30T18:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172708#M123525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hari, here you go:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the ABAP and the FM-call:&lt;/P&gt;&lt;P&gt;  data LT_TRITE   type L03B_TRITE_T.&lt;/P&gt;&lt;P&gt;  data WA_TRITE   like line of LT_TRITE.&lt;/P&gt;&lt;P&gt;  data GV_STORED  like VBAPF-QMENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear: LT_TRITE, WA_TRITE, GV_STORED.&lt;/P&gt;&lt;P&gt;  refresh LT_TRITE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_TRITE-TBPOS = GT_LTBP-TBPOS.&lt;/P&gt;&lt;P&gt;  WA_TRITE-ANFME = GT_LTBP-MENGE.&lt;/P&gt;&lt;P&gt;  WA_TRITE-ALTME = GT_LTBP-MEINS.&lt;/P&gt;&lt;P&gt;  WA_TRITE-LETYP = GT_MARA-VHART(3). "3-character storageunittype&lt;/P&gt;&lt;P&gt;  concatenate '000000000000' LTAP-NLENR+10(8) into WA_TRITE-NLENR.&lt;/P&gt;&lt;P&gt;  "FM L_TO_CREATE_TR wants 20 characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if GV_DIR = 'N'.&lt;/P&gt;&lt;P&gt;    WA_TRITE-NLTYP = '120'.&lt;/P&gt;&lt;P&gt;    WA_TRITE-NLPLA = 'OVERDRACHT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    WA_TRITE-NLTYP = P_NLTYP.&lt;/P&gt;&lt;P&gt;    WA_TRITE-NLPLA = P_NLPLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  append WA_TRITE to LT_TRITE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO aanleggen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear GT_LTAP_VB.&lt;/P&gt;&lt;P&gt;  refresh GT_LTAP_VB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'L_TO_CREATE_TR'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      I_LGNUM                        = GC_LGNUM_011   "LGNUM is '011' in my case&lt;/P&gt;&lt;P&gt;      I_TBNUM                        = GT_LTBP-TBNUM&lt;/P&gt;&lt;P&gt;      IT_TRITE                       = LT_TRITE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     e_tanum                        = gv_tanum&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      T_LTAP_VB                      = GT_LTAP_VB&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      FOREIGN_LOCK                   = 1&lt;/P&gt;&lt;P&gt;      QM_RELEVANT                    = 2&lt;/P&gt;&lt;P&gt;      TR_COMPLETED                   = 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;      TR_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;      UPDATE_WITHOUT_COMMIT          = 10&lt;/P&gt;&lt;P&gt;      NO_AUTHORITY                   = 11&lt;/P&gt;&lt;P&gt;      PREALLOCATED_STOCK             = 12&lt;/P&gt;&lt;P&gt;      PARTIAL_TRANSFER_REQ_FORBIDDEN = 13&lt;/P&gt;&lt;P&gt;      INPUT_ERROR                    = 14&lt;/P&gt;&lt;P&gt;      others                         = 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    commit work."See FM L_TO_CREATE_TR docu: commit work is needed&lt;/P&gt;&lt;P&gt;    perform MELDT_DE_FOUT using SY-MSGID SY-MSGTY SY-MSGNO&lt;/P&gt;&lt;P&gt;                                SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how IT_TRITE is filled with a testrun in SE37:&lt;/P&gt;&lt;P&gt;TBPO 	1&lt;/P&gt;&lt;P&gt;ANFME 	1,000&lt;/P&gt;&lt;P&gt;ALT 	KI&lt;/P&gt;&lt;P&gt;NLENR 	79999688 "so, no leading zeros here in SE37&lt;/P&gt;&lt;P&gt;LET 	BPH&lt;/P&gt;&lt;P&gt;All others empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully helpfull,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tim van Steenbergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2006 20:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172708#M123525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-30T20:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172709#M123526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When running L_TO_CREATE_TR for stock removal i have no problems, the stock is removed from source bin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when using L_TO_CREATE_TR for stock placement (to storage Bin, Mvt 312) and when i give in a destination bin the materials are placed on a dynamic bin and not the bin that is entered in the L_TO_CREATE_TR in NLPLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody say what input i do not give or what customizing mistakes i do not see?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coeno den Engelsman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input fields are:&lt;/P&gt;&lt;P&gt;MANDT                          800       &lt;/P&gt;&lt;P&gt;LGNUM                          001       &lt;/P&gt;&lt;P&gt;TANUM                          0000000380&lt;/P&gt;&lt;P&gt;TAPOS                          0000      &lt;/P&gt;&lt;P&gt;TBPOS                          0001      &lt;/P&gt;&lt;P&gt;VORGA                          TB&lt;/P&gt;&lt;P&gt;NLTYP                          001     &lt;/P&gt;&lt;P&gt;NLBER                          001     &lt;/P&gt;&lt;P&gt;NLPLA                          01-01-04&lt;/P&gt;&lt;P&gt;BWLVS                          312&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 14:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172709#M123526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172710#M123527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No time to do that, but here is how yu can figure out if you neeed to tweek customizing or the program:&lt;/P&gt;&lt;P&gt;Do the same with via LT01. If the result is the same, something needs to be customised, else your inputvalues needs adjustement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 14:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172710#M123527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T14:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172711#M123528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this Function Module as replacement of LT04.&lt;/P&gt;&lt;P&gt;Because i use this to create a TO based on TR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do it with LT04 i have no problems and i can book the transfer on destination bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 15:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172711#M123528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T15:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172712#M123529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know a function module for creating TO based on material document? Normally i use LB12, and create TO on foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know which function module can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 14:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172712#M123529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T14:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: L_TO_CREATE_TR testrunresult differs from programresult</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172713#M123530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coeno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to solve the below issue. I am trying something similar. I want to specify the destination storage unit number in FM 'L_TO_CREATE_TR' (IT_TRITE-NLENR) but SAP over writes it with new SU. I am able to acheive the same using 'LT04' but not through FM. 'L_TO_CREATE_TR' documentation informs that it works in the same way as calling 'LT04' in background. Does this mean we will not be able to control destination bin/SU when calling this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 22:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/l-to-create-tr-testrunresult-differs-from-programresult/m-p/1172713#M123530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T22:04:32Z</dc:date>
    </item>
  </channel>
</rss>

