I would like to read your comments on following code

Hi all.
Here is a bdc code sample of transaction mm02.
I have given this example to get an idea of the bdc programming.However for days I have read many articles on bdc but could not focus on this topic.
I want to start by reading your comments on this topic.
What is:
perform bdc_dynpro 
perform bdc_field
and the values tracing them.
While putting the itab value near this functions, I do not know put which one to put...
Wait for Clear comments.Thanks.
DATA : BEGIN OF MLZ OCCURS 0,
        MATNR LIKE MARA-MATNR,
        LABOR LIKE MARA-LABOR,
       END OF MLZ.
LOOP AT MLZ.
  SELECT SINGLE * FROM MARA WHERE MATNR = MLZ-MATNR.
  LABORT = MLZ-LABOR.
  MLZ-LABOR = LABORT.
  CONDENSE MLZ-LABOR.
  perform bdc_dynpro      using 'SAPLMGMM' '0060'.
  perform bdc_field       using 'BDC_OKCODE' '=AUSW'.
  PERFORM BDC_FIELD       USING 'BDC_CURSOR' 'RMMG1-MATNR'.
  PERFORM BDC_FIELD       USING 'RMMG1-MATNR' MLZ-MATNR.
  perform bdc_dynpro      using 'SAPLMGMM' '0070'.
  perform bdc_field       using 'BDC_OKCODE' '=ENTR'.
  perform bdc_field       using 'BDC_CURSOR' 'MSICHTAUSW-KZSEL(01)'.
  perform bdc_field       using 'MSICHTAUSW-KZSEL(01)' 'X'.
  perform bdc_dynpro      using 'SAPLMGMM' '4004'.
  perform bdc_field       using 'BDC_OKCODE' '/00'.
  perform bdc_field       using 'MARA-LABOR' MLZ-LABOR.
  perform bdc_dynpro      using 'SAPLSPO1' '0300'.
  perform bdc_field       using 'BDC_OKCODE' '=YES'.
  perform bdc_transaction using 'MM02'.
  REFRESH BDCDATA.
ENDLOOP.

Go through this DOC ..u will find all ur ans....(Reward if helpful.
BATCH DATA COMMUNICATION
About Data Transfer In R/3 System
When a company decides to implement the SAP R/3 to manage business-critical data, it usually does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or complement existing application.
In the process of replacing current applications and transferring application data, two situations might occur:
• The first is when application data to be replaced is transferred at once, and only once.
• The second situation is to transfer data periodically from external systems to SAP and vice versa.
• There is a period of time when information has to be transferred from existing application, to SAP R/3, and often this process will be repetitive.
The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP systems or legacy system. These two methods are collectively called “batch input” or “batch data communication”.
1. SESSION METHOD
2. CALL TRANSACTION
3. DIRECT INPUT
Advantages offered by BATCH INPUT method:
1. Can process large data volumes in batch.
2. Can be planned and submitted in the background.
3. No manual interaction is required when data is transferred.
4. Data integrity is maintained as whatever data is transferred to the table is through transaction. Hence batch input data is submitted to all the checks and validations.
To implement one of the supported data transfers, you must often write the program that exports the data from your non-SAP system. This program, known as a “data transfer” program must map the data from the external system into the data structure required by the SAP batch input program.
The batch input program must build all of the input to execute the SAP transaction.
Two main steps are required:
• To build an internal table containing every screen and every field to be filled in during the execution of an SAP transaction.
• To pass the table to SAP for processing.
Prerequisite for Data Transfer Program
Writing a Data Transfer Program involves following prerequisites:
Analyzing data from local file
Analyzing transaction
Analyzing transaction involves following steps:
• The transaction code, if you do not already know it.
• Which fields require input i.e., mandatory.
• Which fields can you allow to default to standard values.
• The names, types, and lengths of the fields that are used by a transaction.
• Screen number and Name of module pool program behind a particular transaction.
To analyze a transaction::
• Start the transaction by menu or by entering the transaction code in the command box.
(You can determine the transaction name by choosing System – Status.)
• Step through the transaction, entering the data will be required for processing your batch input data.
• On each screen, note the program name and screen (dynpro) number.
(dynpro = dyn + pro. Dyn = screen, pro = number)
• Display these by choosing System – Status. The relevant fields are Program (dynpro) and Dynpro number. If pop-up windows occur during execution, you can get the program name and screen number by pressing F1 on any field or button on the screen.
The technical info pop-up shows not only the field information but also the program and screen.
• For each field, check box, and radio button on each screen, press F1 (help) and then choose Technical Info.
Note the following information:
- The field name for batch input, which you’ll find in its own box.
- The length and data type of the field. You can display this information by double clicking on the Data Element field.
• Find out the identification code for each function (button or menu) that you must execute to process the batch-input data (or to go to new screen).
Place the cursor on the button or menu entry while holding down the left mouse button. Then press F1.
In the pop-up window that follows, choose Technical info and note the code that is shown in the Function field.
You can also run any function that is assigned to a function key by way of the function key number. To display the list of available function keys, click on the right mouse button. Note the key number that is assigned to the functions you want to run.
Once you have program name, screen number, field name (screen field name), you can start writing.
DATA TRANSFER program.
Declaring internal table
First Integral Table similar to structure like local file.
Declaring internal table like BDCDATA
The data from internal table is not transferred directly to database table, it has to go through transaction. You need to pass data to particular screen and to particular screen-field. Data is passed to transaction in particular format, hence there is a need for batch input structure.
The batch input structure stores the data that is to be entered into SAP system and the actions that are necessary to process the data. The batch input structure is used by all of the batch input methods. You can use the same structure for all types of batch input, regardless of whether you are creating a session in the batch input queue or using CALL TRANSACTION.
This structure is BDCDATA, which can contain the batch input data for only a single run of a transaction. The typical processing loop in a program is as follows:
• Create a BDCDATA structure
• Write the structure out to a session or process it with CALL TRANSACTION USING; and then
• Create a BDCDATA structure for the next transaction that is to be processed.
Within a BDCDATA structure, organize the data of screens in a transaction. Each screen that is processed in the course of a transaction must be identified with a BDCDATA record. This record uses the Program, Dynpro, and Dynbegin fields of the structure.
The screen identifier record is followed by a separate BDCDATA record for each value, to be entered into a field. These records use the FNAM and FVAL fields of the BDCDATA structure. Values to be entered in a field can be any of the following:
• Data that is entered into screen fields.
• Function codes that are entered into the command field. Such function codes execute functions in a transaction, such as Save or Enter.
The BDCDATA structure contains the following fields:
• PROGRAM: Name of module pool program associated with the screen. Set this field only for the first record for the screen.
• DYNPRO: Screen Number. Set this field only in the first record for the screen.
• DYNBEGIN: Indicates the first record for the screen. Set this field to X, only for the first record for the screen. (Reset to ‘ ‘ (blank) for all other records.)
• FNAM: Field Name. The FNAM field is not case-sensitive.
• FVAL: Value for the field named in FNAM. The FVAL field is case-sensitive. Values assigned to this field are always padded on the right, if they are less than 132 characters. Values must be in character format.
Transferring data from local file to internal table
Data is uploaded to internal table by UPLOAD of WS_UPLOAD function.
Population of BDCDATA
For each record of internal table, you need to populate Internal table, which is similar to BDCDATA structure.
All these five initial steps are necessary for any type of BDC interface.
DATA TRANSFER program can call SESSION METHOD or CALL TRANSACTION. The initial steps for both the methods are same.
First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
SESSION METHOD
About Session method
In this method you transfer data from internal table to database table through sessions.
In this method, an ABAP/4 program reads the external data that is to be entered in the SAP System and stores the data in session. A session stores the actions that are required to enter your data using normal SAP transaction i.e., Data is transferred to session which in turn transfers data to database table.
Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
When the program has finished generating the session, you can run the session to execute the SAP transactions in it. You can either explicitly start and monitor a session or have the session run in the background processing system.
Unless session is processed, the data is not transferred to database table.
BDC_OPEN_GROUP
You create the session through program by BDC_OPEN_GROUP function.
Parameters to this function are:
• User Name: User name
• Group: Name of the session
• Lock Date: The date on which you want to process the session.
• Keep: This parameter is passed as ‘X’ when you want to retain session after
processing it or ‘ ‘ to delete it after processing.
BDC_INSERT
This function creates the session & data is transferred to Session.
Parameters to this function are:
• Tcode: Transaction Name
• Dynprotab: BDC Data
BDC_CLOSE_GROUP
This function closes the BDC Group. No Parameters.
Some additional information for session processing
When the session is generated using the KEEP option within the BDC_OPEN_GROUP, the system always keeps the sessions in the queue, whether it has been processed successfully or not.
However, if the session is processed, you have to delete it manually. When session processing is completed successfully while KEEP option was not set, it will be removed automatically from the session queue. Log is not removed for that session.
If the batch-input session is terminated with errors, then it appears in the list of INCORRECT session and it can be processed again. To correct incorrect session, you can analyze the session. The Analysis function allows to determine which screen and value has produced the error. If you find small errors in data, you can correct them interactively, otherwise you need to modify batch input program, which has generated the session or many times even the data file.
CALL TRANSACTION
About CALL TRANSACTION
A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program by
Call transaction  0. (Call transaction returns the sy-subrc if updating is not successful).
Call function Format_message.
(This function is called to store the message given by system and to display it along with record)
Append itab2.
Display the record and message.
DIRECT INPUT
About Direct Input
In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not simulate the online transaction. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. Direct input checks the data thoroughly and then updates the database directly.
You can start a Direct Input program in two ways;
Start the program directly
This is the quickest way to see if the program works with your flat file. This option is possible with all direct input programs. If the program ends abnormally, you will not have any logs telling you what has or has not been posted. To minimize the chance of this happening, always use the check file option for the first run with your flat file. This allows you to detect format errors before transfer.
Starting the program via the DI administration transaction
This transaction restarts the processing, if the data transfer program aborts. Since DI document are immediately posted into the SAP D/B, the restart option prevents the duplicate document posting that occurs during a program restart (i.e., without adjusting your flat file).
Direct input is usually done for standard data like material master, FI accounting document, SD sales order and Classification for which SAP has provided standard programs.
First time you work with the Direct Input administration program, you will need to do some preparation before you can transfer data:
- Create variant
- Define job
- Start job
- Restart job
Common batch input errors
- The batch input BDCDATA structure tries to assign values to fields which do not exist in the current transaction screen.
- The screen in the BDCDATA structure does not match the right sequence, or an intermediate screen is missing.
- On exceptional occasions, the logic flow of batch input session does not exactly match that of manual online processing. Testing the sessions online can discover by this.
- The BDCDATA structure contains fields, which are longer than the actual definition.
- Authorization problems.
RECORDING A BATCH INPUT
A B recording allows you to record a R/3 transaction and generate a program that contains all screens and field information in the required BDC-DATA format.
You can either use SHDB transaction for recording or
EDIT? BATCH INPUT ? SERVICES ?SYSTEM
And from here click recording.
Enter name for the recording.
(Dates are optional)
Click recording.
Enter transaction code.
Enter.
Click Save button.
You finally come to a screen where, you have all the information for each screen including BDC_OKCODE.
• Click Get Transaction.
• Return to BI.
• Click overview.
• Position the cursor on the just recorded entry and click generate program.
• Enter program name.
• Click enter
The program is generated for the particular transaction.
BACKGROUND PROCESSING
Need for Background processing
When a large volume of data is involved, usually all batch inputs are done in background.
The R/3 system includes functions that allow users to work non-interactively or offline. The background processing systems handle these functions.
Non-interactively means that instead of executing the ABAP/4 programs and waiting for an answer, user can submit those programs for execution at a more convenient planned time.
There are several reasons to submit programs for background execution.
• The maximum time allowed for online execution should not exceed 300 seconds. User gets TIMEOUT error and an aborted transaction, if time for execution exceeds 300 seconds. To avoid these types of error, you can submit jobs for background processing.
• You can use the system while your program is executing.
This does not mean that interactive or online work is not useful. Both type of processing have their own purposes. Online work is the most common one entering business data, displaying information, printing small reports, managing the system and so on. Background jobs are mainly used for the following tasks; to process large amount of data, to execute periodic jobs without human intervention, to run program at a more convenient, planned time other than during normal working hours i.e., Nights or weekends.
The transaction for background processing is SM36.
Or
Define jobs? Jobs ? Administration ?Tools
Or
Jobs? services ?System
Components of the background jobs
A job in Background processing is a series of steps that can be scheduled and step is a program for background processing.
• Job name. Define the name of assigned to the job. It identifies the job. You can specify up to 32 characters for the name.
• Job class. Indicates the type of background processing priority assigned to the job.
The job class determines the priority of a job. The background system admits three types of job classes: A B & C, which correspond to job priority.
• Job steps. Parameters to be passed for this screen are as follows:
Program name.
Variant if it is report program
Start criteria for the job: Option available for this are as follows:
Immediate - allows you to start a job immediately.
Date/Time - allows you to start a job at a specific name.
After job - you can start a job after a particular job.
After event - allows you to start a job after a particular event.
At operation mode - allows you to start a job when the system switches to a particular operation mode.
Defining Background jobs
It is two step process: Firstly, you define the job and then release it.
When users define a job and save it, they are actually scheduling the report i.e., specifying the job components, the steps, the start time.
When users schedule program for background processing, they are instructing the system to execute an ABAP/4 report or an external program in the background. Scheduled jobs are not executed until they are released. When jobs are released, they are sent for execution to the background processing system at the specified start time. Both scheduling and releasing of jobs require authorizations.
HANDLING OF POP UP SCREEN IN BDC
Many times in transaction pop up screen appears and for this screen you don’t pass any record but some indication to system telling it to proceed further. For example: The following screen
To handle such screen, system has provided a variable called BDC_CURSOR. You pass this variable to BDCDATA and process the screen.
Usually such screen appears in many transactions, in this case you are just passing information, that YES you want to save the information, that means YES should be clicked. So you are transferring this information to BDCDATA i.e., field name of YES which is usually SPOT_OPTION. Instead of BDC_OKCODE, you are passing BDC_CURSOR.
BDC_CURSOR is also used to place cursor on particular field.
AN EXAMPLE WITH SESSION METHOD
Following program demonstrates how data is passed from flat file to SAP transaction and further to database table by using SESSION method.
The transaction is TFBA (to change customer).
A simple transaction where you are entering customer number on first screen and on next screen data is displayed for the particular customer number. Field, which we are changing here, are name and city. When you click on save, the changed record gets saved.
Prerequisite to write this BDC interface as indicated earlier is:
1. To find screen number
2. To find screen field names, type of the field and length of the field.
3. To find BDC_OKCODE for each screen
4. Create flat file.
Flat file can be created in your hard disk as follows:
1 Vinod Krishna Hyderabad
2 Kavitha Secunderabad
3 Kishore Hyderabad
(Where 1st character field is Customer number, 2nd field is Customer name and 3rd field is City.)
To transfer this data to database table SCUSTOM following interface can be used.
REPORT DEMO1.
Following internal table is to upload flat file.
DATA: BEGIN OF ITAB OCCURS 0,
ID(10),
NAME(25),
CITY(25),
END OF ITAB.
*Following internal table BDCDATA is to pass date from internal table to session.
DATA: BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
Variables
DATA: DATE1 LIKE SY-DATUM. DATE1 = SY-DATUM - 1. “ This is for Hold Date
To upload flat file to internal table.
CALL FUNCTION UPLOAD
EXPORTING
FILE NAME = ‘C:FF.TXT’
FILE TYPE = ‘ASC”
TABLES
DATA_TAB = ITAB
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
OTHERS = 6.
If sy-subrc = 0.
Calling Function to Create a Session
CALL FUNCTION ‘BDC_OPEN_GROUP’
EXPORTING
CLIENT = SY-MANDT
GROUP = ‘POTHURI’
HOLDDATE = DATE1
KEEP = ‘X’
USER = SY-UNAME
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11.
If sy-subrc = 0.
MAIN Logic----
LOOP AT ITAB
PERFORM GENERATE_DATA. “ Populating BDCDATA Table
CALL FUNCTION ‘BDC_INSERT’
EXPORTING
TCODE = ‘TFBA’
TABLES
DYNPROTAB = BDCTAB
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7.
REFRESH BDCTAB
ENDLOOP.
Calling function to close the session
CALL FUNCTION ‘BDC_CLOSE_GROUP’
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3.
Endif.
Endif.
*& Form GENERATE_DATA
Create BDC Data
FORM GENERATE_DATA
Passing information for 1st screen on BDCDATA
BDCTAB-PROGRAM = ‘SAPMTFBA’.
BDCTAX-DYNPRO = 100.
BDCTAP-DYNBEGIN = ‘X’.
APPEND BCDTAB.CLEAR BDCTAB.
Passing field information to BDCDATA
BDCTAB-FNAM = ‘SCUSTOM-ID’
BDCTAB-FVAL = ITAB-ID.
APPEND BDCTAB.CLEAR BDCTAB.
Passing BDC_OKCODE to BDCDATA
BDCTAB-FNAM = ‘BDC_OKCODE’.
BDCTAB-FVAL = ‘/5’.
APPEND BDCTAB.CLEAR BDCTAB.
Passing screen information for next screen to BDCDATA
BDCTAB-PROGRAM = ‘SAPMTFBA’.
BDCTAB-DYNPRO = 200.
BDCTAB-DYNBEGIN = ‘X’.
APPEND BDCTAB.CLEAR BDCTAB.
Passing screen information to BDCDATA
BDCTAB-FNAM = ‘SCUSTOM-NAME’.
BDCTAB-FVAL = ITAB-NAME.
APPEND BDCTAB.CLEAR BDCTAB.
Passing screen information to BDCDATA
BDCTAB-FNAM = ‘SCUSTOM-CITY’.
BDCTAB-FVAL = ITAB-CITY.
APPEND BDCTAB.CLEAR BDCTAB.
Passing BDC_OKCODE to BDCDATA
BDCTAB-FNAM = ‘BDC_OKCODE’.
BDCTAB-FVAL = ‘SAVE’.
APPEND BDCTAB.CLEAR BDCTAB.
ENDFORM. “GENERATE_DATA
AN EXAMPLE WITH CALL TRANSACTION
Same steps to be repeated for CALL TRANSACTION
The only difference between the two types of interface is in Session method, you create session and store information about screen and data into session. When session is processed the data is transferred to database. While in CALL TRANSACTION, data is transferred directly to database table.
REPORT DEMO1.
Follow above Code till MAIN Logic. Even the Subroutine should be copied
LOOP AT ITAB
PERFORM GENERATE_DATA, “Populating BDCDATA Table
Call transaction ‘TFBA’ using BCDDATA Mode ‘A’ Update ‘S’.
REFRESH BDCTAB
ENDLOOP.
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
http://www.****************/InterviewQ/interviewQ.htm
http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
regards,
Message was edited by:
        KaushiK©Datta

Similar Messages

  • "CoreServicesUIAgent.app" would like to access your calendar. What do I do with THAT?

    This morning I see a pop-up that says, "CoreServicesUIAgent.app" would like to access your calendar" with choices of "Don't Allow" or "OK." I have no idea how to choose since I don't know what that is and where it came from. Now I feel forced to leave it on my screen until I find out, since I can't find the solution in any forum discussions search here. If it's really from Apple, then they should probably at LEAST give us a hint as to the meaning and validity of this obscure thing in their  software. Not intuitive at all.

    Thanks, I'd done that before coming to Apple and didn't receive any additional information about whether it's safe to choose "Don't Allow" or "OK". I don't know what I'm in for if I choose either one. Can't afford to lose that calendar. I depend on it too much.

  • "Another program on your computer would like to modify Firefox with the following add-on" - how to disable?

    I am using the latest Firefox (28.0) on Windows XP in a shared computer environment. Although I do not have Administrator access, I installed Firefox myself and can change whatever Firefox config settings I want (including about:config and mucking with the files in the installation directory).
    I want to disable the tab that appears on Firefox startup, "Another program on your computer would like to modify Firefox with the following add-on". This tab usually appears once per day (the first time I startup Firefox each day). I want the tab not to appear at all, from now on.
    The "another program" in question is some program that is used in the facility where I'm using the computer, so I can't just uninstall that program. Although this is a shared computer environment, they don't "wipe" the machine every day, just reboot. So the Firefox I installed is still there with all my config settings intact. As far as I know, I'm the only person who uses Firefox on this computer.
    Solutions that don't work:
    "Just click Continue" -- but then I still see the "Another program" tab every day, and don't want to see it.
    "Click Remove in the Add-ons list" -- I removed the Add-on in question but the tab still appears every day.
    I would like a solution that either eliminates the Add-on request for that particular application, or eliminates all such requests ("Another program...") regardless of what application requested it. The ideal solution would be if the request itself had a checkbox for "never ask this again" but, alas, no such luck.

    Gosh... I spent about an hour preparing a response, then accidentally did control-something or alt-something which took me back a page and I lost everything I typed (even after I clicked Forward to try to get back to where I was). If anyone knows of a config setting like "don't ever trash an entire page of user input unless the user explicitly confirms it", or, "keep form input data even if the user goes Back or Forward", I think that would be a great feature.
    OK, back to the original question...
    I appreciate the responses thus far, but I think there have been some misunderstandings. Maybe a multiple-choice version would help:
    Question: Is there a way to suppress the appearance of the notification tab that says, "Another program on your computer would like to modify Firefox with the following add-on" (meaning, any request from another program to install an add-on is to be silently ignored and discarded)?
    Answer:
    (A) Yes, you can suppress that notification (please state how).
    (B) No, but you can request that feature (please state where).
    (C) No, you can't do that or request that feature.
    That's basically my question in a nutshell. If the answer is (B), I might envision a boolean about:config setting like "extensions.allowProgrammaticAddonRequests" that defaults to "true" and can be set to "false" manually. I think that would be the most direct solution (if it were possible).
    I will respond to some comments from above:
    "I don't understand why you are using a mozilla.cfg file to lock those preferences when you can modify the preferences for your current Firefox profile via about:config" -- This is because the "other program" in question (iCafe Manager) was setting certain config options (browser.startup.homepage, and browser.newtab.url) on every reboot (which happens every morning at that facility). I got tired of manually changing the settings back every day. Using the above-mentioned files, I successfully defeated iCafe Manager's daily interference with those config settings. The other things (like stuff related to Socks tunnelling) I probably could have just set once in about:config but doing a lockPref seemed to do no harm. The settings for "enabledScopes" and "xpinstall" were to see if they'd help with the problem I originally asked about, but they did not.
    "I would look in about:config to make sure those preference modifications are in effect" -- yes, I confirmed that the settings are in effect and locked. That much works as expected.
    "A) removing the iCafe Toolbar extension from the Firefox Addons -> Extensions panel results in the "Another program" tab at startup" -- true, but I think it would be more accurate to say: while the toolbar extension is not installed (due to either having been removed, or, never having been installed at all), the "Another program" tab appears on at least the first startup of Firefox after every reboot.
    "B) when you allow the installation it shows up as "(disabled)" in the Extensions list but the unwanted toolbar still shows up (correct?)" -- yes, correct.
    "You could explain the problem to the system administrator of your facility" -- unfortunately, there's no administrator on site, only a person who makes sure the lights are on. They'll call a tech if there's a catastrophic problem (like the net connection goes dead). Since I installed Firefox myself, and since iCafe Manager is a program they installed, I don't think they'll go out of their way to help me with Firefox (especially if I'm trying to defeat iCafe Manager's attempts to interfere with Firefox). From their point of view, their systems are working just fine.
    "allow the installation and then see if you can go to the Firefox Customize menu and HIDE the toolbar as a workaround" -- since I'm not in that facility now (and probably won't be again until this summer or so), I can't experiment with those systems now. But I do recall clicking just about everything I could, including "View - Toolbars" (which seems to be the same menu as when I right-click on a toolbar line). That menu allows hiding toolbars, but from my recollection, the offending toolbar was not displayed in the list, so I could not hide it that way. Also, the Customize menu ("View - Toolbars - Customize") seems to allow only modifications to a toolbar, and not a way to hide an entire toolbar.
    "it might help if you could post a new troubleshooting information list after you allow the iCafe Toolbar installation" -- ok, that troubleshooting report is included below.
    Thanks again for your help.
    Application Basics
    Name: Firefox
    Version: 28.0
    User Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0
    Crash Reports for the Last 3 Days
    All Crash Reports
    Extensions
    Name: iCafe Manager Toolbar
    Version: 5.2.0.6
    Enabled: false
    ID: {C058FE28-1E07-4FD1-8092-046F8A964D12}
    Important Modified Preferences
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    browser.newtab.url: about:blank
    browser.places.smartBookmarksVersion: 6
    browser.sessionstore.upgradeBackup.latestBuildID: 20140314220517
    browser.startup.homepage: http://www.google.com/ncr
    browser.startup.homepage_override.buildID: 20140314220517
    browser.startup.homepage_override.mstone: 28.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 28.0
    gfx.blacklist.direct2d: 3
    gfx.blacklist.layers.direct3d10: 3
    gfx.blacklist.layers.direct3d10-1: 3
    gfx.blacklist.layers.direct3d9: 3
    gfx.blacklist.layers.opengl: 3
    gfx.blacklist.stagefright: 3
    gfx.blacklist.suggested-driver-version: 6.1400.1000.5218
    gfx.blacklist.webgl.angle: 3
    gfx.blacklist.webgl.msaa: 3
    gfx.blacklist.webgl.opengl: 3
    network.cookie.prefsMigrated: true
    network.websocket.enabled: false
    places.database.lastMaintenance: 1398414928
    places.history.enabled: false
    places.history.expiration.transient_current_max_pages: 53428
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    plugin.state.npgoogleupdate: 1
    privacy.sanitize.migrateFx3Prefs: true
    privacy.sanitize.sanitizeOnShutdown: true
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1396778909
    Graphics
    Adapter Description: Intel(R) G33/G31 Express Chipset Family
    Adapter Drivers: igxprd32
    Adapter RAM: Unknown
    Device ID: 0x29c2
    Direct2D Enabled: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    DirectWrite Enabled: false (0.0.0.0)
    Driver Date: 11-3-2008
    Driver Version: 6.14.10.5009
    GPU #2 Active: false
    GPU Accelerated Windows: 0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    WebGL Renderer: Blocked for your graphics driver version. Try updating your graphics driver to version 6.1400.1000.5218 or newer.
    Vendor ID: 0x8086
    windowLayerManagerRemote: false
    AzureCanvasBackend: skia
    AzureContentBackend: cairo
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.3
    Version in use: 4.10.3
    NSS
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSSMIME
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSSSL
    Expected minimum version: 3.15.5 Basic ECC
    Version in use: 3.15.5 Basic ECC
    NSSUTIL
    Expected minimum version: 3.15.5
    Version in use: 3.15.5

  • "Another program on your computer would like to modify Firefox with the following add-on" - how do I allow extensions?

    I cannot get extensions to run or enable, nor does the browser remember my preference.
    For example, after I install or Enable an extension, when I restart Firefox I get a tab for every extension that forces me to check "Allow this installation" after the prompt "Another program on your computer would like to modify Firefox with the following add-on".
    Moreover, when I click 'Options' on an installed extension, Firefox freezes permanently.
    Note that I DO NOT have any extensions.* files in my Profile folder, nor do they appear.
    I am trying to get MozRepl running. I am able to install it, but the menu option does not get added in the 'Tools' menu. Moreover none of the installed extensions are able to add to the menu.
    I've tried every solution in the following links
    https://support.mozilla.org/en-US/questions/929335
    http://kb.mozillazine.org/Preferences_not_saved
    https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save
    I have made the Profiles\ folder and all subfolders Read-only, including the files.
    I have tried the "Reset Firefox to its default state".
    I have tried uninstalling (including removing all profiles/data) and re-installing Firefox, and I get the same issues.
    My operating system is Windows 7 and I have McAfee SiteAdvisor Enterprise Plus and McAfee VirusScan Enterprise + AntiSpyware Enterprise.

    Check that Firefox isn't set to run as Administrator.
    Right-click the Firefox desktop shortcut and choose "Properties".
    Make sure that all items are deselected in the "Compatibility" tab of the Properties window.
    * Privilege Level: "Run this program as Administrator" should not be selected
    * "Run this program in compatibility mode for:" should not be selected
    Also check the Properties of the firefox.exe program in the Firefox program folder (C:\Program Files\Mozilla Firefox\).

  • Message "another program on your computer would like to modify Firefox with the following add-on" appears every time a new user logs in... Bad problem

    I have just deployed an image to over 500 workstations, and they are all deep frozen using deepfreeze.
    When users are logging in, and open Firefox they are getting the message "another program on your computer would like to modify firefox with the following add-on:" Adobe Acrobat - Create PDF 1.2
    Yes I know u can do a one-time click and allow, but we have potentially 50,000+ students logging into these PCs and it is unacceptable that they are greeted with this message rather than the Homepage.
    This is very dissapointing, as we upgraded to the latest version of firefox in preperation for rollout, and then added some software like adobe.
    The profile is kept in the default user, so everytime a user logs in, they will get prompted with the message, and this will always happen because we use deepfreeze.
    I need a FIX ASAP from mozilla on how to disable this pop-up via Group Policy...
    Not at all happy,
    Sharpy

    Hi,
    One way you could try is to install Firefox on a fresh PC/image which has the same Adobe software versions installed as the clients. You may also have to install the same extensions as well as software for any additional plugins as on the clients. Start Firefox and make sure everything is okay. After that you can copy and overwrite the '''extensions.ini''', '''extensions.sqlite''' and '''pluginreg.dat''' files and probably the '''extensions''' folder and any supporting files of the extensions from this fresh profile, onto a client profile after temporarily disabling/unfreezing Deep Freeze. If everything is okay you can then push the changes onto the other clients via a logon/startup script after temporarily disabling Deep Freeze and then re-enable Deep Freeze.
    [http://kb.mozillazine.org/Profile_folder Firefox Profile Folder]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • CoreServicesUIAgent would like to access your calendar data

    Hi all,
    three days ago, I received a strange Mavericks pop-up: "CoreServicesUIAgent would like to access your calendar data".
    Then I went to the Security PrefPane, and saw CoreServicesUIAgent clicked.
    Strange, so I decided to unclick, although I checked within the CoreServices folder that is was still an App by Apple.
    Apparently no change at all.
    However, everytime I change an event in iCal on a googlemail calendar account, it will not appear in iCal anymore.
    Through Google Calendar webview, I can still see it, but not in iCal anymore.
    And I can still see it on my iPhone.
    So I disabled the calendar in iCal through the Internet Accounts settings, rebooted, clicked back on "CoreServiceUIAgent" in the Security PrefPane, rebooted, enabled the calendar back in iCal.
    No change.
    Some questions now:
    - where could I find the preference file associated to Security (in order to check whether the "CoreServicesUIAgent" listed in the PrefPane is indeed refering to the Apple App inside the CoreServices folder)?
    - why is CoreServiceUIAgent trying to get access to my calendar?
    - why did it suddenly appear and not before?
    - why is iCal such a pain now with Google Calendars?
    Any help would be much appreciated ...

    I have been havig trouble with iCal repeatedly prompting me to add a new event on its own.  Recently to try and fix this I deleted my calendars, preferences and caches.  I then picked up my calendars from iCloud.  Within about an hour of running iCal again, I get this prompt to allow CoreServicesUIAgent.app access to my calendar.  I said yes and almost immediately I get one of these unwanted add new event dialogs again.  Ah hah I think.
    I have been unable to find out what CoreServicesUIAgent.app does and why it needs access to my calendar, but it does seem to be the source of my unwanted automatic adding of new events issue.  I went into the Security and Privacy Setting and disabled CoreServicesUIAgent.app access to my calendar.  I am now waiting to see if I get any more of those unwanted adding new event prompts.  If I can't detect any loss of functionality, I will just not give CoreServicesUIAgent.app access to my calendar. 

  • I'm on Vacation with no access to my Mac.  But had tried Sync. My software update is iOS 6.0.1. I've tried another WiFi network.  I read your comment of deleting Apps for stuck update. So removed all Apps! Can't even install Free Apps. Now using my Kindle

    I'm on Vacation with no access to my Mac.  But had tried Sync. My software update is iOS 6.0.1. I've tried another WiFi network.  I read your comment of deleting Apps for stuck update. So removed all Apps! Can't even install Free Apps. Now using my Kindle

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • I would like to read a ASC11 file ?

    I would like to read a ASC11 file ? i would like to read the ASC11 file but there is a 2 lines header in this file.and i dont wanna read this header.this ASC11
    file has 12 columns and then i wanna convert them to
    binary file.
    any example would be great.
    thanks

    i am sorry that you are getting upset due to my repetitions of question.
    well i have looked into example read from text file
    and tried with this but it did not solve my problem.
    in this example this function is reading data line
    by line and i dont want to read the data line by line.
    for this reason i removed the inner while loop.
    to skip the 2 lines header when i call read file
    function 2 times. i still get the header in my result file.
    when i write the data of 12 columns and N number of rows by calling write to binary function,i tried to read this binary data with the help of Matlab. i get
    only one column and it look likes that it is transposed.the output of the read function is 2 dimensional array. i try to write this 2 dimensional
    array by call
    ing write to binary function and i also
    want to display the 2-Dimensional data in 2 dimensional
    indicator array.
    this all things i tried already but could not get the
    desired result. therefore i wrote again.
    any way if you are upset then take my questions back and thanks for your tips.

  • I would like to read the reliability monitor for period of october

    I would like to read the reliability monitor on my Laptop for the period of october.
    When I go to it it shows me the results of the period between 6. of august, when I bought the Laptop and the 25th of August.
    I am not able to find the results for september and october.
    Where can I change the date of the controlled period?
    Thank you for your help!
    Daniel

    Hi
    Check this Microsoft page.
    How to use Reliability Monitor
    http://windows.microsoft.com/en-US/windows7/How-to-use-Reliability-Monitor
    Here you can find info how to use a Reliability Monitor
    - Open Control Panel -> System and Security ->Review your computer's status.
    - Click Maintenance -> Check for solutions to problem reports -> View reliability history.

  • Why has "coreservicesuiagent.app would like to access your calendar" just popped up?

    Why has "coreservicesuiagent.app would like to access your calendar" just popped up on my iMac?

    Thanks, I'd done that before coming to Apple and didn't receive any additional information about whether it's safe to choose "Don't Allow" or "OK". I don't know what I'm in for if I choose either one. Can't afford to lose that calendar. I depend on it too much.

  • Hello, I would like to unlock your Iphone, but there is the Problem, it is bound to the operator AT

    Hello, I would like to unlock your Iphone, but there is the Problem, it is bound to the operator AT & T and I have no contract. How do I unlock it from etogo operator?

    You contact AT&T and find out if it, and you, are eligible for an unlock. ONLY AT&T can authorize unlocking it.

  • After upgrading to Firefox 9.0.1, on first run after every reboot, the following warning apears for every installed Add-on. "Another program on your computer would like to modify Firefox with the following add-on"

    After upgrading to Firefox 9.0.1, on first run after every reboot, the following warning appears for every installed Add-on.
    "Another program on your computer would like to modify Firefox with the following add-on"
    So, i have to "Enable" my installed Add-ons on each reboot.
    Would you please help me !
    P.S.: I found that these files (and some others) will be deleted on each reboot, and it happens on computer start up (not at shut down)!
    extensions.ini
    extensions.sqlite
    extensions.sqlite-journal
    And as i mentioned, i have the same anti virus on my laptop and desktop, but i have not any problem on laptop.

    Do you have security software that acts like a sandbox or uses virtualization to restore files on a next boot?
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is a compatibility update available.

  • Reminders.app would like to use your current location.

    When I set a location-based Reminder on my iPhone 5S, a window pops up on my Mavericks-iMac asking permission, "'Reminders.app' would like to use your current location," along with radio buttons offering OK or Don't Allow.  I have scoured settings on my phone and on my Mavericks iMac--I should not be getting this message.
    Your thoughts appreciated.

    Chris Torrence wrote:
    Just wanted to add my name to the list. Is there somewhere to submit a bug report?
    http://apple.com/feedback/
    I'd suggest everyone else uses that page too. Apple probably don't read these posts so if you have something to say direct it at the iOS or OS X feedback forms.

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • I would like to read a textbook that uses a browser. How can i read it using my i pad?

    I would like to read a textbook off my ipad. The textbook is a cd that uses a browser to work so i tune would only download the audio and video not the text. Does anyone have any suggestions if it is possible?

    You have to understand the difference between an Update and an Upgrade.
    An Update is a free change to add to the base code or as a bug fix within an existing Operating System. Such as the .8 added to OSX 10.5 or the .11 added to OSX 10.4..
    An Upgrade is a complete new Operating System that must be purchased. Such as 10.5 Leopard to 10.6 Snow Leopard.
    10.5 Leopard was written for Power PC Macs with code added to force it to run on Intel processors.
    10.6 Snow Leopard has completely rewritten code and only runs on Intel Macs.
    10.7 Lion ($19.99) used some 32 bit which allows it to run on Late 2006 through Early 2008 MacBooks and a lot of 64 bit code.
    10.8 Mountain Lion ($19.99) is pure 64 bit, which excludes more systems than Lion did. It can only run on the Late 2008 through Mid 2010 MacBooks. It's not something you can add memory to, for example, as it involves the base architecture.
    10.9 Mavericks is pure 64 bit and is a free download from the App store.
    The 10.6 Snow Leopard DVD is in the Apple online store. You can get it for $19.99. http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard After you’ve installed that then download the 10.6.8 combo updater to finish it off. http://support.apple.com/kb/DL1399 You will need to be running 10.6.8 to access the App Store to order Lion, Mountain Lion or Mavericks which are downloads only.
    System Requirements for 10.6:
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
      Some features require a compatible internet service provider: fees may apply.

Maybe you are looking for

  • AppleTV in the Enterprise

    Does anyone have any experience deploying a large number of AppleTV's in a business setting?   I want to use the AirPlay mirroring in a sales environment.   Each sales person has an large monitor with AppleTV attached.   The iPad is running a custom

  • Sales Order Stock, using Sales Orders

    Morning! We are receiving Sales Order Stock (stock segment E), thus creating special stock with a number that consists of the Sales Order Number + the Item number of the order. This is to support our Repairs process in CRM. (So we are NOT using NB Pu

  • Airport network doesn't allow me to open my work exchange mail...

    I have attempted for quite some time to open a link I created to bring me to my microsoft exchange web mail. However on the airport network I created the page just loads for ever and finally comes up with a safari message that says "page couldn't not

  • G505s - Shift key problem

    i have a lenovo g505s and neither of my shift keys are working, out of the box. all other keys appear to be working just fine. i have contacted lenovo tech support and they restored the factory settings, but that did not fix the problem. i called gee

  • BAM report export as a Excel

    Hi, I have one requirment in my project. we create List BAM reports with one button.If we click on the button list report need to export as excel report . How to achive this. Please help me on this.