<?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: Function module / program to simulate an import request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763369#M1116765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found STRF_SETNAME_PROT which will build the filename for TRINT_READ_LOG, maybe that's of any help. There is also TR_READ_LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please keep us updated on the progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Should i mark the question as answered, even if there's no solution for the "topic-task"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, once you reach ten "unanswered" questions, you cannot open a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2008 14:00:31 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-11-20T14:00:31Z</dc:date>
    <item>
      <title>Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763363#M1116759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;i'm working on a program for an automatic analyze of errors occuring during a transport.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given situation is:&lt;/P&gt;&lt;P&gt;A transport can not be performed. &lt;/P&gt;&lt;P&gt;Question why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step is to retry the transport later on and analyze the transport-protocoll. Maybe the error exists no longer (e.g. an DDIC-DataType was missing and was imported during the time between the first try and the retry) so that everything is fine or it still exists. Then further steps have to be taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this automatically I'm looking for a function module oder a program to simulate the transport and to get the transport protocoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be glad if anyone could help me &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763363#M1116759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763364#M1116760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is available, due to the complexity of the underlying dependencies. You cannot simulate an entire target system to find out whether any object is missing there. All objects need to be imported and then activated in a second step, only then such inconsistencies can be detected.&lt;/P&gt;&lt;P&gt;I would be happy to be proven wrong here and learn better. This would be a very useful functionality.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 15:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763364#M1116760</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-11-14T15:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763365#M1116761</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;Try any of these ,lets see if it is helpful.&lt;/P&gt;&lt;P&gt;/SDF/CMO_COMP_REPOS            Function modules for software logistics  &lt;/P&gt;&lt;P&gt;/SDF/CMO_GET_LOCAL_TRANSPORTS  Create a list of transports created in th&lt;/P&gt;&lt;P&gt;/SDF/CMO_GET_TRANSPORT_LIST    Get list of imported transports          &lt;/P&gt;&lt;P&gt;/SDF/CMO_GET_TRANSPORT_TEXTS   Get texts for transport requests         &lt;/P&gt;&lt;P&gt;/SDF/CMO_TRANSPORTS_COMPARE    Number of transports in period of time   &lt;/P&gt;&lt;P&gt;/SDF/CMO_TRANSPORTS_STAT       Get transport objects statistics         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 10:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763365#M1116761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T10:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763366#M1116762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thx for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me, what kind of data &lt;/P&gt;&lt;P&gt;"/SDF/CMO_COMP_REPOS" is? Function module? Function Group? I tried to find it via workbench search but I had no success. Sry for that rookie question, im BA student 2008 and the first word i heared about abap is only 4 weeks ago &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also called some colleagues from the transport group, who told me, that there's no function / programm to "simulate" an import. It's also &lt;EM&gt;not&lt;/EM&gt; possible to "really" retry it, because it could occur, that some fixes made in (independent) following transports are overwritten. That could lead to an inconsistent system.. not that good..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at the moment, I think I should skip the that "retry step" and directly have a look at the import-protocoll to analyze it. Are there any suggestions how I could retrieve that protocoll automatically to analyze it via ABAP? It tried to find the corresponding function by using the debugger in SE01-&amp;gt;'choose Request'-&amp;gt;Jump-&amp;gt;Transportprotocoll, but i haven't found it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Should I open another question/topic for that new issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 11:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763366#M1116762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T11:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763367#M1116763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice task, given you're just four weeks into ABAP. What is the point in analyzing transport protocols via a program? There could be so much different stuff in there, I think you're running uphill.&lt;/P&gt;&lt;P&gt;Yes, I think you should open a new question to ask for that function module and close this one.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 13:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763367#M1116763</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-11-20T13:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763368#M1116764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There some "routine-tasks" in analyzing protocols like:&lt;/P&gt;&lt;P&gt;Error -- Table XY cannot be activated&lt;/P&gt;&lt;P&gt;-&amp;gt; look up the components of that table&lt;/P&gt;&lt;P&gt;-&amp;gt; are they in the target system?&lt;/P&gt;&lt;P&gt;-&amp;gt; are they in the source system?&lt;/P&gt;&lt;P&gt;-&amp;gt; are they 'active' in target and sourcesystem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's at least what i've heared about it, since i've never done a 'real' transport myself. But apart from that, it should be possible to create a framework to do that work. A 'special task' of this framework is, that it has to be extensible for further checks (because i won't be able to cover every possible error in the next 3 weeks). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's kind a difficult for the first time of 'independent' work in a foreign language, but I'll - at least - gain some knowledge about ABAP and different methods to figure out complicated stuff by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module that i've looked for is &lt;/P&gt;&lt;P&gt;TRINT_READ_LOG which has to be called like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: filename TYPE TRFILE.

DATA: lt_log TYPE STANDARD TABLE OF TRLOG.

CALL FUNCTION 'TRINT_READ_LOG'
 EXPORTING
   IV_LOG_TYPE             = 'FILE'
   IV_LOGNAME_FILE         = filename
  TABLES
    ET_LINES                = lt_LOG
 EXCEPTIONS
   INVALID_INPUT           = 1
   FILE_ACCESS_ERROR       = 2
   DB_ACCESS_ERROR         = 3
   OTHERS                  = 4
.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;filename&lt;/EM&gt; should contain the full path to the protocoll, which can be found in se01 -&amp;gt; request -&amp;gt; transprotocoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had some fun with the debugger to find it &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should i mark the question as answered, even if there's no solution for the "topic-task"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 13:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763368#M1116764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763369#M1116765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found STRF_SETNAME_PROT which will build the filename for TRINT_READ_LOG, maybe that's of any help. There is also TR_READ_LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please keep us updated on the progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Should i mark the question as answered, even if there's no solution for the "topic-task"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, once you reach ten "unanswered" questions, you cannot open a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763369#M1116765</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-11-20T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763370#M1116766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'll keep STRF_SETNAME_PROT in mind, maybe it's useful to know (e.g. in the documentatin) for the well-formatted values for &lt;EM&gt;filename&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I've tested TR_READ_LOG and it seems to work similar to TRINT_READ_LOG. Not astonishing the TR_ calls TRINT_ ro read the log from the filesystem ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, once you reach ten "unanswered" questions, you cannot open a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ah ok, thx. I think as next step, I'll draw my attention to the DDIC functions to check the consistence of DDIC objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, thx for your replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763370#M1116766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function module / program to simulate an import request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763371#M1116767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;gt; So far, thx for your replies &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've one small request, &lt;/P&gt;&lt;P&gt;Closing the threads is a good Practice, but closing your thread with giving "Reward" would make it Sweeter. &lt;/P&gt;&lt;P&gt;As People Are continuously following your problem since 1 week along with you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 23:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-program-to-simulate-an-import-request/m-p/4763371#M1116767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T23:17:08Z</dc:date>
    </item>
  </channel>
</rss>

