Online Database updation for SQLite using Objective-C Language

Hello Experts,
I would like to know if executing scripts (or any apple script) inside apple script possible? I need to have my application to fetch some script from the database field, (like stored procedure) I do not want to compile the application with the formula changes every time, I would just specify this in the database and I will prefer to have a script read that formula and execute.
I am looking for something like exec("c=a+b") will get the values for a and b in the scope of the script and assign that to c. Still c will be accessible in the subsequent script lines.
I hope this explains my situation, please advise.
Thank you.
NalaN

I thought I answered this in your other thread. But over there you were doing it from Objective-C.
http://discussions.apple.com/thread.jspa?threadID=1899808&tstart=0
You've confused me though. Your topic title says Objective-C, but your post says Applescript?
Anyway, if you're not married to the Objective-C and piping it off to an interpreter doesn't work for you then do the entire thing in Python or another interpreted language. For example, in Python.
a = 2
mystring = "b = a + 1"
exec(mystring)
print b
As Orange pointed out the security risks are huge.
Eric

Similar Messages

  • HT5271 was this update for mac using 10.5.8

    i have been using the internet at work to access the web, (no problem)...I use safari 5.0.6 to connect with my aol account to get my mail, (no problem...until maybe about 3 weeks ago, safari will no long get mail from aol.  I  tried to send some files to someone else, and it may have been to large for the aol account.
    Now i can't get mail or send mail form safari, i must go to the website aol, to retrieve any mail.  I've tried setting up a new account using the instructions that aol provided for imap, didn't work.  I am constantly getting drafts that are repeating themselves...and i can't get rid of them by trash, or delete.  i was 29 pages. the message i receive is the following......SOME ACTIONS TAKEN WHILE THE AOL WAS OFFLINE COULD NOT BE COMPLETED ONLINE.  MAIL HAS UNDONE ACTIONS ON SOME MESSAGES SO THAT YOU CAN REDO ACTIONS ONLINE.  MAIL HAS SAVED THE OTHER MESSAGES IN MAILBOX ON MY MAC AND IN MY MAC SO THAT YOU CAN COMPLETE THE ACTIONS ONLINE.     ADDITIONAL IINFO....The connection on the server imap.aol.com on port 993 has timed out............I would like to be able to get rid of the email i was trying to send with the large files......can anyone help me......This is the first time i have been on this site with a question....so for those of you who know more than me, i respectfully say THANK YOU IN ADVANCE.

    if I don't find a better solution I'll try your 2nd option but what do you mean by "combo" update?
    My understanding is to simply insert the OS 10.5 installation CD, reinstall the OS and the just keep updating it via the OS SSoftware update panel and stop untill I see the scary Java 8 update. Is that what you meant?
    While you can do it that way, the combo update picks up operating system updates through a collection of releases. When dealing with operating system upgrades, I've found using the combo updates to be more reliable than Software Update, as sometimes Software Update doesn't apply updates correctly, and weird things can happen. Doesn't happen often though, thankfully.
    So the OS X 10.5.5 Combo update contains all updates between 10.5.0 and 10.5. The 10.5.8 combo update contains the updates from 10.5 thru 10.8. Here are the updates:
    10.5 combo update: http://support.apple.com/kb/DL692
    10.8 combo update: http://support.apple.com/kb/DL866
    If you go down the combo path, repair permissions before and after doing each update. Then do Software Update for any other non-OS X updates, and don't apply the Java Update 8.

  • Delta Update for Characteristic info object

    Hi
    Can anyone tell me how can i adjust a delta update for a characteristic?
    Regards
    S

    Hi Sancho,
    A great deal of InfoObjects carrying master data and texts are already delivered delta-capable (e.g.  0MATERIAL_ATTR, 0CUSTOMER_ATTR).
    The master data extraction in the delta mode is possible for a large number of R/3 tables and views. To do this, the transaction for which data is to be created and changed must be linked to the change document update. This service has been implemented for most of the master data in the R/3 System.
    The update occurs in most cases for the transparent tables in which R/3 master data is stored (for example, for MARA or KNA1). If a field changes in a data record of the table the key to this record is recorded in a delta table. When reading the table in a BW, this key is used to fill the extract structure. Thus, you can extract master data delta in several ways:
    The extract structure equals the transparent table in the database, whose maintenance is added to the change documents.
    The extract structure is a view over one or more transparent tables whose maintenance is added to the change documents, for example, a view via KNA1 (customer) and KNB1 (customer and company code).
    A basic requirement for the usability of a table for an InfoObject is that the key for this table explicitly specifies a record of the extract structure (key word compounding). Besides, you should make sure that the data elements of all the extract structure fields are relevant to the change document in the respective table. In other words: as soon as a field changes a record which is part of the extract structure, it must be updated in the delta pot.
    <b>According to the assignment InfoObject/table, the following steps must be executed:</b>
    1. Check, whether the ALE changepointer are active in your source system (Transaction BD61) and whether the number range is maintained (Transaction BDCP).
    2. In addition, check in the ALE Customizing, whether all message types you need are active (Transaction SALE -> Model and implement business processes -> Configure the distribution of master data -> Set the replication of changed data -> Activate the change pointer for each message type ).
    3. Check, whether the number range for the message type BI_MSTYPE is maintained (Transaction SNUM -> Entry 'BI_MSTYPE' -> Number range -> Intervals). The entry for 'No.' must be exactly '01'. In addition, the interval must start with 0000000001, and the upper limit must be set to 0000009999.
    4. Go to your BW system and restart the Admin. workbench.
    All of the following activities occur in the InfoSource tree of the Admin. Workbench.
    5. Carry out the function "Replicate DataSource" (1.2 local meta data upload) on the affected attached source system for the InfoObject carrying the master data and texts.
    6. Activate the delta update
    a) for master data and textsby activating the transfer rules.
    b) for texts the entry is in the menu of the right mouse button via the source system: Activate the text delta transmission.
    All changes, all initial data creations and deletions of records from now on are recorded in the source system.
    7. Create an InfoPackage for the source system. In the tabstrip 'update parameter', there are three alternative extraction modes:
    Full update
    Delta update
    Initialization of delta procedure
                  First, initialize the delta procedure and then carry out the
                  delta update.
    Addition for incorrect delta requests:
    After an incorrect delta request, you often have to re-initialize. A possibility of avoiding this consists in setting the incorrect request manual via QM activity to green. If the request was processed successfully in the source system, and was finished with the information IDoc 'Data selection ended', but the BW reports a processing error, the request must be re-initialized in any case in order to avoid data inconsistencies.
    Constraints
    The total length of the key fields in the table or view for which change pointers are produced must not exceed 70 characters.
    Transferring deleted records using the ALE delta is impossible since a corresponding indicator is missing in the extracted record.
    Hope this helps.
    Thanks
    CK

  • What is the strict criteria for a Pure Object Oriented Language ?

    Can a fully object oriented language qualify as a pure Object Oriented Language.fF not what are the exact criteria for qualifying a language as Pure Object Oriented Language.Any examples of both would be greatly appreciated.
    Thanks in Advance.

    I guess you can check the link
    http://forums.sun.com/thread.jspa?forumID=31&threadID=725662 for this.
    I have no idea what point you're trying to make by posting a link to that thread.
    Again,if someone thinks that something does not exist,what's the point debating on it.There is no point in debating this.
    I don't care,Me neither.
    tell me the definition,Like I already said many times: there exists no widely accepted definition of what a "pure OO language" is!
    So, I ask you yet again: what is YOUR definition of such a thing? ANd don't go posting links to articles or other threads: just explain in your own wording of what YOU think a "pure OO language" is, and I'll answer your question by telling you if Java fits that definition.
    search on google,why do you need that are not answers to my questions I see it has no use arguing with you: you don't seem to understand me.
    ,but more irrelevant questions on my simple question.I see a chain of irrelevant question, starting with your original post.

  • Database Updation and Insertion using Modify Statement

    Hi All,
    I am using Modify statment for data insertion and updation
    MODIFY zmpit_ven_bgg_rg FROM TABLE t_ven_bgg .
    But I am getting error
    The type of the database table and work area (or internal table) "T_VEN_BGG" are not compatible.
    I have defined my internal table of below type :
    TYPES : BEGIN OF ty_ven_bgg,
            mandt             TYPE mandt,
            lifnr                 TYPE lfa1-lifnr,
            bgg                 TYPE zmpit_ven_bgg_rg-matkl,
            ind                  TYPE zmpit_ven_bgg_rg-active_ind,
            created_by      TYPE zmpit_ven_bgg_rg-created_by,
            created_on      TYPE zmpit_ven_bgg_rg-created_on,
            last_changed_by TYPE zmpit_ven_bgg_rg-last_changed_by,
            last_changed_on TYPE zmpit_ven_bgg_rg-last_changed_on,
            remarks              TYPE zmpit_ven_bgg_rg-remarks,
            ind1(1)                TYPE c,
                 END OF ty_ven_bgg.
    Here, ind1 is not field  of the table.
    I have added a new field Remarks in the table and thus i included it in the Internal table also.
    Above Modify statement was working fine without Remarks field. I am not able to understand the error
    as work area is also of type ty_ven_bgg.
    Please suggest some solution.
    Regards,
    Nibha

    Hi,
    Though you have creaated one more internal tsble without the indc field, but you can do it using the same intrenal table by simply using
    1. MOVE-CORRESPONDING <internal table> to <ztable>.
    2.MODIFY <ztable>.
    will solve your problem
    Secondly declare the internal table using DATA after structure has been declared using TYPES.
    This is better approach to follow.
    Pooja

  • Generating mixed case columns for XML using Object views

    I am trying to model a query involving joins to generate hierarchical levels for XML document. I model it with an object view with a multicast subquery and the generated XML works fine except the following :
    The generated XML creates a tag <view_column_name>_ITEM for the nested multicase subquery columns in the view and all the nested subquery view columns in upper case because the underlying table columns are in upper case. To better illustrate, please see the following example :
    CREATE TYPE Tillinstance_t as object (
    "Tillinstanceid" number
    ,"Stationid" number
    ,"Comment" varchar2(2000)
    ,"DepositID" number(38)
    ,"TimestampCreate" date
    ,"UseridCreate" number
    ,"TimestampChange" date
    ,"UseridChange" number
    ,"TimestampClosed" date
    ,"UseridClosed" number
    ,"TimestampBalance" date
    ,"UserIDBalance" number )
    create type insts as table of Tillinstance_t ;
    CREATE OR REPLACE VIEW till_view AS
    SELECT t.tillid as "TillID"
    , t.description as "Descr"
    , t.word as "Word"
    , t.Scopetypeid as "ScopeTypeId"
    , t.displayOrder as "DisplayOrder"
    , t.useridcreate as "UserIDCreate"
    , t.newid as "NewID"
    , t.flagactive as "FlagActive"
    , t.timestampcreate as "TSCR"
    , t.useridcreate as "UIDCR"
    , t.timestampchange as "TSCH"
    , t.useridchange as "UIDCH"
    , CAST( MULTISET ( SELECT i.Tillinstanceid as "TillinstanceID"
    , i.stationid as "StationID"
    , i.ocomment as "Comment"
    , i.depositid as "DepositID"
    , i.Timestampcreate as "TSCR"
    , i.useridcreate as "UIDCR"
    , i.Timestampchange as "TSCH"
    , i.useridchange as "UIDCH"
    , i.timestampclosed as "TSCL"
    , i.useridclosed as "UIDCL"
    , i.timestampbalance as "TSBAL"
    , i.useridbalance as "UIDBAL"
    FROM TillInstance i
    WHERE t.tillid = i.tillid)
    AS Insts)
    AS "Insts"
    FROM ucTill t
    The generated XML shows up in the form of :
    <?xml version = '1.0'?>
    <Tills>
    <Till TillID="1002" Descr="Till #3" Word="Till3" ScopeTypeId="8"
    DisplayOrder="0" UserIDCreate="296" TSCR="3/26/2001 0:0:0" UIDCR="296"
    TSCH="5/4/2001 14:12:32" UIDCH="298">
    <Insts>
    <Insts_ITEM TILLINSTANCEID="1278" STATIONID="1057" OCOMMENT="Morning Till3"
    TIMESTAMPCREATE="3/26/2001 0:0:0" USERIDCREATE="296" TIMESTAMPCHANGE="6/7/2001
    8:26:49" USERIDCHANGE="99" TIMESTAMPCLOSED="6/7/2001 8:26:49"
    USERIDCLOSED="99"/>
    <Insts_ITEM TILLINSTANCEID="1362" STATIONID="1057" TIMESTAMPCREATE="6/7/2001
    8:27:13" USERIDCREATE="99" TIMESTAMPCHANGE="6/11/2001 11:32:58"
    USERIDCHANGE="320"/>
    </Insts>
    </Till>
    </Tills>
    Now How do I stripe out the _ITEM from the generated XML and change the columns TIMESTAMPCREATE, USERIDCLOSED etc to mixed case?
    Any idea

    I could generate the mixed case columns with no problem. It was my mistake and sorry for the inconvinience.
    However I am running into problems modelling a nested hierarchical set of queries with levels more than 2.
    Please advise of any sample code available anywhere.
    For example I could do :
    create table x1 ( id number , f1 varchar2(10));
    creat table x2 ( id number , id_x1 number references x1(id) , f1 varchar2(10)) ;
    create table x3 ( id number , id_x2 number references x2(id), f1 varchar2(10)) ;
    To model this, I did
    create type x3_typ as object ( id number, id_x2 number , f1 varchar2(10)) ;
    create type x3_typ_t is table of x3_typ ;
    create type x2_typ as object ( id number, id_x1 number , f1 varchar2(10), x3_list x3_typ_t ) ;
    create type x2_typ_t is table of ref x2_typ ;
    create type x1_typ as object ( id number
    , f1 varchar2(10) , x2_list x2_typ_t ) ;
    create or replace view x3_x2 as
    select id , f1 , cast(multiset(select * from x3 ) as x3_typ_t ) as x3_list
    If I try to use a view again like as given below, I get the Oracle inconsistent datatypes error.
    create or replace view x2_x1 as
    select id , f1 , cast(multiset(select * from x3_x2 ) as x2_typ_t ) as x2_list
    I there a better way? Am I missing something? Please help.

  • Is a Hardware update for CS6 useful?

    Hi,
    I still have CS4 and think about to purchase for CS6 shortly.
    But I´m not sure if some hardware change could also be usefull?
    I have:
    Intel Core i7-920
    MSI Eclipse SLI Mainboard
    12 GB Ram
    Nvidia GTX 460 Grafic card 1GB
    1 SSD (256GB) System
    2 1TB HDD (mirror)
    2 1TB HDD (striping)
    Do you think I need some upgrade or better asked is any update usefull?

    If you want top know what different hardware can do, after downloading and installing CS6, go to http://www.ppbm5.com, follow the instructions and post your results. Then, narrow down the search of the results to just CS6 users.
    You will then know how your results compare to other people's results, and you will see which hardware performs the best. If you find that you can do something in 700 seconds that other people can do in 154 seconds, then you can make your decision.  If you decide you can only afford to go from 700 to 500, then you have to decide if it is worth the cost. If you can afford to go from 700 seconds to 154 seconds, then by all means, upgrade.
    If you do want to upgrade, I can highly recommend reading through the hardware forum here, and look for posts by ECBowen. Eric was extremely helpful guiding my decisions. In fact, I ended up buying my system from him (ADK). Trust is earned, and Eric has done the work to earn his. I am quite happy with my PC's performance.

  • HT2311 i cannot get update for itunes using app store

    it always says no updates available.
    i dont understand how you designed this most stupid ever ox in the first place. if you do not offer us customers an alternative way to do the updates, please make the only way as perfect as you can, and i dont think that is so hard for you.
    the same problems happened to my iLife suite, no updates available but they keep saying there are updates outthere, this is more annoying than you could imaging

    Lucas . . . you may have lucked out by not being able to update iTunes.  They have totally changed iTunes with the new version and literally 95% of people HATE it. They have dropped coverflow and a lot of other stuff.
    It TOTALLY $ucks! I hate it and am trying to find a way to safetly revert to iTunes 10.7

  • Frustration Installing CS 3.01 Updater for .inx use

    Hi, I don't get it. I have InDesign CS and I just updated InDesign to 3.01 but the installer seems to present me with a "installation complete" window before the installation is complete.
    When I click on the .inx file (InDesign Interchange File) I get an error, which is the error that the update was not installed, but I tried to install it twice now. This seems like a never ending circle of frustration!!
    I also went into my "Applications" folder and selected InDesign and it says my InDesign is version 3.01 so why can't I open an Indesign .inx file exported from InDesign CS3?
    Has anyone had problems installing the 3.01 updater? What to do?
    Thanks

    Lorne,
    Hold down the Command key and choose About InDesign. The version number and update number are presented there. Perhaps you already have the 3.0.1 latest update -- I forget the build number, was it 838? My disk holding the only installed 3.0.1 I still had just recently died so I can't check any more.
    Dave

  • Funds Management - Online Payment Update

    Hi -
    I am trying to have payments updated in FM.
    "I have used update profile 101 -Pmt Bud, Pmt basis, Posting date ( earlier I have used 102 then changed to 101). I have cheked the box for "" Payment Update online"" in settings for payment transfer.
    We ahve New GL activate with FAGLFLEXT with document splitting.I made VOBELNR and KOBELNR as additional charcteristics for document splitting with clearing account 'zero'.
    I have read in some treads that we have to make FMGLFLEXT totals table attached to leading ledger, but I have not see in any of the SAP help or SPRO texts that we have to do this way ?.
    My Bank account GL is assigned to 90/1 commitment item and the Vendor GL is assigned to 60/3.
    After all this Payments are not getting updated in FM. Do i have to do something at the time of payment with respect to account assignment ...
    Currently working on ECC 6.0 Sand box with EA-PS lvl 11.
    Thansk in Advance
    Chris"
    Edited by: Chris Farr on Feb 11, 2009 2:47 PM

    My Problem is solved now, there were inconsistancies in my commiment item categories. My vendor GL was wrongly assigned to a commitment item with 40/3 instead of 60/3, thats why payments were not updated. Now I can see payments getting updated.
    Settings required were -
    1) Tick for Online Payment Update ( FM- Actual and commitment update - Integration - Define settings for online payment transfer)
    2) The online payment update requires the use of the new general ledger and suitable Customizing for document splitting in Financial Accounting (new) -> General Ledger Accounting (new) -> Business Transactions -> Document Splitting. Here you can use the standard splitting procedure 0000000012 as a basis. You must also define the fields KNBELNR and VOBELNR as document splitting characteristics of the general ledger.
    check this tread also - Funds Management - Online Payment Update
    I have one more question   - I have a PO with multiple FM account assignments (e.g two items with Fund center1 and Fund center2) and the same is invoiced. When I do the partial/Full payment Payments are only getting updated in one FM assignement i.e Fund center1. I think the payment has to be split among the FM account assignments. Can spmebody  please clarify.
    check this tread also
    Thanks
    Chris
    Edited by: Chris Farr on Feb 16, 2009 10:41 AM
    Edited by: Chris Farr on Feb 16, 2009 10:46 AM
    Edited by: Chris Farr on Feb 16, 2009 10:48 AM

  • Grid using Object Oriented View

    Can anyone send me program for grid using object oriented view.

    hi Sandeep,
    please look at this code
    REPORT Z_PICK_LIST .
    TABLES: RESB.
    SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1.
    SELECT-OPTIONS: S_WERKS FOR RESB-WERKS," Plant
    S_AUFNR FOR RESB-AUFNR," Order number
    S_BDTER FOR RESB-BDTER." Req. date
    SELECTION-SCREEN END OF BLOCK BL1.
    PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT DEFAULT '/STANDARD'.
    DATA: BEGIN OF OUT OCCURS 10,
    AUFNR LIKE RESB-AUFNR, " Order number
    MATNR LIKE RESB-MATNR, " Material
    BDMNG LIKE RESB-BDMNG, " Requirements in UM
    MEINS LIKE RESB-MEINS, " Unit of Measure (UM)
    ERFMG LIKE RESB-ERFMG, " Requirements in UE
    ERFME LIKE RESB-ERFME, " Unit of Entry (UE)
    MAKTX LIKE MAKT-MAKTX, " Mat. description
    END OF OUT.
    INCLUDE Z_ALV_VARIABLES.
    INITIALIZATION.
    REPNAME = SY-REPID.
    PERFORM INITIALIZE_FIELDCAT USING FIELDTAB[].
    PERFORM BUILD_EVENTTAB USING EVENTS[].
    PERFORM BUILD_COMMENT USING HEADING[].
    PERFORM INITIALIZE_VARIANT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
    PERFORM F4_FOR_VARIANT.
    AT SELECTION-SCREEN.
    PERFORM PAI_OF_SELECTION_SCREEN.
    START-OF-SELECTION.
    PERFORM GET_ORDERS.
    PERFORM GET_MATERIAL_DESCRIPTION.
    END-OF-SELECTION.
    PERFORM BUILD_LAYOUT USING LAYOUT.
    PERFORM BUILD_PRINT USING PRINTS.
    PERFORM WRITE_USING_ALV.
    FORM INITIALIZE_FIELDCAT *
    --> P_TAB *
    FORM INITIALIZE_FIELDCAT USING P_TAB TYPE SLIS_T_FIELDCAT_ALV.
    DATA: CAT TYPE SLIS_FIELDCAT_ALV.
    CLEAR CAT.
    ENDFORM. " INITIALIZE_FIELDCAT
    *& Form GET_ORDERS
    text
    FORM GET_ORDERS.
    SELECT AUFNR MATNR BDMNG MEINS ERFMG ERFME
    FROM RESB
    APPENDING TABLE OUT
    WHERE XLOEK EQ SPACE " deletion indicator
    AND XWAOK EQ 'X' " goods movement indicator
    AND WERKS IN S_WERKS " plant
    AND BDTER IN S_BDTER " req. date
    AND AUFNR IN S_AUFNR. " pr. order
    ENDFORM. " GET_ORDERS
    *& Form GET_MATERIAL_DESCRIPTION
    text
    FORM GET_MATERIAL_DESCRIPTION.
    SORT OUT BY MATNR.
    LOOP AT OUT.
    SELECT SINGLE MAKTX
    INTO OUT-MAKTX
    FROM MAKT
    WHERE MATNR EQ OUT-MATNR
    AND SPRAS EQ 'EN'.
    MODIFY OUT.
    ENDLOOP.
    SORT OUT BY AUFNR MATNR.
    ENDFORM. " GET_MATERIAL_DESCRIPTION
    FORM TOP_OF_PAGE *
    FORM TOP_OF_PAGE.
    DATA: L_POS TYPE P.
    first line
    WRITE:/ TEXT-001. " Plant:
    IF S_WERKS-HIGH NE SPACE.
    WRITE: S_WERKS-LOW, TEXT-TO1, S_WERKS-HIGH.
    ELSEIF S_WERKS-LOW NE SPACE.
    LOOP AT S_WERKS.
    WRITE: S_WERKS-LOW.
    ENDLOOP.
    ELSEIF S_WERKS-LOW EQ SPACE.
    WRITE: TEXT-ALL.
    ENDIF.
    L_POS = ( SY-LINSZ DIV 2 ) - ( STRLEN( TEXT-TIT ) DIV 2 ).
    POSITION L_POS. WRITE: TEXT-TIT.
    L_POS = SY-LINSZ - 20.
    POSITION L_POS. WRITE: TEXT-011, SY-UNAME RIGHT-JUSTIFIED. " User:
    second line
    WRITE:/ TEXT-002. " Order:
    IF S_AUFNR-HIGH NE SPACE.
    WRITE: S_AUFNR-LOW, TEXT-TO1, S_AUFNR-HIGH.
    ELSEIF S_AUFNR-LOW NE SPACE.
    LOOP AT S_AUFNR.
    WRITE: S_AUFNR-LOW.
    ENDLOOP.
    ELSEIF S_AUFNR-LOW EQ SPACE.
    WRITE: TEXT-ALL.
    ENDIF.
    L_POS = SY-LINSZ - 20.
    POSITION L_POS. WRITE: TEXT-012,SY-DATUM. " Date:
    third line
    WRITE:/ TEXT-003. " Req. Date:
    IF S_BDTER-HIGH(1) NE '0'.
    WRITE: S_BDTER-LOW, TEXT-TO1, S_BDTER-HIGH.
    ELSEIF S_BDTER-LOW(1) NE '0'.
    LOOP AT S_BDTER.
    WRITE: S_BDTER-LOW.
    ENDLOOP.
    ELSEIF S_BDTER-LOW(1) EQ '0'.
    WRITE: TEXT-ALL.
    ENDIF.
    L_POS = SY-LINSZ - 20.
    POSITION L_POS. WRITE: TEXT-013, SY-PAGNO. " Page:
    ENDFORM. " TOP_OF_PAGE
    FORM END_OF_LIST *
    FORM END_OF_LIST.
    DATA: L_POS TYPE P.
    ULINE.
    WRITE:/ '|', TEXT-021. " Delivered by:
    L_POS = SY-LINSZ DIV 2.
    POSITION L_POS. WRITE: '|', TEXT-031. " Received by:
    L_POS = SY-LINSZ.
    POSITION L_POS. WRITE: '|'.
    WRITE:/ '|'.
    L_POS = SY-LINSZ DIV 2.
    POSITION L_POS. WRITE: '|'.
    L_POS = SY-LINSZ.
    POSITION L_POS. WRITE: '|'.
    ULINE.
    WRITE:/ '|', TEXT-012. " Date:
    L_POS = SY-LINSZ DIV 2.
    POSITION L_POS. WRITE: '|', TEXT-012. " Date:
    L_POS = SY-LINSZ.
    POSITION L_POS. WRITE: '|'.
    WRITE:/ '|'.
    L_POS = SY-LINSZ DIV 2.
    POSITION L_POS. WRITE: '|'.
    L_POS = SY-LINSZ.
    POSITION L_POS. WRITE: '|'.
    ULINE.
    ENDFORM. " END_OF_LIST
    *& Form WRITE_USING_ALV
    text
    FORM WRITE_USING_ALV.
    Look this code*****
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = REPNAME
    I_INTERNAL_TABNAME = 'OUT'
    I_INCLNAME = REPNAME
    CHANGING
    CT_FIELDCAT = FIELDTAB.
    IF SY-SUBRC 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC,
    'REUSE_ALV_FIELDCATALOG_MERGE'.
    ENDIF.
    LOOk this code also.*********
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = REPNAME
    i_callback_pf_status_set = 'PF_STATUS_SET'
    i_callback_user_command = 'USER_COMMAND'
    I_STRUCTURE_NAME = 'OUT'
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FIELDTAB
    I_DEFAULT = 'A'
    I_SAVE = G_SAVE
    IS_VARIANT = G_VARIANT
    IT_EVENTS = EVENTS[]
    IS_PRINT = PRINTS
    TABLES
    T_OUTTAB = OUT.
    IF SY-SUBRC 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.
    ENDIF.
    ENDFORM. " WRITE_USING_ALV
    ***************report over***************
    HOPE THIS CODE HELPS U
    Reward if its useful.............
    thanks and regards
    suma sailaja

  • [svn:fx-3.x] 9493: Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects .

    Revision: 9493
    Author:   [email protected]
    Date:     2009-08-23 16:09:56 -0700 (Sun, 23 Aug 2009)
    Log Message:
    Applying patch (SDK-22435) submitted by Aaron Boushley which updates ObjectUtil to use toXMLString rather than toString for XML objects.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-13919
    Reviewer: N/A
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22435
        http://bugs.adobe.com/jira/browse/SDK-13919
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

  • My preferences allow pop-ups and yet when I try to generate a letterfrom an online database I'm using for work, FifreFox "prevents po-ups from this site" Why?

    I need to access an online database to generate letters for an assigned project. I click on the appropriate link to generate letters, the file is conveyed to my downloads, and I open it using Adobe to create a pdf. This worked fine for the first 5 letters. When I tried to generate the 6th, a yellow banner appeared informing me that "FireFox prevented this site from opening a pop-up window" which prevented me from getting the letter into downloads to open in Adobe. Even though I don't have the pop-up blocker on, I clicked on preferences and found the site in question already listed as allowed. Why is this happening? How can I continue my work?

    * Go to your concerned website
    * Right-click empty space within the page and click '''View Page Info'''
    * In the '''Page Info''' window, select the '''Permissions''' panel
    * Under '''Load Images''' , '''Open Pop-up windows''', '''Set Cookies''' -> place/Remove Checkmark from '''Use Default''' and change the setting to '''Allow'''
    * Close the Page Info window
    Check and tell if its working.

  • I already have flashplayer on my mac. I have been using online video tutorials for learning, but suddenly all my YouTube vodeos say "plug-in blocked". I follow the instructions for installing or updating, but nothing has helped. I have looked everywhere i

    I already have flashplayer on my mac. I have been using online video tutorials for learning, but suddenly all my YouTube vodeos say "plug-in blocked". I follow the instructions for installing or updating, but nothing has helped. I have looked everywhere in Safari help with no success. How can I restore this plug-in, PLEASE?
    Austin Moore
    Knoxville, Tennessee

    I already have flashplayer on my mac. I have been using online video tutorials for learning, but suddenly all my YouTube vodeos say "plug-in blocked". I follow the instructions for installing or updating, but nothing has helped. I have looked everywhere in Safari help with no success. How can I restore this plug-in, PLEASE?
    Austin Moore
    Knoxville, Tennessee

  • Best way to do batch update of an online database

    We have a periodic process which will do batch update of the online database. I would like to have some advice on what is the best way to avoid this operation affecting cache.
    We have multiple environments using shared cache, so the total cache size is pretty big. Each environment on average refresh once a day. Some are pretty big in the DB size but not necessary have high traffic, and thus doesn't have high count in the cache. I am wondering if I do a refresh (basically lots of puts) to the db, will the affect the cache? if so, is there a way to not affect the cache?
    If there is a way to disable caching of the LN at environment level, that should also work for us as we a 1st tier object cache.
    Also, I would like to cleanup the log at the end of the batch update. Will the cleanup process block the reader threads which are set at read_uncommitted?
    Thanks!
    Edited by: JoshWo on Mar 9, 2010 5:20 PM

    Josh,
    It is possible to use a base API Cursor (with the CacheMode configured) to write entities in a destination EntityStore after reading them from a source EntityStore. The idea is to read the entities using a DPL cursor from the source store, and then use the binding of the destination store to convert the entities to DatabaseEntry objects, and finally store the DatabaseEntry objects using a base API cursor from the destination store.
    import com.sleepycat.je.CacheMode;
    import com.sleepycat.je.Cursor;
    import com.sleepycat.je.DatabaseEntry;
    import com.sleepycat.je.OperationStatus;
    import com.sleepycat.persist.PrimaryIndex;
    import com.sleepycat.persist.EntityCursor;
        PrimaryIndex srcIndex = ... // index of source store
        PrimaryIndex destIndex = ... // index of destination store
        EntityCursor<MyEntity> srcCursor = srcIndex.entities();
        Cursor destCursor = destIndex.getDatabase().openCursor(null, null);
        destCursor.setCacheMode(CacheMode.UNCHANGED);
        EntityBinding<MyEntity> destBinding = destIndex.getEntityBinding();
        DatabaseEntry key = new DatabaseEntry();
        DatabaseEntry data = new DatabaseEntry();
        for (MyEntity e : srcCursor) {
            destBinding.objectToKey(e, key);
            destBinding.objectToData(e, data);
            OperationStatus status = destCursor.put(key, data);
            assert status == OperationStatus.SUCCESS;
        destCursor.close();
        srcCursor.close();Please let me know if you have questions.
    Obviously, this would be a lot easier if there were an EntityCursor.put method, so that the CacheMode could be set on the EntityCursor. I'll file an enhancement request to add such a method.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How do i search for a specific email in mail.

    I would like to know how do i search my inbox for an email that was sent more than a week ago. There is no search optin, or a "sort by" option as in mails on an i-Mac.

  • MacBook Pro

    mac book pro will not boot up just apple logo and spinner

  • Stupid Question but I need to know

    So I just bought an 80 gb 5.5 gen Ipod with video. One thing I notice about it is when I turn down the volume to the lowest level, right before it gets to where I can't hear anything, it is still fairly loud, and with the next click of the wheel it m

  • Level 3 postscript in Photoshop

    A technician for our CTP system says that Photoshop CS3 does not directly support postscript level 3. He says that Photoshop does not take advantage of 1024 levels of gray and thus is more prone to banding than gradients created in InDesign or Illust

  • Can't install Abobe Air on my PC..

    Hello, My son got a "spy watch" for Xmas and I am trying to download "spynet client" from the spynethq website. For this I need to install Adobe Air first. I have downloaded it but I am getting a problem on installation. Please see below log: [2012-1