How to find opened document is new one or already existing one

is there any API to check opened document is newly created

If I remember correctly, you've asked a few questions about plug-ins, so if
you want to do this in a plug-in environment, you can use the
PDDocRequiresFullSave
flag in the PDDocSaveFlags.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
[email protected]
http://www.khkonsulting.com
On Tue, Oct 22, 2013 at 12:40 AM, George Johnson

Similar Messages

  • How to find out, if a dynamic genereated structure already exists in DDIC?

    Good morning developers,
    can you help me with that above mentioned problem?
    I'm about to write a report which manages to change tablecontrol(s) to alvgrids.
    My current problem is, that i read all fields of a tablecontrol and generate its <b>structure</b> dynamically ( temporary just during runtime of the report, not stored yet ).
    Now I have to know, if this generated structure already exists in the DDIC, or not.
    If not, i have to create a type of my generated structure and store it in the DDiC.
    I know that there s a FM called <b>"COMPARE_STRUCTURE_DATA"</b>.
    But i think i have to know the name of the existing structure in DDiC.
    Is there also a way for a recursive search in ddic?
    If not:  when i read the fields of my tablecontrol from the DDiC, i read from ddic-table D021S. In its field "FNAM" it contains for example SFLIGHT-carrid ( <table><column> ).
    I could split 'FNAM' into table and column. How do i search for the structuretype of a table?
    Thx for your replys, post points waiting
    Regards
    Basti

    Hello Bastian
    All dynpro fields (including table controls) are either based on DDIC structures of program variables. Thus, the following coding will return you the required answer.
    *& Report  ZUS_SDN_RTTI_IS_DDICTYPE
    REPORT  zus_sdn_rtti_is_ddictype.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_line.
    TYPES:   field(3)  TYPE n.
    TYPES:   flag(1)   TYPE c.
    " INCLUDE TYPE knb1.
    TYPES: END OF ty_s_line.
    TYPES: ty_t_line    TYPE STANDARD TABLE OF ty_s_line
                        WITH DEFAULT KEY.
    DATA:
      gs_line    TYPE ty_s_line,
      gs_knb1    TYPE knb1,
      go_tabdescr      TYPE REF TO cl_abap_tabledescr,
      go_strucdescr    TYPE REF TO cl_abap_structdescr.
    START-OF-SELECTION.
      go_strucdescr ?= cl_abap_tabledescr=>describe_by_data( gs_line ).
      IF ( go_strucdescr->is_ddic_type( ) = abap_true ).
        WRITE: / 'gs_line is a DDIC type'.
      ELSE.
        WRITE: / 'gs_line is not a DDIC type'.
      ENDIF.
      SKIP.
      go_strucdescr ?= cl_abap_tabledescr=>describe_by_data( gs_knb1 ).
      IF ( go_strucdescr->is_ddic_type( ) = abap_true ).
        WRITE: / 'gs_knb1 is a DDIC type'.
      ELSE.
        WRITE: / 'gs_knb1 is not a DDIC type'.
      ENDIF.
    END-OF-SELECTION.
    However, if a dynpro field is based on a type defined within the program the situation may be more complex if the type includes DDIC structures (as shown above). But I am sure you will master this obstacle.
    Regards
      Uwe

  • Open document from newer version in an older one?

    I'm new here, and maybe it's a stupid question for most of you. But if I make documents in InDesign CS6, can I open them in CS5?

    The longer answer is the .indd file cannot be opened in any earlier version, but you can export or Save As .idml and that will open in versions back to CS4, with some caveats. You will lose any new features that didn't exist inthe earlier version, text may reflow, and if you have placed pages from a newer version doc, even .idml will fail in an older version.

  • How to find Opening Balance for Cash Book

    Hello Friends,
    I am Creating one Report for Cash Book.(Means : For Perticuler GL Account)
    I have no idea how to find Opening Balance for some Perticuler Date.
    Ex.
         Current date: 07/06/2007
        and i want to find Opening Balance on 26/05/2007
    i have Function for Calculating Opening Balance,                                                                               
    Group No: 3006             Business Object General Ledger Account  
    BAPI_GL_ACC_EXISTENCECHECK     Check existence of G/L account                  
    BAPI_GL_ACC_GETBALANCE     Closing balance of G/L account for chosen year  
    BAPI_GL_ACC_GETCURRENTBALANCE  Closing balance of G/L acc for curr year
    BAPI_GL_ACC_GETPERIODBALANCES  Posting period balances for each G/L account    
    but they show current opening balance, and i want for perticulaer Date..
             How to find Opening Balance for Cash Book
    please Help me out
    Thanks
    Gaurav Tripathi

    Hi Maruthi,
       Opening balance for a cutomer for a given period, u need to first find closing balance of that customer in the previous period. For eg. Suppose u want to find opening balance for customer 'A' for month of Nov'06, then U have to find wot was his closing balance in at end of Oct'06. Hope this solves u r problem

  • How to find open sales orders.

    Hi Gurus,
    Can you please help me out How to find open Sales orders in SAP.
    Is there any transaction code available or we can get it through via tables.
    Your afforts are highly appriciated .
    SRavani.

    Dear SRAVANI,
    You can find open sales orders from the Transaction code "VA05N", You just run this report, Below the screen you can find open sales orders radio button , you select this and give execution parameters and execute(F8).
    You will get the all open orders.
    Hope it fixes your issue.
    Please check it and revert.
    Thanks&Regards
    Raghu.k

  • How To Find Opening Stock And Value For a Material

    Hi Experts,
    How To Find Opening Stock And Value For a Material  in Given Dates
    Moderator Message: Search.
    Edited by: kishan P on Sep 15, 2010 4:05 PM

    Thanks For Answering.....
    But I Need Any Function Module To Get Opening Stock And Value For Given Material With in Dates.

  • How do I open documents created in apple works that will no longer open?

    How can I open documents created in appleworks that will no longer open now that I have pages?

    If you have the Apple iWork '09 suite installed, you can open pure AppleWorks word processing, spreadsheet, or presentations in Pages, Numbers, and Keynote respectively. You can not open AppleWorks documents in Pages v5, Numbers v3, or Keynote v6.
    If you do not have the above iWork '09 suite, then download the free LibreOffice suite. Drag and drop your AppleWorks documents on the LibreOffice icon, and it will sort out what will open them. Note: LibreOffice will pause shortly after it takes you to an optional donation page — before continuing the download. Everything installs under /Applications/LibreOffice.

  • How to find open item in bsik table

    anyone can tell me how to find open items for vendor in bsik table or it will store only open item.
    i debug the tcode fbl1n to see . but not able to find
    Kumar

    Hi
    There is no specific field name for open item in the table BSIK.Yes BSIK include a structure named ABSIK_PSO and which is a "IS-PS: Data appendix of open items vendors".
    Yes there is a field name
    BUZEI - Line Item
    EBELP - Item
    You check with your requirement again and try to use these fields,if you still facing some probs than write back to me,i will try to give the appropriate solutions.
    Thanks
    Mrutyunjaya Tripathy

  • How do I open documents in already in ibooks with Reader?

    How do I open documents already in ibooks in Reader?

    You realize that Adobe Reader doesn't read EPUB files (most of what iBooks does), right? It only reads PDF files.
    If you have a PDF already that in iBooks, you'll have to get it out of iTunes on your Mac or Windows computer. iBooks doesn't allow sharing with other PDF/EPUB readers.
    Follow the instructions in this document about using iTunes (the section called Personal Computer thru iTunes). You'll need to export the PDF to your computer, then re-import it using the instructions into Adobe Reader.
    iBooks is not a good sharing citizen!

  • IWorks has disappeared. How can I open documents saved as Word 97 from Pages stored on Dropbox?

    iWorks has disappeared.  How can I open document saved as Word 97 through Pages stored on Dropbox?

    Thanks but I don't think this will help. Like I said, all of my add-ons were working fine and compatible until after running a previous version of FF. I am sure they are still compatible, but they are not working at all.
    I even checked my profile folder and all of the extensions' data is all still there but FF5 is just not reading it correctly. (like adblock plus... I see the folder for it but FF5 doesn't have it on the add-on manager page when I run FF5)

  • How do I open documents that are grayed out?

    How do I open documents that are grayed out?

    Do these files have a file extension (e.g. .dmg, .jpg, etc.)?
    Clinton
    MacBook Pro (15” Late 2011), OS X Yosemite 10.10, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display

  • Where to find the document category in oracle purchasing for existing attachments?

    Where to find the document category in oracle purchasing for existing attachments and also how to create a new category?

    Hi Sanjay,
    We are looking to add the below 3 marked document categories to Purchasing.
    But here the application is for order management, how can we use them for purchasing?

  • How to find out if disk drive is faulty already?

    How to find out if disk drive is faulty already?

    Hi Sükrü
    You can read the table E071 with the object id and get the transport request number. Use this transport request and read the table E070, the field "TRSTATUS" will give the status whether the object is locked or released.
    Hope this helps !
    Regards
    Ranganath
    PS : Reward points if found useful !

  • Setting up a new library from an existing one

    Due to lack of Genius mixes I have decided to set up a new library from my existing one but what I wandered was is there anyway of retaining my ratings/play counts etc by copying the iTunes database file from my original library folder.
    I have over 100gb of content in my library and don't really wish to have to go through the process of rating everything again as my 'main' library is over three years of tweaking,adding & modifying etc.
    Upon setting up this new library (which is taking ages to load)I have the "Turn on Genius" option down the right hand side which I cannot get in my main library.
    I have just purchased a 5th generation Nano but cannot access Genius on it as it says my iTunes library doesn't have Genius enabled but it is I just can't get any Genius mixes.

    Try this.
    Quit iTunes.
    Drag the *iTunes library.itl* file and *iTunes library.xml* to the desktop. Do NOT delete either of them.
    Launch iTunes.
    Do NOT add anything.
    Go to File -> Library -> Import playlist and select the iTunes library.xml file on the desktop.
    See if the ratings and the Genius mixes appear.
    If so, you are good to go and can delete the *iTunes library.itl* file and *iTunes library.xml* on the desktop.
    If not, don't delete anything and post back.

  • Is it possible to use Aperture to make a new image from two existing ones--ie, in a new jpg? I essentially want to create a collage that I can then print as a single image, rather than in a book. Any advice will be most welcome!

    Is it possible to use Aperture to make a new jpg from two existing ones? I'd essentially like to create a photo collage (without using existing templates) that I can then print as a single image, rather than in a book. Any advice will be most welcome! Thanks.

    https://discussions.apple.com/message/15678716#15678716
    (Added)
    The main point is that Aperture is used to make digital negatives as good as they can be (for the uses you define), but it does not ADD date to your digital negatives, nor does it produce NEW combination files.  For those tasks you need a Graphics program.
    Message was edited by: Kirby Krieger

Maybe you are looking for

  • Pb install Oracle 9.0.2 on HP UX 11.00

    I am trying to install oracle9i (9.0.2) on an HPUX 11.0 Box (64 bit). I have completed the pre_installation without error. However I am unable to execute the runInstaller command. $ /var/disk/Disk1/runInstaller /var/disk/Disk1/runInstaller: ./runInst

  • Is it possible to download my songs from old ipod to my computer itunes?

    Is it possible to download my songs from my old i-pod to my itunes on my mac?

  • URL Generator Services

    Hello, when I try to change the protocoll in "Host" in the "URL Generator Services" (under "Global Services") from http to https, the TREX monitor shows an SSL error by crawling new documents (but then the links in email notifications are working cor

  • Navigation wont work

    Hi. Im trying to figure out why the navigation is not working in this file. No errors are found and still the external SWF files are not loading. Can  somebody help me find what could be the problem?

  • Problem with step 2 in user exit.

    Hello collegues, I have a problem with the variables user exit in the bex analyzer. I have created a variable user exit and this is used as user authorization, and this variables is optional and enabled to entry . When i debugg the user exit, i put t