Issue in scripts

hi friends,
i hav one urgent issue - i have 6 language versions of my script and 'EN' is the orig. lang.
now i have done modifications in 'EN' and copied it to every language.
I'm now testing it in the same system and same client - but the changes are not getting reflected.
Please tell me where i am going wrong..
Thanks friends and hoping like in the past i'd get this solved in few hrs.........(few mins...may be....)

Hi!
Always activate all modification within SE7 using menu Script - Activation.
The activation is language dependent, so you have to activate all 6 languages step-by-step.
Regards
Tamás
Message was edited by:
        Tamás Nyisztor

Similar Messages

  • Issue in script

    hi friends,
    have 1 issue in script
    i have the code in my script:
    /:   PERFORM F_SO_DATA IN PROGRAM ZZZFR0021F USING &P_BUKRS&     
    /:   CHANGING &L_VAR&                                            
    /:   ENDPERFORM                
    and then in the prog........
    form F_SO_DATA tables intab structure itcsy
                      outtab structure itcsy.
    data: l_var like adrc-addrnumber,
          bukrs like t001-bukrs.
    data: begin of itab occurs 0,
          land1 like t001-land1,
          adrnr like adrc-addrnumber,
          name1 like adrc-name1,
          end of itab.
         read table intab with key name = P_BUKRS.    
         if sy-subrc eq 0.    
          bukrs = intab-value.
    while debugging, strangely the control is not getting in to the subroutine.
    i'm running the script from the sel-screen and  i'm able to see the value entered in parameter p_bukrs in the script...Plz let me know friends where i'm going wrong.....
    Thanks
    Praveen

    ok your interface is correct.
    I think it´s either a activation problem, something still not activated, or you may not have started the transaction new in which you test it.
    BUT there might be another problem. your form might get printed in update task.
    In this case not even System debugging and update task debugging wont help you much.
    Best way to come around this, if that is the problem, is to go to TA MB90 and maually process the communication type again.
    This again wont be done in update task, what means you can now debug either the form or the subroutine.

  • While  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

  • Issue with script timeouts - trying to send email mail shots - hosting recommendations?

    Background is this - I look after a site for a recruitment agency, which has a backend mySQL database.
    It includes a table of potential candidates, which the site owner can search based on various criteria and then send all the returned candidates an email about potential jobs they might be interested in.
    I'm using an off the shelf script to send the emails, and have jumped through a few hoops to get this to work, but it looks like we need to move hosting unfortunately.
    The script is able to limit emails so that the hosting company doesn't get black flagged as a spammer.
    I've set it up with a progress bar in a new window so the site owner can see progress, but easily get back to the rest of the site.
    But where we have come unstuck is the script timeout on the server - so even though its set to send emails slowly enough, ie under 500 emails an hour, because of that slow pace, it fails if it takes more then five minutes to send them all as the script times out.
    My understanding is that the script includes a line to reset the script timeout value to 0, so enabling the script to keep running until all the emails have been sent. But unfortunately our current hosting company does not allow the script timeout to be reset at the PHP level.
    So my question is this - is anyone doing anything similar, and if so, can you recommend any hosting company that does allow the script timeout to be reset at the PHP level?
    Because at the minute it seems like a frustrating catch-22 - slow it down to get around the spam issue, and it won't run long enough to send all the emails. Speed it up, and it falls foul of the script timeout.
    Any advise on this, or hosting suggestons most welcome!
    Thanks.

    Although there is an AppleScript Forum, Automator can run AppleScripts, so sometimes things can go in either forum. In your script, other than not setting a recipient, you are just getting one of the persons. You need to get a list of your contact information, then build your outgoing messages from that list - for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set theEmails to {} -- this will be a list of email addresses
    set theNames to {} -- this will be a list of names for the greeting
    tell application "Address Book"
    activate
    set theGroup to (choose from list (get the name of every group) with prompt "Choose a Group") as text
    if theGroup is "false" then return -- cancel
    repeat with aPerson in (get every person of group theGroup) -- build email and name lists
    set the end of theEmails to the first item of (get the value of the email of aPerson) -- just the first address
    set the end of theNames to the first name of aPerson
    end repeat
    end tell
    tell application "Mail"
    repeat with anItem from 1 to (count theEmails) -- make a new message for each entry
    tell (make new outgoing message at the front of outgoing messages with properties {subject:"Test Mail"})
    set visible to true
    get item anItem of theNames
    if the result is missing value then -- no name
    set the content to "message"
    else
    set the content to "Dear " & the result & "," & return & return & "message"
    end if
    make new to recipient at the end of to recipients with properties {address:(item anItem of theEmails)}
    end tell
    end repeat
    activate
    end tell
    </pre>

  • I'm having a big issue with scripts and sites I need.

    I am an Etsy shop owner and always been able to access my shop just fine all the sudden about three weeks ago I cannot log in to my shop on ff. I can view the Etsy site but when I try to log in it just loads and loads and will not let me. I know it is the script bc I added a script turn off add on and I could log on but Etsy will not let you have it turned off to edit items if your shop so I had to download chrome just to go to my shop which is annoying, I do not like chrome.
    Other than that a few more sites like creative market and a few blogs will not load anymore for me. I have already re-set and that did not work. Also I get a lot of script not responding plugin popups that freeze and crash. This is really annoying. Does anyone know a fix? Thanks..

    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and only cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Box inside Main window issue in Scripts

    I have issue in placing a box inside the main window. I would like to display text with a box frame at end of the line items.
    I tried creating seperate FOOTER window in the Last page, but it dint work as expected, since if the line items ended in the first page then the LAST page did not trigger and one more complication was if there were 4 pages, then there was blank window (FOOTER) in 2 pages and it looks ugly.
    I tried putting the box frame by using text element, calling after the end of the line items. The text displayed as needed, but the frame was misaligned.
    Kindly help me. Thanks in advance.
    Have a great weekend.

    Raj,
    Try to find out which text element is trigerring after the line items text element while debuging the script  and then place the box code in that text element.
    regards.

  • Image Quality issue with script

    So I recently wrote a simple script to output an image at a bunch of different resolutions. However, I am running into an image quality issue that I don't run into when I do the same thing manually.
    Here is an example image showcasing the image: http://terminalvelocity.ca/temp/notworking.jpg
    As you can see along the top of the model's forhead there is destinct color fragmentation. Which seems very strange.
    Here is the script, it is pretty simple, it asks for a few simple config options. (the above image was created using default settings). It then figures out the correct ratios and loops through doing each resize, saving the image, then reverting the history so each iteration uses the original image data and not the resized version:
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800)); 
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100)); 
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10)); 
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width >= w && doc.height >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);             
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    In comparison, here is an example of an image of the exact same resolution that does not exhibit this issue at all:
    The steps taken to save this image were as follows: http://photography.terminalvelocity.ca/content/images/2012/avery_konrad_6/horizontal/1500. jpg
    Image > Resize > Bicubic Sharper (1500px);
    Save For Web
         Jpeg
         Quality 75
         Optimzed: true
         Progressive: false
         Blur: 0
         Convert to sRGB: true   
    Anyway, as you can see, The manually exported image does not have any of the quality issues that are present within the scripted image. I am pretty new to photoshop scriping so am assuming it has something to do with me missing some sort of option in the save settings. Any help would be swell.
    Also note, this doesn't occur on all images, I usually don't see an issue when using the script, however, something about the tones of this particular photo make it really obvious.
    I am using the latest version of Photoshop CS6 (creative cloud) on Max OSX
    thanks so much!

    I'm on windows find the bicubicsharper does not work well it the image being resized has been highly sharpened all ready. Because of my Photoshop preferences I had to make minor modification to your script. I'm also a bit colorblind so i don't see many color issues so I include a screen capture if what windows does with your image and script.
    var orig_ruler_units = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;          // Set the ruler units to PIXELS
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800));
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100));
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10));
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width.value >= w && doc.height.value >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);            
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    app.preferences.rulerUnits = orig_ruler_units;          // Reset units to original settings

  • Issue with script design

    HI expert can we design a box in sap-script where the vertical lines inside the box are not continious i.e discrete .

    Well actually that doesnt work on first hand.
    There is no way to tell the BAX statement to do such stuff.
    what you COULD do is: have a box with height 0, well you need some upper line, you could do this using &ULINE(xx)& as well.
    and have another on for bottom.
    Between manually print the signs that you wish to build the not continuous vertical thing.

  • Issue with Scripted Probe for LDAP

    I have the script LDAP_PROBE loaded into memory on my ACE 4710 (A4(2.0)) and th Probe is name is configured for the LDAP port the servers are listening on. So here is th econfiguration.
    probe scripted LDAP_PROBE_3389
      port 3389
      interval 5
      passdetect interval 5
      passdetect count 2
      receive 5
      script LDAP_PROBE 3389
    I have tried removing the argument of 3389 at the bottom as well but I continue to get the result:
    real      : LDAP02[3389]
                    10.220.31.81    3389  PROBE    2491     2491     0        FAILED
       Socket state        : RESET
       No. Passed states   : 0         No. Failed states : 1
       No. Probes skipped  : 0         Last status code  : 30002
       No. Out of Sockets  : 0         No. Internal error: 0
       Last disconnect err : Probe error: Server did not respond as expected
       Last probe time     : Thu Jul 12 16:24:41 2012
       Last fail time      : Thu Jul 12 12:56:59 2012
       Last active time    : Never
    The server log states this was successful however...
    Admin Acct Status: Not Locked
    AuditV3--2012-07-11-14:18:21.428+00:00DST--V3 anonymous Bind--bindDN: <*CN=NULLDN*>--client: 10.220.31.217:56908--connectionID: 8--received: 2012-07-11-14:18:21.428+00:00DST--Success
    name: <*CN=NULLDN*>
    authenticationChoice: simple
    Admin Acct Status: Not Locked
    Am I missing an argument? I have run debug on LDAP but really don't know what I am looking at...

    To update the script
    ==============
    Extract the Cisco-supplied LDAP script from the tar.gz or zip file. Rename it to something unique. Update it to use the
    new length and offset.
    Import the script into the LDAP contexts on both ACEs. Remember, scripts are not replicated and having mismatched scripts will cause replication to fail.
    ACE1/ldap# copy tftp: disk0:
    Enter source filename[]? UoN-LDAP_PROBE-iLDAP2
    Enter the destination filename[]? [UoN-LDAP_PROBE-iLDAP2]
    Address of remote host[]? [redacted]
    Trying to connect to tftp server......
    TFTP get operation was successful
    ACE2/ldap# copy tftp: disk0:
    Enter source filename[]? UoN-LDAP_PROBE-iLDAP2
    Enter the destination filename[]? [UoN-LDAP_PROBE-iLDAP2]
    Address of remote host[]? [redacted]
    Trying to connect to tftp server......
    TFTP get operation was successful
    script file 13 UoN-LDAP_PROBE-iLDAP2
    If you look at (for example) packet 651 in the capture in wireshark you'll see a
    successful bind response. You will need to tell wireshark to decode the packet as LDAP.
    The payload is:
    30 84 00 00 00 10 02 01 01 61 84 00 00 00 07 0a 01 00 04 00 04 00
    You need to have a basic understanding of ASN.1 and something called Basic Encoding Rules (BER) - whicj comes down to TLV format structures.
    The key to understanding this output is that there are three ways of specifying a length in ASN.1. The first way we have already seen in the Cisco script is to use a single byte. This known as the "definite" form and can be used for lengths of 127 bytes or less. Otherwise if the high bit is set to one, the low seven bits define the length of length. The length is then encoded in that many bytes. This is the "length of the length field" form. It looks like Microsoft Active Directory uses the indefinite form for all length encoding. The third form (for completeness is "indefinite" where the length is coded as x'80' and the end of the content is marked by x'0000'. Deconstructing the data:
    0x30    The start of a universal constructed sequence
    0x84    The length of the sequence in "length of the length" format. The next 4 bytes give the length.
    0x00000010    sequence length of 16 bytes
    0x02    Integer
    0x01    The length of the next field (1 byte)
    0x01    Value (this is the message ID which agrees with the ID in the BIND Request)
    0x61    Application, number 0, use RFC2251 to decode. This is a Bind Response
    0x84    The length of the sequence in "length of the length" format. The next 4 bytes give the length.
    0x00000007    bind response length of 7 bytes   
    0x0a    Enumeration
    0x01    Length 1
    0x03    0 - Success
    0x04    String
    0x00    Length 0 (null string)
    0x04    String
    0x00    Length 0 (null string)
    The patch given takes in 20 bytes from the bitstream,converts it into a hexadecimal string  and finds the 6 hexadecimal characters from the 16th byte onwards   (Tcl uses zero-based arrays). This is the response code.
    Kind Regards
    Cathy

  • KM document iView issue (Java Script) :(

    Hi Developers,
    I have following java script to call a ICWC iView .
    <html>
    <head>
    <title>JavaScript Window Close Example </title>
    </head>
    <SCRIPT language="JavaScript1.2">
    my_window = window ;
    function closepopup()
    if (my_window != window)
               if(false == my_window.closed)
                    alert('Window already Open!');
                              else
    my_window = window.open("http://rp1118.india.rapidigm.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fVeena!2fKMDOCiview?sap-config-mode=true","mywindow","status=1,width=350,height=150");
    else
    my_window = window.open("http://rp1118.india.rapidigm.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fVeena!2fKMDOCiview?sap-config-mode=true","mywindow","status=1,width=350,height=150");
    my_window = window2 ;
    </SCRIPT>
    <body>
    <P>
    <A href="javascript: closepopup()">Open BSP</A>
    </P>
    </body>
    </html>
    I have created a KM document iView to call this HTML page in portal and assigned that iView to a role .
    Now the problem is when I click the iView for second time (when one ICWC window is already open) , it reloads the java script and it initializes the value of parameters .
    So next time when I click on the link  'Open BSP' it again opens a new ICWC window
    instead of the warning message 'Window already Open!' .
    Is there any way to acive this .
    Thanks & Regards,
    Amit Kade

    Hi Martin ,
    Thank you very much for your help , I have gone through the document for Client Data Bag API , but as you told I am not be able to clear the key value on close of child window .
    Now I have thought of a different approach and written  the following code :
    <html>
    <head>
    <title>JavaScript Window Close Example </title>
    </head>
    <script language="JavaScript">
      window.onbeforeunload = confirmExit;
      function confirmExit()
         if(false == my_window.closed && my_window != window)
        return "You have attempted to leave this page.  Please DO NOT click on the OPEN BSP tab again before closing the active BSP window as this will open new BSP window.  Are you sure you want to exit this page?";
    </script>
    <SCRIPT language="JavaScript">
    my_window = window ;
    function closepopup()
    if (my_window != window)
               if(false == my_window.closed)
                    alert('Window already Open!');
                              else
    my_window = window.open("http://rp1118.india.rapidigm.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fVeena!2fKMDOCiview?sap-config-mode=true","mywindow","status=1,width=350,height=150");
    my_window.focus();
    my_window = window2 ;
    else
    my_window = window.open("http://rp1118.india.rapidigm.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fVeena!2fKMDOCiview?sap-config-mode=true","mywindow","status=1,width=350,height=150");
    my_window.focus();
    my_window = window2 ;
    </SCRIPT>
    <body>
    <P>
    <input type = "button" onclick="javascript: closepopup()" value="Open BSP Page"></button>
    </P>
    </body>
    </html>
    Here on <b>onbeforeunload</b> event I am giving an warning message to user giving them two options , OK CANCLE .
    This is working fine but as I click on CANCLE tab the portal doesn't load the KM document iView . Instead it just says 'loading' forever.
    Am I missing something in this code . Can you please help.
    Thanks & Regards,
    Amit Kade

  • Declaration issues with  script logic

    we use to write the logic as below in 5.1
    *MEMEBERSET(%PRODUCT%,"Desendents(PRODUCT_LTERM.TOT_PROD,999,LEAVES)")
    *XDIM_MEMBERSET ACCOUNT_LTERM=100000000_D,110000000_D,120000000_D,130200000_D,
    *XDIM_MEMBERSET DATASRC=INPUT
    *XDIM_MEMBERSET ENTITY_LTERM=%ENTITY_LTERM_SET%
    *XDIM_MEMBERSET PRODUCT_LTERM=%PRODUCT%
    *XDIM_MEMBERSET RPTCURRENCY=LC
    *XDIM_MEMBERSET SCENARIO=%SCENARIO_SET%
    *XDIM_MEMBERSET TIME_LTERM=CY,CY+1
    *WHEN *
    *IS *
         *REC(EXPRESSION=0)
    *ENDWHEN
    As we know that sql based keywords are not used now in thi new version 7.0
    I want to know the replacement in 7.0 for *MEMBERSET() COMMAND and also
    How * in when command for specificing consideratrion of all the declaration is replaced in 7.0

    Hi sheldon,
    Thanks for your time in replying to the question. Chennuru and I are working together.
    Let me give you a clear picture of our issue.
    1. *memberset() command which is used to retrieve a list of members of a particular dimension, is not being recognised in 7.0NW version.
    We want to know if we have any replacement or other format for this command.
    2. After declaring the dimensions using XDIM_MEMBERSET statements for all the existing dimensions, if we need to manipulate on all the existing combinations we use
    WHEN *
    IS *
                                                                               REC(EXPRESSION=0)
                                                                         *ENDWHEN
    In this case, the star to the right of the when is not recognised. Even if we replace * with <ALL> the result is not achieved.
    We would like to know what must be used to select all the existing dimensions.

  • Font issue in scripts

    hi guru's,
                 im working on scripts,need help.i have a requirement to print heading with bold and big font size.i have changed the font sizes in Paragraph formats and character formats.and used them like this in text editor.
    P  <c1>ram</>
    p-para format
    C1-character format
    ram-hard coded text.
    jus confirm me if i shud use so10 or smartstyles for this or i can do it without them.
    thanks in advance.

    Hi Narendr,
    Please confirm if you have written the following in the script.
    P - <c1> RAM </>
    P is the paragraph format
    C1 is the character format for which bold option has been checked.
    Please check if you have used </> after the heading title.
    Thanks,
    Dishant

  • Issues with Script in Safari browser

    Anyone having trouble with the Weight Watchers website in Safari? First problem ever for me.
    Safari is no longer responding because of a script on the webpage “WeightWatchers.com: Community - Message Board Posts” (http://www.weightwatchers.com/community/mbd/post.aspx?threadpageno=1&page_size=25&rownum=1&board_name=50%2bPounds+to+Lose&thread_id=146669110&board_id=10&forum_name=message+boards&forum_i d=1&thread_name=Arguing+against+NI+being+posted+in+restaurants&modno=&sincedate=9%2f20%2f2010+12%3a00%3a00AM&viewchange=DATECREATEDDESC). Do you want to stop running the script, or let it continue?

    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.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Issue with Script

    Hi Team,
    I am using this script for monitoring VPN account expiration date. Please check any errors at date function.
    Every this is working fine but while getting alerts i am getting END Date as below: It should be DD/MM/YYY Format
    End date
    41665
    Functions*********************************************************************************
    Function ReadExcel(strFileName,strSheetName)
        Set objExcelConn = CreateObject("ADODB.Connection")
        objExcelConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strFileName & ";Extended Properties=Excel 5.0;Persist Security Info=False"
        Set objExcelRS = objExcelConn.Execute("SELECT * FROM [" & strSheetName & "$]")
        For iColumnNumber = 0 to objExcelRS.fields.Count-1
            If iColumnNumber = 0 Then
                sColumnNames = objExcelRS.fields(iColumnNumber).Name
            Else
                sColumnNames = sColumnNames & "~" & objExcelRS.fields(iColumnNumber).Name
            End If
        Next
        firstCol = true
        Do While Not objExcelRS.EOF
            If (objExcelRS.Fields.Item("End Date") = Date+2) or (objExcelRS.Fields.Item("End Date") = Date)  Then
                For Each fld In objExcelRS.Fields
                    If firstCol Then
                    dim abc
                    'abc= objExcelRS.Cells(sRowValue,8)
                        fldCat = fldCat & fld
                        firstCol = false
                        'set uid=objExcelRS.Fields.Item("User ID")
                    Else
                        fldCat = fldCat & ";" & fld
                    End If
                Next
                fldCat = fldCat & "#"
            End If
            objExcelRS.MoveNext
        Loop
        ReadExcel = Replace(fldCat,"#;","#")    
    End Function

    There us no way to tell what is happening.  The script does not make much sense.
    Ask the person who wrote it to help you. The script has noting to do with VPNs and nothing to do with dates.  It appears to just read all of an excel spreadsheet into a single string.
    ¯\_(ツ)_/¯

  • Font(Chinese) issue when script form archive to PDF

    Dear expert,
    the issue is I have scriptform which font is CNSONG, preview and print both fine, but when it archive to PDF, the font is not display properly, eg. title font is not blod anymore.
    can some one give smoe advices ?
    thanks in advance!

    HI,
    Can you check this thread.
    https://scn.sap.com/thread/1479512
    Regards,
    Madhu.

Maybe you are looking for