Create a function or not

This is just to get opinions. I have a procedure in a package that has the following
note: n is number that will get converted using CHR
if N between 65 and 90 or n between 48 and 57 then
In your opinion, keep in mind that this is in a package, would you create two Functions and replace the if with
if IsLowerAlpha or IsNumeric then
Or would you leave well enough alone

what are the advantages a function brings to you?!
In your example it would be REUSE of the function.
If you use the portion of code multiple times in your code
it will be helpful to create a little function.
do you know that you will only need it at one place in your
code and you will not need it in the future for other things (this you cannot know 100%)
then you don't need to define the function.
hope this helps.
cheers
Schoeib

Similar Messages

  • JCO.server could not create server function - IDOC_INBOUND_ASYNCHRONOUS

    Hello all.
    On this platform I have found some threads for the above error we get, but unfortunately the solution was not described in detail.
    We get this error in sending Idocs from a SAP 4.7 system to our Business Connector.
    Complete error info is :
    com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not create server function 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡u2019'
    com.sap.mw.jco.JCO$Exception: (123) JCO_: Server repository could not create function template 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡u2019' caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=CPAAQAT.US.CPO.COM, GWSERV=sapgw01, ASHOST=CPAAQAT.US.CPO.COM, SYSNR=01 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 172.20.12.65, service 3301) TIME Fri Jul 15 10:35:58 2011 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODU
    Typically the message gets rolled-back and no sender, receiver or message info in visable in the transaction list.
    Transaction List
    Date    TID    Sender    Receiver    Msg Type    State   Delete
    2011-07-14 08:00:19 BST  AC140C4150524E1E92E80002     Rolled back   
    Who can help us.
    Thanks in advance.
    Marcel

    Hi,
    ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡
    looks like a character encoding error. Did you check the Unicode, code page at the RFC destination, and related SAP notes?
    Sandra

  • Error while creating Notification: Partner Function is Not Allowed in Partner Determination Profile Q2

    During Notification Creation I get the error --Partner Function is Not Allowed in Partner Determination Profile Q2
    As I enter Purchase Document Number in the transaction QM01 and press Enter. I get the above error and donot go further.
    Can anyone help me here.

    Hello Prashant,
    You are missing some configuration for the partner function;
    Go- to
    SPRO>IMG>QM>Quality Notifications>Notification Creation>Partners>Define partner Determination Procedure>
    Again Select "Define Partner Determination Procedure".
    Select Quality management> Change Partner
    Now Select Q2.
    Compare settings with Partner Determination Procedure on any other client. Also check Partner functions on the same screen.
    Amol.

  • Can't create a function in SQL windows of PL/SQL Developer.

    The function is :
    create or replace function Xgyh
    (pvc2Czy in varchar2,
    pnumYhid in number,
    pvc2Lfid in varchar2,
    pvc2Grzid in varchar2,
    pvc2Zbmid in varchar2,
    pvc2Bmid in varchar2)
    return number is
    intZxbz integer:=1;--返回值(1:正确,0:错误);
    numDxlb number;
    numGx number;
    begin
    --判断指定用户是否合法
    if pvc2Czy is null then
    intZxbz:=0;
    end if;
    if pnumYhid is not null then
    if pvc2Lfid+pvc2Grzid+pvc2Zbmid+pvc2Bmid is null then
    intZxbz:=0;
    end if;
    elsif pvc2Lfid is not null then
    if pvc2Grzid+pvc2Zbmid+pvc2Bmid is null then
    intZxbz:=0;
    end if;
    elsif pvc2Grzid is not null then
    if pvc2Zbmid+pvc2Bmid is null then
    intZxbz:=0;
    end if;
    elsif pvc2Zbmid is not null then
    if pvc2Bmid is null then
    intZxbz:=0;
    end if;
    elsif pvc2Bmid is null then
    intZxbz:=0;
    end if;
    --取当前登陆操作员在数据权限表中权限并判断是否允许更新当前用户
    if intZxbz=1 then
    select t.更新,
    decode(t.对象类别,'用户',0,'楼房',1,'供热站',2,'子部门',3,'部门',4,'集团',5)
    into numGx,numDxlb
    from 系统_数据权限_表 t
    where t.用户=pvc2Czy
    and (t.对象类别,t.对象识别码) in
    (('集团',0),('部门',pvc2Bmid),('子部门',pvc2Zbmid),('供热站',pvc2Grzid),('楼房',pvc2Lfid),('用户',pnumYhid))
    and rownum=1
    order by 2,1;
    end if;
    --返回信息
    return(numGx);
    end Xgyh;
    If get rid of the where condition
    'and (t.对象类别,t.对象识别码) in
    (('集团',0),('部门',pvc2Bmid),('子部门',pvc2Zbmid),('供热站',pvc2Grzid),('楼房',pvc2Lfid),('用户',pnumYhid))',
    this function can be created fast.
    Thanks for you help!

    This is duplicated question.
    Can't create a function in database
    William Robertson and I have described some advices for you.
    Is my English poor?
    If you couldn't get theirs (mikerault, William Robertson et al.) and my advices,
    You can ask that on ITPUB (this is Chinese site).
    Here it is. http://www.itpub.net/
    And this site is not only for Oracle.
    I think they can help you in Chinese words.
    PS.
    I learn that
    'Gongrezhan' means the center of supplying heating to building,
    and this center is the characteristic systems in Beijing or more cold district.
    PS.2
    Your script includes simplified Chinese character-set.
    Even if you were not Chinese person,
    we all think you can understand Chinese words.

  • RH9 Webhelp Search function is not working properly

    Hi,
    My organization is using RH9 for a Webhelp project.  My company and our client are restricted to using IE9 for the online help I have created for this project, and our OS environment is Windows 7.  When I generate using the Webhelp layout, with the TOC, Index and Search options chosen, my resulting browser window shows two frames.  Left for the Contents/Index/Search and right for the content.  In the left panel, there are three links at the top for Contents, Index and Search.  When I click on the Search link, the only thing I see is the alphabet A-Z (which are links to filter items beginning with these letters (much like the index link) and a list of what I would say is garbage.  For example, if I click on H, I see items like "half 1 2 3" or "held" or "honor # 1 2 3 4 5 6 7 8", etc.  If I run my cursor down this list, I notice that maybe the word honor is a link.  If clicked it brings up one of my topic pages.  I can also click on the random numbers that appear, like clicking on 3 it brings up another topic page.  The search function does not allow me to type in a search criteria, since there is no search field as well.
    Do you have any suggestions for this issue?  Is this a bug, or do I need to change settings somewhere within RH9?  The same thing is happening when using this help project that is running on our clients server.  Is there any suggestion you can give to try and make this work properly?

    Rick,  Thanks for stepping in.    I assumed that was the reason why I was not receiving the search field, and that is fine for now.  We have discussed with our client the possibility of having two different help projects one for each, but that decision was kind of put on the back burner.
    However, the other issue I am having is still there and I don't quite understand why.  Since I only have clickable A-Zs for the search, and it lists links much like the Index section, I'm still seeing lists of just numbers and characters (i.e., "# 1 2 3 4 5", or "%" or "& 1 2 3 4 5" sometimes all the way up to 18 or so).  And each of these characters or numbers are clickable links as well to either page that doesn't contain that number or to nothing.
    Doing a bit more research, I have noticed that a lot of these links are being picked up by the PDF file we have as part of the project.  Our help project has a link to the documented version of the help in the form of a User Guide.pdf file.  So the search is listing items from that guide like the heading numbers 1.0, 1.0.1, etc.  Also each of these are clickable links that go nowhere.  But then there is still the numbers 1, 2, etc that go to pages that don't have this anywhere on the page.
    Do you have any insight as to why these types of things are being listed under Search at all?  They make that selection look very messy and unorganized.  Not professional at all.  I have checked and tested the properties settings and can't seem to find what is causing this to happen.  Any idea would be most appreciated!!

  • Two Exact Functions Are Not Working (long)

    I am making a portfolio website. The way I have structured my code is that I have an action layer that takes care of global actions such as how the user would navigate through the website. For each page of the website, I would have a seperate layer that would load the content of that page onto the screen. The content would be added as a movie clip which is attached to a scroll pane component.
    I am having trouble calling one of my functions. What I am trying to do is that when the user navigates to 'My Work' section of my website, they can select from one of the examples of my works. Doing so will pop-up a movie clip which will display photographs and provide an explanation for my work. The problem I am trying to fix is that when the user tries to navigate to another page on my portfolio, the pop-up will not remove itself. I have created a function which is attached to the close button so if the user presses it, they can manually close the pop-up movie clip. I have also tried using this closing function with the main navigation buttons of my website so that when the user tries to go to another secion of the website with the pop-up open, the pop-up will automatically close itself, however, it is not constantly working. My 'works' page is seperated into several catagories (web, graphics...). This auto close function is only working on one of the five catagories and I do not understand why. I have copied everything exactly for one catagory to the second catagory, but Flash keeps on giving me the error that "Error #1009: Cannot access a property or method of a null object reference".
    My flash files can be downloaded here. Once downloaded, you would want to open up website14.fla. I know my coding is not exactly organized, and I am sorry as this is my first time I have really used a lot of ActionScript at once. I'll try my best to walk you guys through my coding to my error.
    To navigate through my website, you would click on the sink, toilet, or shower handles X amount of times. 1 time would bring you to 'about me', 2 for 'resume', 3 for 'contact', and 4 for 'work'. Once on the work page (press 4 times), click on the 'web' catagory and select one of the thumbnails. A pop-up window will appear. Don't close the pop-up window, and instead navigate to another page by pressing one of the handes a few times. Notice that the pop-up window automatically closes itself. Now navigate back to the 'work' page, click on the 'graphics' catagory and select a thumbnail. Now navigate to another page by pressing the handles a few times. Notice how Flash produces the error 'Error #1009: Cannot access a property or method of a null object reference'. In addition, notice how the pop-up window doesn't dissapear, and the new page is layed overtop.
    To navigate in the Flash file to my error, I'll try to guide you there. In the root timeline, scroll over to Frame 1 Layer 'Action' and look at the actions panel. On line 72, I have two If statements checking for frames 30 and 31. These two frames are where my work is displayed. I have also used a try/catch statement to check for errors. Now going to frames 30 and 31 and clicking on the workContent layer and looking into the actions panel, I am bringing my movie clip onto the stage by using the function createScrollPane. The function createScrollPane is located in frame 1 in the Action layer on line 13. This function just takes the movie clip and wraps the scroll pane component around it. Going to frame 31 on the main timeline, select the workContent layer and pull up the actions panel to see the code. you will see that I am loading workGraphics_content movie clip onto the page. Find it in the library (content/content/workGraphics_content) and open it by double clicking on it. There you will see another movie clip (workGraphics_content2) fading from alpha0 to alpha1. Double click on it and look at the action script in frame one layer 'action'. On line 93, I have the function external_workFrame_exit which is called whenever the user navigates from the 'work' page to another page on the website. For some reason, Flash keeps on giving me an error whenever that function is called. Oddly enough if you scroll up to line 78 you will see the function workFrame_exit which is none the less exactly the same as external_workFrame_exit. workFrame_exit is called when the user manually clicks the closing X button on the pop-up window to close it. If you want, you can open up another movie clip (content/content/workWeb_content) and double click on that movie clip to open up workWeb_content2 and take a look at its action. Looking on line 86, I have the external_workFrame_exit function and this one is the exact same one as the external_workFrame_exit function (which works fine) found in workGraphics_content2.
    What I am confused about is how I have two exact functions being called in pretty much exact same situations in the exact same way, and one of them fails to work. Is there a solution to my problem? Feel free to ask any questions if any of my explanations were difficult to follow.
    Again, the flash files can be downloaded here. Once downloaded, you would want to open up website14.fla.

    Sorry about the long post. I just thought that I would include all the details. To sum things up:
    You navigate through my website by clicking the sink, toilet, and shower handle X amount of times. By clicking it 4 times you will end up on my 'work' page. My 'work' page has several categories. Select the 'graphics' category, click on one of the thumb nails and a pop-up will appear. Now navigate to another page without closing the pop-up by clicking on the handles. Notice how the pop-up doesn't go away, and the new content is displayed over top? Now if you go back to my 'works' page and click on one of the thumb nails under the 'web' category, then navigate to another page, notice how this pop-up goes away.
    I am using the exact same functions to make both the 'graphics' category and the 'web' category to go away, but for some reason the 'graphics' one is not working.
    Again, you can download my files from here.

  • Is there a way to create a function that concatenates

    Hello,
    I constantly find myself needing to create a forumla tha concatenates employee's ID, last name, and first name.  Is there a way to create a function in Crystal that will allow me to create a function that already has this concatenation in place?  I am using Crystal XiR2.
    Thanks,
    Z

    Hi Zack,
    Custom function is a function that can be used in any report and it doesn't depend on database. We have to provide the values in order to claculate what we want and basing on the values provided it calculates accordingly. We cannot use global variables in custom functions and also evaluation time functions (like whileprintingrecords,whilereadingrecords). So I think it is not possible to get the strings concatenated without passing the values.
    Alternatively you can go for a query using Add Command like this
    select IDFirstNameLastName as value from table
    Regards,
    Raghavendra

  • Palm Desk Top 6.2 Address Look Up Function Does Not Work In Windows 7

    I recently upgraded my desk top computer's operating system from Windows Vista Home Premium to Windows 7 Home Premium.  I synchronize with a Palm Tx PDA.  HP PalmOS customer support Chat helped me work through a compatibility issue that was preventing display of Address, Calendar, Memo and To Do items on my desk top computer via the Palm Desk Top 6.2 application.  I now find that the address look up function does not work (although it worked fine when I was running Vista).  Without success, I tried running the repair tool as well as reloading the software (both overlay and clean reinstall).  I would appreciate any help or suggestions to fix?
    Post relates to: Palm TX

    Hi,
    844869 wrote:
    CREATE TABLE TEST_EMPLOYEES
    FIRST_NAME VARCHAR2(26 CHAR),
    GRADE VARCHAR2(5 CHAR)
    INSERT INTO TEST_EMPLOYEES (FIRST_NAME, GRADE) VALUES ( 'William', 45 ); ...Thanks for posting the CREATE TABLE and INSERT statements; that's very helpful.
    William&45     1
    Robin 43     1
    Raymond          43     1
    Richard          43     1
    Karen          28     1
    Michelle               1
    Jonathan               1
    Mark               1
    Ann               1You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    This is one of the many helpful things found in the forum FAQ {message:id=9360002}
    Are the results above what you're getting with some existing query, or are they the results you want? 
    If those are your current results, post your query.  In that case, what are the results you want?  Do you want this?FIRST_NAME GRADE RNK
    William 45 1
    Robin 43 2
    Raymond 43 2
    Richard 43 2
    Karen 28 5
    Michelle 6
    Jonathan 6
    Mark 6
    Ann 6
    Edited by: Frank Kulash on Feb 21, 2013 2:39 PM
    I see you've added the desired results to your original message.
    Here's one way to do that:SELECT first_name
    ,     grade
    ,     RANK () OVER (ORDER BY grade NULLS FIRST)     AS rnk
    FROM     test_employees
    ORDER BY grade          DESC     NULLS LAST

  • Creating RFC Function Module

    I am trying to use PHP and SAPRFC to pull out some information from our SAP database.  I've been reading documentation and I've stumbled across this in the SAP documentation:
    There are two restrictions on writing remote functions that are to be called transactionally:
                    + Transactional calls cannot return parameter values. As a result, the interface for these functions should not specify any EXPORT parameters.
                    + Functions that run transactionally may not perform call-backs: the caller's context does not necessarily still exist when the call-back is relayed back to the original system.
    If this is true then how am I suppose to receive any data back from the RFC?  I am trying to pull a couple of variables out of a few tables using basic select statements like this:
    FUNCTION Z_RFC_COMMISSION_INDIVIDUAL.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(COMM_ACCOUNT) TYPE  LIFNR DEFAULT 000000
    *"  EXPORTING
    *"     VALUE(NAME) TYPE  LFA1-NAME1
    SELECT SINGLE name1 FROM lfa1 INTO name
      WHERE lifnr = comm_account.
    ENDFUNCTION.
    I can connect to the SAP database but I am still not clear on the best way to pull out single values instead of a whole table from SAP using PHP.  Does anyone have any example function module source code they could share?

    Hi Mark,
    I used this code (copy of you)
    DATA: comm_info_output TYPE TABLE OF bdi_entry.
    DATA: comm_info TYPE TABLE OF lfa1.
    DATA: nametab TYPE TABLE OF bdi_mfgrp.
    DATA: sel_tab TYPE TABLE OF bdsel_stat.
    CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC'
        EXPORTING
          tabname               = 'LFA1'
        TABLES
          tabentry              = comm_info_output
          nametab               = nametab
          sel_tab               = sel_tab
        EXCEPTIONS
          system_failure        = 1  MESSAGE l_mes
          communication_failure = 2
          OTHERS                = 3.
    comm_info[] = comm_info_output[].
    and I get no error message. Where exactly do you get error message. Resp. is it going to short dump? (if so please attach list from st22).
    I think the problem is not in function module but in setting of unicode / non unicode systems. Probably with FM you get some not allowed characters.
    I found following thread:
    RFC Lookup after unicode conversion of target R/3
    Is it suitable for you?
    Sorry I am not expert for this. Maybe if you identify exact problem and you don't know solution create a new thread with good description in the title and you will find unicode issues experts.
    Regards,
      Karol
    Edited by: Karol Seman on Jul 30, 2008 2:18 PM

  • Radio button and associated functionality is not working!

    Hi Pros,
    I am facing the following problem:
    1.I have an interactive PDF created in Acrobat 9 Pro.
    2.PDF have few radio buttons, each radio buttons ahave assigned valus(eg: 1,2,3 etc)
    3.I have a text box in which the value of selected radio button is displayed.
    4.PDF is working fine on my machine.
    5.Client is having Internet Explorer version 7.0.5 and Adobe reader:8.2.6
    6.The radio buttons and associated functionality is not working on client's machine.
    7.The text box shows '0' even if we a radio button with value 2 or 1 is selected.
    What will be the problem? How can I fix this issue?
    Please help.

    Thanks alot for helping me on this.
    Thanks to u also ~graffiti

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Generic Object Services ; create attachment function grey out in Tcode KA03

    Hi all,
    I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
    Currently it was grey out.
    However, was tried to use the same function in KS03 and it works.Please help. Thanks!

    I just found the solution...
    SAP note : 961572
    Symptom</u>
    In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
    Other terms
    KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
    Reason and Prerequisites
    The problem is caused by a program error.
    Solution
    Implement the attached program corrections
    Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
    Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
    Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
    Then change the release status by navigating as follows:
    Edit -> Change Release Status -> Object Type -> To implemented
    Edit -> Change Release Status -> Object Type -> To released
    Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
    ObjectType      BUS1059         Revenue element
    Object Name      RevenueType
    Program          RBUS1059
    Objtype status   generated       Saved      released

  • Function will not run (and shows with red cross in SQL Developer)

    I have created the function below by typing into the "Enter SQL Statement" box in the SQL Developer tool and running. I see the message "create or REPLACE FUNCTION Statement Processed". I see the Function in the tree view, but it has a red cross icon next to it, so I guess somethings wrong with it. When I try to run it I get the message "The selected program is in an invalid state for running. Recompile the program and try again." If I right-click the function and compile then I get no errors but the red cross remains and I still can't run it.
    What am I doing wrong?
    Also, I am planning on supplying a SQL script to customers that will have this function at the top of the script, and then I will use the function throughout the rest of the script to decide whether or not to drop a table before re-creating it. Will that be ok? i.e. will the function be available to the rest of the script, or would the function creation need to be followed by a commit/grant/other?
    CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
    RETURN BOOLEAN IS
        tableExists NUMBER(1,0);
    BEGIN
          SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
          IF tableExists = 1 THEN
            RETURN TRUE;
          ELSE
            RETURN FALSE;
          END IF;
    END CHECK_TABLE_EXISTS;Thanks,
    Paul

    Hello Try the same at sqlplus and see how it goes. It should not throw any error messages as I tried the same as a normal user Scott with only (connect, resource) priveleges. You dont have to grant any specific previleges for user_tables.
    -Sri
    SRI>conn scott/tiger@sri
    Connected.
    SRI>CREATE OR REPLACE FUNCTION CHECK_TABLE_EXISTS(tableName VARCHAR2)
      2  RETURN BOOLEAN IS
      3      tableExists NUMBER(1,0);
      4  BEGIN
      5        SELECT COUNT(*) INTO tableExists FROM user_tables WHERE table_name=tableName;
      6        IF tableExists = 1 THEN
      7          RETURN TRUE;
      8        ELSE
      9          RETURN FALSE;
    10        END IF;
    11  END CHECK_TABLE_EXISTS;
    12  /
    Function created.
    SRI>set serverout on
    SRI>begin
      2  if check_table_exists('EMP') = TRUE
      3  THEN
      4  dbms_output.put_line('Found');
      5  else
      6  dbms_output.put_line('Not Found');
      7  end if;
      8  end;
      9  /
    Found
    PL/SQL procedure successfully completed.

  • Time series functions are not working for fragmented logical table sources?

    If i remove that fragmented logical table sources, then its working fine.
    if any body know the reason, please let me know.
    thanks and regards,
    krishna

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • AcroPDF ActiveX print functions are not working with Adobe Reader 9.2 / Actobat Reader 9.3

    AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
    The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
    Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!

    Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
    BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround?

Maybe you are looking for

  • SRM Post Installation - Webadmin and EBP users

    Hello SRM gurus, I am new to SDN but I am familiar with SAP Basis Administration. I have recently installed the SRM 5.0(NW04s). I configured the shopping cart link and the integrated ITS. I was asked to create userid for webadmin (who creates users t

  • Can a Second Hard drive be add to a Satellite A200-298

    Hi I have a Satellite A200-298 which came with a 200gb hard drive I was wondering if it was possible for a second larger hard drive to be added to help with file storage Ie Itunes and movies. Message was edited by: Irishdiver

  • VGA PROBLEM TV-MAC

    hi. my vga mac to tv used to work all the time until i got backf rom holiday, i connect both ends, one ot tv one to my mac but nothing happens at all even in system preferences in display theres no change.

  • Nokia E6 - sync Hotmail sub-folders

    I had the E72, which I loved & was able to sync selected Hotmail account sub-folders & see them listed below the inbox, being able to move emails from the inbox to them, view them, etc. Now I have the E6 (which I only got because the memory was so mu

  • Cfoutput query group

    I have a query that returns data displayed in table that looks like this : Name ID Company count Joe Smith xx1xx Burger Inc 1 Joe Smith xx1xx McDonalds 5 Bob Jones AA2AA Jets Inc 4 What I would like it to look like is this, display the name and ID on