<?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: start routine not working. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768890#M332176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you are using PSA method. In such case, make the request as RED in RSMO. Delete it from the target. Go to RSMO and select any data packet and choose option for Simulate. It will throw a window where you can select 'Debugging in Update rule'. This will help you to dig further. By the way, you should raise it in BI not in ABAP forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viswa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2006 23:02:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-27T23:02:20Z</dc:date>
    <item>
      <title>start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768877#M332163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a start routine and filled the internal table with the attributes I want to load. Then in the transfer routine, I wrote this code. It doesn't give me any syntax errors and the load finishes but the values are not being sent. Here is the transfer routine code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE INT_EMP INTO TEMPLINE WITH KEY FAC = TRAN_STRUCTURE-FACID.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;RESULT = TEMPLINE-EMPN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are my values not being passed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768877#M332163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768878#M332164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does TEMPLINE have the same exact structure as INT_EMP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768878#M332164</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-27T19:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768879#M332165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is what I have&lt;/P&gt;&lt;P&gt;DATA: TEMPLINE LIKE LINE OF INT_EMP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768879#M332165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768880#M332166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you debugged yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768880#M332166</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-27T19:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768881#M332167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT TRAN_STRUCTURE.&lt;/P&gt;&lt;P&gt;READ TABLE INT_EMP INTO TEMPLINE WITH KEY FAC = TRAN_STRUCTURE-FACID.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;RESULT = TEMPLINE-EMPN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768881#M332167</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-27T19:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768882#M332168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't debugged. How do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sontosh, do I need a loop? I am getting it line by line in the transfer structure right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768882#M332168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768883#M332169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check it with loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for debugging, place the cursor on read table and press stop button(red one) and execute it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768883#M332169</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-27T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768884#M332170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try the loop, it gives me this error:&lt;/P&gt;&lt;P&gt;"TRAN_STRUCTURE" is neither specified under "TABLES" nor is it defined as an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768884#M332170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768885#M332171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, when I go to the debug mode, I don't see the code that I wrote there. The internal table cannot be found. Why is that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 20:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768885#M332171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T20:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768886#M332172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you populated the internal table INT_EMP  in the start routine?. If populated correctly, next check is any data is matching with TRAN_STRUCTURE-FACID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, pass some constant value inside the if condition (given below) and check whether constant gets populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE INT_EMP INTO TEMPLINE WITH KEY FAC = TRAN_STRUCTURE-FACID.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;RESULT = 'checking value'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above checks may help you to identify the root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viswa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 20:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768886#M332172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T20:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768887#M332173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am defining the INT_EMP in the start routine and populating it. I tried to pass a constant value in the transfer routine but it did not work. So I think the INT_EMP table is not being filled correctly. I am not sure what I am doing wrong. Here is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT EMPLOYEE PROFIT_CTR INTO CORRESPONDING FIELDS OF TABLE INT_EMP&lt;/P&gt;&lt;P&gt;FROM /BI0/QEMPLOYEE WHERE JOB = '9000332' AND DATETO = '99991231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT INT_EMP INTO WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE WA-FAC TO STR1.&lt;/P&gt;&lt;P&gt;STR2 = STR1+0(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH STR2 FOR ' ' STARTING AT 1 ENDING AT 1.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;REPLACE ' ' WITH '0' INTO STR2.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE STR2 TO WA-FAC.&lt;/P&gt;&lt;P&gt;MODIFY TABLE INT_EMP FROM WA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 21:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768887#M332173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T21:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768888#M332174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE16 and for the table /BI0/QEMPLOYEE, input the filter conditions (JOB = '9000332' AND DATETO = '99991231') manually and see whether it brings data. If it brings data, then look at the values in 'SE16 Standard Display' mode (user parameters) instead of ALV Grid. Probably I guess, Job may have Zeros as prefix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map it exactly in the where condition how you see it in SE16 .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viswa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 22:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768888#M332174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T22:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768889#M332175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did that and gave the values exactly as they appear in se16 but still no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 22:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768889#M332175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T22:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: start routine not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768890#M332176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you are using PSA method. In such case, make the request as RED in RSMO. Delete it from the target. Go to RSMO and select any data packet and choose option for Simulate. It will throw a window where you can select 'Debugging in Update rule'. This will help you to dig further. By the way, you should raise it in BI not in ABAP forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viswa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 23:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/start-routine-not-working/m-p/1768890#M332176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T23:02:20Z</dc:date>
    </item>
  </channel>
</rss>

