‎2005 Sep 20 9:47 AM
hi,
i have made module programe, its running fine,
but my problem is that when i do some changes in PAI, or PBO include and try to check it (Ctrl + F2), then it gives error that some variable v_chk not defined, but v_chk is defined in TOP include already, but when i activate it activates it successfully, i have activated the whole programe but it gives error while checking the code..
abhishek suppal
‎2005 Sep 20 9:55 AM
Hi Abhishek,
Can you try the following.
Goto SE80
Select the dropdown 'Program' and enter your program name in the field below that. Press the display button.
Under this you can find another toolbar with a 'Refresh' button. Select the program and press refresh.
Hope this will work. If you are doing a sytax check it will not consider the includes.
Thanks
Vinod
Message was edited by: Vinod C
‎2005 Sep 20 9:55 AM
Hi,
as far as I understood you try to check only the include, if the variable you need is not defined in this include than you have to run the check for the whole programm. Will say, start the check from your main programm, so that all includes are taking into consideration.
Hth.
‎2005 Sep 20 10:09 AM
if the top include is active and if you still have this problem, go to utilities->update navigation index.
Regards
Raja
‎2005 Sep 20 10:19 AM
dear raja,
no that also didn't work,
my all includes are activated still its giving error while checking but not while acitvating
its beahving something eratic
sometimes its gives error on some variable and sometimes gives it on another variable and same case with my internal tables also.
all the variables and tables are globally defined in TOP include then why its behaving like this..
abhishek suppal
Message was edited by: Abhishek Suppal
‎2005 Sep 20 11:29 AM
Hi Abhishek,
I have just written a simple module pool program but not getting the error you have mentioned. I remeber sometime back I had the same issue. So I did a refresh from SE80 as I mentioned in my earlier post. Can you pls try this?
Thanks
Vinod
‎2005 Sep 20 10:49 AM
Check syntax of your mail program using CtrlF7 rather than using CtrlF2.
Then you can get the possible errors.
regards,
suresh
‎2005 Sep 20 11:08 AM
dear suresh
it says syntax is correct,....
no error found
abhishek suppal
‎2005 Sep 20 11:41 AM
Check OSS 432357 .
If a syntax error is found in an Include, you should check the main program to ensure that this error does not come from the Include nesting of the main program.
Also did you try Update -> Navigation index in main program in SE38.
If there is an error in include try activate / generate main program. Syntax errors in includes are confusing at time so dont bother about them.
Cheers.
‎2005 Sep 20 12:00 PM
dear sanjay, & vinod
i have tried both of ur solutions but none has worked it out.
abhishek suppal
‎2005 Sep 20 11:59 AM
Hi abhishek
On other reason may be the order of the includes in your main program.
open you program in SE80 double click on root node.
You will get a popup and click on Main Program.
Then check here. TOP include should be the first include.
and check by changing the order in such a way that data definition includes
should be in top.
This may help you.
regards,
suresh
‎2005 Sep 20 12:03 PM
‎2005 Sep 20 12:07 PM
In one of your message you said no error in main program.
So why worry when main program is correct.
Is your transaction associated to module pool not running fine.
When you activate select all the entries that come in POup and try activate all at once ( top / pbo/ pai ).
I really dont understand what is you issue ?? Is it synatx check or is it program not activating.
Cheers
‎2005 Sep 20 12:10 PM
Check by changing it to
TOP
PBO
PAI
in my programs includes are in the above order.
Close this thread if your problem solved!!!
Message was edited by: Suresh babu Desu
‎2005 Sep 20 5:05 PM
This happens becaue the navigation index doesn't get updated sometimes. All you have to is to go to your program and in the menu UTILITIES-->UPDATE NAVIGATION INDEX. That should take care of this syntax error.
‎2005 Sep 21 4:01 AM
hi
my trasaction is running fine without any error, but while doing some modifications in the code and when its is checked it gives error, there is no issue of any errors,
i have updated the navigation index also.
just to know the reason why this is happening....
abhishek suppal
‎2005 Sep 21 4:14 AM
The key is the sequence in which you do these changes.
1. Add a new variable in TOP include.
2. Change your PAI or PBO.
3. Check the logic.
You may get the syntax error, because the navigation index is not yet updated. Instead, you add 'update navigation index' between 1 and 2, you should not have that problem.
Srinivas
‎2005 Sep 21 4:52 AM
Hello Abhi,
why don't you just paste your whole code
we will try to recreate your problem on our systems.
pls do mention which server it is 4.6c or 4.7 uni
regards
And please close your last two threads, 'sending pdf files'
by closing mean , it should show star color black
please do that, so that if someone is looking for same kind of solution, he or she can directly refer to solved threads.
cause i always search forum for closed threads for my problems.
hope all other SDN people agree with me
regards
Message was edited by: Surpreet Singh Bal
‎2005 Sep 21 5:18 AM
hi surpreet
this is module pgm. which invovles lot of z tables also
so its not possible to paste the whole code here.
and also i have closed bothe threads
abhishek suppal
‎2005 Sep 21 5:33 AM
Hello Abhi,
yes thanks , threads closed
well i know it is very difficult to paste whole code.
if possible please paste the flow logic
regards
‎2005 Sep 21 4:05 AM
Have you read OSS 432357 . This should explain and end your curiosity .
Cheers.
‎2005 Sep 21 5:28 AM
if none of the above are working out....just verify that the include statement is written before you are using the variable defined in it....
otherwise it seems to be a pretty strange issue....
rgds,
PJ