Drawing line on PDF - not working in Acro 8 and 9

I have code in a simple Acrobat plugin that draws a line from the point where the mouse button was pressed to the current mouse pointer position, refreshing the lines position as long as the mouse button is being held down. The code works fine in Acrobat 6 and 7, but appears to do nothing in Acrobat 8 and 9 (the code is being called, but no line is drawn). Any insights would be most appreciated. The code is copied below - the first function simply converts the User space point to windows screen coordinates, and the clickProc function is called by an AVAppRegisterForPageViewClicks notification.
Thanks in advance!
void AVPageViewUserPointToScreen(AVPageView pageView, ASFixedPoint *src, POINT *dest)
ASFixedMatrix matrix;
ASFixedPoint fp;
AVPageViewGetPageToDevMatrix(pageView, &matrix);
ASFixedMatrixTransform(&fp, &matrix, src);
dest->x = FixedTruncToInt16(fp.h);
dest->y = FixedTruncToInt16(fp.v);
ACCB1 ASBool ACCB2 clickProc(AVPageView pageView, AVDevCoord x, AVDevCoord y, AVFlagBits16 flags, AVTCount clickNo, void *data)
ASFixedPoint fpStart, fpEnd;
POINT drawStart, drawEnd;
AVDevCoord x0, y0;
WinPort winPort;
LOGPEN pen;
POINT width;
//store the start point in user space
AVPageViewDevicePointToPage(pageView, x, y, &fpStart);
//Get the starting point in screen coordinates
AVPageViewUserPointToScreen(pageView, &fpStart, &drawStart);
drawEnd.x = drawStart.x;
drawEnd.y = drawStart.y;
winPort = (WinPort)AVPageViewAcquireMachinePort(pageView);
pen.lopnStyle = PS_SOLID;
pen.lopnColor = RGB(128, 128, 128);
width.x = 1;
pen.lopnWidth = width;
HPEN hPen = CreatePenIndirect(&pen);
SelectObject(winPort->hDC, hPen);
SetROP2(winPort->hDC, R2_NOT);
while (AVSysMouseIsStillDown())
AVPageViewGetMousePosition(pageView, &x0, &y0);
//erase the previous line
MoveToEx(winPort->hDC, drawStart.x, drawStart.y, NULL);
LineTo(winPort->hDC, drawEnd.x, drawEnd.y);
//store the new end point in user coordinates
AVPageViewDevicePointToPage(pageView, x0, y0, &fpEnd);
//Get the new end point in screen coordinates
AVPageViewUserPointToScreen(pageView, &fpEnd, &drawEnd);
//draw the NEW line
MoveToEx(winPort->hDC, drawStart.x, drawStart.y, NULL);
LineTo(winPort->hDC, drawEnd.x, drawEnd.y);
return TRUE;

Hmm...
I don't see anything obvious that would have changed in Acrobat 8 and later. We did change from 16->32 bit coordinates back in Acrobat 7 - but you say the code works fine there, yes?
If you are still having problems, I would recommend filing a formal support request with developer support.

Similar Messages

  • FormsCentral PDFs not working for Linux and Unix users

    I recently created a PDF (using Indesign > Acrobat IX Pro > Formscentral [AFC]) that includes radio buttons, form fields, linked videos set to play in the PDF once clicked and (after running through AFC) a submit button.
    The form has been distributed and we have already had hundreds of successful responses collected in the AFC site, all is working well there.
    One major problem we are having is that we have a lot of Linux/Unix users and the response from them is that they can't activate the videos, the form fields are out of kilter alignmentwise and the submit button does not work. Even when using the proper Adobe Acrobat Reader (v9, for example).
    Is the Adobe development team aware of problems such as these for Linux/Unix platforms and is there a suggested fix that they know of?
    The link to the actual file is here: http://cms.iopscience.iop.org/alfresco/d/d/workspace/SpacesStore/b5a48eac-8642-11e2-8cf8-e 50acbc9fd86/NJP-Video-Abstracts-Competition-2013.pdf
    Thanks in advance

    Hi Jesse,
    can you email me ([email protected]) the original PDF (before you imported it in FormsCentral)? Also, I'm curious about the format of the video in the PDF. Does the video in the PDF worked in Linux/Unix before going through the FormsCentral import/export?
    When I look at your PDF on my Red Hat Entrprise Linux 6.0 system with Reader 9.5.4 it does look fine (location of the fields) but the video generate an error (which I'm still investigating). I have not yet try the submit button on your form (as I don't want to submit bad data to you) but I seem to have an issue with the submit button on other PDF forms I generated (when I try to submit from a linux machine). Still investigating that as well.
    Gen

  • Why is exporting to PDF not working?

    Why is exporting to PDF not working?

    Dear Claudio,
    I know it wasn't much to go on but I got your attention!
    I work for a charity and use a program called "Donor Perfect".
    It has a feature that when you generate a report it gives you the option to export to MSWord, Excel, and PDF.
    Below is the step by step description of what happens.
     After log on ......
         1. Click on Reports
         2. Listings
         3. Report Category(any)
         4. Select Record type(any)
         5. Select report options (any selection filter that fits or Build a filter) and sort order(any)
         6. Enter title (accordingly)
         7. Click on Preview
         8. When next screen opens with report visible - in "Report Print preview" line above report choose PDF icon
         9. Export to PDF window opens
         10. click on Page range-ALL
         11. What to print-All pages in Range
         12. Save as C:\DPW32\dpsumm.pdf
         13. collate
         14. number of copies(1)
         15. Click on "Screen" 
         16. Click on "Display Conversion Status"
         17. Then "OK"
         18. After conversion status reaches "100%" nothing happens -screen does not change!
    Then I minimize DP screen and I go to Start menu 
         1. Click on Start
         2. Then "My Computer"
         3. Local Disk "C"
         4. Dpw32
         5. Look for "dpsumm" file with today's date
         6. Size of file says 0 KB and that's it!!!!
    In previous versions of DP (8 and 9)
    the PDF would open on the screen as soon as the Step 18 was finished, then I could save it with an identifying name to a different folder and use it as an attachment that a Donor could receive by e-mail.
    I hope I can get back to that because now I have to convert to "Word" (Which takes a long time)then from that I have to create PDF from Acrobat. too many steps ..... if I have 20-30 reports it's too cumbersome.
    Waiting for your suggestions,

  • Not sure why line break is not working

    Hi all,
    Here is part of my simple Swing application:
    String text1 = "hello";
    String text2 = "world";
    String text3 = text1+"\n"+text2;
    // have also tried (String text3 = text1+"\n\r"+text2;)
    displayField.setText(text3);I supposed that the text3 in the label field (displayField) would display like this:
    hello
    world
    But not, the text3 just displayed in the same line like this instead: helloworld.
    I am not sure why the line break is not working.

    Use HTML for a multiline JLabel.// String text3 = text1+"\n"+text2;
    String text3 = "<html>" + text1 + "<br/>" + text2 + "</html>";db

  • Some PDFs not working in Preview. Mac created PDFS work but windows created PDFS dont

    Some PDFs not working in Preview. I installed adobe reader and then deleted it because the software was aweful and PDFs have been haveing issues ever since. I can open up PDFs created on my Mac in preview just fine...
    But when I try and open a PDF created on a windows computer it says:
    "Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html.
    For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. "
    I am not sure why where the PDF was created would make a difference but couldnt help but notice that was the difference between the PDF files that work and the ones that give that message. I can view the PDFs on a windows computer just fine and never had issues untill adobe, it seems to have messed up PDFs on my Mac and I am so frustrated with them. I have searched my computer for any remaining adobe files, deleted them and restarted my computer but I am still getting this message.

    Uninstall Adobe Reader's plug-in.
    Remove the following two files from  /Library/Internet Plug-Ins/:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Open Safari Preferences > Extensions. Do you see AdobePDFViewer? If yes. disable.
    Log out/in and test.
    Another option is to download and install this plugin. Schubert|it PDF Browser Plugin . PDF Browser Plugin 2 is free for not-for-profit activities if used at home or at educational institutions.
    http://www.schubert-it.com/pluginpdf/

  • Line-in input not working correctly in Garageband

    Problem:
    Line-in input not working correctly with Garageband. Problem occurred AFTER installing and using Blue Yeti USB mic, purchased from the Apple store.
    System Details:
    '07 20" iMac 2.4GHz 4GB RAM, OSX 10.6.5, Garageband '11 v6.0, Logitech Z4 speakers.
    Background:
    Before using the Yeti USB mic, I used the line-in jack. I'd connect a Shure mic or guitars directly in, but more recently through a 12 channel mixer. Have connected the Shure mic directly into the input jack, and the computer appears to be picking it up (System Preferences->Sound->Input), it is responding correctly there. Have set the output to the headphone (line-out) jack. When I go into Garageband, I can select from Line-in 1, Line-in 2, and Line-in Stereo. The trouble is that it's the iMac's built-in mic that is active (the one above the screen), not the line-in. I've rebooted the computer, checked the connections, reconnected the Yeti mic and I can't find what's causing the problem. Not sure what to do from here, need some help. Thanks

    I have Logic Express on the iMac as well and I worked out how to set the input device back to the Line-In. I went back to Garageband and found the equivalent setting under Preferences->Audio/MIDI. Thanks for reading, sorry I didn't sort it out sooner! Merry Christmas!

  • CS4 "Save as Adobe PDF" not working in Mountain Lion

    CS4 Save as Adobe PDF not working in Mountain Lion
    Just bought a new Mac with mountain lion, installed CS4 design premium twice trying to fix this. When you go to "print" then "Save as Adobe PDF" the process fails with a pop-up saying "An error occurred while saving the PDF file". I can still do the standard "Save as PDF" - but that usually results in a file size 10x larger than Save as Adobe PDF so it won't work for me; I need the small file sizes of Save as Adobe PDF.
    When I go to Help > Repair Acrobat Installation it seems to be recognizing a repair needed with Adobe PDF Printer (see screenshot below); but when I go through the repair nothing changes it still won't work.
    Any help is much appreciated!

    "Save As Adobe PDF" works fine in Snow Leopard.
    Thanks for the link, but this is no help - I already have "Save As Adobe PDF" on the menu - the problem is when I click that it errors out...
    I just think its sad that Adobe charges people $2000 and provides zero support for future updates; when I buy an iMac for half that amount of money or an iPhone I get operating system support and bug fix downloads to deal with the latest internet advances for years to come - but Adobe apparently takes your money and says sayonara! Is it really that hard to provide updates on $2000 worth of software for say 24 months??

  • Why two fingers sliding is not working in Chrome and PDf, why two fingers sliding is not working in Chrome and PDf

    Sometime two fingers sliding for scroll down is not working in Chrome and Pdf. I have to log out to make this work. I just bought this laptop a week ago, is it software's problem or just my laptop's problem. Thx,guys!

    having the same problem and i bought a brand spankin new retina 15'

  • I have F.F 3.6 and windows 7.: 1) When i want to buy a airplane ticket and want to select 2 adults or 2 children, the draw down select, does not work in any websides,? WHY?. 2) Have FF any problems with SKYPE

    I have F.F 3.6 and windows 7.: 1) When i want to buy a airplane ticket and want to select 2 adults or 2 children, the draw down select, does not work in any websides,? WHY?. 2) Have FF any problems with SKYPE
    == This happened ==
    Not sure how often
    == After innstalling windows 7

    As a suggestion I'd put the Text_io segments into their own begin - exception - end sub-blocks within the main code. This way if Text_io does raise an exception you can catch it earlier as it may be able to recover - That is if it is a text_io exception.
    Other than that you;ll have to step through in Debug.

  • Adobe PDF not working in N95

    in my nokia N95 i m not able to open pdf files last 20 days i think adobe PDF not working properly i want to repair it but how i donn know? can anybody help me to get rid of this prob

    I do not think that PDF Maker has been updated for IE9 yet. IE9 is a recent release and Adobe does not generally work on the final software until the release. They also have to be sure it still works with other products. In the meantime, try just printing to the Adobe PDF printer or opening the URL in Acrobat directly.

  • RTE not working in chrome and mozilla

    Hi
        I have an urgent issue.. My RTE is not working in chrome and mozilla.. It is showing up in my dialog; but when i enter data and submit it is not storing in CRX. Also non of the plugins is active
    Any help weill be appreciable
    Thanks
    Veena

    Hi Sham
         After lot of debug i found out the following issues
    In RTE if we put styles plugin only this issue is happening
    The issue happens because the RTE is getting disabled because of the following in RichText.js
    if (CQ.Ext.isIE) {
                var editorSheet = this.doc.createStyleSheet();
                for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                    styleToAdd = cssToAdd[cssIndex];
                    for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                        styleToCheck = styleSheets[sheetIndex];
                        rules = styleToCheck.rules;
                        ruleCnt = rules.length;
                        ruleToCopy = null;
                        for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                            ruleToProcess = rules[ruleIndex];
                            ruleText = ruleToProcess.selectorText;
                            if (ruleText == "." + styleToAdd) {
                                editorSheet.addRule(
                                        "." + ruleText, ruleToProcess.style.cssText);
                                break;
            } else {
                var styleDef = this.doc.createElement("style");
                styleDef.type = 'text/css';
                var cssText = "";
                for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                    styleToAdd = cssToAdd[cssIndex];
                    for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                        styleToCheck = styleSheets[sheetIndex];
                        rules = styleToCheck.cssRules;
                       ruleCnt = rules.length;
                        ruleToCopy = null;
                        for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                            ruleToProcess = rules[ruleIndex];
                            if (ruleToProcess.type) {
                                if (ruleToProcess.type == CSSRule.STYLE_RULE) {
                                    ruleText = ruleToProcess.selectorText;
                                    if (ruleText == ("." + styleToAdd)) {
                                        ruleToCopy = ruleToProcess;
                                        break;
                        if (ruleToCopy) {
                            cssText += ruleToCopy.cssText;
                            break;
                styleDef.appendChild(this.doc.createTextNode(cssText));
                headEl.appendChild(styleDef);
    The above lines are from 650-701 in RichText.js of CQ5.4 . They have handled the code for IE seperately from lines 650-670
    The error is happening in line number 679 ; Where the ruleCnt is returning null for some sheetIndex and so the code is breaking and the RTE is disabled.
    If i add the following line of code
    if(ruleCnt == null){
    continue;
    just after line 679 . This issue seems fixed. But i think it is not the proper way to fix it and it is only a temporary fix. I dont know if it is a CQ issue.
    Does any one have any solution for this.
    To replicate the scenario
    Create a rtePlugin in ur richtext widget
    add a styles dropdown with styles in it
    run this in chrome or any other browser except IE
    If you have a proper solution please let me know
    Thanks
    Veena

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

  • Window.close() not working in Chrome and Mozilla

    hello techies,
    I used the below code on one of my Sharepoint webpart page :
    setTimeout(function(){ window.close(); }, 3000);
    This script works fine on IE but not working on Moziila and Chrome.
    Any help will be appreciated

    Hi Sachin,
    Use following line of code, before window.close(), see if it helps you.
    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Commandmenu items highlight is not working in IE8 and firefox

    HI All
    i developed a menu for my project .
    in that menu i have some menuitems
    when i mouseover on commandmenuitem the item is highlighted .
    but this is not working in IE8 and firefox ..
    it is sometimes working in iE7 and some times it is not working.
    Can any one help me

    PDF documents are hosted in an ActiveX or netscape plugin control which have their own printing functions.
    Start>Adobe Reader>Edit>Preferences - to adjust what functionality the PDF document viewer addon displays (menus etc).
    Tools>Manage Addons>Show all addons
    make sure you have both the x86 and x64 versions of your PDF reader Active X control installed and enabled. I would recommend also that you update to the latest version of the vendors' (Adobe?) plugin.
    Possibly you have disabled scripting of ActiveX controls in the IE security zone that your parent page maps to. Also there is an IE security zone feature that prevents navigation to a domain in a zone of lower integrity.
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    when asking developer related questions it is helpful if you can include a link to your website.
    Rob^_^

  • Mac App Store not working? (Glitching and flashing!)

    Mac App Store not working? (Glitching and flashing!)
    I was at my friends house, everything was working fine. I went to my girlfriends house, everything was still working fine. Then once I got home, I got back out my 2010 MacBook Pro 15" to use and some pages on the internet looked a little odd. They were all in HTML format and wouldn't go back (Pages such as Skype and Apple's main page). I thought they were just down or being fixed up, but then I went to update my Mac under the App Store. I clicked the App store and a message popped up saying "App Store cannot verify a secure connection with the App Store." The options were "Cancel" or "Continue". I clicked "Continue" so I could update my Mac, but weird enough, the App Store started flickering (strobing; blinking) as seen in this video by someone with the same problem: http://www.youtube.com/watch?v=De8aQZccRvA
    I do not know what to do or why this is happening, so help would be VERY nice.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for