Authority Check for a selection condition/Range

I am relatively new to ABAP and still learning.
I am trying to create an authorisation check as part of a custom badi implementation.
i have amended the code, but i am just trying to figure out how to take the selection condition table to get the specific value to check.
i know the parameter - p_tplnr
this code is pulled back into the Badi..
* Import selection result
  IMPORT sel_tab = lt_nodes selcond = t_selcond          
    FROM MEMORY ID 'DIACL_SELECTION_NEW'.
the table is t_selcond . so i do a loop round table into structure based upon this parameter.
it could have single or multiple objects, and i am just unsure which object needs to be auth checked....
my code...
*--- Defect # 96 - Add Authorisation Check to filter out all Functional Locations.
  DATA: s_selcond TYPE rsparams.
  DATA: tplnr     TYPE diacl_lbk_sel_ds-tplnr.
*--- Read table where selection name is Functional Location
  LOOP AT t_selcond INTO s_selcond
  WHERE   selname = 'P_TPLNR'.
    IF sy-subrc = 0.
*--- Check the authorisation object for functional location
      AUTHORITY-CHECK OBJECT 'P_TPLNR'
      ID 'TPLNR' FIELD tplnr
      ID 'ACTVT' FIELD '03'.
    ENDIF.
  ENDLOOP.
My question is how do i Authority Check the values within s_selcond when it could have single or multiple entries and could have conditions to include/exclude and have selection options?

Hi ,
LOOP AT t_selcond INTO s_selcond
  WHERE   selname = 'P_TPLNR'.
endloop.
-----------------This code can be replaced by
READ TABLE T_SELCOND INTO S_SELCOND WITH KEY SELNAME = 'P_TPLNR'. "binary search after sort ..
CHECK SY-SUBRC EQ 0
auth-check  object...
some basic code to get an idea ...
tables /BIC/SPLANTGRP.
select-options: so_basin for /bic/splantgrp-/bic/plantgrp no-display.
so_basin-low = '1'. append so_basin.
so_basin-low = '2'. append so_basin.
so_basin-low = '3'. append so_basin.
so_basin-low = '4'. append so_basin.
loop at so_basin.
  write:/ so_basin-low.
endloop.
read table so_basin with key low = '4'.
if sy-subrc eq 0 .
  write:/ 'found hit', so_basin-low.
else.
  write:/ 'found NO hit'.
endif.
read table so_basin with key low = '5'.
if sy-subrc eq 0 .
  write:/ 'found hit', so_basin-low.
else.
  write:/ 'found NO hit'.
endif.
vijay

Similar Messages

  • AUTHORITY-CHECK for KUNNR

    Hi,
    I am new in core abap. For my report i have to do AUTHORITY-CHECK for kunnr. I am not finding any suitable object to use. kIndly suggest.
    Currently i am using the following code.
      UNPACK p_kunnr TO ws_werks.
      AUTHORITY-CHECK OBJECT 'M_MSEG_WWE'
               ID 'ACTVT' FIELD '01'
               ID 'WERKS' FIELD ws_werks.
    But this is giving dump in case KUNNR contains some alphabets because of type mismatch. Kindly suggest how can i achieve the same.
    Regards,
    Pankaj Aggarwal

    Don't use a WERKS authorization for KUNNR, did you foresee the problems that may will arise when you will manage the user authorisations and roles, this authorization is checked in many standard programs on WERKS fields.
    - SU20 - Create an authorization field with data element KUNNR and check table KNA1 (or use template KNDNR, look via SE16 at table AUTHX look for authorization fields using KNA1 as a control table)
    - SU21 - Create an authorization object in a Z-customer class which use this field and the ACTVT field (template W_AUFT_RMB)
    - Use the new object in your program
    - Give the object name to those who manage roles via PFCG
    Perform some search on subject like [Creating a Customer-Specific Authorization Object|http://help.sap.com/saphelp_ish471/helpdata/EN/9e/74ba3bd14a6a6ae10000000a114084/frameset.htm]
    Look also at some authorization objects like BRGRU which were intended to manage groups of customers.
    Regards,
    Raymond

  • AUTHORITY-CHECK for an defined USER

    Hi,
    i write a abap (protokol) which shell be started every hour. In this report i will use
    an AUTHORITY-CHECK for an defined user, because i will send the protokol via email, but i have
    to check if this user is allowed to see the data.
    I will use this:
    AUTHORITY-CHECK OBJECT 'F_LFA1_BEK'
    ID 'BRGRU' FIELD '__________'
    ID 'ACTVT' FIELD '__________'.
    for an defined user.
    Is this possible, or how can i check this in another way?
    Thanks.
    Regards, Dieter

    Hi Eric,
    i tried it like this:
    UTHORITY-CHECK OBJECT 'F_LFA1_BEK'
             ID 'BRGRU' FIELD 'KRED'
             ID 'ACTVT' FIELD '03'.
    BREAK-POINT.
    CALL FUNCTION 'AUTHORITY_CHECK'
      EXPORTING
      NEW_BUFFERING             = 3
      USER                      = SY-UNAME
        OBJECT                    = 'F_LFA1_BEK'
        FIELD1                    = 'BRGRU'
        VALUE1                    = 'KRED'
        FIELD2                    = 'ACTVT'
        VALUE2                    = '03'
    EXCEPTIONS
       USER_DONT_EXIST           = 1
       USER_IS_AUTHORIZED        = 2
       USER_NOT_AUTHORIZED       = 3
       USER_IS_LOCKED            = 4
       OTHERS                    = 5.
    BREAK-POINT.
    at first breakt-point sy-subrc = 0 at second sy-subrc = 2. Can you tell why i get another sy-subrc?
    is my FM-Call correct?
    thanks.
    Regards, Dieter

  • How to make Authority Check for ALVGrid?!

    Hey mates,
    i got the problem which is mentioned in the headline. How can i make an authority check for my ALVGrid? I mean i want to restrict special functions to the matching users ( Display, Edit, Delete mode ).
    Would be cool if someone can help
    Regards Basti

    Hello Bastian
    A simple approach would be to define three different transactions (e.g. Z_MYALV01, Z_MYALV02, Z_MYALV03) for editing/deleting, editing only and displaying only. Add the following coding to the report displaying your ALV grid:
      CASE syst-tcode.
        WHEN gc_tcode_create.    " 01
          " Allow all grid functions
        WHEN gc_tcode_change.  " 02
          " Suppress grid functions for deleting rows
        WHEN gc_tcode_display.  " 03
          " Suppress grid functions for editing/deleting
        WHEN others.
          RETURN.
       ENDCASE.
    Regards
      Uwe

  • Authority-Check for Sales Document Type

    Hi All...
    I would like to incorporate Authority-Chack for the field Sales Document Type "TVAK-AURT"...
    Can any one give me the sample code or exact code..?
    I have written Authority-check for Sales Organization as follows...
    authority-check object 'V_VBAK_VKO'
                     id 'VKORG' field i_sales-vkorg
                     id 'VTWEG' field '00'
                     id 'SPART' field '00'
                     id 'ACTVT' field '03'.
            if sy-subrc ne 0.
            delete i_sales.
    BUT HOW TO WRITE FOR V_VBAK_AAT..??

    Please check object: <b>V_VBAK_AAT</b> for the same.
    EG:
    authority-check object 'V_VBAK_AAT'
    id 'AUART' field L_AUART
    id 'ACTVT' field '03'.
    Kind Regards
    Eswar
    Message was edited by: Eswar Rao  Boddeti

  • Regarding Authority check for V_VTTK_SHT  in one exit

    Hi Experts
    1.For VT01N transaction , there is one customer exit : ZXV56U18.
    2.In this  we will get the shipment type value.
    3.I have to check the authority check for this shipment type (SHTYP) field.
    4.I have written the following statement :
       authority-check object 'V_VTTK_SHT'
                      ID 'SHTYP' field    I_XVTTK_TAB-SHTYP
                      ID 'ACTVT' field '07'.
    5. For my user id , i have check the user profile in SU01.
    6.For me this authorization object , field ACTVT does not contain 07 value.
    7.In debugging , the SY-SUBRC  giving the value 0.even the user profile does not contain the value '07' for ACTVT field
    Can u tell y it is happening like that ?
    Regards
    Ramakrishna L.

    Hi Experts
    1.For VT01N transaction , there is one customer exit : ZXV56U18.
    2.In this  we will get the shipment type value.
    3.I have to check the authority check for this shipment type (SHTYP) field.
    4.I have written the following statement :
       authority-check object 'V_VTTK_SHT'
                      ID 'SHTYP' field    I_XVTTK_TAB-SHTYP
                      ID 'ACTVT' field '07'.
    5. For my user id , i have check the user profile in SU01.
    6.For me this authorization object , field ACTVT does not contain 07 value.
    7.In debugging , the SY-SUBRC  giving the value 0.even the user profile does not contain the value '07' for ACTVT field
    Can u tell y it is happening like that ?
    Regards
    Ramakrishna L.

  • Authority Check for the User

    Hi,
         In how many ways can we set authorizations? I mean, in how many levels? My requirement is, to check the Authorization for a specific user to see if he is authorized to execute a Specific Z-Transaction (Report) for a specific Plant. How do I do that? I assume I need to code the AUTHORITY-CHECK OBJECT.... in my report. If yes, in which event? Please let me know.
    Thanks and Regards,
    Venkat.

    Hi Venkat,
    You can put in the AUTHORITY-CHECK at a number of points, after initialisation, during selection, prior to output - it depends on what the program is doing and how the rest of it is coded.
    For example, doing a big select and then only outputting based on the authority check may not efficient with large volumes of data.

  • Authority-check for particular comp code

    Hi All,
    when i'm using standard Authority Object F_BKPF_BUK  for a particular standard code say 'CO01'. but it is working for all company code, but i want work for only one company code say 'CO01' ONLY.i'm using in report program (zreport prog)
    I written code as
    AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
        ID 'BUKRS' FIELD 'BE10'
        ID 'ACTVT' FIELD '03'.
    Please can u advice on this .
    Many Thanks in Advance for u r Answer
    Naren

    Hi
    In general different users will be given different authorizations based on their role in the orgn.
    We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
    USe SUIM and SU21 T codes for this.
    Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
    If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
    This means you have to allocate an authorization object in the definition of the transaction.
    For example:
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object>
    ID <authority field 1> FIELD <field value 1>.
    ID <authority field 2> FIELD <field value 2>.
    ID <authority-field n> FIELD <field value n>.
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
    To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
    Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
    You program the authorization check using the ABAP statement AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD 'B'.
    IF SY-SUBRC <> 0.
    MESSAGE E...
    ENDIF.
    'S_TRVL_BKS' is a auth. object
    ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
    The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
    This Authorization concept is somewhat linked with BASIS people.
    As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a  profile and that profile in turn attached to a particular user.
    Take the help of the basis Guy and create and use.
    Reward points if useful
    Regards
    Anji

  • Do I need to do authority check for Logical Database?

    Hi,
    Just to check, do I need to code authority check into a Logical Database or Logical Database will do the check by itself without me coding?
    This is because I have a user which does not have rights to infotypes 2000 and above and the logical database still show the user data which belongs to the infotypes 2000 and above.
    If I have to code it, how do I go about to do the coding of authority check?
    Thanks in advance.  Will reward points for good solutions.
    Lawrence

    Let me give an example
    Tables : pernr.
    infotypes: 0000, 0001, 2001.
    Get pernr.
    Do you mean that the 'get pernr' command will not return any data for users who do not have authorisation for infotype 2001?

  • Authority-check for a particular company code

    Hi,
       I need to check authorization for a particular company code.In my bdc call transaction program i'm fetching mass data from excel file and for every record i've to check the company code field.If the company code is not the required one then that record should not be processed.
      So before filling the bdc data i wrote like
    LOOP AT gt_inrec INTO gs_inrec.
         AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
                   ID 'ACTVT' field '02'
                   ID 'BUKRS' field '2800'.
        IF NOT sy-subrc = 0.
          MESSAGE e058(zz) WITH gs_inrec-bukrs.
          EXIT.
        ENDIF.
         PERFORM fill_bdc.
      ENDLOOP.
    but it is not exiting for different company codes and is allowing records with all company codes.
    can anybody pls tell me how to rectify this?
    thanks in advance,
    poornima

    I need to perform authority check on the field NAME1 present in the standard screen - customer master ( T.Code-XD02). Only certain users should be allowed to edit the field and others should be restricted.
    I have created a field exit FIELD_EXIT_AD_NAME1 for the ADRC-NAME1 field.
    Now inside this field exit i need to write the authority-check code.
    I have created the authorisation object Z_KNA1_NAM for the field NAME1 using the SU20 and SU21.
    For this scenario how do i write the authority-check code in my field exit?
    Below is my field exit code,is that correct?
    FUNCTION FIELD_EXIT_AD_NAME1.
    ""Local Interface:
    *" IMPORTING
    *" REFERENCE(INPUT)
    *" EXPORTING
    *" REFERENCE(OUTPUT)
    AUTHORITY-CHECK OBJECT 'Z_KNA1_NAM'
    ID 'NAME1' FIELD SY-UNAME
    ID 'ACTVT' FIELD '03'.
    IF SY-SUBRC = 0.
    MESSAGE 'Not Allowed to Edit the Name 1 Field' TYPE 'E'.
    ENDIF.
    ENDFUNCTION.
    In the above code i have given SY-UNAME in the code line 2 - ID 'NAME1' FIELD SY-UNAME ,is that correct? what should i give there?
    Please help me on this issue.
    Cheers,
    P.S.Chitra

  • Function module for se16 with out authority check for se16

    Hi ,
    I am creating a tode YSE16 which has same functionality as SE16 but having its own authority check. I am calling a function module RS_TABLE_LIST_CREATE function module to get the functionality of SE16. But is there any way that i can get the function module which do not check for the authorization for se16 and execute my tcode.
    Regards,
    Sri.

    Hi Sri,
    If I am not wrong this is the question?
    Guys , Sri is modifying the YSE16 as per this requirement. Do u have some other solution? Thanks.
    Requirement is to create customized tcodes YSE16, YSM30 and YSE38 for se16, sm0 and se38. Lets start with YSE16.
    Client want YSE16 tcode to restrict users based on some tables within a authorization group or even * value for auth group field.
    SE16 restricted on:
    S_TABU_DIS
    Auth Group and Activity
    As per Requirement YSE16 tcode sld be restricted on :
    Y_TABU_DI2 (customized object)
    Auth Group, Activity and Table name
    We dont want to give SE16 to users in Production. So basically requirement is to restrict users on table name with YSE16 irrespective on authorization group. User sld only be able to access the table mentioned in Table name field.
    so Srilu is trying to modify the Program. Can you please suggest some other way to modify it.
    Thanks.
    Regards,
    Naveen Dalal

  • Remote check for over-quota condition of the mailbox

    At least while migrating, and perhaps afterwards, our system utilizes a relay based on sendmail which trims a lot of spam based on simple rules (milter-greylist, milter-regex, banner delay, DNS RBL) and passes the rest to an internal system (some domais go to specific boxes and mostly to our old mail server, now the new Sun MS).
    After implementing Sun JES infrastructure, LDAP in particular, we added LDAP routing to sendmail so that the relay knows which usernames exist - and this tremendously decreased bounce letters due to spam for inexistent recipients (now the error is returned within SMTP dialog of spammer to relay).
    However I can imagine that when some users' boxes climb over quota and perhaps exceed grace time so their mails won't even be queued by Sun MS, we'll again have a flow of bounces from Sun MS to spam senders.
    The question is: Is there some LDAP flag-attribute that is set for overquota boxes, so our relay can take that into account?
    I think it is easily possible to craft one if it does not exist now (i.e. with a cron script), but perhaps I'd reinvent the wheel? (Again!?)

    For reference, here are the tricks I used to configure the sendmail relay to know about
    domains and users defined in Sun Messaging Server.
    1) Since we custom-built sendmail, I had to define LDAP in site.config.m4 and rebuild, i.e.:
    APPENDDEF(`confMAPDEF', `-DLDAPMAP')
    APPENDDEF(`confLIBS', `-lldap')
    APPENDDEF(`confINCDIRS', `-I/usr/local/include')
    APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')Stock binaries of many distributions have LDAP support built in already, this can be
    checked by a command like:
    # /usr/lib/sendmail -d0.1 -bv root | grep LDAP
    Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
                    SASLv2 SCANF USERDB USE_LDAP_INIT XDEBUGWe don't need to extend the DSEE schema with the one supplied with sendmail,
    Sun's Messaging Server schemas are adequate. We only need to point sendmail
    query filters to the correct attributes.
    2) In sendmail.mc I defined 3 lines, the connect spec to our LDAP server named
    "dps" (can be quickly redefined via /etc/hosts), the LDAP routing search filter
    (note: it's one very log line), and a ldaproute-domains file which lists names of
    recipient domains which should be looked up in LDAP (one domain per line; it
    does not need to be compiled by makemap):
    dnl # See http://www.sendmail.org/m4/ldap_routing.html
    dnl # mailuserstatus=overquota can be set by Sun Messaging store server
    dnl # mailuserstatus=inactive, etc. may be set by DA admin
    dnl # dps is the directory (proxy) server name
    define(`confLDAP_DEFAULT_SPEC',`-h dps -b dc=domain,dc=com)dnl
    FEATURE(`ldap_routing', `ldap -1 -T<TMPF> -v mailHost -k (&(objectClass=inetLocalMailRecipient)(|(mailuserstatus=active)(inetmailgroupstatus=active))(|(mail=%0)(mailLocalAddress=%0)(mailalternateaddress=%0)(mailequivalentaddress=%0)))', `ldap -1 -T<TMPF> -v mailRoutingAddress -k (&(objectClass=inetLocalMailRecipient)(|(mailuserstatus=active)(inetmailgroupstatus=active))(|(mail=%0)(mailLocalAddress=%0)(mailalternateaddress=%0)(mailequivalentaddress=%0)))', `bounce')dnl
    LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldaproute-domains')dnlRecipients' addresses (or aliases) should be defined in the attributes checked above,
    have an objectClass=inetLocalMailRecipient and a mailuserstatus=active.
    At least one of the attributes, mailHost (set by DA while provisioning users) and/or
    mailRoutingAddress, should have a value in order to match the query.
    See details on how sendmail interprets the query results in the docs: [http://www.sendmail.org/m4/ldap_routing.html]
    Note/TODO: These rules don't check for inactive domains as a whole.
    3) Of course, the config file template sendmail.mc must be compiled to actual
    configuration file sendmail.cf, with our paths that would be this command:
    # cd /usr/lib/sendmail-cf/m4 && m4 /etc/mail/config/sendmail.mc > /etc/mail/sendmail.cf4) Populate /etc/mail/ldaproute-domains with the domain name(s) already supported
    by the LDAP server, one domain per line. Any other domains are subject to "old"
    routing method(s) which was configured on the relay (i.e. mailertables, etc.):
    # /etc/mail/ldaproute-domains
    # This file lists domains which have actual usernames to receive messages.
    # Catch-all domains are listed directly in mailertable.
    domain.com
    test.domain.com
    hosteddomain.org
    #willmigrateandupdate.anotherdomain.org5) Restart sendmail, watch the logs for a while, try to submit mails to existing and
    inexistant users, to active and inactive ones, etc...
    Enjoy the no-bounce world :)
    Edited by: JimKlimov on Dec 5, 2008 8:23 PM
    Updated ldap search with clauses for mail groups:
    (|(mailuserstatus=active)(inetmailgroupstatus=active))

  • Need sample authority-check for division...

    Hello Experts,
    I want my report to check what division/s are valid to be processed by a certain user.
    For example, If I run the said report and I am only valid to process divisions 02, 15 and 16
    then when I press F4 in the selection-screen(for the division parameter) I will only see
    divisions 02, 15 and 16. How do I do this guys? need help on this one. Below is my selection screen.
    Thank you and take care!
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE text-010.
    PARAMETERS: p_spart LIKE mara-spart OBLIGATORY,   "<---
                p_valid LIKE a004-datab.
    SELECTION-SCREEN END OF BLOCK 1.

    viray ,
    u are not getting my point what i have given in my prev.post.
    are u maintaining Authorizations on Divisions ? are u sure ? --->ask basis.
    If yes , ---> then ask ur basis person in what objects they are maintained and also activities.
    that it, that object u have to all in ur program for validations.
    revert back with issues or smiles.
    Regards
    Prabhu

  • Authority-check for transaction SU3 (User Parameters)

    Dear experts,
    we can not give the authority for transaction SU3 for all users in our seperated HR-System, because the screen numbers of dynpros can be set with parameters and therefore, user could have access to 'wrong' data.
    We are looking for a way to give the permission for some parameters only.
    Has someone had the same problem and found a nice solution without or with only small modifications?
    A new authority-object, ....?
    Thank your very much
    Johanna

    Hi, thank you very much.
    I tried to solve the problem with screen variants, but I can only set the whole column of parameter inputs to 'display' and not single fields.  Therfore, it doesn't works.
    Johanna
    Edited by: Johanna Hensler on Sep 8, 2008 12:24 PM

  • Wanted: example code authority check for material master (note 303483)

    Hi there,
    we are looking for a coding example for the function module Z_MATERIAL_AUTHORITY_CHECK mentioned in note 303483. We are almost sure that a lot of customers need this enhancement for a more sophisticated authory check when using a common material master for different companies.
    Thanks in advance!
    Regards,
    Frank

    Hi Leo,
    Thanks for the information. I did check the system entries for the same record using T-Code>SM13. Surprisingly, the entries are getting deletedI see an error message "Enqueques Deleted" for the entries.
    I would appreciate if you suggest further on the issue.
    Thanks and Regards
    Srinivas Bandi

Maybe you are looking for

  • HT2494 Apple computer is not "feeling" external drive.

    I have mackbook pro 13 with retina dispaly, Mavriek OX, I am using external drive 2TB as backup for time machaine. all were fince. I installed parallels and windows 8.1 preview to run some programs. The Apple stopped "feeling" the external drive alth

  • No sound in safari

    suddenly I have no sound in any video playing in safari - any ideas? can't find any sound preferences for safari "media" play iMac 17 G5 2GH 1G 250GB   Mac OS X (10.4.1)  

  • Data Manager in 9i or 10g

    Hi dears. I am using oracle 8.0.5. I always using Data Manager for import and export. Now i have installed oralce 9i and 10g. in both of these version i could not found Data Manager. Can some body help me how i import and export by 9i or 10g thns

  • ORA-12842: Cursor invalidated during parallel execution

    Hi, Database version: 9.2.0.6.0 OS : Red Hat AS 3. I encountered this problem lately in one of our scripts. The error message shows: BEGIN SP_RPT77B_V2(SYSDATE -1); END; ERROR at line 1: ORA-12842: Cursor invalidated during parallel execution ORA-065

  • Running CF 8 & Apache for months successfully & now get errors

    Hi, Noob needs help...again. I installed the CF 8 developer edition and XAMPP 5 months ago and everything was fine until yesterday. Apache will still put HTML pages in the browser but when I try to test a CF page, I get a file not found error. The st