‎2007 Apr 26 11:51 PM
Hi,
I trying to modify some existing program and in the program I have some lines of code like this..
-
-
Read the program code from the textpool.
castProgramName = programName.
read report castProgramName into iIncludeLines.
append INCLUDE to iKeywords.
scan abap-source iIncludeLines tokens into iTokens
with includes statements into iStatements keywords from iKeywords.
clear iIncludeLines[].
-
-
I am getting error message for the above code lines like this..
(message is displaying in German language-I converte this message..(Der Zusatz WITH INCLUDES benötigt im Zusammenspiel mit Erweiterungen mindestens einen der Zusätze FRAME PROGRAM FROM oder INCLUDE PROGRAM.))
Error message..
The additive WITH of INCLUDES needs at least one of the additives FRAME PROGRAM FROM or INCLUDE PROGRAM in interaction with extensions.
Can any one please let me know what is the error.
Thanks in advance.
‎2007 Apr 27 12:56 AM
Check the FM <b>ZPROGRAM_ANALYSIS</b> on my weblog <a href="/people/alvaro.tejadagalindo/blog/2007/03/13/tasting-the-mix-of-php-and-sap--volume-11 the mix of PHP and SAP - Volume 11</a>
I do something like that -;)
Greetings,
Blag.
‎2007 Apr 27 5:52 AM
hi Kavitha,
This is just a warning message not a error message. this warning will not affect your program in any way.
In order to avoid the warning message change the code like below..
scan abap-source iIncludeLines tokens into iTokens
with includes
statements into iStatements
keywords from iKeywords
frame program from <program name>.
hope it solves your query.
regards,
Navneeth.K
‎2007 Apr 27 5:57 AM
Hi Kavitha,
did the above piece of code solve your purpose. Are you able to rectify the warning message.
regards,
Navneeth.K