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...

Similar Messages

  • 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.

  • SAP HR Technical Accounts related to payroll posting.

    Hi experts,
    I have a doubt in Assign Technical Accounts related to payroll posting.
    Menu Path IMG -> Payroll SG -> Reporting for Posting Payroll Results to Accounting -> Activities in the AC System -> Assigning Accounts -> Assign Technical Accounts
    Account key    Account (GL)
    1001               1307090
    *1307090 Clearing Account.
    My doubts are
    u2022     If I am maintaining a GL account as clearing account, is it applicable for the entire wage types across company codes?(As this config is not based on Co code,but based on Chart of accounts)
    u2022     Where these account keys we will be assigned in HR side to wage types / no need to assign?
    Regards
    Thomas

    Hi,
    My issue is not solved yet.
    I have tried that option now documents are splitting and there is no error in document creation, but now its a different  issue  of amt in that GL acc.
    My scenario is we are creating a new company code.So group of employees I need to move from one company to another.
    But their previous month claim needs to be posted in the old cost centre.
    Means when I am running Jan payroll (period 1), December claims which is created in Jan should processed and two documents has to be created. u2013Its is done now.-No issues.
    But now the new GL code (not assigned to any symbolic account) which is assigned for splitting ,in  the technical account is not displaying in the posting document.
    Example:-IT0015 record with origin as 15.Dec.2010, but created in Jan..
    In my document it is taking as       
    GL related to wage type u201C/552 Stat.net post u201C- as debit in period 1 Jan document .
    and
    GL related to wage type   u201C9xxx- staff out patient claimu201D u2013as debit in period 13 Dec document .
    Now question is what is the relevance of the GL given in the technical accounts, as nothing is posted in to that account?
    Edited by: Thomas Padiyara on Dec 3, 2010 11:17 AM
    Edited by: Thomas Padiyara on Dec 4, 2010 3:53 AM

  • Complement to previous post

    This post complements my previous post.
    In all fairness to Videotron, I see that my system matches the minimum requirements for High Speed. This information was not posted on Videotron's site when I contracted last February:
    Description Minimum Recommended
    Operating System* OS 10.2 OS 10.5
    Required processor G3 Core 2 Duo or +
    RAM 128 MB 512 MB
    Nevertheless, it is obvious that both Safari and Firefox perform better at this increased speed (Download speed of 10 M bps and upload speed of 900 K bps) as publicized by Videotron.
    I will be discussing this with Videotron Tech Service after the temporary 48 Hr upgrade.
    Videotron's Customer Relations Person explains that the service delivered is "Up to the stated speed (read approaches)". This is hard to accept when the actual speed can, at times, is below 50% performance.
    Any further information or explanations would be greatly appreciated,
    Louis Greco.

    SOLUTION : ADJUST CONNECTION SPEED SETTING:
    Adjusting, SYSTEM PREFERENCES >> Quick Time >> STREAMING >> 256 Kbps DSL/CABLE, has resulted in a normal viewing of Streaming Video content.
    The Quick Time Player is downsized automatically to 'half-size' (minimum) and the streaming is smooth now .
    This is surprising because Videotron claims that their high-speed connection is faster.

  • The "Roman" font is not being recognized in Firefox 4.0. As such, I cannot read any previously posted topics or post any new topics on websites using this font.

    The "Roman" font is not being recognized in Firefox 4.0. As such, I cannot read any previously posted topics or post any new topics on websites using this font.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • How to Get a List of All XMLElements (Follow up to previous posting)

    (CS5, Win7, 64Bit)
    I need a collection (or array, etc.) of all the XMLElement objects in a given document in flat form (just like the "Structure Tree"'s hierarchichal view - only flatened).
    I could not find any "normal" way (i.e., built-in property or method) to get at the information. Instead, I found that I had to recurse through the entire XMLElement tree, starting with the Root Element. For a large document, this can take close to a ten minutes, and sometimes I have to do this for an InDesgin Book containing over ten enormous INDD files.
    After "கற்பனை Imagine" responded to my previous post about how to get all the XMLTags, I assumed that myDocument.xmlElements would return a collection of all the XMLElements in the Document. Unfortunately, it does not - it returns only the Root XMLElement. Thus, I have to recurse therough the hierarchy of XMLElements under the Root XMLElement - which takes a very long time.
    There HAS to be a better way, right?
    Would it be better were I to recurse through all PageItems in the document and then recurse through each PageItem's XMLElement tree? I assume that wouldn't make a big difference either way.
    I'm open to suggestions...
    TIA,
    mlavie

    mlavie:
    I could not find any "normal" way (i.e., built-in property or method) to get at the information. Instead, I found that I had to recurse through the entire XMLElement tree, starting with the Root Element. For a large document, this can take close to a ten minutes, and sometimes I have to do this for an InDesgin Book containing over ten enormous INDD files.
    What do you intend to do with this flat layout of XMLElements? That probably matters a great deal.
    If performance is really at play, you can try using XML Rules instead of interacting with the DOM from JavaScript. But they are complicated and confusing and more suited to declarative programming.
    Imagine suggests:
    var a = myroot.evaluateXPathExpression ("//*");
        xmlObjArray.push(a[b--]);
    Why not stop there? evaluateXPathExpression already returns an array, why iterate over it and push its elements into a new array? What's wrong with the return value?

  • 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.

  • 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.

  • How to search this forum by tags, answered questions, and quickly navigate to next/previous posts

    New user to these forums. I've read all the Search documentation.
    1. How do I search this forum by tags?
    2. Is there a way to view just the posts that were answered or where the original poster found some help?
    3. Is there a way to quickly move to next/previous posts without having to backtrack to the list of posts and then manually click the next/previous post?
    Thanks!

    New user to these forums. I've read all the Search documentation.
    1. How do I search this forum by tags?
    2. Is there a way to view just the posts that were answered or where the original poster found some help?
    3. Is there a way to quickly move to next/previous posts without having to backtrack to the list of posts and then manually click the next/previous post?
    Thanks!

  • Previously posted troubleshooting doesn't work for my error message "iTunes could not back up the iPhone because an error occurred".  What other options do I have?

    Previously posted troubleshooting doesn't work for my error message "iTunes could not back up the iPhone because an error occured".  What other options do I have to backup my iPhone data properly?

    Hi there kchagape,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    -Griff W. 

  • How do I delete a previous post?

    I'd like to delete a previous post of mine, but it's been up for long enough that I can no longer edit it myself. Do I have to contact a moderator? If so, how do I do that?
    Thanks...

    Unless there's something that for a privacy reason you want the information removed, just ignore it. Once people stop responding, the thread will eventually archive off the form. If you included contact information in the post or there's some other important reason you need it removed, you can post here:
    http://discussions.apple.com/forum.jspa?forumID=1076
    and ask a Discussions Host to remove the problem post.
    Regards.

  • Can someone help with a previous post labeled "Writing to a data file with time stamp - Help! "

    Can someone possibly help with a previous post labeled "Writing to a data file with time stamp - Help! "
    Thanks

    whats the problem?
    Aquaphire
    ---USING LABVIEW 6.1---

  • Why am I getting this message when I post, when including a quote from someone else's previous post?

    "An error occurred while trying to submit your post. Please try again"
    and then when I try to post here, including a screen shot of that "error occurred" message, I get the yellow sticky note "We'll be back soon" message- even though I can still post in all forums so long as I do not include a quote from anyone else's previous post and there is no "We'll be back soon" message  ??

    Tom in London wrote:
    Thanks Barry - but it's a PITA not being able to quote from previous posts !
    Using the quote feature did allow me to quote your last post successfully.
    https://discussions.apple.com/thread/5701730?tstart=0
    I also tested a cut/paste on your original post.
    Screen shots apparently do not work....
    Barry

  • Default Printer not sticking in 10.4.10 (Previous posts keep getting cut

    Sorry, my previous posts keep getting cut off after the first line.
    This is something I've just noticed in the last few days.
    I have three printers plus the Adobe PDF printer in my printer list: an Epson SC Photo 2200 with all of its variants, an Epson SC 740, a LaserWriter IIg (in great shape), and the PDF virtual printer.
    Although I have repeatedly set the Epson 2200 Standard Minimize Margins as my default printer, every time I select a different printer in the Print dialog box, that one becomes the default printer. I have to launch the Printer Setup Utility to change it back.
    I print to the Epson 2200 out of Photoshop CS3 and other Adobe applications, to the Apple Laserwriter IIg out of Word and Excel, to the Epson 740 out of Firefox, and to PDF out of Firefox, Word, TextEdit, etc.
    It doesn't matter in which application I call the Print command, whichever printer I choose in the printer driver dialog box or in Page Setup becomes the default printer.
    Everything is printing fine, but I would prefer to have a constant default printer. Photoshop CS2 and CS3 have printing issues unless the default printer is the one to which I'm printing.
    This anomaly has been happening since before a video display card upgrade two days ago.
    Has there been a change, or do I need to start thinking about Archive and Install of the OS?
    I'm a fanatic about Repairing Permissions before and after any software install or update, running DiskWarrior, etc.
    Any input will be greatly appreciated.
    Message was edited by: Ramón G Castañeda

    This is absurd! This is now the THIRD browser I've tried. -- Will now try with no paragraph breaks: -- Sorry, my previous posts keep getting cut off after the first line. --This is something I've just noticed in the last few days. -- I have three printers plus the Adobe PDF printer in my printer list: an Epson SC Photo 2200 with all of its variants, an Epson SC 740, a LaserWriter IIg (in great shape), and the PDF virtual printer. -- Although I have repeatedly set the Epson 2200 Standard Minimize Margins as my default printer, every time I select a different printer in the Print dialog box, that one becomes the default printer. I have to launch the Printer Setup Utility to change it back. -- I print to the Epson 2200 out of Photoshop CS3 and other Adobe applications, to the Apple Laserwriter IIg out of Word and Excel, to the Epson 740 out of Firefox, and to PDF out of Firefox, Word, TextEdit, etc. -- It doesn't matter in which application I call the Print command, whichever printer I choose in the printer driver dialog box or in Page Setup becomes the default printer. -- Everything is printing fine, but I would prefer to have a constant default printer. --Photoshop CS2 and CS3 have printing issues unless the default printer is the one to which I'm printing. -- This anomaly has been happening since before a video display card upgrade two days ago. -- Has there been a change, or do I need to start thinking about Archive and Install of the OS? -- I'm a fanatic about Repairing Permissions before and after any software install or update, running DiskWarrior, etc. Any input will be greatly appreciated.

Maybe you are looking for

  • ITunes Match on Mac but not Macbook Pro?

    Hi, I have paid and installed 'itunes match' on my main Mac which has my library, it has synced to my ipad, iphone 4, Apple TV and ipod touch but it isnt working to my macbook pro?! It says only one library can be used but I want my music (not all th

  • DIME Attachement IOException using IIS Plug-in / OK without Plug-in

    Hi, I have a deployed axis servlet (1.2.1) running on a weblogic server (8.1.5) wich accepts a DIME attachment. The client sends the attachment via axis rpc call.invoke() methods. If I send the attachment via a IIS proxy plug-in URL, I get IOExceptio

  • Cannot drop old undo tablespace.

    Hello friends , i Cannot drop old undo tablespace. While dropping the old undo tablespace we get an error ERROR at line 1: ORA-01548: active rollback segment '_SYSSMU77$' found, terminate dropping tablespace Please help Thanks

  • MS Excel as data source - Cannot create chart views

    Hi, I created a model with sql server and excel as the data sources. Most of the numerical data is coming from excel. In Answers, I created a table view and it showed me all the data (Eg months, budget amount, plan amount, actuals amount ). But when

  • Photo on iPhone won't send to Web Gallery

    HELP! I have iLife 08 and I have my .Mac email set up on my iPhone, but when I want to send to the web gallery, it won't let me! It says to check my password or username. I get email on my iPhone from .Mac which is the same password... what do I need