Correction to previous post, asterik should be replaced with apostrophe

How to update an access database with a string that contains an apostrophe within the string?

its as simple as using two apostrophes, one right after another with no spaces between them.
Jared

Similar Messages

  • Change in Useful life of asset in mid year, but the previous posted depreciation should not be changed

    Dear Experts,
    I have a requirement in one of my client, We need to extend the useful life of asset in mid of an asset fiscal year and the depreciation which was posted in the previous should not be changed.
    Requirement:
    Useful life of asset  is to be extended after completing depreciation for 4 years and in-between the current asset fiscal year. Provided the present asset value has to be taken as the new book value of the asset and the depreciation posted henceforth to be posted based on the new asset value till the remaining useful life.
    Previously posted depreciation should be unchanged.
    Analysis:
    1.      The fiscal Year followed - October to September.
    2.      The useful life of asset will be changed, and the depreciated value posted till 31/mar 2014 will have the old depreciation value ( based on the original acquisition value)
    3.      The Depreciation key used in of type LINR (linear), depreciation value will be calculated based on the Book value till the asset value becomes ZERO at the end of useful life of the asset.
    4.      We can change the useful life of the asset at the end of a Asset fiscal year say FY- 2014, if this is done the existing configuration will take the Book value of the asset at the end of the Fiscal as the asset value and the new depreciation will be calculated based on the new useful life of the asset. The asset value will become ZERO at the end of the newly changed Useful Life.
    5.      But the requirement is that the useful life of the asset will be changed exactly half way in between existing Asset fiscal (i.e., 31/03/2014), if this is done system will change the depreciation value based on the new useful life ( since the Dep Key is LINR), but the depreciation value will change from the fiscal start say October 2013 to September 2014 ), which will not satisfy the requirement of the client. Since the depreciation which is already posted from October 2013 to March 2014 should not be changed.
    Note:
    1. We are not willing to retire the asset and create a new asset with the remaining book value as asset value and start depreciation.
    Kindly let me know if the requirement can be fulfilled without retiring the asset.

    Dear All,
    This requirement has been completed.
    1. I created New Multi level valuation method with base 26 ( Net book value w/o Revaluation ).
    2. New depreciation key was created and the above method was assigned to it. I never changed the Base method.
    3. new interval was created in the depreciation area, with this created dep key and extended the useful life of the asset. The depreciation was calculated according to the requirement.
    Originally the asset had useful life of  5 Years, I changed the asset useful life to 8 years now with new Depreciation key 2001.
    Depreciation was already posted to the asset till 04- 2013 for an amount of 148.27 SAR.
    Net Book value carried forward to 2013 = 1575.56 SAR
    Depreciation already posted till 4th period =   148.27 SAR
    Current Net book value after useful life extension           = 1427.29 SAR .
    Now the new depreciation key 2001 with Multilevel method 201, will take this Net-book value as Asset value and will depreciate along the useful life of the asset till it becomes zero.
    Planned depreciation of 2013 ( remaining 6 months) = 166.24 SAR
    Planned depreciation of 2014 = 225.96 SAR
    Planned depreciation of 2015 = 225.96 SAR
    Planned depreciation of 2016 = 225.96 SAR
    Planned depreciation of 2017 = 225.96 SAR
    Planned depreciation of 2018 = 225.96 SAR
    Planned depreciation of 2019 = 131.25 SAR
    Total      = 1427.29 SAR ( the Asset value becomes zero at the end of its remaining useful life.
    The previously posted depreciation from 01.01.2013 to 30.04.2013 was untouched.

  • In Each field space should be replaced with @ symbol in DME File

    Hi,
    I configured DME file it good, but client wants in each field SPACE should be replaced with @ symbol
    i created new DME file with DMEE transaction code
    here it example
    we have a bank account number filed length is 20 Digits but  bank account no is 15 digits only remaing 5 filelds should be replaced with @ symbol
    Kindly advice me on this
    Thanks in advance
    Regards
    Kumar

    Hello,
    i could follow the link below. More or less my requiremnt is same
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=201066680&focusedCommentId=247136560&#comment-247136560
    Howeevr, the changes in my requirement are
    The location field has to be populated with account name and the address of that account. In this scenario, i have the acoount name from the same page, but the account address is stored in account. i need to retrieve the data from account and append it with the account name and display it in location.
    Please help me on this.
    REGARDS
    CHANDRAKANT KULKARNI

  • Correction to previous post about entering @ in login

    The problem is with the .Mac pane of system preferences, not the Network pane. Sorry.

    Try doing just one at a time and open them as Audio File projects rather than multitrack. You can do what you want by creating a new timeline of just the affected clips. Work with them in STP and export them as aif and import them back into FCP and drop them into place. I do that a lot when I want to create SFX or sound beds to be used again in the future. Then I save those beds in a specific path and add them back into the STP library.

  • Do not show the # values should be replaced with blank at report

    Dear All,
    There is a requirement do not show the null (#) values at report level for characterstics fro example for onedocument there is no notification type in report for that document it is coming with null value but i do not want that null value in report it should be blank
    any suggestions  please,mostly provide the information at report level,but at cube level any options at the time loading( through start routine)
    Thanks & Regards
    sathish

    Hi Satish,
      There is one tcode where u can keep ur symbol defined say blank  to show in report when null values occur... i didnt rememeber tcode i will tell you as soon i get it....
    but it will effect not only this query but all the queries so it is upto u....
    and at cube level u can write a routine to check ...
    if  this field value is initial .
       change it with blank
    else
      leave it.
    hope it helps...
    regards
    vamsi
    Edited by: vamsi talluri on Mar 15, 2009 10:33 PM

  • How to replace a string with asterisks? This is related to my previous post

    I guess I now need to replace the middle segment of what is retrieved with asterisks.
    So, the string in the middle '99999988' should be replaced with '********'. I am basically trying to mask the middle sement string. The length of the original string is not known but the first segment is 6 characters and 3 segment is 4 characters. The middle sement can be anywhere between 5 to 10 characters. In the example below, its 8 characters.
    Can I use REPLACE or TRANSALE functions in here ?
      select substr('456712999999881234', 1, 6) a,
             substr('456712999999881234', 7, length('456712999999881234') - 10) b,
             substr('456712999999881234', -4) c
      from      dual;Thanks

    if the middle section is entirely numbers then translate(<middle_section>, '1234567890', '**********')
    otherwise rpad('*', length(col)-10, '*')
    eg:
    select substr('456712999999881234', 1, 6) a,
             translate(substr('456712999999881234', 7, length('456712999999881234') - 10), '1234567890', '**********') b,
             substr('456712999999881234', -4) c
      from  dual;
    A      B        C  
    456712 ******** 1234
    select substr('456712999999881234', 1, 6) a,
             rpad('*', length('456712999999881234')-10, '*') b,
             substr('456712999999881234', -4) c
      from  dual;
    A      B        C  
    456712 ******** 1234Although thinking about it, I'd just go for the rpad version; requires less processing that using the translate version, and works for more situations (ie. even if there's characters in the middle section, rather than just numbers)
    Edited by: Boneist on 16-Jul-2009 16:54

  • Previous post

    I previously posted about slow download speeds and have since retested my connection and found im only getting around 5mb on my line.....seems low but is this normal??? i live close to the centre of swindon, wiltshire

    in order for the forum members to help please can you post the adsl stats from your router may need to 'show detail' to get all stats (if hub enter 192.168.1.254 in your browser and navigate to adsl or use a-z, if netgear enter 192.168.0.1) and run btspeedtester (MAC users may have problems) http://speedtester.bt.com or http://bt.custhelp.com/app/answers/detail/a_id/9354/c/346,4740,5520 and post the results .
    are you connected directly to the NTE5 master or test socket or to somewhere else? Is the master the only phone socket in your home?
    Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone. if cordless phone you may hear a 'dull hum' which is normal
    Someone may then be able to offer help/assistance/suggestions to your problem
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Re-open the Previous posting period

    hi...
    we have closed the posting period for the month of 01-02(april-may) and open the 03-04(june-july)...
    but now we want to open the previous posting period i.e. 01-02(april-may) again...so how could we do this..
    one solution i have got is that...
    1. go to OX18 delete all the assignment for that company code and plant.
    2. go to OMSY and change the posting period..
    3.  go to OX18 and reassign the plant and company code again...
    this is the right method to do that..?
    will there be any -ive implications if I open the previous period by this procedure..?
    or suggest me some other way to do that...
    Thanks in advance

    Hi
    You can open Closed MM periods but be careful because SAP does recommend opening closed MM periods.
    Steps are :
    1) Tcode MMPI --from Tool Bar select - System - User Profile - Own Data - In parameter Tab Enter "MMPI_READ_NOTE" in parameter Field.
    Try to remove assignment of plants from company code.
    Now Go to -
    T-Code OMSY & Set the required Period.
    Re-assign Plants to Company Code & Check whether correct preriod is open thru T-Code - MMRV
    Now use T-code - OMWD to Assign Valuation grouping code to Valuation area because the earlier data gets deleted when assignment of Plants was removed.
    Use the transaction code OMS2 then select FERT (or any other Material Type used by your company)
    Then click on the quantity and value update.
    Select your plant or valuation area and put Tick Marks in Value update and Quantity update
    Even check this link...Reopening the posting period that was closed
    This will definitely reslove your problem.
    Thanking you.

  • BlackBerry World not accepting VISA card -- follow up to my previous post

    Re purchase of an app for new Z10 --  main software all successfully updated to most recent.  Well, I posted last time about being escalated up through the ranks of BlackBerry software helpers from Bell, and after several levels getting a very easy-to-communicate-with woman from BlackBerry in Halifax, NS...
    She told me Bell would bill me for the apps on my carrier bill, and I told her No, they told me they didn't do that, not in Victoria BC my home town, anyhow.  I asked her to call and contact them...  she said she did, and said Yes, they would.  So I set that up on my BlackBerry World sign-in page using my computer, under her guidance, and it seemed to be set up.  I even purchased an app that way successfully, afterwards...  [She told me at the time that yes, there was a problem with the tool that handles VISA payments, sometimes...]
    BUT, several days later when I went to do the same thing again with another app, well, I had a message in red on my purchase screen on my Z10 that carrier purchase was not available!
    Ahem.
    So, I tried purchasing via VISA again [read my previous post, I called VISA, tried to see if there was something wrong there, no there wasn't].  No form of my re-entering my VISA card or editing it etc. would work.
    So I tried PayPal, over the past weekend I established a PayPal account to be paid for via my same VISA card, that took some doing as the procedure is not that clear on their website and you have to explore the sections under "my money" etc. to see just what is going on with it...  without any warning or info from either BlackBerry or PayPal the account wouldn't work [refused several tries to purchase an app]  until a special method for BlackBerry was posted in that "my money" section on PayPal, they call it a prepayment account or something like that, it takes about an hour or two on a Sunday for that to appear for a new account, and then [I was doing this via my computer after signing in to PayPal] I saw a side message that this purchasing procedure would not work until August 12th.
    Today, August 12th, I just purchased a trial app, Medieval Ringtones, and that went through!  Unfortunately I was on just our own house WiFi [good signal, I thought at the time, though], and just before it got installed something said "network problem" and it stopped installing.  Now I can't buy it again either, I'll try later just to see if it reloads -- it wouldn't reload to the purchase point.  I don't really care, it was an experiment.  I just downloaded a free app, Top 500 Ringtones, from BlackBerry World, and that went smoothly and seems great, lots of choices, most of them free as far as I can tell.
    Warning to users:  I would establish the PayPal account via BlackBerry World's own access point on the computer, first, through the BlackBerry World website,  clicking on their PayPal symbol, before trying to purchase via PayPal, as establishing a PayPal account first, independently,  may lead to confusion if you establish it outside of BlackBerry World.
    Now, I have noticed the work-around posted by a BlackBerry Forum guru here on using a dummy VISA account, this helpful person provides a list.  WOULD THIS HELPFUL PERSON PLEASE EXPLAIN THE PROCEDURE IN DETAIL?  i WOULD HAVE NO IDEA HOW TO DO IT IN PRACTICE -- APPARENTLY THE SOFTWARE WILL STILL CHARGE THE APP TO ONE'S REGISTERED VISA???  PLEASE GIVE DETAILED INSTRUCTIONS.
    If I can, indeed, purchase something via PayPal, or ultimately, indeed with a VISA payment, without a glitch [I'll keep trying] I'll report it here.  Meanwhile all the apps I've downloaded from BlackBerry World have been free ones, except for the one that mistakenly got sold to me via Bell billing me for it [which they won't] a few days ago [either Bell or BB got stuck with the $1.99 or something for that!].  The free ones I've downloaded have been excellent, including this Top 500 Ringtones, just the kind I was looking for, lots of real telephone and cell phone ring sounds for a purist like me...
    But I hope BlackBerry can fix up the glitch in BlackBerry World soon, it shouldn't be there at all...  my husband has the theory the facility is staffed by too small a core of software people to keep up with the problems and wasn't properly tested, or else it was subcontracted out and they are stuck with it until they get a new one -- come on, BlackBerry, get a new BlackBerry World payment procedure that works smoothly, us BlackBerry fans are anxious about you!!!

    Just to say there ARE lots of Apps on BlackBerry World, so potential BB purchasers should not let that stop them, and some very good free ones, excellent -- BlackBerry Travel is really good, and OsmAnd maps are fabulous, big to download, but when you get it you'll be amazed. Just download a provincial or smaller map to start, because they are huge files and very detailed, but lots of trails and paths are on them... good for park trails and such.

  • The Web application at could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application

    Hi,
    I have created on windows service to fetch sharepoint list ad update the list items.
    when i run this service in sharepoint server(where the sharepoint site is hosted),it is working fine. If i run the same service in another machine(sharepoint installed in this machine also). it is giving the below error
    The Web application at [URL] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    Code snippet
    SPSite sharepointSite = null;
                SPWeb rootWeb = null;
                try
                    //SPList current = null, previous = null;
                    string colmId = ConfigurationManager.AppSettings[ID_COLM];
                    List<TaskEntity> list = new List<TaskEntity>();
                    sharepointSite = new SPSite(URL);
                    rootWeb = sharepointSite.OpenWeb();
                    SPList current = rootWeb.Lists[ConfigurationManager.AppSettings[OMEGA_REGISTRATION_LIST]];
                    WriteEventLog("current" + current.Items.Count.ToString());
                catch (Exception ex)
                    ExceptionMethod(ex);
                finally
                    sharepointSite = null;
                    rootWeb = null;
    I have pointed .net framework to 3.5 version and target palform as Any CPU. Please suggest me

    Hi mallela1,
    I also had similar issue couple of months back when I was trying to access a remote URL from a Windows service when the site does not exists in the server where service resides.
    You cannot access a remote url (even though it is SharePoint server and also in same network ) from server object model.
    SPSite can look in the current server only. here what is happening is SPSite will look for this in the current server DB and it is not finding this errror.
    So please dont use ServerObject model for accessing remote sites. You can use Client Object model for the code /requirement you have stated above.
    I wasted lot of time in finding a work around to make to work. It did not. So look for other options.
    Regards,
    Nandini

  • Posting a credit memo in reference to a previously posted document

    Hi SAP gurus,
    I would just like to ask if there is a functionality in SAP re: credit memo postings wherein the system can refer to a previously posted customer document and automatically derive the values such as GL account, cost center and business area of the posted document to the new Credit memo being processed?
    Example
    Customer invoice:
    Dr   Cash (GL 100001, Cost center 1000, BA 1000)               1000
    Cr   Customer A                                                                  1000
    In the credit memo posting screen, upon inputting the document number of the invoice in the invoice reference, the client requires us that the GL account 100001, cost center 1000 and BA 1000 be derived automatically without manual encoding from the user. Meaning all they have to input is the customer number and the invoice reference (doc number). Is this possible? Thanks

    Hi
    The invoice ref field in credit memo posting is related only with the payment terms. The systems determines the payment term from the original invoices.
    This field should be either filled with the original invoice document number or "V".
    If the field is left blank, then the system always takes the payment term for credit memo as "Due immediately"
    I dont thing there is a provision for copying the line item details as per original invoice document.

  • Hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • Should I replace the HD?

    as mentioned in a former topic, I had a severe crash after installing SL.
    Everybody advised me to change the HD, although every tool I took proved it to be o.k....
    Since I reinstalled Leopard (not SL), everything seems to be fine, except using the migration assistant, which does not seem to work, so I could not prove if my usual stuff (i.e. Logic studio/CS4) runs properly.
    Should I replace the HD? Does the HD still cause problems?
    Any help?

    I don't disagree with most of what you say but a few things might be worth considering.
    AFAIK, all modern ATA drives use some form of low level error correction & detection, typically CRC, & automatically map out blocks that fail that test after some number of retries. This occurs on all normal reads of physical blocks & is independent of the host computer.
    Utilities like TTP at one point (& possibly still today) supplemented this by performing tests that in effect artificially reduce the number of retries to a very low number on the theory that the drive will allow "weak" blocks (those that take several retries to pass error correction tests) to continue to be used until they fail, causing data loss. These "weak" blocks would then be mapped out in some way by the utility. IMO, the value of this is debatable because in effect it assumes that a third party vendor knows more about preventing data loss than the manufacturer of the drive. It also can map out blocks that have no real problems since this kind of "soft" error (failed CRC on a single read) occurs routinely in modern very high density drives.
    Absent this kind of utility overruling the disks own checks & mapping out what might be perfectly good blocks, it is sometimes useful to check how many spare blocks have been mapped in & just as importantly how many remain because this tells you something about a suspect drive's continuing reliability. This is where I see vendor utilities and/or SMART Utility for the Mac being of some value. However, since most drives' built-in SMART systems monitor the same thing, I don't think most users need to worry about this … at least for internal drives for which SMART monitoring is supported by the OS.
    BTW, by "increasing frequency" of bad blocks, what I meant was something I have observed in the past: when the bad block count suddenly starts growing, it is usually a sign of impending drive failure. Usually this is because the drive's platter has shed magnetic media, perhaps because of a head crash, & the debris are getting trapped between the head & platter & gouging out still more media. Again, if SMART monitoring is available for the drive, it should detect this.

  • Related to previous post..

    Hi realted to my previous question, I was looking at standard ABAP SAPCript driver program PSFCOBJL.
    I see something like follwoing inside include LCODRINC:- 
    Import .....
    FROM MEMORY ID 'PPT'.
      IMPORT ITAB
             ITAB_TDR       FROM MEMORY ID 'PPI'.
      IMPORT PRLST_TMP      FROM MEMORY ID 'PPS'.
    What does memory ID' PPT', 'PPI' and 'PPS' signify.
    Is this the place from where we can ftech the initail data field(Explained in my previous post)
    Tushar.

    SAP and ABAP/4 Memory
    There is a difference between the cross-transaction SAP memory and the transaction-specific ABAP/4 memory.
    SAP memory
    The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
    ABAP/4 memory
    The contents of the ABAP/4 memory are retained only during the lifetime of an external session (see also Organization of Modularization Units). You can retain or pass data across internal sessions. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    Please consult Data Area and Modularization Unit Organization documentation as well.
    and
    Memory Structures of an ABAP Program
    IMPORT - Reading Data
    Variants:
    1. IMPORT obj1 ... objn FROM MEMORY.
    2. IMPORT obj1 ... objn FROM DATABASE dbtab(ar) ID key.
    3. IMPORT obj1 ... objn FROM LOGFILE ID key.
    4. IMPORT DIRECTORY INTO itab FROM DATABASE dbtab(ar) ID key.
    5. IMPORT obj1 ... objn FROM DATASET dsn(ar) ID key.
    6. IMPORT obj1 ... objn FROM SHARED BUFFER dbtab(ar) ID key.
    7. IMPORT (itab) FROM ... .
    Variant 1
    IMPORT obj1 ... objn FROM MEMORY.
    Additions:
    1. ... = f (for each object to be imported)
    2. ... TO f (for each object to be imported)
    3. ... ID key
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See ID must be specified and Implicit Field Names not Allowed inClusters
    Effect
    Imports the data objects obj1 ... objn (fields, structures, complex structures, or tables) from a data cluster in ABAP memory . All data exported to ABAP memory using EXPORT... TO MEMORY without ID is read. Unlike the IMPORT FROM DATABASE variant, the sytsem does not check whether the structures used in EXPORT and IMPORT correspond.
    The return code is set as follows:
    SY-SUBRC = 0:
    Data objects imported.
    SY-SUBRC = 4:
    Unable to import data objects.
    The ABAP memory was probably empty.
    The contents of all listed objects remain unchanged.
    Notes
    You should always use addition 3 /... ID key) with this statement. Variants that do not use this addition have unpredictable effects ( EXPORT statements in different parts of programs can overwrite each other's data in ABAP memory. These variants only exist for the sake of compatibility with R/2.
    Please consult Data Area and Modularization Unit Organization documentation as well.
    Addition 1
    ... = f (for each object you want to import)
    Addition 2
    ... TO f (for each object you want to import)
    Effect
    Places the object in the field f.
    Addition 3
    ... ID key
    Effect
    Only the data stored in ABAP memory under the key key is imported.
    The return code is set as follows:
    SY-SUBRC = 0:
    Data objects imported.
    SY-SUBRC = 4:
    Data objects could not be imported.
    You may have used an incorrect ID.
    The contents of all listed objects remain unchanged.
    Related
    EXPORT TO MEMORY, FREE MEMORY
    Variant 2
    IMPORT obj1 ... objn FROM DATABASE dbtab(ar) ID key.
    Additions:
    1. ... = f (for each object you want to import)
    2. ... TO f (for each object you want to import)
    3. ... CLIENT g (before ID key )
    4. ... USING form
    5. ... TO wa (as last addition or after dbtab(ar))
    6. ... MAJOR-ID id1 (instead of ID key)
    7. ... MINOR-ID id2 (together with MAJOR-ID id1)
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Implicit field names not allowed in clusters and Table work areas not allowed.
    Effect
    Imports data objects obj1 ... objn (fields, structures, complex structures, or tables) from the data cluster with the ID key in area ar of the database table dbtab (compare EXPORT TO DATABASE).
    The return code is set as follows:
    SY-SUBRC = 0:
    Data objects imported.
    SY-SUBRC = 4:
    Data objects could not be imported.
    You may have used an incorrect ID.
    The contents of all listed objects remain unchanged.
    Example
    Importing two fields and an internal table:
    TYPES: BEGIN OF TAB3_TYPE,
              CONT(4),
           END OF TAB3_TYPE.
    DATA: INDXKEY LIKE INDX-SRTFD,
          F1(4), F2 TYPE P,
          TAB3 TYPE STANDARD TABLE OF TAB3_TYPE WITH
                    NON-UNIQUE DEFAULT KEY,
          WA_INDX TYPE INDX.
    INDXKEY = 'INDXKEY'.
    IMPORT F1   = F1
           F2   = F2
           TAB3 = TAB3 FROM DATABASE INDX(ST) ID INDXKEY
           TO WA_INDX.
    Notes
    You must have named the table dbtab listed in DATABASE in a TABLES statement (except in addition 7).
    The structure of the fields, structures, and internal tables that you want to import must correspond to the objects exported to the dataset. Furthermore, the objects must be imported with the same names with which they were exported. If you do not do this, the import will fail, and a runtime error may occur.
    Exception: The last field may be longer or shorter, as long as it has type CHAR. Likewise, you can add or remove CHAR fields at the end of the structure.
    Addition 1
    ... = f (for each object you want to import)
    Addition 2
    ... TO f (for each object you want to import)
    Effect
    Places the object in the field f.
    Addition 3
    ... CLIENT g (before ID key)
    Effect
    The data is taken from client g (only for client-specific import/export databases).
    Example
    DATA: F1,
          WA_INDX TYPE INDX.
    IMPORT F1 = F1 FROM DATABASE INDX(AR) CLIENT '002' ID 'TEST'
                   TO WA_INDX.
    Addition 4
    ... USING form
    Note
    This statement is for internal use only.
    Incompatible changes or further developments may occur at any time without warning or notice.
    Effect
    The data is not read from the database. Instead, the subroutine form is called for each data record that would have been read from the database. This routine can use the key fields of the records that would have been read from the work area of the database table and write the procured data into the work area. The routine has the name <database table name>_<subroutine name>. It has one parameter that describes the operation mode (READ, UPDATE, or INSERT). The routine must set SY-SUBRC to indicate whether the function has been executed successfully.
    Note
    Runtime errors: Various runtime errors can occur, depending on the operands you use to import data:
    Addition 5
    ... TO wa (last addition or after dbtab(ar))
    Effect
    Use this addition when you want to read user data fields that have been strored in the database. Instead of the table work area, the statement uses the specified work area wa. The target area must have the structure of the corresponding table dbtab.
    Example
    DATA WA LIKE INDX.
    DATA F1.
    IMPORT F1 = F1 FROM DATABASE INDX(AR)
                   CLIENT '002' ID 'TEST'
                   TO WA.
    WRITE: / 'AEDAT:', WA-AEDAT,
           / 'USERA:', WA-USERA,
           / 'PGMID:', WA-PGMID.
    Addition 6
    ... MAJOR-ID id1 (instead of ID key)
    Addition 7
    ... MINOR-ID id2 (together with MAJOR-ID id1)
    This addition is not allowed in an ABAP Objects context. See Generic ID not allowed.
    Effect
    Searches for a record with an ID whose first part corresponds to id1 and (if you also specify MINOR-ID id2) whose second part is greater than or equal to id2.
    Variant 3
    IMPORT obj1 ...objn FROM LOGFILE ID key.
    Note
    This statement is for internal use only.
    Incompatible changes or further developments may occur at any time without warning or notice.
    Additions:
    1. ... = f (for each field f you want to import)
    2. ... TO f (for each field f you want to import)
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Implicit field names not allowed in clusters
    Effect
    Imports data objects (fields, structures, or internal tables) from the update data. You must specify the update key assigned by the system (with the serial request number).
    The return code is set as follows:
    SY-SUBRC = 0:
    Data objects imported.
    SY-SUBRC = 4:
    Data objects could not be imported.
    You may have used an incorrect ID.
    The contents of all objects listed in the statement remain unchanged.
    Addition 1
    ... = f (for each object you want to import)
    Addition 2
    ... TO f (for each object you want to import)
    Effect
    Places the object in the field f.
    Variant 4
    IMPORT DIRECTORY INTO itab FROM DATABASE dbtab(ar) ID key.
    Additions:
    1. ... CLIENT g (before ID key)
    2. ... TO wa (last addition or after dbtab(ar))
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Table work areas not allowed.
    Effect
    Places a directory of the objects stored under the specified ID using EXPORT TO DATABASE in the internal table itab. itab may not have the type HASHED TABLE or ANY TABLE.
    The return code is set as follows:
    SY-SUBRC = 0:
    Directory imported.
    SY-SUBRC = 4:
    Unable to import directory.
    You may have used an incorrect ID.
    The internal table itabmust have the same structure as the ABAP Dictionary structure CDIR (INCLUDE STRUCTURE).
    Addition 1
    ... CLIENT g (before ID key)
    Effect
    Takes the data from client g (only if the import/export database is client-specific).
    Addition 2
    ... TO wa (last addition, or after dbtab(ar))
    Effect
    Uses the specified work area wa instead of the table work area. The table dbtab specified after DATABASE does not, in this case, have to be declared in a TABLES statement. The specified target area must have the same structure as dbtab.
    Example
    Directory of a cluster consisting of two fields and an internal table.
    TYPES: BEGIN OF TAB3_LINE,
             CONT(4),
           END OF TAB3_LINE,
           BEGIN OF DIRTAB_LINE.
             INCLUDE STRUCTURE CDIR.
    TYPES  END OF DIRTAB_LINE.
    DATA: INDXKEY LIKE INDX-SRTFD,
          F1(4),
          F2(8)   TYPE P decimals 0,
          TAB3    TYPE STANDARD TABLE OF TAB3_LINE,
          DIRTAB  TYPE STANDARD TABLE OF DIRTAB_LINE,
          INDX_WA TYPE INDX.
    INDXKEY = 'INDXKEY'.
    EXPORT F1 = F1
           F2 = F2
           TAB3 = TAB3
           TO DATABASE INDX(ST) ID INDXKEY " TAB3 has 17 entries
           FROM INDX_WA.
    IMPORT DIRECTORY INTO DIRTAB FROM DATABASE INDX(ST) ID INDXKEY
           TO INDX_WA.
    DIRTAB subsequently has the following contents:
    NAME     OTYPE  FTYPE  TFILL  FLENG
    F1         F      C      0      4
    F2         F      P      0      8
    TAB3       T      C      17     4
    Meanings of the individual fields:
    NAME:
    Name of the object
    OTYPE:
    Object type (F: field, R: structure / ABAP Dictionary structure, T: internal table)
    FTYPE:
    Field type (C: character, P: packed, ...)
    Structures and internal tables have type C.
    TFILL:
    Number of filled lines in an internal table
    FLENG:
    Length of the field in bytes
    For internal tables: Length of the header line.
    Variant 5
    IMPORT obj1 ... objn FROM DATASET dsn(ar) ID key.
    This variant is not allowed in an ABAP Objects context. See Clusters not allowed in files
    Note
    Do not use this variant.
    Note
    Catchable runtime errors
    The following catchable runtime errors can occur with this variant:
    EXPORT_DATASET_CANNOT_OPEN: The EXPORT/IMPORT statement could not open the file.
    OPEN_DATASET_NO_AUTHORITY: No authorization to access a file.
    Variant 6
    IMPORT obj1 ... objn FROM SHARED BUFFER dbtab(ar) ID key.
    Additions:
    1. ... = f (for each object you want to import)
    2. ... TO f (for each object you want to import)
    3. ... CLIENT g (before ID key)
    4. ... TO wa (last addition or after dbtab(ar))
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See No implicit field names allowed in clusters and Table work areas not allowed.
    Effect
    Imports the data objects obj1 ... objn (fields, structures, complex structures, or tables) from the cross-transaction application buffer. The data objects are read from table dbtab using the ID key from area ar (see EXPORT TO SHARED BUFFER).
    The return code is set as follows:
    SY-SUBRC = 0:
    Data objects imported.
    SY-SUBRC = 4:
    Unable to import data objects.
    You may have used an incorrect ID.
    The contents of all data objects listed in the statement remain unchanged.
    Example
    Importing two fields and an internal table from the application buffer with the structure indx:
    TYPES: BEGIN OF ITAB3_LINE,
             CONT(4),
           END OF ITAB3_LINE.
    DATA: INDXKEY LIKE INDX-SRTFD VALUE 'KEYVALUE',
          F1(4),
          F2(8) TYPE P DECIMALS 0,
          ITAB3 TYPE STANDARD TABLE OF ITAB3_LINE,
          INDX_WA TYPE INDX.
    Import data
    IMPORT F1 = F1 F2 = F2 ITAB3 = ITAB3
           FROM SHARED BUFFER INDX(ST) ID INDXKEY TO INDX_WA.
    After the import, the fields before CLUSTR
    (INDX-AEDAT and INDX-USERA) are filled with the
    values they had before the corresponding EXPORT
    statement.
    Notes
    The table dbtab specified after DATABASE must be declared under TABLES (except in addition 2).
    The structures of the fields, structures, and internal tables you want to import must be the same as those fo the objects you exported. The EXPORT and IMPORT statements (unlike IMPORT FROM DATABASE statement) does not check that they are the same. If the structures are not the same, a runtime error may occur if invalid assignments are attempted during the operation. The objects must also be imported using the same name as that with which they were exported. Otherwise, nothing is imported.
    Please consult Data Area and Modularization Unit Organization documentation as well.
    Addition 1
    ... = f (for each field you want to import)
    Addition 2
    ... TO f (for each field you want to import)
    Effect
    Places the object in field f.
    Addition 3
    ... CLIENT g (before ID key)
    Effect
    Takes the data from client g (if the import/(export table dbtab is client-specific).
    Addition 4
    ... TO wa (as last addition or after dbtab(ar))
    Effect
    Use this addition if the application buffer contains user data fields that you want to read. Instead of the table work area, the system uses the specified work area wa. The target area you specify must have the same structure as dbtab.
    Example
    DATA: INDX_WA TYPE INDX,
          F1.
    IMPORT F1 = F1 FROM SHARED BUFFER INDX(AR)
                   CLIENT '001' ID 'TEST'
                   TO INDX_WA.
    WRITE: / 'AEDAT:', INDX_WA-AEDAT,
           / 'USERA:', INDX_WA-USERA,
           / 'PGMID:', INDX_WA-PGMID.
    Variant 7
    IMPORT (itab) FROM ... .
    Effect
    Specifies the objects you want to import in the internal table itab. You can use this variant instead of the static object list in the following variants: " ... FROM MEMORY", "... FROM DATABASE ", " ... FROM DATASET" und "... FROM SHARED BUFFER". Any additions that are valid in the static cases can also be used here. The table itab may not have the type HASHED TABLE or ANY TABLE.
    Note
    Structure of the internal table itab:
    The first column of the table contains the object name in the data cluster (corresponds to obj1 ... objn from the static case. The second column contains the different name in the program (if necessary), and corresponds to f in the FROM f addition. If the table has only one column, or the second column contains only blanks, the statemeht is the equivalent of a static IMPORT with no TO addition. Both the first and the second columns should have the type character.
    Example
    TYPES: BEGIN OF OBJ_LINE,
            CLUSTERNAME(30),
            PROGRAMNAME(10),
          END OF OBJ_LINE,
          BEGIN OF B_LINE,
            FIELD_1    TYPE I,
            FIELD_2(1) TYPE N,
          END OF B_LINE.
    DATA: OBJ_TAB TYPE STANDARD TABLE OF OBJ_LINE,
          OBJ_WA  TYPE OBJ_LINE,
          B_PROG  TYPE STANDARD TABLE OF B_LINE,
          B_WA    TYPE B_LINE,
          A(10),
          C_PROG LIKE SYST.
    MOVE:  'A'    TO OBJ_WA-CLUSTERNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'B'      TO OBJ_WA-CLUSTERNAME,
           'B_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'C'      TO OBJ_WA-CLUSTERNAME,
           'C_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    IMPORT (OBJ_TAB) FROM MEMORY ID 'ABCD'.
    The dynamic EXPORT statement corresponds to the static IMPORT statement.
    IMPORT A = A  B = B_PROG  C = C_PROG FROM MEMORY ID 'ABCD'.
    Places the single field A in field A, the internal table B in the internal table B_PROG, and the structure C in the structure C_PROG.
    Note
    Runtime errors:
    DYN_IMEX_OBJ_NAME_EMPTY: The object name in the cluster (that is, the contents of the first column of obj_tab) is empty.
    DYN_IMEX_OBJ_NAME_TWICE: An object name (in the cluster) occurs twice in the first column of the internal table.
    DYN_IMEX_OBJ_NOT_FOUND: The data object in the program (the object whose name appears in column 2, if this is not empty, otherwise in column 1) does not exist.
    The return code is set as follows:
    SY-SUBRC is set in the same way as for the static IMPORT.
    Note
    General notes about catchable runtime errors
    The variants
    IMPORT obj1 ... objn FROM MEMORY,
    IMPORT obj1 ... objn FROM DATABASE dbtab(ar) ID key,
    IMPORT obj1 ... objn FROM DATASET dsn(ar) ID key,
    IMPORT obj1 ... objn FROM SHARED BUFFER dbtab(ar) ID key,
    IMPORT (itab) FROM ... ,
    can cause the following catchable runtime errors:
    CONNE_IMPORT_WRONG_COMP_LENG: A component in the dataset has an incorrect length
    CONNE_IMPORT_WRONG_COMP_TYPE: A component in the dataset has an incorrect type
    CONNE_IMPORT_WRONG_FIELD_LENG: A field in the dataset has the wrong length
    CONNE_IMPORT_WRONG_FIELD_TYPE: A field in the dataset has the wrong type
    CONNE_IMPORT_OBJECT_TYPE: Type conflict between a simple and a structured data type
    CONNE_IMPORT_WRONG_STRUCTURE: Type conflict between structured objects
    IMPORT_ALIGNMENT_MISMATCH: Same sequence of components in different structures
    IMPORT_TYPE_MISMATCH: Only with IMPORT...FROM MEMORY | FROM SHARED BUFFER...

  • Local iDisk replaced with folder labled "Previous local iDisks"

    I moved and when I plugged in and restarted my computer the disk icon was gone and it was replaced with a folder labled "Previous local iDisks." Everything appears to be working the same (Word, I can find my documents, etc.), but I'm nervous that this is a sign of something wrong and that I'll suddenly find all my information has disappeared.

    Hi, iDisk is no longer supported.
    I assume you had a .mac/MobileMe account at one time?
    If so, go to System Preferences>.Mac or MobileMe and remove your username and password.
    Unmount any iDisk you may have.
    If it should fail to dismount then, (Yeah crazy deal), either reboot, or open Terminal & paste in this exact line...
    sudo umount -f iDisk/
    It'll ask you for an Admin password that won't be echoed, but hit enter/return anyway.

Maybe you are looking for

  • Can't convert the swf to MovieClip

    I have a problem where i have an as3 project loading in an AS3 SWF which contains another AS3 SWF containing a videoplayer, and i'm getting the type coercian fail error as above. TypeError: Error #1034: Type Coercion failed: cannot convert work_clien

  • Decision making in DAC

    Hi All, I need help to implement below condition in DAC. I have couple of custom mappings which i have configured in DAC with separate "Source system container". It works fine. Now i need to add one more condition, based on which load in DAC will con

  • My word documents are not printing

    Hi, my deskjet 2544 will not print word documents. It will print off the internet though.

  • Here drive not working....

    Had some problem to so i started factory reset on my mbile... it worked like a charm... but now the problem is that the Here Drive is not working... When i try to install it it shows that your phone doesn't support this app, and on the app store on m

  • I recently installed adobeX1last night but i cant get it to open????

    i installed adobe X1 last night but i cant get it to open????