Making the standard AC_FL_RunContent script fallback friendly

I use the normal "AC-FL_RunContent insert Media Flash" script
to show off my flash-ads. But if the reader doesnt have flash they
are "forced" to install/upgrade flash. I want the user to be
presented with a gif/jpg instead aka fallback.
Do you got some knowledge I can tap into?

I use the normal "AC-FL_RunContent insert Media Flash" script
to show off my flash-ads. But if the reader doesnt have flash they
are "forced" to install/upgrade flash. I want the user to be
presented with a gif/jpg instead aka fallback.
Do you got some knowledge I can tap into?

Similar Messages

  • How to find the standard smartform,sap scripts and theur driver programs

    Hi friends,
    can any one tell me how to find the standard smartforms and their driver programs and same for scripts also.
    bye
    sasi

    Hi sasidhar,
    1. Either standard or Y sapscript layouts,
       we can check their standard programs
       in this manner also.
    2. goto se71
       open the layout in DISPLAY mode.
    3.  FORM------> CHECK -
    > TEXTS
    4.  a small window will come.
        click ok (tick button)
    5. Again a new window will come
      which will list out all the DRIVER programs,
      which use this layout.
    regards,
    amit m.

  • Makeing the scripts a plugin & sharing is fun!

    Hello world of scripters and fellow adobe enthusiasts. I've been tossing around the idea of making all my scripts into plugins for illustrator, and since they are all done in JS how hard would it be to do this?  Would it only be a matter of downloading eclipse and the SDK with a little copy and pasting and be done or would it mean an entire overhaul of my scripts?
    As for the sharing part I know that some of the scripts I've written I've done so with the help of previously written scripts.  I've gotten a lot of help from on here and I've even helped out a bit when I can.  I think it would be a big help to everyone if we shared some of our favorite scripts so that we can all see little tips and tricks that people have learned over the years.  Some of the things I've learned on here I've learned from looking at other peoples scripts and just going, "Wow I didn't know I could do that".
    I'll go first, this script is the one I created with the help of some of my fellow scripters on here but it is still a big thing for me. When the script is ran it grabs all the files that exist inside the folder that it is pointed to and creates a large list of radio buttons for the user to choose from.  Then if there is a guide box it will center the artwork inside the guide box and resize if needed.  It doesn't sound like much but it has been a big help to all of my fellow artists.
    //Created by Daryl R. Smith
    //This is the tab for Totes
    #target illustrator
    if (app.activeDocument.selection.length > 0)
        var thisDoc = app.activeDocument;
    var w = new Window ("dialog", "Choose Totes Template", undefined, {closeButton: false});
    w.alignChildren = "right";
                  w.onShow = function()
                        for(var i=0; i<totes1.children.length; i++)
                    var thisPanel2 = totes1.children[i]; 
                    thisPanel2.originalLocation = [thisPanel2.location[0], thisPanel2.location[1]]; 
                }//end for
            }//end on show function
    var tpanel = w.add ("tabbedpanel");
    tpanel.size = [400, 520];
    //******************************************************Section to setup the Totes Tab******************************************************************
    //creates the Totes Tab
    var totesTab = tpanel.add ("tab", undefined, "Available Totes");
    totesTab.orientation = "column";
    //Creates first Row Group for Totes, contains panels 1,2 and 3
    var TotesGroup = totesTab.add("group",undefined);
            TotesGroup.orientation = "row";
            TotesGroup.alignChildren = "left";
    //first Totes Panel
    var totes1 = TotesGroup.add ("panel", undefined, "");
    totes1.alignChildren = "left";
    totes1.size = [300,480];
    var docSelection = app.activeDocument.selection;
    var newGroup = app.activeDocument.groupItems.add();
    for ( i = 0; i < docSelection.length; i++ ) {
       var newItem = docSelection[i];
    newItem.moveToEnd( newGroup );
    newItem.name = "Art Item" + ([i]+1);
    newGroup.name = "ArtGroup1";
        //hide this alert, it is for testing the selection length
      // alert (thisDoc.selection.length)
    function GetToteTempNames()
        //Replace this address for the "toteTempPath" to the folder that has all the templates it in it, then the for loop will place them all
        //into a radio button array for the user to choose which one they want.  This updates everytime that this script is ran so if
        //one if removed or added it will show up reducing the amount of required time needed to update the script.
        //when replaced make sure to change the \ marks to / marks or it will not work.
      var toteTempPath = Folder ("S:/Art/ArtDept/  Vitronic Master Templates/STE2 Templates/TOTES & BAGS");  
      var toteTempFiles = toteTempPath.getFiles(); 
      var TotenamesArr = []; 
      for(var i=0; i<toteTempFiles.length; i++){ 
      var thisToteFile = toteTempFiles[i]; 
      TotenamesArr.push(thisToteFile.displayName);
      return TotenamesArr; 
    var totesarr1 = GetToteTempNames();
            for(var i=0; i<totesarr1.length; i++){ 
                var lbl = totes1.add("radiobutton", undefined, totesarr1[i]); 
            var scrl = TotesGroup.add('scrollbar'); scrl.size = [20, 480]; 
            scrl.onChange = scrl.onChanging = function()
            {  //start function
                for(var i=0; i<totes1.children.length; i++)
                {  //start for
                    var thisPanel2 = totes1.children[i]; 
                    var xLoc = thisPanel2.originalLocation[0]; 
                    var yLoc = thisPanel2.originalLocation[1]; 
                    thisPanel2.location=[xLoc, yLoc-((this.value/100) * ((totes1.children.length*27.5) - (scrl.size[1]+5)))]; 
                    // These numbers are my arbitrary way of setting the y location 
                    }//end for loop
                }//end function
           totes1.children[0].value = true;
            var bottombuttons = w.add ("group");
            bottombuttons.orientation = "row"
            var rsize = bottombuttons.add ("panel", undefined, "Resize Artwork?");
    rsize.alignChildren = "left"
    rsize.orientation = "column"
    rsizeyes = rsize.add ("radiobutton", undefined, "Yes");
    rsizeno  = rsize.add ("radiobutton", undefined, "No");
    rsize.children[1].value = true;
    var kbottombuttons = bottombuttons.add ("group", undefined, "")
    kbottombuttons.orientation = "column"
    kbottombuttons.add ("button", undefined, "Ok");
    //********************This section is for the functions to output your choice then run the function depending on the choice you made****************
    if (w.show () == 1)
    var templateselected = selected_rbutton
    var requestedtemplate = selected_rbutton (totalgroups)
    var confirmed = confirm ("You picked [ " + selected_rbutton (totalgroups) +" ]"+ "\nYou picked [ " + questionResize (rsizechoice) + " ] to resize" + "\n" +"\nContinue?");
            confirm.noAsDflt == false;
            if (confirmed == true)
                openTemp ();
                copyandmove ();
                centerArt ();
                resizeart ();
                alert ("You can now save the file");
             } /*end if */ else
             alert ("You chose not to continue, script stopped")
             }//end else
    }//end if OK
    }//end if selection check
    else
        alert("Please select the artwork.");
      } // end else selection check
    //*********This section is for the function to check which option for resize gets pressed and returns the text to a variable for output******************
    var rsizechoice = [rsize]
    function questionResize (rsizechoice)
    {//start function
    //when choice is pressed return choice text for variable output   
    for (var i = 0; i < rsize.children.length; i++)
    if (rsize.children[i].value == true)
    return rsize.children[i].text;
    }//end for
    }//end function QuestionResize
    //***************************************************************This is the section that will center the artwork ******************************************
         var thisDoc = app.activeDocument;
        thisDoc.rulerOrigin = [0,0];  //  Sets the coordinates of the artboard to the lower left hand corner of the document.
        thisDoc.pageOrigin = [0,0];  //  This makes sure a valid reference point is used for different sized documents.
        function centerArt()
           var thisdoc = app.activeDocument; 
            var selecteditem = app.activeDocument.groupItems[0];
            selecteditem.selected = true;
            var hasDocCoords = app.coordinateSystem == CoordinateSystem.ARTBOARDCOORDINATESYSTEM;
            var p = thisdoc.pageItems; 
            for (var i = 0, l = p.length; i < l; i++) { 
                var pID = p[i]; 
                if (pID.guides == true) { 
                    var guideBox = pID 
            var wNum = guideBox.width; 
            var hNum = guideBox.height;
            var swNum = selecteditem.width;
            var shNum = selecteditem.height;
            var sxOffset = (swNum/2);
            var syOffset = (shNum/2);
            var xOffset = (wNum/2);
            var yOffset = (hNum/2);
            var xNum = guideBox.position[0]+xOffset; 
            var yNum = guideBox.position[1]-yOffset;
            var guideXCenter = xNum-sxOffset;
            var guideYCenter = yNum+syOffset;
            var sxNum = selecteditem.position[0]+sxOffset;
            var syNum = selecteditem.position[1]-syOffset;
            //to test your script for position un annotate the two alerts below
                  // alert("GuideBox Data:\nWidth: "+wNum+"\nHeight: "+hNum+"\nX Position: "+xNum+"\nY Position: "+yNum);
                  // alert ("Selected object Data:\nWidth: "+swNum+"\nHeight: "+shNum+"\nX Position: "+sxNum+"\nY Position: "+syNum);
            //changes the position of the selected artwork to the center of the guide box.
            selecteditem.position = [guideXCenter, guideYCenter]   
        }//end centerart
       function resizeart()
      var selecteditem = app.activeDocument.groupItems[0]; 
       if (questionResize (rsizechoice) == "Yes")
            for (var i = 0; i < app.activeDocument.pageItems.length; i++)
                if (app.activeDocument.pageItems[i].guides == true) { 
                    var guideBoxSize = app.activeDocument.pageItems[i]; 
                }  //end if
            }   //end for
            var guideW = guideBoxSize.width; 
            var guideH = guideBoxSize.height;
            var itemW = selecteditem.width;
            var itemH = selecteditem.height;
             //to test your script for resize un annotate the two alerts below
          //  alert ("guide is this tall " + guideH + "\nguide is this wide " + guideW);
          // alert ("item is this tall " + itemH + "\nitem is this wide " + itemW);
            var artWidth = itemW;
            var artHeight =itemH;          
        if (artWidth > artHeight)
               var a = (guideW/artWidth)*100;
               selecteditem.resize(a,a);
        if (artHeight > artWidth)    
               var b = (guideH/artHeight)*100;
               selecteditem.resize(b,b);
    var artWidth2 = selecteditem.width;
    var artHeight2 =selecteditem.height;   
    if (artHeight2 > guideH)
           var c = (guideH/artHeight2)*100;
          selecteditem.resize(c,c);
       if (artWidth2 > guideW)
           var c = (guideW/artWidth2)*100;
          selecteditem.resize(c,c);
         }//end if doresize
    }//end function resizeart
    function savefile ()
        //change this folder location for the "savescript" variable to the one where the location of the save script is located on the server,
        //This save script is for the pallet that will pop up and list the different save options, not the individual save scripts themselves.
            var savescript =  new File("S:/Art/ArtDept/Illustrator JS Palette/Scripts/Art Share Server/Save/Save Option Pallet.jsx");
                savescript.open("r");     
           var bt = new BridgeTalk;
                bt.target = "illustrator";         
           var script = savescript.read();
                savescript.close();              
           bt.body = script;
           bt.send(); 
           return true;
    function copyandmove ()
    var thisDoc = app.activeDocument;  
    var template = app.documents[1];
    var vartwork = app.documents[0];
    var itemToDuplicate = template.pageItems['ArtGroup1']; 
    itemToDuplicate.duplicate( thisDoc, ElementPlacement.PLACEATBEGINNING );
    }//end function copyandmove
    //********************This section is for the functions to check which button gets pressed and returns the text to a variable for output ****************
    //all radiobutton groups must be present in this array
    var totalgroups = [totes1]
    //this function checks each group for the 1 radio button is clicked then returns its text
    function selected_rbutton (totalgroups)
    {//start function to check buttons
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Totes tab buttons
    //when totes1 is pressed return text for output
    for (var i = 0; i < totes1.children.length; i++)
    if (totes1.children[i].value == true)
    return totes1.children[i].text;
    }//end if
    }//end if
    }//end for
    //////////////////////////////////////////////////////////////////////////open template
    function openTemp()
         //change the folder location of the templates here but leave the last section that is black, this will allow the script to open which
         //ever template they chose from the radiobuttons.  This location should be the same as the toteTempPath above but reduces the
         //chance for something to break by pulling the address here again instead of from the variable near the begining of the script.
    var gettotetemp = File("Z:/  Vitronic Master Templates/STE2 Templates/TOTES & BAGS/" + selected_rbutton (totalgroups));
    var template = open(gettotetemp);
    var fileName = app.activeDocument.name
    var saveName = new File ("S:/Art/ArtDept/Extras/Temp Holding Folder" + "/" + fileName);
        saveOpts = new IllustratorSaveOptions();
        saveOpts.compatibility = Compatibility.ILLUSTRATOR15;
        saveOpts.generateThumbnails = true;
        saveOpts.preserveEditability = true;
      return template;
    }//end open temp function

    If you don't want to use IE, which I didn't, you can follow this link and revert back to an older version of FF until a fix or work around is found for the flash issue.
    http://www.mozilla.com/en-US/firefox/all-older.html
    It work for me. Fireforx 3.6.16

  • Is it possible to configure a smartform in QGA3 instead of the standard script QM_INSP_RESULT.

    Is it possible to configure a smartform in QGA3 instead of the standard script QM_INSP_RESULT.

    Hello ,
    I'm afraid not , the program for the transaction is admitting only Sapscript format , even the BADI
    QG_INSP_RESULT_PRINT allow to switch to a SAPscript form
    Regards

  • How to modify the standard script in scripts?

    how to modify the standard script in scripts?

    Nagaraju,
    Standard scripts cant be modified.
    Only thing is you need to copy it to z-form and have to do modifications as per ur requirements.
    Here is the procedure to copy standard form to z-form.
    goto SE71 t-code, then select the menu path : <b>Utilities -> Copy from Client</b>
    then it will take to another screen, give the form name as Standard form name, if u r copying a stadard invoice means, type RVINVOICE01 and target form, ZRVINVOICE01. Now press execute button, it will copy the form into 25 languages. Now come back to se71, enter Z-form name and do the required changes.
    Hope this hint may help you, Pls close the thread if u met with correct answer.
    Regards,
    Sujatha.

  • What's the standard header in PowerShell scripts (documentation)?

    Can anyone tell me what the "standard header" that I see in a lot of PowerShell scripts is all about? I have been unable to find any explanation so far.
    Here's a snippet:
    <#
    .SYNOPSIS
    Counts the Grateful Dead shows in my archives
    .DESCRIPTION
    This script looks at my GD archive, and uses folder names to
    determine show type (aud, sbd, etc), and checks to see what
    shows have checked MD5s
    .NOTES
    File Name : count-gdshows.ps1
    Author : Thomas Lee - [email protected]
    Requires : PowerShell V2 CTP3
    .LINK

    The help data can be used inside a function body or in a script. A script is not much different than a function, actually you can think of it as a function *without* a name, the name is the script name. You can a function like:
    function foo
    <# 
    .SYNOPSIS 
        Counts the Grateful Dead shows in my archives
    #>
       param($a,$b)
       $a+$b
    And execute it like:
    foo -a 3  -b 4
    or write the function body in a script file called foo.ps1 :
    ## foo.ps1 ##
    <# 
    .SYNOPSIS 
        Counts the Grateful Dead shows in my archives
    #>
       param($a,$b)
       $a+$b
    and execute it like so:
    .\foo.ps1 -a 3 -b 4
    they give the same output. Windows 7 is goiung to RTM soon and as you probably know PowerShell v2 ships with it, so you can switch to v2 in the very near future. I'm working with v2 since the CTP versions (on my production machine) and it is working very good, lots of new exiting stuff!
    As for functions vs scripts... it depends. On my personal machine I save my functions in various ways. I categorize them and save each bunch in a seperate script file (i.e. utilities.ps1, exchange.ps1, ad.ps1 etc). Some files I use more on a regular basis so I dot-source them in my profile, other scripts I load when I need. v2 introduced a module concept so the next evolution of my script files will turn into modules.  I also implement some functions in ps1xml files, these are used to extend objects , via PowerShells' Extended Type System (ETS), you can find an example on my blog (http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/05/31/getting-certificates-expiration.aspx).
    Shay Levy [MVP]
    http://blogs.microsoft.co.il/blogs/ScriptFanatic
    PowerShell Toolbar

  • Where can we find the standard program for scripts and smartform for vl02

    where can we find the standard program for scripts and smartform for vl02
    regard,
    anil

    If it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
    the go to the related application Tcode
    (for sales order goto VA02 or VA03)
    (delivery -VL02N or VL03N)
    for Invoice VF02 or VF03
    for PO -goto ME9F
    enter doc number, Issue Output to -> screen/printer
    then see the output
    step 1 : copy the z layout into testing client thru SCC1.
    step2 : go to se71 and check modified layout.
    step3 : if it is under logistics.. go to TCODE "NACE".
    u will see various applictions for each business process.
    there u have configure ur related layout according to requirments,
    for example u consider for Request fo Quatation..
    there is APPLICATION called "EA"
    click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
    step 4 : goto tcode ME9A for requst for quatation(RFQ).
    step 5 : enter test data avalable and check it with message display.
    it is same for other applications like Contract agreament --> ME9k
    invoice --> vl02n
    and goes on..
    Reward points for useful Answers

  • In my group text one of my friends texts is pink while everyone else has the standard black text. Why is this?

    in my group text my friend has pink text while everyone else has the standard black text. why is this?

    Hi,
    You can change it in several ways.
    In Messages > Preferences > Viewing you can change your outgoing background (Balloon) colour, which then gives you access to change the Font and it's text colour.
    This works Mac to Mac in Messages using any service (iMessages, AIM, Jabber, Bonjour and yahoo).
    iMessages users on iOS devices will not see it as it does not do coloured Balloons  (the App only colours your outgoing ones to tell you if it is SMS or iMessages but does not send the colour)
    You can also change individual IMs or iMessages by using the Format menu (Show Font and Show Colours)
    And as Eric says there is the Keyboard/Contextual Menu method.
    As lots of yours are "white" I presume this is iMessages on several iPhones and one computer.
    iChat (the forerunner to Messages used to attribute random colours to incoming IMs in a group chat so they (people) looked different.
    This can't be done in Messages 7 and 8
    9:11 pm      Sunday; June 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How do we identify the standard texts used in a sap script?

    Hi,
    Is there any way that i can identify the standard texts used in SAP scripts?
    Not manually going to each window in the script and checking.
    Will there be any table where I can look ?
    Thanks,
    krishna.

    Hi,
    GO to the forminfo of the sapscript in SE71..and then search for INCLUDE
    after displaying the form...utilities->form info..
    hope this works..
    Thanks
    Naren

  • [Guide]Making the Logitech G510 Work On Linux!

    Update April 23, 2015: I've got a new keyboard (Corsair K95) so I personally probably won't touch this code ever again if I can help it, however it should be working just fine in it's current state without my dabbling, I've set the code up so that the macros are recorded to script files in /usr/share/g15daemon/macros/ with a provided example script, it should be easy enough to read or modify, and if desired the scripts can be replaced by custom executables. When the buttons on the keyboard are pressed they execute these scripts with a command line argument corresponding to the current M-Key state (so we have different functions for M1, M2 and M3 keys), but I thought this was the easiest and most versatile approach, I feel I've got a lot more freedom to customize the macro keys than I ever did in windows this way. As for the MR Key, it is functioning in that it will record a macro (through Xev) and output it to a text file: /usr/share/g15daemon/macros/Macros by running the MacroRecord script located at /usr/share/g15daemon/macros/MacroRecord, you need to ensure that these scripts are made executable when you install this (unless you use my custom pkgbuild on arch which does this automatically) to use these recorded Macros you just have to copy them over to one of the other scripts (for the respective key you wish to use). The Macro Recording script works for recording most normal macros, but if you try to break it, you will (You should be able to use up to 4 modifier keys on one button press (for a total of 5 buttons held down) without running into any problems, as a limitation) but this script is not complex so it should be easy for anyone using it to open it up and try to improve it or increase the amount of modifier keys supported per macro.
    I was working on a Qt5 application that would allow these files to be edited through a Qt based GUI, which also shows the macros recorded by MR for easily copying them over and saving the file. Everything is done except the save function, if someone asks me in a message, I will finish this application for them or send them the source code once I get it.
    Latest Source (Comes with Arch PKGBUILDs, install with makepkg -i)
    Older Source (Before I coded in the MR key)
    Source of Qt GUI Front-End (I never finished this program, you need qt-creator to open these source files and finish them yourself. Without this program you can just manually edit the files in /usr/share/g15daemon/macros as described below, the only parts that haven't been coded in yet are the save code, and the test button code. It should be easy to do though, there is example code in the saveFiles function which you can use to finish it (comment this function out if you want to compile it before you finish up coding it, this function breaks the code since it is not written in functional code) if you just adjust it based on the loadFiles function that is above it which does work for loading all the files, it should be pretty easy to finish this program up. If you finish coding it, feel free to send me a message so that I can link to your complete sources instead. These sources I'm releasing in public domain (do whatever you want with them) but Qt5 is LGPL 3.0 licensed.)
    There is now a wiki page for this, but it's content is slightly different from this thread and doesn't offer much support for other distributions.
    I have a logitech G510 keyboard, and 2 years back I spent about a week applying several patches I had scoured from around the net as well as making my own modifications as needed to make this work with the old g15daemon drivers (as in, I forked g15daemon, without actually changing the programs name). An alternative to this method is using the gnome15 project (just as g15daemon it is no longer being developed) but I had severe (and quite unacceptable) input lag when I used gnome 15 as well as other major issues and as such I vastly prefer my own method. (Besides I worked hard to make this work, I was toying with source code in a programming language I am not really familiar with (C) and did so non-stop for a week, it'd be a total waste if it wasn't better than the alternative!)
    And on february 11th 2015 I made yet another update to these drivers that made them significantly easier to use (before this time, the source code had to be manually edited and the drivers had to be then recompiled ino rder to edit the functionality of the G-Keys (not to mention the source code was an ugly mess because of this roundabout approach) this had to be done because the g15macro part of g15daemon never worked well with this keyboard, so I decided to hardcode the keys into the drivers as a temporary solution, now I've found a more permanent solution which is redirecting the keypresses to bash scripts. One script file for each button, I will explain how to do this later on.
    Here is the  original thread I made on this if anyone wants to see the ugly mess I went through to get here, luckily that's far behind me now and the code is getting more and more mature over time as I fix it little by little.
    How to do it:
    What you will need to do is apply these patches for libg15 and g15daemon. (If you want to do it the hard way, use the older Hardcode Patch but I don't recommend it unless you really know that you want it, and know why you want it.)
    This can be done on any distro I would assume, for gentoo refer to this thread. To get the sources Download this (latest source) and extract it with unrar, (on arch use makepkg -i to install) in the following order: "libg15 -> libg15render -> g15daemon -> g15stats" (Note: You can edit the macros in the macros folder before installing g15daemon. If you are not on arch you need to manually copy the macros folder to /usr/share/g15daemon/macros/, otherwise the pkgbuild will do it for you. If you are running in another distro you can delete the PKGBUILD file in the folders. I included the unmodified libg15render and g15stats too for the sake of convenience, and as a safety net if they disappear off the face of the internet, which is what they seem to be about to do. If you do not feel like trusting the sources I provided then fear not! the ones I provided are just the original sources (md5sum should match with those found there) (as development for the project seems to have been dropped and these were the final versions ever made) but I assure you, the sources I provided are the original ones downloaded straight from sourceforge. If you are on arch you can use ABS to get the sources from the official repositories and then replace the PKGBUILDs with the ones in my rar (or change them yourself, see wiki). If you want to download your own sources (remember to get my patches too!) then here is an alternative download for the default macros.
    Note: In the arch package there were other patches(config-write, recv-oob-answer and uinput) in the package in the official repositories, I added these three to my own file to avoid clutter, the first two are the first two entries of my file, the third is at line 40-71 (two entries) as a part of the same file where I coded in the G-Keys. Depending on your distro and how you get your hands on the sources you may have to adjust this as these patches may already have been applied for you (meaning mine will fail to patch because of mismatching sources). I have no idea what these patches are actually for (would be nice to know) but I imagine they're there for a reason and as such stuck with them.
    For other distros figure out how to compile packages from the sources (sorry Arch and Gentoo are the only distros I really use so I can't help with others, but I assure you this can be done on all distros. If it comes down to it ask on their forums for help!)
    In the libg15 patch I disabled support for other keyboard models in the first few lines (you will see which if you read the patch) as I suspect many of the changes made might break support for the other devices, but if you want to take your chances just remove the minus sign in front of the device you want to use and hope for the best. If you have a keyboard that was already supported by these drivers, the biggest benefit of getting my version working would be the smoother G-Key functions (since they aren't run through a third party program like g15macro, it's bound to be a little faster and less prone to bugs.) also if you have a G510s and want to try these drivers on that board, you will have to add your keyboards id into this section (or replace the one I added with the appropriate ID for your board) using lsusb to find the right values.
    I couldn't get g15macro to work properly with my keyboard and noticed several issues with it (it seemed like it was underdeveloped to me) so my solution to that problem was originally to hardcode the G-key functionalities into the base drivers; But later on I realized I could instead redirect the code to script files that I would create outside of the install, to avoid the load of pain that comes with hardcoding something you may frequently want to change. These drivers are run as root and as such you must be careful and use sudo where applicable to run the commands as your user rather than as root. By default all G-Key presses will be read as commands from the user with uid "#1000", which is in most cases the first user account created on the system. The bonus from this approach is that the G-Keys work much faster than they would using the g15macro and they are also much more customizable than they ever were in windows, the minus is that you need to know/learn bash/shell scripting in order to use it this way. That or find a way to edit the script files to be in a programming language you understand, but bash scripting is the most convenient since you get all the versatility of a terminal in your keyboard that way.
    To change the colors of your keyboard you need to edit the libg15.patch file below line 338 (//Set keyboard color based on M led state.) The code there uses the basic RGB format, and each M-Key has it's own line. The default is: Dark-ish Blue(M1/Fallback), Dark-ish Red(M2), Dark-ish Green(M3)
    To change the macros, you can (if you installed with my pkgbuild on arch) go to /usr/share/g15daemon/macros/ and within you will find 19 files, an "Example" file (this is like a backup, it's what can be used to reset files back to their defaults if you get lost.) The files are named after the keys they affect, each file has statements for M1, M2 and M3 and then a few extras for errors that uses libnotify for error messages. The default setup also uses libnotify to tell you which key was pressed, and which key was released. If you are not on arch or gentoo and could not install directly from my sources, you will need to either copy the files from my rar to "/usr/share/g15daemon/macros/" and edit them from there, or create them yourself from scratch on that path (the names of the scripts are G# where # is the number of the key, make sure that the files are executable with chmod +x if you are more advanced, you can edit the g15daemon.patch file if the location of the macros isn't to your liking and change the path to the scripts to something more convenient for you (e.g. ".../.config/g15daemon/")
    By default, the scripts will look something like this:
    #!/bin/sh
    declare -i mkey=$(( $2 + 1 ))
    declare -r key="G1"
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 0 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 1 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 2 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #Else (Errors)
    #If there is no input
    if [[ -z "$@" ]]; then
    /usr/bin/notify-send $key": Error!" 'There was no input'
    fi
    #If M key state is out of range (less than zero or more than 2)
    if [[ $2 -lt 0 || $2 -gt 2 ]]; then
    /usr/bin/notify-send $key": Error!" 'There is no M'$mkey'! (State='$1')'
    fi
    #If the first input variable (on/off) is incorrect. This should never happen.
    if [[ -n "$1" && "$1" != "on" && "$1" != "off" ]]; then
    /usr/bin/notify-send $key": Warning!" '"'$1'" is not a valid state! (M'$mkey'), defaulting to "off".'
    fi
    And here is an example of how the M1-M3 keys could be edited in this file. The "if" statements are events that occur when you press down on the button, and the elif statements are for the key release.
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    thunar /mnt/stash/movies & disown
    fi
    #^elif is not needed and can be erased for this command to avoid the notification of key-release. The & disown part is extremely important, if you forget to add this to the end of every line where you execute a program that will keep running after you release the button, you will not be able to use any G-Keys until you terminate the program. If you remember to add the & disown, everything will be fine.
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    xdotool keydown Ctrl && xdotool keydown Page_Down
    elif [ $2 -eq 1 ]; then
    xdotool keyup Ctrl && xdotool keyup Page_Down
    fi
    #^The above executes the keyboard combo Ctrl+Page Down (Next Tab) and holds these buttons down until your key release is detected.
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    xdotool keydown Super && xdotool keydown F1 && xdotool keyup Super && xdotool keyup F1
    fi
    #^The above is my keyboard shortcut for changing workspaces, (Meta + F1-F6), since I won't ever need to hold these buttons down, I set them up to press and release on keydown, with no need to detect the key release, this is good to do to avoid a bug I mention lower in the guide.
    That's the gist of it, all you need to know. You can test-fire the commands in your terminal before you add them to the files. Recompiling and re-installing the G15Daemon (at least on arch) will overwrite your existing macros in /usr/lib/g15daemon/macros. Last but not least, you should remember the sleep command (for example, to restart g15daemon, do g15daemon -k && sleep 5 && g15daemon this is how you can set up timed commands and macros on your G-Keys as well. I may later on develop a GUI front-end for editing the macros, and program the MR-key to work like it does on Windows, but right now I'm satisfied with what I've got, so that will have to wait.
    You need to know:
    -The g15daemon service should be started after X11/Xorg-Server is started or any commands that require X (like opening a folder, or graphical notifications) will not work. (You can either just wait till you log in and use xinitrc or an autostart script for your desktop environment to start the service, or you can set up a restart script which kills the original instance (g15daemon -k) and starts a new one, this may be good to know if you would like the service to be started on bootup so you wont have to look at white leds until you have logged in. You can use sudo to run these services as a user). You can also try to have the g15daemon initiate after your display manager loads. (For example make the initscript depend on kdm if you're using kde, I have not tried this though)
    Add this to the sudo configuration with visudo so you can run the g15daemon with sudo and no password (this should work on most distros, if not find the executable, could be in sbin (is on gentoo) like so: "/usr/sbin/g15daemon")
    ALL ALL = (root) NOPASSWD: /usr/bin/g15daemon
    (You can replace the first "ALL" with a username or % group if you want to limit the command to just one user)
    -I have not tested the headphone/mic plugs on the keyboard (please do comment your results if you try to use that)
    -This is not completely bug free.
    -There is no support for tracking launched/focused application and changing the M-Key mode depending on what you are doing (this would be useful though)
    -The MR key is not supported, but the LED works.
    Known Issues: (ordered by severity, if you want to contribute fixing these issues is the best thing you can do to help as I seem incapable of it)
    Sometimes the Key Release of G keys is not detected (this means if you have a key bound to the button that is held until the key is released, the release may not be detected properly. This only happens if you press the key quickly, not if you hold it for a short period before releasing it this is solved by either pressing the key again, or not relying on the key-release state, the latter is fairly easy to do as you can use "variables" and "if"s and "do/while" or "for" in C to set keys with toggle functions.
    Keypress detection for the G-Keys isn't 100% reliable, it will work completely fine 95% of the time or so, but sometimes (usually only if a G key has not been pressed in a while) the key needs to be pressed twice (This was much worse when g15macro was used and the keys almost always had to be pressed twice if I recall correctly). This may look like it's a huge bother at first, but really I hardly ever notice this when I'm using the keyboard and it is a very rare occurance.
    The Volume Wheel is erratic, I used patches from the net to make the wheel work but the wheel was unusable, I managed to make it just barely usable but I wouldn't call it "reliable" in it's current state. It does however work "ok". The wheel worked fine with generic keyboard drivers so maybe there is something in there to shed light on how to make them properly work (remember that there was a bit in libg15.c that made the wheel work, the other half of it is in uinput.c)
    The M-Key leds (M1, M2 and M3) will not light up until a G-Key or one of the M keys is pressed (very minor, I tried to fix this but failed, gave up since it's not really important)
    Run "g15daemon -d" for debug mode to see output from the driver when it is running you will repeatedly get the following error, I have no idea what this is but I do not like it
    libg15: Unknown usb error: Keyboard Read !! (err is -75 (Value too large for defined data type))
    look around line 471 of the patched libg15.c to see where the error is being printed from.
    Terminating the g15daemon (g15daemon -k) will render the keyboard unusable and can result in bugs (for example your next keypress may be detected but release will not be detected) so be careful when doing something like that. Unplugging the keyboard and plugging it back in solves this issue.
    Scroll-Lock led does not work (this is not specific to this keyboard, it is a Linux problem and affects all keyboards as far as I am aware)
    I personally prefer using this keyboard in Linux over using it in Windows because of how much more configurable it is (there's nothing I can't do with the press of a button now) and switching workspaces with just one button each for a total of 6 is a joy!
    Feel free to comment below with any questions or thoughts, any suggestions to improve the code or other contributions are greatly appreciated! I am not skilled in C programming and as such some of my code may look hideous to those who would know what they're doing so better ways to achieve the same results will not be ignored either and I will add any significant updates to the OP when I see them.
    Good Luck and Enjoy
    PS: I know the libg15 patch is rather "unclean" (contains a lot of redundant patches, i.e. replacing a line with the same line) but I was too lazy to clean it up. I tried once but it did not work out so well
    If you have a G510s and this did not work for you, I may be able to help you get that working, comment if you want help with that (the first step to try is on the wiki)
    Last edited by rabcor (2015-05-08 14:41:34)

    Major Update: The G-Keys can now be edited without recompiling by editing shell scripts at "/usr/share/g15daemon/macros/"
    Each button has it's own script file named by it's label (e.g. to edit the functionality of G1, open the script named G1.) The button will try to execute the scripts as programs, so make sure they are executable (chmod +x) and as long as the name remains the same, if you want to replace the files with something different, know that the arguments currently given to the files ($1 and $2) are ($1)on/off and ($2)0-2  (where 0 is M1 and 2 is M3)
    To download the updated sources, go here (only the g15daemon source/patch was updated). This thread's OP has been updated.
    Last edited by rabcor (2015-02-12 04:46:48)

  • How we can check the output in script

    hi friends,
    iam raju. new to sap.plz any one reply to my question.
    Thanks,
    raju

    Hi Sreenivasulu,
    You can check the output of script in two ways.
    1. Directly executing your print program u can see the output of SAP Script.
    2. IF you are using any standard scripts you then need to use t-code to see the output.
    Ex: if you are copied standard SAP Script (purchase order ) <b>MEDRUCK</b> this is the standard purchase order script.
    Copy this into your Zmedruck edit it as per ur requirement then you have to assaig this script to standard print program of purchase order using <b>NACE</b> transaction. Replace MEDRUCK with Zmeduck which u hv edited. Then for Purchase order the T-code is<b> ME9F</b>  give the purchase order no and check the output. There you can see the chages you have done in the script.
    Hope this will help you.
    <b>reward if useful</b>
    Regards,
    sunil kairam.

  • How to get standard program ,script,smartforms all from sap

    hi friends
    how to get standard program ,script,smartforms all from sap.
    thanks&regards
    Babasish

    Hi,
    reports:
    goto se38
    all programs not starting with y or z will be sap std programs only
    same for se71 scripts
    samse for smartforms
    but the use of those will be known when you see the documentation
    for each programme
    for std programs there will be documentation available so that you can understand
    why they have developed that object
    thanks & regards,
    Venkatesh

  • Making the switch finally

    Hi everyone. After almost a decade of designing my websites
    in Front Page my employees have finally convinced me to make the
    switch to Dreamweaver. We will be upgrading to CS4 Design Premium
    at the beginning of the year, and to say I'm a bit "worried" would
    be an understatement.
    I have built over 400 websites, and we currently
    host/maintain almost 200 sites for our 140+ clients. My staff is
    trained in Dreamweaver so they are very excited about finally
    making the switch. I myself am self-taught and can build a FP site
    in my sleep. I have taught FP, trained staff and colleagues, etc. I
    am VERY comfortable in FP, and have won over 30 awards for my
    designs in FP (thank goodness and can read/write some code in code
    view). So to toot my own horn, I am very comfortable/confident in
    FP and have always been a fan of the software. I have always told
    people that it is not the software that builds the site, but the
    designer and the software is just a tool to get it done.
    But after much debating, thinking, researching, etc... we are
    finally ready to take the plunge. I am obviously nervous leaning
    new software, and being able to keep up with our steady work
    (exisiting and new clients) and really cannot afford to have much
    downtime in the way of a learning curve.
    I have started the Lynda.com training, and that is making me
    sleepy. As great as I'm sure the training is, I feel like I'll be
    listening to that forever. I have DW already on my computer and
    thought I'd just jump right in, but find the UI so different that
    I'm a bit overwhelmed.
    So I thought I'd come join the forum, as hearing from others
    is often such a better learning method for me. I will continue my
    training at lynda.com as well as a few other tutorials I've seen
    around the way... but wanted to ask a few quesitons to the experts
    here...
    1. What software/training program would you guys recommend
    for learning DW for someone already very familiar with building
    websites (I'm finding that the Lynda.com training is geared to
    beginners and I'm forced to re-learn things I already know)?
    2. What is the best method for changing from FP to DW?
    Meaning, is there software or a plug-in available that I can
    import/transition my exisiting FP sites to DW? With so many sites,
    just this task alone seems almost impossible.
    3. Currently we use Xara Webstyle for our drop down menus. I
    have been using this program for years and years, and it
    quickly/easily creates javascript drop down menus for our sites.
    Easy to use, easy to edit, inexpensive and works in FP almost
    seamlessly. When we switch over to DW I'd like to use something
    more search engine friendly - do you guys have anything you
    recommend?
    4. For once we are up and running on DW, what else do you
    guys recommend?
    TIA for your help!

    > 1. What software/training program would you guys
    recommend for learning DW
    > for
    > someone already very familiar with building websites
    (I'm finding that the
    > Lynda.com training is geared to beginners and I'm forced
    to re-learn
    > things I
    > already know)?
    Discard this idea completely. Learn HTML and CSS. That's
    really a key to
    the effective use of DW. Forget the tool. Learn the
    technology.
    > 2. What is the best method for changing from FP to DW?
    Meaning, is there
    > software or a plug-in available that I can
    import/transition my exisiting
    > FP
    > sites to DW? With so many sites, just this task alone
    seems almost
    > impossible.
    Before doing anything else, take a couple of weeks to
    gothrough the DW
    tutorials, and also to study HTML and CSS. The more you know
    about those,
    the easier your transition will be. DW expects alot more from
    you than FP
    did, and as a result, you may find it much more frustrating
    to have the raw
    reality of web development staring you in the face rather
    than the wizards
    of FP.
    > Is there a way to convert a Frontpage site into a
    > Dreamweaver site
    1. I'd define a Dreamweaver site that points to a location on
    your hard
    drive for the local site's root, and to the current FP site
    on the web as
    the remote site
    2. I'd use Dreamweaver (if your host supports FTP
    connections) to download
    the remote site to the root of the site you just defined on
    the hard drive.
    This will pick up all the pages *after* webbot action so that
    shared borders
    and all are already present in the page HTML. This will also
    pick up all of
    the server scripting. Note - in the event that you are not
    able to connect
    using FTP since some FP hosts block that protocol, you will
    have to use a
    third party 'site copier' like Black Widow, QuadSucker, or
    WebCopier, (or
    even the DW extension called SiteAssist from WebAssist) to
    connect and
    download using http protocols. Doing it this way will *not*
    retrieve any of
    your server-script code, if any (unless you have used the
    WebAssist
    extension).
    3. I'd create a DW template for the pages, that captures the
    "shared
    border"
    effect you had in FP.
    4. I'd copy and paste content from each FP pages to a new
    template child
    page and then save the new child page with an easily
    identifiable
    nomenclature that is distinct from what was used on the FP
    site (since you
    are saving the new child pages into the same local site as
    the FP pages).
    5. When the basic site is completed, I'd upload the new DW
    pages to some
    staging area/webspace, and by using the browser, I'd verify
    that the site
    (as it now exists remotely) is complete.
    6. Then I'd create a *new* DW site in a new location on the
    hard drive, and
    connect to and download all the files from the staging site.
    7. You can now delete the original FP site from your local
    system if you
    want.
    You now have a complete site (minus any of the FP extension
    server-side
    code) that has no FP footprint.
    If you have used any FP server extension functions on the
    original FP site
    (form processing, guestbooks, tables of contents, etc.), you
    will have to
    recreate those functions in DW using 3rd party scripts, or
    scripts that you
    write yourself.
    > 3. Currently we use Xara Webstyle for our drop down
    menus. I have been
    > using
    > this program for years and years, and it quickly/easily
    creates javascript
    > drop
    > down menus for our sites. Easy to use, easy to edit,
    inexpensive and
    > works in
    > FP almost seamlessly. When we switch over to DW I'd like
    to use something
    > more
    > search engine friendly - do you guys have anything you
    recommend?
    I would not touch Xara with a ten foot pole, or any menu
    system that writes
    all-javascript menus. There are many reasons for this, but
    accessability is
    right at the top of the list.
    Anyhow - check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    > 4. For once we are up and running on DW, what else do
    you guys recommend?
    Keep coming here. 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "onelily" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi everyone. After almost a decade of designing my
    websites in Front Page
    > my
    > employees have finally convinced me to make the switch
    to Dreamweaver. We
    > will
    > be upgrading to CS4 Design Premium at the beginning of
    the year, and to
    > say I'm
    > a bit "worried" would be an understatement.
    >
    > I have built over 400 websites, and we currently
    host/maintain almost 200
    > sites for our 140+ clients. My staff is trained in
    Dreamweaver so they
    > are
    > very excited about finally making the switch. I myself
    am self-taught and
    > can
    > build a FP site in my sleep. I have taught FP, trained
    staff and
    > colleagues,
    > etc. I am VERY comfortable in FP, and have won over 30
    awards for my
    > designs in
    > FP (thank goodness and can read/write some code in code
    view). So to toot
    > my
    > own horn, I am very comfortable/confident in FP and have
    always been a fan
    > of
    > the software. I have always told people that it is not
    the software that
    > builds
    > the site, but the designer and the software is just a
    tool to get it done.
    >
    > But after much debating, thinking, researching, etc...
    we are finally
    > ready to
    > take the plunge. I am obviously nervous leaning new
    software, and being
    > able
    > to keep up with our steady work (exisiting and new
    clients) and really
    > cannot
    > afford to have much downtime in the way of a learning
    curve.
    >
    > I have started the Lynda.com training, and that is
    making me sleepy. As
    > great
    > as I'm sure the training is, I feel like I'll be
    listening to that
    > forever. I
    > have DW already on my computer and thought I'd just jump
    right in, but
    > find the
    > UI so different that I'm a bit overwhelmed.
    >
    > So I thought I'd come join the forum, as hearing from
    others is often such
    > a
    > better learning method for me. I will continue my
    training at lynda.com as
    > well
    > as a few other tutorials I've seen around the way... but
    wanted to ask a
    > few
    > quesitons to the experts here...
    >
    > 1. What software/training program would you guys
    recommend for learning DW
    > for
    > someone already very familiar with building websites
    (I'm finding that the
    > Lynda.com training is geared to beginners and I'm forced
    to re-learn
    > things I
    > already know)?
    >
    > 2. What is the best method for changing from FP to DW?
    Meaning, is there
    > software or a plug-in available that I can
    import/transition my exisiting
    > FP
    > sites to DW? With so many sites, just this task alone
    seems almost
    > impossible.
    >
    >
    > 3. Currently we use Xara Webstyle for our drop down
    menus. I have been
    > using
    > this program for years and years, and it quickly/easily
    creates javascript
    > drop
    > down menus for our sites. Easy to use, easy to edit,
    inexpensive and
    > works in
    > FP almost seamlessly. When we switch over to DW I'd like
    to use something
    > more
    > search engine friendly - do you guys have anything you
    recommend?
    >
    > 4. For once we are up and running on DW, what else do
    you guys recommend?
    >
    > TIA for your help!
    >

  • Is it possible to use extensive formulas (e.g. "if" or vlookup functions) in the "Custom Calculation Script"?

    I am working on a form fill PDF converted from MS excel. This is for others to use who don't have MS excel that need to use my spreadsheet.
    1. I would like to know how complex can the formulas be in the custom calculation script in the calculate tab under properties in a cell menu?
    2. Where can I find what formulas will work in the custom calculation script along with the format for those formulas to work correctly (tutorials would help)?
    I have tried writing an "if" function but received and error so I am assuming either functions don't work in the script or there is a different format than standard spreadsheet formats.
    Bruce

    In that case the for loop would be:
        for (var i = 0; i < 8; i += 1) {
            sum += +getField("Total." + i).value;
    So initially, the counter i is equal to zero, so the field name used with the getField method is:
    "Total." + 0, which results in the string "Total.0". With each iteration, the variable i is incremented by 1, so the subsequent field names are the following:
    "Total.1"
    "Total.2"
    "Total.3"
    "Total.4"
    "Total.5"
    "Total.6"
    "Total.7"
    The script gets the value of each field, converts it to a number, and adds the number it to the running sum.

  • Addint new field to the standard sapscript form.

    FOR SALES INVOICE DOCUMENT FORM PRINTING
    TRANSACTION CODE: VF01
    OUTPUT TYPE : FJCI
    PROGRAM NAME: RVADAUS1
    SAPSCRIPT FORM NAME: SD_EXPORT_FJCI
    ENTRY ROUTINE: ENTRY_FJCI.
    STRUCTURE USED FOR THIS OUTPUT TYPE = V55EFJCI
    THE QUERY IS AS FOLLOWS:
    I WANT TO ADD DATA MODE OF TRANSPORT FROM THE INVOICE DOCUMENT. THE TABLE AND FIELD IS T618-BEZEI.
    SO I COPIED THE STANDARD FORM TO ZSD_EXPORT_FJCI AND THE STANDARD PROGRAM TO ZRVADAUS1.
    I SUCCESSFULLY FETCHED THAT FIELD DATA.
    I APPEND THE STRUCTURE 'ZAV55EFJCI' TO ADD THE ADDITIONAL T618-BEZEI FIELD.
    AND WRITE MY SELECT QUERY IN THE ENTRY_FJCI FORM ROUTINE.
    THE CODE IS AS FOLLOWS:
    data: begin of it_mode_of_tp occurs 1,
          bezei type t618t-bezei,
          end of it_mode_of_tp.
    select a~bezei as zzbezei into table it_mode_of_tp from t618t as a
    inner join
    eikp as b on aexpvz = bexpvz and aland1 = baland inner join vbrk as
    c on bexnum = cexnum
    where cvbeln = nast-objky and aspras = nast-spras .
    loop at it_mode_of_tp.
       v55efjci-zzbezei = it_mode_of_tp-bezei.
    endloop.
    BUT THE DATA FOR THAT IS NOT GETTING DISPLAYED.
    THIS WAS THE FIRST METHOD I FOLLOWD.
    THE SECOND METHOD I DID WAS AS FOLLOWS:
    FORM ENTRY_FJCI.
         PERFORM PROCESSING.
    ENDFORM
    FORM PROCESSING.
         PERFORM PRINT_DOCUMENT.
    ENDFORM.
    FORM PRINT_DOCUMENT.
           CALL FUNCTION 'RV_EXPORT_DOCUMENT_PRINT'
    ENDFORM.
    IN THIS FUNCTION THE DATA IS GETTING FETCHED FROM THE DATABASE TABLES AND STORED IN THE STRUCURE V55EFJCI.
    SO I COPIED THAT FUNCTION.
    IN THIS FUNCTION , THEIR IS A INCLUDE PROGRAM 'LV55EF11' FOR FETCHING DATA FOR ENTRY_FJCI FORM ROUTINE.
    I COPIED THAT PROGRAM CODE , AND CREATED MY OWN INCLUDE PROGRAM (WHICH I AM STORING IT IN ANOTHER Z PACKAGE.)
    AND WRITTEN MY ABOVE CODE IN THAT PROGRAM. BUT WHEN I DO THIS, NOITHING GETS DISPLAYED , EVEN THE PREVIOUSLY COMING DATA ALSO NOT GETTING DISPLAYED.
    HOW SHOULD I PROCEED.

    you said you copied layout(form) SD_EXPORT_FJCI to ZSD_EXPORT_FJCI,
    you updated program to fetch datat & populate v55efjci-zzbezei field.
    Now
    - you need to modify layout(form) ZSD_EXPORT_FJCI via SE71 to insert your field in one of the windows where it has to be printed (sap script knowledge is required here).
    - you need to either modify SAP output type FJCI to use your program/layout(form) or you need to create your own output type and assign your form/program to it, and in addition to that if you define your own output type - yo have to add it to output determination procedure, to access sequences, add condition records to condition table... so it's picked up by the invoice.

Maybe you are looking for

  • What's the difference between *.JSP and *.DO?

    Hi. I'm new to JSP programming and noticed that form actions call something like pageName.do -- what's the difference between the .JSP and .DO? When do you call one vs. the other? Thanks.

  • What are the job opportunities in SAP eSourcing

    Hi I am working on SAP eSourcing since six months. I would like o know the what are the job Opportunities in SAP eSourcing. Bacically my work is to work up on all reports. Like enhancements to the vendor , project reports etc.. Thanks in advance !!!

  • Form scripts don't work on Ipad Adobe Reader?

    Greetings - I have created a form in which some fields change colors, pop up alerts occur, etc. This works fine on any PC, but on the Ipad some of these functions don't work. Is there a known workaround? Do I need different scripts for Mac? Thank you

  • 100% width and 100% height slideshow in Muse

    Hi, In Muse is it possible have a  slideshow that maintains full 100% width image but increases the slideshow height as the browser width is increased? In other words, I would like the slide show image to be say 1000px x 500px but if the viewer pulls

  • Is the photoshop CC and lightroom CC support retina display ?

    Hi, my name is Riyadh is the photoshop CC and lightroom CC support retina display ? and is the photoshop CS6 & CS6 extended support retina display ? and what is the product of adobe dose not support retina display ? Thank you for response