Include files filename pattern change request

     Could you guys be my heros and rename the include files in the TLF source to NOT be *.as?
FDT hates that and won't let me compile because it detects that the file doesn't contain a valid class.
eg, in my local copy, I changed them to *.as.inc and everything's lovely.

Update: there's not much we can do in the short term, but in the longer term we're investigating a solution. I've written a bug for this. I'm afraid in the meantime you'll have to keep renaming the files.
Thanks!
- robin

Similar Messages

  • !@ include file="filename" % error

    Hello,
    I'm working with WebSphere on OS/390 and get the following error when trying to use the include directive:
    Error 500
    An error has occured while processing request:http://eweb.stl.disa.mil:8190/stl/index.jsp
    Message: Server caught unhandled exception from servlet [jsp]: JSP:/index.jsp: 31,13: Attribute
    include has no value.: 31,13: Attribute include has no value.
    Target Servlet: jsp
    The actual statement on line 31 is:
    <%@ include file="banner.jsp" %>
    Do you know how to solve this? I've also tried the XML variants <jsp:include ... /> and <jsp:directive.include ... /> which do not error out but also does not include the page.
    Thanks,
    John

    I thought the syntax is like this:
    <%@include file="banner.jsp" %>
    NOT
    <!@
    You are right.. that was a cut and paste (ooh man.. not again...) error from the title of the original post..!!!!!

  • ECC 6. 0 - How to include translations into a change requests

    Hello everybody,
    we are developing in ECC 6.0 and we are experiencing the following problem: when mantaining the text elements of custom programs into the required languages, the system doesn't ask to type in or create any change request. It just saves the traslations.
    We would like to be asked to create a new change request so that we will be able to transport the translations into the other environments...
    does anybody knows how to activate this funcionality?
    thanks
    Regards
    Marco

    Try going thru this link and see if it helps:
    http://help.sap.com/saphelp_nw04/helpdata/en/d4/73c33e3a443907e10000000a114084/content.htm

  • Local Change Request created in PRODUCTION needs to be moved to SANDBOX

    I need to transport a request from Production (BWP) to a sandbox system (BS1), but when I create the transport it is created as a Local Change Request. How can I change it to a transportable request? I've checked the development class and it is correct. The package is ZBW and the transport layer is ZBD1. Please help.

    Adding further to Santosh's suggestion....
    Creating the transport of copies is the easiest option..if this is a one time activity...
    Once the the objects are included from the Local change request to the transport of copies...release this...
    Then move the tranport files at the OS level to the import queue of the Sandbox system....then in STMS of the SANDBOX..attach these file to the queue and then import it....
    Thanks.

  • Pro*C/C++ generates error "PCC-S-02015, unable to open include file"

    I'm running a .pc file through the pre-compiler (on Windows 7x64 with instant client 12.1) and get the following error:
    Error at line 78, column 1 in file XXX.pc
    EXEC SQL INCLUDE SQLCA;
    1
    PCC-S-02015, unable to open include file
    If I change the content of my file to the following
    #include "sqlca.h"
    //EXEC SQL INCLUDE SQLCA;
    the pre-compiler does it's job nicely.
    My pcscfg.cfg looks like this:
    include="C:\PROGRA~2\Oracle\INSTAN~1\sdk\include"
    include="C:\PROGRA~2\MICROS~2.0\VC\include"
    define=(WIN32_LEAN_AND_MEAN)
    DEFINE=_WSTDIO_DEFINED
    Has there been a change in the syntax of Pro*C or why can't it resolve the EXEC SQL INCLUDE?
    PS: I'm an absolute newbie to this and am trying to get to compile some veeery old code, build under instant client 9/10/11)

    Karl Esau (guest) wrote:
    : Hi,
    : I have problems to get the precompiler running - executing the
    : precompiler leads to a segfault.
    I meanwhile solved the problem, so that I can compile and
    run the samples.
    a strace on 'proc' showed:
    open("/oracle/precomp/public/SQLCA.H", O_RDONLY) = -1 ENOENT
    (Nosuch file or directory)
    I made a symbolic link for an upper case SQLCA.H, needed to add
    SQLCHECK=SEMANTICS in ~/precomp/admin/pcscfg.cfg and one more
    lib for the make: /lib/libdl.so.2 because 'dlclose' and other
    symbols were undefined.
    bye
    Karl Esau
    null

  • How to change the filename in @include file?

    I want to do a checking before deciding to include which file,
    for example,
    <%
    if(isValid){
    %>
    <%@ include file="abc.jsp" %>
    <%
    else{ %>
    <%@ include file="def.jsp" %>
    <% } %>but the code above doesnt work in my JSPs
    any idea how to solve this?
    thanks
    Desmond

    Am i clear?? pls correct me if i am wrong..You are wrong.
    The include directive is being used here, which is a compile time include, not a runtime include. Both includes will be performed before the resulting servlet is compiled.
    If they have a conflict between them (either by not nesting them in their own { scope } or using <%! declarations %>) then the generated servlet will fail to compile.
    So if you had the following:
    abc.jsp:
    Hello from ABC!
    <% String myVar = "ABC"; %>def.jsp:
    Hello from DEF!
    <%  String myVar = "DEF";  %>And the page as mentioned in the original post, you would end up with a Servlet something like this:
    if (isValid){
       out.println("Hello from ABC!");
        String myVar = "ABC";
    else{
       out.println("Hello from DEF!");
      String myVar = "DEF";
    }This example would compile because of the presence of the braces.
    However removing the braces or using a <%! declaration %> would probably screw things up with a compile error.
    The %Include directive is like a copy/paste into a JSP before you compile it.
    The <jsp:include> is evaluated at runtime and copies in the result of executing the page.
    The difference is quite subtle, but very important.
    Cheers,
    evnafets

  • How to include file-separator in fileName?

    I'm retrieving the file name from a function and that function returns me the string and now I can't change this.
    String fileName="C:\jdk1.2\hello.java"
    Now next with this file Name I'm making a file object
    File f=new File(fileName);
    FileInputStream in=new FileInputStream(f);
    but this gives me error..that it doesn't found the specified the file given...
    so this means I must give the separator as C:\\jdk1.2\hello.java
    but I can't change the value returned to me by the function...
    So this means that I have to make a function replace which converts '\' to '\\'
    String newfileName=replace(fileName);
    so please can anybody tell me how to write this funcion? Actually I can't use replace fn. of String class, as it says that '\' is invalid escape character...u try it and compile the result and tell me
    thanx in advance for the favourable response

    mmmmmhhh... hi!
    I don't whant to be mean but I did't understand what's the problem at all? Are you trying to implement a new method to replace the '\' with '\\' in Strings????. Let me guess:
    private static String replace(String input) {
    String output = null;
    //.. do something;
    return output;
    But beware: you cannot call this method as, say,
    String path = replace("C:\My Documents\User\texts\file.dat");
    to get "C:\\My Documents\\User\\texts\\file.dat"... First the argument is invalid, and second you're missing the fact that what you want is to preprocess the text of the java SOURCE FILE, not a String object to handle like ***text in you source file***...
    Just write your strings like "C:\\My Documents\\User\\Home\\docs.txt" or "C:/My Documents/User/Home/docs.txt" (I personally use the later)
    But please see what's the problem:
    "C:\My Documents\User\Home\docs.txt"
    is not even a String!!!
    If you do
    System.out.println("C:\\My Documents\\User\\Home\\docs.txt");
    System.out.println("C:/My Documents/User/Home/docs.txt");
    System.out.println("C:\\\\My Documents\\\\User\\\\Home\\\\docs.txt");
    the output will be
    C:\My Documents\User\Home\docs.txt
    C:/My Documents/User/Home/docs.txt
    C:\\My Documents\\User\\Home\\docs.txt
    ... hope I didn't misunderstand the question nor did I oversimplify the issue, I just guess you got lost with the concept...

  • How to include Change Request Title and Description in Approval email

    Trying to figure out how to include the title and description of a Change Request in the email that goes to the managers when they approve it. Below is what we have now in the email template.
    Change request $Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' SeedRole='Target' TypeConstraint='WorkItem!System.WorkItem']/Property[Type='WorkItem!System.WorkItem']/Id$: $Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity'
    SeedRole='Target' TypeConstraint='WorkItem!System.WorkItem']/Property[Type='WorkItem!System.WorkItem']/Title$, created by $Context/Path[Relationship='WorkItem!System.WorkItemCreatedByUser' TypeConstraint='System!System.User']$?$DisplayName$?, requires your
    approval.
    You can complete this request by replying to this message with [Approved] or [Rejected] in your message body (note the brackets).
    Alternatively, you can complete the request by looking up Review Activity $Context/Property[Type='WorkItem!System.WorkItem']/Id$ under the Activity Management views in the Service Manager Console and manually approving or rejecting it there.
    This basically translates to:
    Change request CR#: Test Change Request, created by TestUser1, requires your approval.
     You can complete this request by replying to this message with [Approved] or [Rejected] in your message body (note the brackets).
    Alternatively, you can complete the request by looking up Review Activity RA# under the Activity Management views in the Service Manager Console and manually approving or rejecting it there.
    When I click on Insert, there is a huge list of items and sub-items with all kinds of properties and I don't know what to select.
    The Targeted Class of the template is Activity

    $Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' SeedRole='Target'
    TypeConstraint='WorkItem!System.WorkItem']/Property[Type='WorkItem!System.WorkItem']/Title$
    This translates to the Title of the CR (given that the targeted activity is contained in a CR). Simply replace
    Title with Description.
    Also if the Change Manager can approve a CR just by the description you have bigger issues (or just putting everything in the description). What about a reason? Implementation
    plan, rollback plan, testing, etc.?
    http://codebeaver.blogspot.dk/

  • Change include file with click

    how could i,
    with a click on a button,
    switch an include file with another include file.?
    like, a list of categories to the right
    and the code for a gallery to the left,
    the IMG SOURCE code is the include,
    and so when i click on an item in the categories list, the img sources include changes to the new one
    please

    Changing an included file will require javascript because you need client side interaction.  Have you considered Spry Datasets?
    The following is a video that shows a basic example with the Spry Data sets:
    http://www.adobe.com/designcenter/dreamweaver/articles/lrvid4047_dw.html
    See if that is something that you are looking for.

  • Change include file paths

    change include file paths

    Hi Palm566,
    Thank you for posting in MSDN forum.
    About you issue, could you please tell me more detail message about your issue?
    For example, where did you want to change the file path?
    What file you want to change the path?
    To further help you solve this issue, I suggest you can share more message about your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Recompile after included files changed

    Hi !I use Weblogic 5.1 SP8. If i change a included file in a jsp file the weblogic server don't recognize the change and therefore there is no recompile.Does anybody know a patch for this bug in Weblogic 5.1 SP8 ?Thanks, Joerg
              

              Well, it used to work and now it doesn't - I call that busted.
              And there is code in _isStale() to detect changes to include
              files.
              Mike
              Mettu Kumar <[email protected]> wrote:
              >Kumar,
              >
              > I Believe as per JSP1.1 Spec,
              > if <%@include %> tag is used and included file is
              >modified its not a
              >must that App server need to recompile the page(Though
              >container can choose
              >to recompile).
              > If required to compile you need to use <jsp:include
              >/>.
              >
              >Thanks,
              >Kumar Mettu.
              >
              >Kumar Allamraju wrote:
              >
              >> There's a known issue where JSP compiler doesn't re-compile
              >the included
              >> jsp , if it's <%@include %> tag.
              >> Everything works fine if you use <jsp:include /> tag.
              >>
              >> Joerg Koldehoff wrote:
              >>
              >> > Hi Mettu !
              >> >
              >> > Can you give me your weblogic.properties file ? Perhaps
              >> > my weblogic configuration is the problem.
              >> >
              >> > Thanks, Joerg
              >> >
              >> > Mettu Kumar <[email protected]> wrote:
              >> > >Here is the output of my version weblogic.T3Admin
              >> > >(oon solaris m/c)
              >> > >
              >> > > WebLogic Build: 5.1.0 Service Pack 8 12/20/2000
              >> > >16:34:54 #95137
              >> > >
              >> > >I verified modifying a jsp file and it again
              >> > >compiles for me.
              >> > >
              >> > >Thanks,
              >> > >Kumar.
              >> > >
              >> > >Mike Reiche wrote:
              >> > >
              >> > >> But it is a bug in SP8 on Solaris!
              >> > >> If you don't have it, then you don't have
              >> > >SP8.
              >> > >> Or you have a patch.
              >> > >>
              >> > >> Mike.
              >> > >>
              >> > >> Mettu Kumar <[email protected]> wrote:
              >> > >> >I don't think its a bug in sp8. We are using
              >> > >> >sp8 since day one of its release and we never
              >> > >> >faced this problem.
              >> > >> >
              >> > >> >Joerg Koldehoff wrote:
              >> > >> >
              >> > >> >> Hi !I use Weblogic 5.1 SP8. If i change
              >> > >a
              >> > >> >included file in a jsp file the weblogic
              >> > >server
              >> > >> >don't recognize the change and therefore
              >> > >there
              >> > >> >is no recompile.Does anybody know a patch
              >> > >for
              >> > >> >this bug in Weblogic 5.1 SP8 ?Thanks, Joerg
              >> > >> >
              >> > >
              >
              

  • Include files?  As in this:  !-- #include file="file.htm" --

    Can anyone get include files to work in iWeb?
    So I made my own header navigation and put it in an HTML snippet widget. It does work great, however I have to put the widget code on every single page, and when I change the header, I need to go back and change all that code.
    I thought I would be clever and instead use one file for the header, and just use the HTML snippet to hold a call to include that file.
    That doesn't work. I managed to find where the widget code is stored, and changed a filename to .shtml, and a few other things, but no dice.
    Does anyone know how to use an include file from within iWeb without it being more work than just replacing whatever code you want to include in the first place?
    Thanks!

    Are you using .Mac as your host? If so, I think it does not support doing what you want. If not, I think the server has to be configured to recognize .shtml correctly.

  • How many number of pages can be included in a single spool request

    Hi ,
    How many maximum number of pages can be included in a single spool request. can we increase or decrease these max no of pages per spool in SAP.Please advise.
    Thanks & Regards,
    Sam.

    Hi Sam,
    The spool is ultimately a file created in the database. So it can handle a large number of pages.
    By defaut it shows only first ten pages.. This can be changed from the settings in SP01.
    GOTO> DISPLAY REQUESTS> SETTINGS
    Regs,
    Sameer

  • Change Request & Task Issue

    Hi Experts,
       Please help me out for following concern.
       Changes done(In Z program) for some testing purpose, are saved in test CR.
       Now i want to save changes doin again in New CR,  for further transport.But whenever i am goin to change it ,its taking either the same test CR or creating new Task in same CR. But not askin for new CR.
      Some1 concerned that i have to release that CR ,then only i can do that,but i cant do it ,as it is test CR.
      Please suggest solution.
    Thanks in advance.
    Thanks and Regards
    Deepak

    A Change request that is not released consists of an abject list that has details of the objects (programs, etc) that are to be transported in the request.  While it is not released, it does not contain any of the details of the objects, just their object keys.  These details are in individual tasks by user id.
    When you release the change request, the system takes a copy of the current version of all the objects and writes it to two files in the transport directory of the SAP server - one control file and one data file.  These files are named based on the request number.
    <b>If you make further changes to a program before releasing the request, those changes will be included in that request when it is released.</b>
    If you have made changes to a program that have been put into a change request that is not to be transported you need to manually move the relevant object list entries to the new transport request.  You cannot simply delete them from the first request and then save changes to the program again as the object list entries may not be the same.  Releasing the change request is not a solution as this may have the same result - the entries added to the new request may be incomplete.
    For example, if you create a program it is added to a request as R3TR PROG containing program, texts, gui etc, but if you later change it and save it is added to request as LIMU REPS for program or LIMU REPT for texts or LIMU CUAD for gui.
    To move manually, copy/paste values from SU10 object list of the task to a new request/task.  Once 100% sure it is OK in new request, delete line from old task then lock object in new request (select line and use padlock icon).  For customising there may be object keys associated with the line that you also need to copy.  Take care to ensure all relevant objects are in the new transport.
    Andrew

  • Student file & master data change according to authority

    Deal all,
    I have following requirements about student file and master data that certain IT are not displayed when i do not have authority.
    for example, if A student is belong to my department, IT1702 must be dislayed but student B is not belong to my department IT1702 must be disabled or must dissappear.
    if i can adjust student file & master data according authority (student belong to my department or not) it would be very nice.
    regards,
    jin dal

    Hi,
    The authorizations checks in Campus Management consist of the basic authorization and the structural HR authorization.
    The basic authorization determines whether the user is allowed to execute a certain function, while the structural authorization determines the objects for which the user is allowed to execute this function. In other words, the basic authorization defines what function the user is allowed to use, and the structural authorization defines for which objects the user is allowed to use this function.
    For example, the basic authorization can define that the user is allowed to perform the create module booking activity. With the structural authorization you can restrict this activity only to modules offered by the faculty of Mathematics, for example. (The user can then access these modules whenever required; see also Structural Authorization).
    Basic Authorization
    In release CM 4.64, three authorization objects are used in Campus Management:
    At the first level is the transaction code check. The system performs this check each time the user starts a transaction using the menu or command line. For this check to be successful, the user requires an authorization for the relevant transaction code in the authorization object S_TCODE.
    At the second level, the Campus Management function is divided into two parts. The first part includes activities such as create request, create registration, create re-registration, cancel module booking, and so on. The second part covers master data like student master data and a major part of the academic structure.
    When checking the authorizations for master data, the system uses the HR authorization object PLOG for master data authorization checks. A new authorization object ( P_CM_PROC) has been implemented for activities in release CM 4.64. The system now only checks whether the user is authorized to use the activity. It no longer checks if the user is authorized to read or change the data in this activity. The new authorization concept has the following advantages:
    It simplifies authorization assignment. The system no longer uses the comprehensive data model with its many objects and object interrelationships as the basis for the activity authorization (authorization assignment via authorization object PLOG);
    Changes in the data model have no effects on the authorization checks for activities;
    It is now possible to distinguish between create and change operations, for example in re-registrations;
    You can now distinguish between re-registrations and leaves of absence.
    The table T7PIQPROCESS (Activities) contains all Campus Management activities. The system performs authorization checks for all activities with the exception of the ones listed below.
    Authorization checkes are not performed for the following activities:
    AC10 (Send Reminder for Outstanding Payments)
    HSMA (Create Status Indicator Manually)
    PR11 (Create Applicability List Automatically)
    These activities do not contain any activity-related authorization checks.
    In the standard system, the authorization check for activities is independent of the objects for which the activities are performed, and of their attributes. (The structural authorization only restricts the objects which the user can then process irrespective of the activity.). If you require additional checks, you can use the business add-in HRPIQ00AUTHORITY.
    Structural Authorization
    The structural authorization enables you to define the set of objects the user is authorized to process. You determine these objects using evaluation paths. You can define whether the user should only be given a display authorization for these objects or a maintenance authorization as well.
    You cannot combine the structural authorization with the basic authorization. The user is therefore authorized to process the assigned set of objects irrespective of the function (s)he is currently using.
    Further notes
    As functions from other applications areas (Training and Event Management, Notification Processing) and from Student Accounting are integrated in Campus Management, users also need authorizations from these areas.
    Campus Management contains a number of roles which you can combine with the roles of other application areas to create composite roles. You can either assign a composite role or individual roles to users.
    Component Prefix of the roles provided
    Campus Management SAP_CM_
    Training and Event Management SAP_HR_PE
    Notification processing SAP_CA_NO_NOTIF
    Student Accounting SAP_FI_CA_
    You create the business partner authorizations in separate IMG activities which you can find in Customizing for Campus Management in Campus Management Master Data -> Students -> Students as Business Partners -> Basic Business Partner Settings -> SAP Business Partner -> Business Partner -> Basic Settings -> Authorization Management.
    In the SAP Reference IMG under Basis Components -> System Administration -> Users and Authorizations, you can find more IMG activities in which you can make general settings for authorizations.

Maybe you are looking for

  • Need help, MMC tree got deleted, very urgent.

    Hi, My sap MMC tree, got deleted in the server. I have been trying to restore since 2 days and couldnt succeed, please help me. 1) i have uncared the sapmmc.sar from   Kernal\NT\I386\MMC\sapmmc.sar file 2) i got about 7 files, in which there is one s

  • Safari chrashes every time I open it

    As of recently, my safari crashes immediately every time Itry to run it. The error report is more or less the same every time and readsas follows. Can someone tell me what the issue might be? Thanks Process:        Safari [141] Path:           /Appli

  • ITunes deleting and resyncing 200 songs issue

    Every time I sync my iPod Touch, iTunes removes approximately 220 of my songs and then "re-syncs" them onto the iPod. This happens without altering my iTunes library at all. And if I look at the sync bar in iTunes it is always the exact same 200+ son

  • Maximum Fields in Omni Portlet?

    We have recently installed PDK Release 2 v9.0.2.6.2 and are busy adding Omni Portlets to our Portals. We are really pleased with the majority of functions so far but have now hit a problem. I seem unable to create a report that displays more than 5 c

  • Can't use it

    I've installed and deleted and re-installed the latest version of Adobe Flash several times.  I've tried it on Firefox and IE it's not working for either one.  I've made sure it was enabled on both.  I've even uninstalled my Adobe pro (now I can't ge