#include "Types.r" where can i find Types.r

Its appears I have a missing dependency - just wondering where I might be able to find it
looking through the old SDK cant seem to locate it...

that works for some of the samplecode projects
except in the Transform Buttons I get a series of warnings along the lines of
..../CODE/Illustrator/Adobe Illustrator CC 2014 SDK/samplecode/TransformButtons/Resources/Mac/TransformButtons.r:23: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Can't find the declaration for the resource type 'DLOG' (0x444C4F47).
..../CODE/Illustrator/Adobe Illustrator CC 2014 SDK/samplecode/TransformButtons/Resources/Mac/TransformButtons.r:36: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Can't find the declaration for the resource type 'DITL' (0x4449544C).
..../CODE/Illustrator/Adobe Illustrator CC 2014 SDK/samplecode/TransformButtons/Resources/Mac/TransformButtons.r:105: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Can't find the declaration for the resource type 'CNTL' (0x434E544C).
..../CODE/Illustrator/Adobe Illustrator CC 2014 SDK/samplecode/TransformButtons/Resources/Mac/TransformButtons.r:118: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Can't find the declaration for the resource type 'CNTL' (0x434E544C).
..../CODE/Illustrator/Adobe Illustrator CC 2014 SDK/samplecode/TransformButtons/Resources/Mac/TransformButtons.r:131: ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Can't find the declaration for the resource type 'CNTL' (0x434E544C).

Similar Messages

  • Where can I find a list of file types that Iphone can open?

    where can I find a list of file types that Iphone can open please?

    http://www.apple.com/iphone/specs.html
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)
    TV and video
    * Video formats supported: H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    * Support for 1024 by 768 pixels with Dock Connector to VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)
    Message was edited by: DaVBMan

  • Where can I find "Crystal Type" code examples?

    Morning all,
    I have tried searching the forums but cant find much (I dont find the search thread function very helpful but that might just be me and is another story for another time).
    I am trying to create my own formulars and functions on my report in CR4E, but I am have problems with the code.
    Where can I find a tutorial on the basics like converting a date to a string or delcaring a date or changing a string to a date.
    In Java one would do something like:
    String str_MyString;
    str_MyString = "This is a string";
    but in a crystal report you do something like (and I might incorrect in even this simple example):
    StringVar str_MyString;
    str_MyString = "This is a string";
    That slight difference of String and StringVar are the things I need to find out.
    In VB I can refer to a forms fields with str_MString = me.txt_Field1 but in crystal I dont know how to refer to a current field of the report I am working with.
    For example, I have a text box on my report which I have called "txt_MyNumber", I then want a formular or function to use the value that is found in that text box but cant work out to refer to it. I can refer to other formulars but not report fields. Is this even possible?
    I know the report field question might be viewed as a whole new question thus thread but I feel they close enough to remain in the same thread.
    So any help pointing me in the right direction.
    Or am I just an idiot and should rather give up trying to design crystal reports. (Ive been thrown in the very deep end at work so am trying to work everything out all at once with no beginner knowledge)
    Thanks all for help and suggestions.
    Cheers
    Darren

    Thanks for the quick reply, Alphonse 
    Creating a UFL is what brought me to realise I am lacking in knowledge in the first place.
    I created a UFL that converts numbers to words. I am going to be using this later for translating
    transaction amounts into words in different languages.
    As a test I created a simple resource bundle that held 1=one, 2=two and so on until 10.
    My function is
    get_numbers_to_words(String key, String resBundleName, String str_Locale)
    So to test it I created a formula on in my report and used the following bit of code to test it.
    str_Number_to_Words  //formula name
    get_number_in_words("1", "NumbertoWords", ContentLocale)
    This works and gives me a return of "one".
    So I then wanted to have a field on the report pass in the key. The field is called txt_Number, so i tried:
    str_Number_to_Words  //formula name
    get_number_in_words({txt_Number}, "NumbertoWords", ContentLocale)
    but clearly that did not work. I tried many other variables or ways of putting the value I hold in the
    txt_Number field.
    I have no way of using the value held by the text box txt_Number.
    I then thought if I cant get a field to drive the key I will use something as simple as taking the current time
    and use the seconds unit digit as the variable to dynamically change and gives more a better testing
    ground so when I expand to the double figures I can use the seconds in general.
    This is what made me put up this post.
    With your first link you sent me, I am ashamed to say I dont really know how best to take that knowledge
    and put it in practice. This is where my lack of knowledge shines through. I understand what most
    methods and classes do from their descriptions and summaries and all that. But I am trying I promise.
    All I need is for one example to be shown and explained how the concept gets taken from those Package
    descriptions and into a working example I will be able to then work out how to use it for all the rest.
    Take com.crystaldecisions.reports.common.value.DateValue for example.
    If this last request is a silly request and a real waste of everyones time I totally understand and will start
    looking other ways of learning this all. I will not hold it against anyone if they tell me to go back to "school"
    and leave programming to real men/women.
    Thanks Alphonse and also the rest fo you.
    Cheers
    New Edited part:
    OK I am sort of getting somewhere. I have now got a function that can return the current time as a string
    but the part to return only the seconds is not working.
    Minutes_To_Number    //Function Name
    Function (TimeVar curr_Time)
    StringVar str_Minute;
    str_Minute = CStr(Second(curr_Time));  // This does not seem to be returning the current seconds. Why?
    //str_Minute = CStr(curr_Time);  //If this is not commented out I get the current time, so I know its working
    str_Minute;
    Var_Number      //Formular name
    Minutes_To_Number(PrintTime)
    str_Number_to_Words   // Formular that I want to get working
    // I want to pass the seconds into the Key field of my UFL function.
    get_number_in_words({@Var_Number}, "NumbertoWords", ContentLocale)
    Any ideas why the
    Second(curr_Time)
    does not return the seconds value?
    Edited by: Darren Jackson on Sep 19, 2008 3:36 PM
    Ok I have managed to work out why my code was failing.
    It all boiled down to my use of "=" and not ":=". This being the type of Syntax differences I need to learn. Well guess I will just have to go through all the Example reports (found them after asking).
    So Im going to close this thread as worked out the answers.
    Cheers
    Edited by: Darren Jackson on Sep 22, 2008 2:43 PM

  • Where can we find details about the different contributor types?

    I see a few members being designated as 'Copper' and 'Silver' contributors. Where can we find more details about these contributor levels?

    The initial ranks are based pretty much on post count only - (having been around for awhile I've seen the "progression"!) - Once you attain the Bronze ranking, other criteria come into play, and as Ann said, details are known only to the admins to prevent manipulation and "rank climbing" as it's been called.
    I gather it's some combination of post count, tag count, kudos received, solutions authored, and then some totally subjective criteria (how well you "play with others", general helpfulness, accuracy of information given, etc).
    The mods and admins do an excellent job of keeping this place informative, useful, and a pretty pleasant place to be.

  • Where can i find a "plug-in" or "add-on" that includes electrical construction symbols?

    where can i find a "plug-in" or "add-on" that includes electrical construction symbols?

    For what?
    The comment and markup types are fixed, you can't create your own - but there's nothing to stop a user from creating a series of custom stamps that show a symbol from a bitmap image or vector (PDF) file.

  • Where can I find a list of all products I have purchased and registered with apple, including serial numbers?

    Where can I find a list of all products I have purchased and registered with apple, including serial numbers?

    Hi,
    Look under https://supportprofile.apple.com.
    It has all products associated with your apple ID.
    Richie

  • Where can I find a list of the 1600 /- instruments included in the new Logic Pro X?

    Greetings,
    Where can I find a list of the 1600+/- instruments included in the new Logic Pro X?
    Thanks all!

    AFAIK, there is no master list. If you have the Silicon Prairie "Tools" utilities, you can compile your own lists. See: Silicon Prairie - FrameMaker Products
    The best approach is to simply use the Copy Special to pick up the paragraph and character styles that you want to add to your new template and build the template piecemeal, i.e. create one FM file for your tables, another for your page layouts/sizes, another for your tags, cross-refs, etc. Then combine those as required to build the final template. This Lego-like approach is much more flexible and allows you to modify base-components and quickly make a new brand new template.

  • Hi all, where can i find this include CI_mmh1 in which table

    where can i find this include CI_mmh1 in which table

    Hi Murali,
    It is found in BMMH1 structure.
    BMMH1  -  Material Master: Transfer of Main Data
    Go to BMMH1 structure there you hit CLT + F and give (MMH1) and press F4. Then you will find it.
    Reward points if it helps.
    Cheers,
    Swamy Kunche

  • Where can I find WebLogic JAR including javax.annotation package?

    Hello.
    I'm writing and testing WebLogic EJB 3.0 sample through the edocs.bea.com
    Most samples in edocs use javax.annotation package, but I couldn't find any of javax.annotation package in jars of %WEBLOGIC_HOME%\server\lib folder.
    I want to use it such as javax.annotation.PreDestroy, javax.annotation.Resource etc.
    I'm using WebLogic 10.0 and Eclipse 3.3.
    Where can I find a jar include javax.annotation package?
    Thanks in advance.
    Edited by ienvyou at 12/11/2007 6:30 PM

    BEA_HOME\modules\javax.annotation...
    Edited by li_shen at 12/11/2007 10:26 PM

  • I would like to ask where can I find an apple store in the Philippines that would change my Iphone5 battery. It is included in the defective batch that Apple produced.  Thank you

    I would like to ask where can I find a battery replacement here in the Philippines. My battery is included in the defective battery of Iphone5 that they sold. I am currently locked in with Globe service. I tried to call them but they insisted that I should call apple store. Kindly help me. Thank you

    You could try sites such as this to find what is available; maybe
    someone at a contact can suggest other directions to try...
    https://locate.apple.com/country
    •Apple - Philippines: sales, service, training certification
    https://locate.apple.com/ph/en/
    Perhaps there are independent Apple authorized service providers
    who may be able to handle any Apple vetted replacement + service.
    Good luck & happy computing!

  • System Preferences quits suddenly. I have lost the dock, including the trash and ability to change desktop image. How can I replace this part of System Preferences? Where can I find Trash?

    System Preferences quits suddenly. I have lost the dock, including the trash and ability to change desktop image. How can I replace this part of System Preferences? Where can I find Trash? All other aspects of System Preferences work.

    just that that is one method, and lacks provision for working boot image and for an emergency - Lion gives a small minimal emergency boot environment but may lack all the utilities you need to use and run, even some drivers that your mac requires for add on PCIe.
    Just grab and look through Help in Carbon Copy and SuperDuper, both excellent and each has their use - together - for cloning.
    And do you have two TM backup sets? ought to consider that also, rotate daily or make a weekly set. Otherwise you are putting all your eggs in the proverbial one basket.

  • Where can I find my mountain lion installer included with 2012 mac mini

    I just bought a 2012 mac mini and I want to install mountain lion on an SSD that I bought separately.  Where can I find the mountain lion installer file to create a bootable USB install drive?  When I go to the mac app store, mountain lion is not listed in my purchases and when I try to buy it, it says "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer."  It's already installed on the mac mini, I just need the installer file so I can install it on my SSD.

    keg55 wrote:
    You might be able to simply boot into the ML Recovery HD, select Reinstall OS X and point to your SSD drive. You won't capture the InstallESD.dmg file to create a USB thumb drive installer.
    OR.... to create a USB thumb drive of your pre installed ML, you would need to redownload Mountain Lion then grab the InstallESD.dmg file and create your USB thumb drive.Here is how I've done it using Internet Recovery to get my pre installed OS X.
    Attach a USB external drive to your system. Formated as Mac OS Extended (Journal) and GUID partition table.
    Restart using Command+R+Option to boot into Apple's Recovery HD. This will get you the original version. Or just Command+R to boot into your ML Recovery HD.
    Select Reinstall OS X from the OS X Utilities menu.
    You will  have to watch the download. After it completes and your system restarts, at the black screen disconnect the external USB drive.
    After you are back to your current desktop, insert the external USB drive. There should be a single folder on the drive called 'Install Data' (I think). Find the InstallESD.dmg file and copy it to a folder on your current system (Downloads, for example).
    Follow any of the internet instructions to create a ML USB thumb drive.
    I tried this method, and while it did get me the installer image, when I restored it to an external and tried to use it to restore a Late 2012 Mac Mini, I got the same "No" symbol I did with other ML installers.
    Here are some screenshots of what was loaded onto my external before I yanked it, when the screen turned black durring the restart. The highlighted file is what I restored to my external to use to restore the Mac Mini.

  • HT1766 When Apple does a backup of my iPhone 5 on my computer, where can I find the files?

    I have just done a computer backup of my iPhone 5. The backup did not indicate where on my computer the backup files are stored. Where can I find the location of the backup files for iPhone 5 on my computer?

    Where iTunes backups are stored on your computer
    The folder where your backup data are stored varies depending on the computer's operating system. Make sure the backup folder is included in your periodic data-backup routine.
    iTunes places the backup files in the following places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and clickOK.
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press the Return key.

  • Where can we find the methods of the classes in OLE Interface

    Hi All,
    I am developing the code to download the file into multiple sheets of excel file.
    got many links and sample codes from this forum.
    but my doubt is where can we find the methods in applications.
    Example:
    add, cells, range etc are the methods in the object excel.application.
    I want to find all other methods in this same object.
    Please help me.
    thanks in adv.
    Eswar

    HE,
    see this demo program which is in DWDM
    *& Report  DEMOEXCELINTEGRATION                                        *
    INCLUDE rdemoexcelintegrationtop.
    DATA: control TYPE REF TO i_oi_ole_container_control.
    DATA: container TYPE REF TO cl_gui_custom_container.
    DATA: link_server TYPE REF TO i_oi_link_server.
    DATA: table_coll TYPE REF TO i_oi_table_collection.
    DATA: retcode TYPE t_oi_ret_string,
          document_type TYPE soi_document_type
                                           VALUE soi_doctype_excel_chart,
          document_format TYPE soi_document_type.
    DATA: doc_url TYPE t_url.
    DATA: usa_sales TYPE i VALUE 1000,
          europe_sales TYPE i VALUE 2000,
          japan_sales TYPE i VALUE 1000,
          asia_sales TYPE i VALUE 100,
          america_sales TYPE i VALUE 100,
          africa_sales TYPE i VALUE 100.
    DATA: total_sales TYPE i VALUE 0.
    DATA: BEGIN OF test_line, region(50), sales TYPE i, END OF test_line.
    DATA: test_table LIKE TABLE OF test_line.
    DATA: wa_test_table LIKE test_line.
          CLASS c_excel_document DEFINITION
    CLASS c_excel_document DEFINITION.
      PUBLIC SECTION.
        DATA: proxy TYPE REF TO i_oi_document_proxy.
        DATA: document_type TYPE soi_document_type.
        DATA: data_table TYPE sbdst_content,
              data_size TYPE i,
              doc_url TYPE t_url.
        METHODS: constructor
                  IMPORTING control TYPE REF TO i_oi_ole_container_control
                            document_type TYPE soi_document_type.
        METHODS: on_close_document
                  FOR EVENT on_close_document OF i_oi_document_proxy
                  IMPORTING document_proxy has_changed.
        METHODS: on_custom_event
                  FOR EVENT on_custom_event OF i_oi_document_proxy
                  IMPORTING document_proxy event_name param_count
                            param1 param2 param3.
        METHODS: create_document
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: open_document
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                                open_readonly TYPE c DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: open_document_url
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                                open_readonly TYPE c DEFAULT ' '
                                doc_url TYPE t_url DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: retrieve_document
                     IMPORTING documents TYPE document_list
                     EXPORTING document_format TYPE soi_document_type
                               doc_url TYPE t_url.
        METHODS: close_document
                      IMPORTING do_save     TYPE c DEFAULT ' '
                      RETURNING value(retcode) TYPE t_oi_ret_string.
      PRIVATE SECTION.
        DATA: control  TYPE REF TO i_oi_ole_container_control.
    ENDCLASS.
    DATA: l_fcode LIKE fcode.
    DATA: document TYPE REF TO c_excel_document.
    DATA: bds_instance TYPE REF TO cl_bds_document_set.
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN0100'.
      SET TITLEBAR '001'.
      retcode = c_oi_errors=>ret_ok.
      IF control IS INITIAL.
        DATA: b_has_activex.
        CALL FUNCTION 'GUI_HAS_ACTIVEX'
             IMPORTING
                  return = b_has_activex.
        IF b_has_activex IS INITIAL. MESSAGE e007. ENDIF.
        CALL METHOD c_oi_ole_control_creator=>get_ole_container_control
                          IMPORTING control = control
                                    retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CREATE OBJECT container
                  EXPORTING container_name = 'CONTAINER'.
        CALL METHOD control->init_control
                            EXPORTING r3_application_name =
                                                  'Demo' "#EC NOTEXT
                                      inplace_enabled = 'X'
                                      inplace_scroll_documents = 'X'
                                      parent = container
                                      register_on_close_event = 'X'
                                      register_on_custom_event = 'X'
                            IMPORTING retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD control->get_link_server
                           IMPORTING link_server = link_server
                                     retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD link_server->start_link_server
                          IMPORTING retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD control->get_table_collection
                        IMPORTING table_collection = table_coll
                                  retcode = retcode.
        PERFORM refresh_sales.
        CREATE OBJECT document
                  EXPORTING control = control
                            document_type = document_type.
        CALL METHOD table_coll->add_table
                        EXPORTING table_name = 'SALES_IN'
                                  table_type = table_coll->table_type_input
                        IMPORTING retcode = retcode
                        CHANGING  data_table = test_table.
      ENDIF.
      IF bds_instance IS INITIAL.
        CREATE OBJECT bds_instance.
      ENDIF.
    ENDMODULE.                             " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE user_command_0100 INPUT.
      l_fcode = fcode.
      CLEAR fcode.
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE l_fcode.
        WHEN 'EXIT'.                       "Zurück
          IF NOT document IS INITIAL.
            CALL METHOD document->close_document.
            FREE document.
          ENDIF.
          IF NOT link_server IS INITIAL.
            CALL METHOD link_server->stop_link_server
                                           IMPORTING retcode = retcode.
            FREE link_server.
          ENDIF.
          IF NOT table_coll IS INITIAL.
            FREE table_coll.
          ENDIF.
          IF NOT control IS INITIAL.
            CALL METHOD control->destroy_control
                                                IMPORTING retcode = retcode.
            FREE control.
          ENDIF.
          IF NOT bds_instance IS INITIAL.
            FREE bds_instance.
          ENDIF.
          LEAVE TO SCREEN 0.
        WHEN 'CREATE'.
          IF NOT control IS INITIAL.
            document->data_size = 0.
            CLEAR document->data_table.
            CALL METHOD document->create_document.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ENDIF.
        WHEN 'SELECT'.
          IF NOT control IS INITIAL.
            DATA: documents TYPE document_list.
            DATA: descr TYPE document_descr.
            CLEAR documents.
            descr-document_name = 'Car Sales Chart'(do1).
            descr-document_id = 'DEMOEXCELCHART1'.
            APPEND descr TO documents.
            descr-document_name = 'Car Sales Chart 2'(do3).
            descr-document_id = 'DEMOEXCELCHART2'.
            APPEND descr TO documents.
            descr-document_name = 'Car Sales Sheet'(do2).
            descr-document_id = 'DEMOEXCELSHEET1'.
            APPEND descr TO documents.
            CLEAR doc_url.
            CALL METHOD document->retrieve_document
                        EXPORTING documents = documents
                        IMPORTING document_format = document_format
                                  doc_url = doc_url.
            IF NOT doc_url IS INITIAL.
              CALL METHOD document->close_document.
              CALL METHOD document->open_document_url
                                EXPORTING open_inplace = 'X'
                                          doc_url = doc_url
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ELSE.
              MESSAGE e010.
            ENDIF.
          ENDIF.
        WHEN 'OPEN'.
          IF document->data_size NE 0.
            IF NOT control IS INITIAL.
              CALL METHOD document->open_document
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ENDIF.
          ELSE.
            MESSAGE e005.
          ENDIF.
        WHEN 'INPLACE'.
          IF document->data_size NE 0.
            IF NOT control IS INITIAL.
              CALL METHOD document->open_document
                                EXPORTING open_inplace = 'X'
                                          open_readonly = 'X'
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ENDIF.
          ELSE.
            MESSAGE e005.
          ENDIF.
        WHEN 'SAVEAS'.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->save_as
                              EXPORTING prompt_user = 'X'
                              IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'CLOSE'.
          IF NOT document IS INITIAL.
            CALL METHOD document->close_document
                          EXPORTING do_save = 'X'.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'COPYLINK'.
          IF NOT link_server IS INITIAL.
            PERFORM refresh_sales.
            CALL METHOD link_server->execute_copy_link_dialog
                     IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e004.
          ENDIF.
        WHEN 'REFRESH'.
          IF NOT link_server IS INITIAL.
            PERFORM refresh_sales.
          ELSE.
            MESSAGE e004.
          ENDIF.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->execute_macro
                          EXPORTING macro_string = 'R3StartupMacro'
                                    param_count = 1
                                    param1 = 10
                          IMPORTING retcode = retcode.
                         CHANGING  retvalue = usa_sales.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'PRINT'.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->print_document
                           EXPORTING prompt_user = 'X'
                           IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
      ENDCASE.
    ENDMODULE.                             " USER_COMMAND_0100  INPUT
    CLASS c_excel_document IMPLEMENTATION.
    CLASS c_excel_document IMPLEMENTATION.
      METHOD: constructor.
                 IMPORTING control TYPE REF TO i_oi_ole_container_control
                           document_type TYPE soi_document_type
        me->control = control.
        me->document_type = document_type.
      ENDMETHOD.
      METHOD create_document.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        CALL METHOD proxy->create_document
                            EXPORTING create_view_data = 'X'
                                      open_inplace = open_inplace
                            IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
      ENDMETHOD.
      METHOD open_document.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                              open_readonly TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        CALL METHOD proxy->open_document_from_table
                               EXPORTING document_table = data_table
                                         document_size  = data_size
                                         open_inplace = open_inplace
                                         open_readonly = open_readonly
                               IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
        CALL METHOD proxy->update_document_links
                               EXPORTING update_manual_links = 'X'
                               IMPORTING retcode = retcode.
      ENDMETHOD.
      METHOD close_document.
                    IMPORTING do_save TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        DATA: is_closed TYPE i, has_changed TYPE i.
        DATA: doc_url(256).
        IF NOT proxy IS INITIAL.
          CALL METHOD proxy->is_destroyed IMPORTING ret_value = is_closed.
          IF is_closed IS INITIAL.
            CALL METHOD proxy->close_document
                         EXPORTING do_save = do_save
                         IMPORTING has_changed = has_changed
                                   retcode = retcode.
            IF retcode NE c_oi_errors=>ret_ok.
              EXIT.
            ENDIF.
          ENDIF.
          IF NOT has_changed IS INITIAL.
            CALL METHOD proxy->save_document_to_table
                          IMPORTING retcode = retcode
                          CHANGING  document_table = data_table
                                    document_size = data_size.
            IF retcode NE c_oi_errors=>ret_ok.
              EXIT.
            ENDIF.
          ENDIF.
          CALL METHOD proxy->release_document
                                       IMPORTING retcode = retcode.
          SET HANDLER me->on_close_document FOR proxy ACTIVATION ' '.
          SET HANDLER me->on_custom_event FOR proxy ACTIVATION ' '.
        ELSE.
          retcode = c_oi_errors=>ret_document_not_open.
        ENDIF.
      ENDMETHOD.
      METHOD open_document_url.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                              open_readonly TYPE c DEFAULT ' '
                              doc_url TYPE t_url DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        me->doc_url = doc_url.
        CALL METHOD proxy->open_document
                               EXPORTING document_url = doc_url
                                         open_inplace = open_inplace
                                         open_readonly = open_readonly
                               IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
      Document shall also be available in ITAB for respective operations:
        CALL METHOD proxy->save_document_to_table
                          IMPORTING retcode = retcode
                          CHANGING  document_table = data_table
                                    document_size = data_size.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
        CALL METHOD proxy->update_document_links
                               EXPORTING update_manual_links = 'X'
                               IMPORTING retcode = retcode.
      ENDMETHOD.
      METHOD retrieve_document.
                 importing documents type document_list
                 exporting document_format type soi_document_format
                           doc_url type t_url.
    *----BDS-Data-Structures:--
    Tables and WAs:
        DATA: doc_signature TYPE sbdst_signature,
              wa_doc_signature LIKE LINE OF doc_signature,
              doc_components TYPE sbdst_components,
              wa_doc_components LIKE LINE OF doc_components,
              doc_properties TYPE sbdst_properties,
              wa_doc_properties LIKE LINE OF doc_properties,
              doc_uris TYPE sbdst_uri,
              wa_doc_uris LIKE LINE OF doc_uris.
    ID's:
        DATA: doc_classname TYPE sbdst_classname VALUE 'SOFFICEINTEGRATION',
              doc_classtype TYPE sbdst_classtype VALUE 'OT',
            doc_object_key TYPE sbdst_object_key VALUE 'SOFFICEINTEGRATION',
              doc_mimetype TYPE bapicompon-mimetype.
        DATA: field_desc TYPE TABLE OF rsvbfidesc.
        DATA: wa_field_desc TYPE rsvbfidesc.
        DATA: l_nr LIKE sy-tabix.
        CLEAR: field_desc, wa_field_desc.
        wa_field_desc-fieldnum = 1.
        wa_field_desc-display = 'X'.
        APPEND wa_field_desc TO field_desc.
        l_nr = 0.
        CALL FUNCTION 'RS_VALUES_BOX'
             EXPORTING
                  left_upper_col = 5
                  left_upper_row = 5
                  pagesize       = 10
                  title          = 'Select document'(sdc)
             IMPORTING
                  linenumber     = l_nr
             TABLES
                  field_desc     = field_desc
                  value_tab      = documents
             EXCEPTIONS
                  OTHERS         = 1.
        IF sy-subrc EQ 0 AND l_nr NE 0.
          READ TABLE documents INDEX l_nr INTO descr.
          IF sy-subrc EQ 0.
            CLEAR: wa_doc_signature, wa_doc_components, wa_doc_uris.
            CLEAR: doc_signature, doc_components, doc_uris.
            wa_doc_signature-prop_name = 'DESCRIPTION'.
            wa_doc_signature-prop_value = descr-document_id.
            APPEND wa_doc_signature TO doc_signature.
            CALL METHOD bds_instance->get_info
                          EXPORTING classname = doc_classname
                                    classtype = doc_classtype
                                    object_key = doc_object_key
                          CHANGING components = doc_components
                                   signature = doc_signature
                          EXCEPTIONS nothing_found = 1
                                     error_kpro = 2
                                     internal_error = 3
                                     parameter_error = 4
                                     not_authorized = 5
                                     not_allowed = 6.
            IF sy-subrc NE 0 AND sy-subrc NE 1.
              MESSAGE e016.
            ENDIF.
            IF sy-subrc = 1.
              MESSAGE e017.
            ENDIF.
            CALL METHOD bds_instance->get_with_url
                               EXPORTING classname = doc_classname
                                         classtype = doc_classtype
                                         object_key = doc_object_key
                               CHANGING uris = doc_uris
                                        signature = doc_signature
                          EXCEPTIONS nothing_found = 1
                                     error_kpro = 2
                                     internal_error = 3
                                     parameter_error = 4
                                     not_authorized = 5
                                     not_allowed = 6.
            IF sy-subrc NE 0 AND sy-subrc NE 1.
              MESSAGE e016.
            ENDIF.
            IF sy-subrc = 1.
              MESSAGE e017.
            ENDIF.
            READ TABLE doc_components INTO wa_doc_components INDEX 1.
            READ TABLE doc_uris INTO wa_doc_uris INDEX 1.
            doc_mimetype = wa_doc_components-mimetype.
            doc_url = wa_doc_uris-uri.
            CASE doc_mimetype.
              WHEN 'application/x-rtf' OR 'text/rtf'.
                document_format = soi_docformat_rtf.
              WHEN 'application/x-oleobject'.
                document_format = soi_docformat_compound.
              WHEN 'text/plain'.
                document_format = soi_docformat_text.
              WHEN OTHERS.
                document_format = soi_docformat_native.
            ENDCASE.
          ENDIF.
        ENDIF.
      ENDMETHOD.
      METHOD on_close_document.
                 FOR EVENT on_close_document OF c_oi_ole_container_control
                 IMPORTING document_proxy has_changed.
        DATA: answer, do_save.
        IF has_changed EQ 1.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
               EXPORTING
                    titlebar              = 'Office Integration Demo'(oid)
                    text_question         = 'Save Document?'(sav)
                    display_cancel_button = ' '
               IMPORTING
                    answer                = answer.
          IF answer EQ '1'.
            do_save = 'X'.
          ELSE.
            do_save = ' '.
          ENDIF.
          CALL METHOD me->close_document
                        EXPORTING do_save = do_save.
          CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        ENDIF.
      ENDMETHOD.
      METHOD on_custom_event.
                 FOR EVENT on_custom_event OF i_oi_document_proxy
                 IMPORTING document_proxy event_name param_count
                           param1 param2 param3.
        IF event_name EQ 'ON_SERIES_CHANGE'.
          CALL METHOD table_coll->get_table
                        EXPORTING table_name = 'SALES_IN'
                        IMPORTING retcode = retcode
                        CHANGING  data_table = test_table.
          CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 1.
          usa_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 2.
          europe_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 3.
          japan_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 4.
          asia_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 5.
          america_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 6.
          africa_sales = wa_test_table-sales.
          CLEAR wa_test_table.
        ENDIF.
        CALL METHOD control->set_focus.
      ENDMETHOD.
    ENDCLASS.
    FORM refresh_sales.
    FORM refresh_sales.
      DATA: BEGIN OF item_line,
                 region(60),
                 sales TYPE i,
                 date  TYPE d,
                 time  TYPE t,
                 weight TYPE f,
                 amount TYPE p DECIMALS 3,
                 id(10) TYPE n,
            END OF item_line.
      DATA: sales_table LIKE TABLE OF item_line.
      DATA: wa_sales_table LIKE item_line.
      DATA: fields_table TYPE TABLE OF rfc_fields.
      DATA: wa_fields_table TYPE rfc_fields.
      DATA: ind TYPE i.
      CALL FUNCTION 'DP_GET_FIELDS_FROM_TABLE'
           TABLES
                data   = sales_table
                fields = fields_table.
      READ TABLE fields_table INDEX 1 INTO wa_fields_table.
      wa_fields_table-fieldname = 'Region'."#EC NOTEXT
      MODIFY fields_table FROM wa_fields_table INDEX 1.
      CLEAR wa_fields_table.
      READ TABLE fields_table INDEX 2 INTO wa_fields_table.
      wa_fields_table-fieldname = 'Sales'. "#EC NOTEXT
      MODIFY fields_table FROM wa_fields_table INDEX 2.
      CLEAR: sales_table, wa_sales_table.
      wa_sales_table-region = 'USA'(usa).
      wa_sales_table-sales = usa_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Europe'(eur).
      wa_sales_table-sales = europe_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Japan'(jap).
      wa_sales_table-sales = japan_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Asia'(asi).
      wa_sales_table-sales = asia_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'America'(ame).
      wa_sales_table-sales = america_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Africa'(afr).
      wa_sales_table-sales = africa_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      LOOP AT sales_table INTO wa_sales_table.
        ind = sy-tabix.
        wa_sales_table-date = sy-datum + ind.
        wa_sales_table-time = sy-uzeit + ind.
        wa_sales_table-weight = 100000 * ind.
        wa_sales_table-amount = 11111 * ind.
        wa_sales_table-id = ind.
        MODIFY sales_table FROM wa_sales_table INDEX ind.
      ENDLOOP.
      CALL METHOD table_coll->add_table
                        EXPORTING table_name = 'SALES_OUT'
                                  table_type = table_coll->table_type_output
                        IMPORTING retcode = retcode
                        CHANGING  data_table = sales_table
                                  fields_table = fields_table.
      CALL METHOD link_server->add_table_item2
               EXPORTING item_name = 'Sales'    "#EC NOTEXT
                         item_title = 'Car Sales Figures'(sal)
               IMPORTING retcode = retcode
               CHANGING  data_table = sales_table
                         fields_table = fields_table.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ChartTitle'
                         item_title  = 'Chart Title'(ti0)
                         item_value  = 'Car Sales by Region'(ti1)
                         no_flush    = 'X'
               IMPORTING retcode = retcode.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ColumnTitle1'
                         item_title  = 'Column Title 1'(ti2)
                         item_value  = 'Region'(ti3)
                         no_flush    = 'X'
               IMPORTING retcode = retcode.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ColumnTitle2'
                         item_title  = 'Column Title 2'(ti4)
                         item_value  = 'Sold Cars'(ti5)
                         no_flush    = ' '
               IMPORTING retcode = retcode.
    ENDFORM.

  • Where can I find explanations for all the export options?

    [ Re-posting this from the iPhoto & iDVD branches ]
    When I export a slideshow in iPhoto 9, choose 'Custom export' and then hit the 'Options' button, a dialog pops up with Video & Sounds options that can further be explored. In the Video section, I can click on the 'Settings' button, amongst others, to reveal lots of things that can be tweaked (Compressor Type, Motion, Data Rate & Compressor).
    Where can I find help and explanations of what all these settings do, when to change them, why they should be changed, to what values and what effects these all have on the overall output?
    Apple has a user manual for FCE4 on their web-site and I recognise some of these iPhoto slideshow export settings from similar dialog boxes from within FCE4. Does a user manual for iPhoto 9 exist also? I can't find it on Apple's web-site.
    It has been suggested to me that these are all standard QT settings/options - hence the re-post to this forum.
    - CDM

    It's always been up to each user to find all of the "hidden gems" in any OS software. Most of us experiment, test, try, fail and try again with all the options. Along the way we learn what works, what doesn't. I've played, poked and prodded QuickTime Pro for the last ten years and even wrote a "book" about it. I have over 200 bookmarks to resources and links that help me sort things out.
    Onto some answers:
    1. on your list is actually a three part question. Since you probably can't burn a true "HD" DVD we'll leave that part out.
    You can easily "share" your iPhoto files with iDVD and burn in SD 16:9 format. You need to learn nothing about the compression options as iDVD will do all of the work. The Web based file formats (from the same source file) are an easy "trick" in QuickTime Pro.
    QuickTime Pro includes an export option "Export for Web" that will make up to 4 "versions" of your source file and even write the html code for you to copy/paste into your Web pages. It creates up to 4 versions (iPhone, iPod, Desktop and cell phone) with just one export and writes html page code that can "read" your connected visitors "speed" to serve up just the right file for the device.
    Your number 2 question is answered by your SD DVD media device. Can't make a sow's ear into a silk purse. But you could use QuickTime Pro export options to create a "true" HD file and display it on your HD TV. If your HD TV includes HDMI connections (and all should) you could either connect your camera directly to the TV (via cables) to display the "raw" video captures or use iTunes (free) application to export HD video to an appliance like Apple TV.
    My "book" (a downloadable PDF) does include an explanation about nearly all of the QuickTime available codecs but it's probably not needed for your particular workflow. The built-in preset exports are all you probably need to use.
    Compression type = file format (AVI, MP3, MOV, etc.).
    Motion = frame rate allows you to change the source frame rate to meet the restrictions of your delivery media (nearly always adjusted to reduce file size for Web delivery). E.G source is 30 fps and delivery is 15 fps (reduces file size).
    Key frames = "special" frames of the video that either "predict" or "optimize" for the delivery media format. The Export for Web feature of QuickTime Pro defaults should be all you need.
    Quality slider = is "optional" but usually defaults to "medium". In most cases this is best left at the default setting.
    Dimensions = file size dimensions. Well crafted, H.264 video codec QuickTime files will look very good when displayed at up to twice the file export dimension. This means you can display a Web based 640X480 file at "Full Screen" size (display resolution) without much degradation of video quality. Older codecs will not look as good when doubled in size.
    Preserve Aspect ratio = just what it says. Widescreen source = widescreen display.
    De-interlace source = http://en.wikipedia.org/wiki/Deinterlacing
    Hope this helps you sort things out.
    Data rate = the amount of compression (data limit)

  • Where can I find the field "Code" in PPOMA_CRM? what table?

    Hi Experts,
    I need to extract the Organizational Structure from PPOMA_CRM to BW. I know HRP1000 and HRP1001 are the main tables related to this transaction code, but I think they are not enough to suit my requirements.
    My OS tree is: Country->Region->Plant->Centre-> "X" number of Sales_Rep, and "Y" number of Sales_Admin
    I have to count the number of Sales_Resp and Sales_Admin assigned to a specific Plant or Region. So if I want to know my salesforce (sales_rep+sales_admin) in the North Region, I should sum all sales rep and sales_admin included in Plant01, plus Plant02...etc.
    It would be "easy" if I could sum all the "S" types included in a Plant or Region, but I can't, because there are more "S" types in the Organizational Structure that I should not take into account (sales director, plant manager, etc).
    "Code" is the only way to differenciate among the "S" types, because when a person is Sales_rep or Sales_admin, "Code" is SR or SA. But this field is not included in HRP1000 neither HRP1001. Do you know where can I find this code or what tables I should have a look to suit this requirement?
    I attach an image. We can see a Plant and a Centre, and according to my requirements, forcesales for this Plant should be "2" (there are 2 sales_rep and 0 sales_admin) .
    Any help will be appreciated. Thanks!

    Hi,
    You may want to check table HRP1000, field SHORT.
    Best regards,
    Sylvain AGUETTAZ

Maybe you are looking for

  • Loop in sf

    Hi Friends, What is the use of loop in table(main area) in smartforms??

  • No podcast icon under library

    suddenly the podcast icon is missing from my itunes and my podcasts have vanished from my itunes. i still have them on my hard drive and when i play them they play through itunes. i tried downloading the latest itunes and all that, now when i went to

  • DW CS4 doesn't display updated images edited in PS

    Old way with DW8: I would change/update an image in PhotoShop – save over the old image – and DW would automatically display the new version. New way (DW CS4): I do the same as above, and DW does NOT automatically display the new image. I've tried hi

  • Visual C++ MS patch 11-25 (KB2538242 KB2538243) Install Error

    We face a problem when install  MS patch 11-25 (KB2538242  KB2538243) for Visual C++ on windows server 2008 R2 SP1, Can anybody help advice on this ? Thanks.

  • Can we build dimensions in empty outline using "DynamicDimensionBuild" meth

    Hi there........ Iam trying to build dimension in outline which is empty by using "dynamic dimension Build" Method... it is saying the error is "Database outline is empty". But Whenever outline contains one or more dimensions then I can build another