Execute External Script onDisconnect  (main.asc)

Hello,
Does anyone know if it's possible to execute an external script with the onDisconnect function on FMS?
I'm trying find a better way to log when a user disconnects from a chat application.
Thanks!

Hi,
Can you be a little more specific as to what kind of external script you want to run, when application.onDisconnect is triggered? How exactly do you want to log disconnect activity?
Thanks,
Abhishek

Similar Messages

  • Invoking external AS from Main.asc?

    Hi all,
    I'm hoping anyone can point me in some intelligent direction.
    I have a main.asc in my FMS3.5 application. I'd like to be able to import things like AS3Crypto, com.adobe.serialization, etc, to be used in main.asc.
    However, there seems to be no clear way to do so.
    2 possibilities come to mind:
    1) I'm not seeing something in the docs that is super obvious.
    2) I'm attempting to use server-side AS for something that it is not intended for..
    All I'm trying to do is verify url signature in my onConnect, however, I can't even get access to simple things like byteArrays, let alone invoke AS3Crypto. I can load other ASC files via global load() method, but this seems to bleed to death if I attempt to convert complex AS3 classes to ASC.
    Is it intended that this sort of functionality be soley offloaded to another application via webservice/whatever? Or am I simply looking at this all wrong?
    Any leads or advice would be tremendously appreciated.
    Thanks all.
    j

    Pardon me if I am trivial here but server-side AS is plain simple AS-1 code to me so loads of things integrated with AS-2 & 3 versions are not avaible.
    Using services like AS3-Crypto will need loads of rewriting to make them compliant with AS-1 capabilities.
    Sorry if I misunderstood your need, hope I get useful here for you.
    Regards,
    IFZen

  • How to execute external scripts that returns error code

    Hi,
    What is the best approach to execute a unix shell scripts in ODI thats return a code e.g. 1- found , 2 - not found. The return code needs to assigned to a ODI variable. I have gone through some posts that explained how to refresh odi variable from file. well in that case i have to write the error code to a file and then read to a ODI variable. Is there any direct approach available ? Is there any other way I can assign values to ODI variable other than its refresh methods ( select from <source>) for e.g. Inside odi procedure ?
    Thanks you all for answering this
    -Mansa

    In order to reduce the steps we need to do that using java itself. It will be something like this .
    Step 1. ODI procedure - Technology Java Bean shell .
    <@
    JAVA OS COMMOND CODE TO TRIGGER THE PEARL SCRIPT.
    GET THE RETURN INTO JAVA VARIABLE ( SAY FOR EX result )
    @>
    Step 2. Creating the variable.
    select any oracle schema
    select '<@=result@>' from dual
    and call this variable in refresh mode in package.
    Step 3. processing with variable what ever you wish to do .
    Personally i have not tried the java os command to get the return code . I will look into this and let you know sooner or later. If you want you can explore the code or google the code and see if what you are planning to achive is possible ,else the other way can be using the file as you know.

  • Executing of external scripts or programs

    Is there any way to execute external scripts (like .js; .hta; .exe or ActiveX) using the 'Button' in forms. Tried several action settings and definitions without success.
    Using Acrobat XI Pro
    Form should be run on Windows 7 and actual Adobe Reader.

    We all hope not.
    There is an old facility, but I suspect it has been removed for security reasons, where you can use an Open File link on an EXE.

  • Main.asc server side script not working

    Here the simple script i put at server seem like is not working also enclosed screenshot for the adminconsole
    my server side file main.asc save at /opt/adobe/fms/application/playtechmnflive/
    my doing FMS edge server.
    application.allowDebug= true;
    application.onAppStart = function(){
            this.eventTime = (new Date().valueOf() + 10000);
            this.timer_int = setInterval(checkForEvent, 1000, this);
    function checkForEvent(app){
            var now = new Date().valueOf();
            if(now > app.eventTime) {
                    trace("something");
            }else{
                    trace("damn");

    The script is fine (at least i assume u want the timer working with no errors). The thing is that u can't put any code nor apps on the edge node. Put it on the origin and hook up your edge to that origin.

  • How can I execute external application?

    Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file.
    I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?
    Thanks
    Mehmet
    P.S. I have been writing this message with details may be somebody can give me a simple way for this

    Well, I can suggest you following steps. May be it works for you .
    -Create an external OS command in SM69
    -Test OS command in SM49 ( <u><i>about OS command if you search in SDN you’ll get lot of material</i></u> )
    -Create a Script at your OS level, I’m assuming you might have some UNIX flavor or Sun solaria’s.
    -Create a Shell script , which execute the printer job from OS .
    -Shell script will have parameters . ( e.g. printer name, destination etc )
    -set the path of shell script directory in SM69 ( the command you just created )
    -Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" )
    In the ABAP  program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level .
    FYI
    For UNIX script, if you search in www.google.com ( UNIX forums) . you’ll get shell script .
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Dump while executing SAP Script

    Hello,
    My program is throwing a dump while executing this script. Request you all to please help me in removing this.
    /E   MAIN_DATA
    /:    BOX FRAME 10 TW
    PA To,  ,,Invoice No. & Date,,  &JVBRK-VBELN&  &JVBRK-FKDAT&
    PA M/s  &JKNA1-NAME1(35)&,,Your P.O. No.,,  &JVBAK-BSTNK&
    /*           &JKNA1-NAME2(35)&,,Truck No.,,  &JLIKP-TRAID&
    PA         &JKNA1-NAME2(35)&,,Truck No.,,  &WRK_VEHNO&
    PA         &JKNA1-ORT01(20)&,,LR No.& Date,,  &WRK_LRNO&   &JJ_1IEXCDTL-EXDAT& 
    /*           &JKNA1-REGIO(20)&,,Net Qty.in kgs.,,  &JLIPS-NTGEW(10.3L)&
    PA         &JKNA1-REGIO(20)&,,Net Qty.in kgs.,,  &W_NETWT(12.3L)& KG
    PA         ,,Material,,  &JVBRP-ARKTX(30)&
    My Report has the following code:
    FORM write_to_layout_set.
      PERFORM write_layout_set USING 'MAIN' 'SET' 'BODY' 'MAIN'.
      PERFORM write_layout_set USING '' 'SET' 'BODY' 'LOGO'.
      PERFORM write_layout_set USING '' 'SET' 'BODY' 'HEADER2'.
      PERFORM write_layout_set USING 'HEADER' 'SET' 'BODY' 'TEST2'.
      PERFORM write_layout_set USING 'FOOTER' 'SET' 'BODY' 'FOOTER2'.
      PERFORM write_layout_set USING '' 'SET' 'BODY' 'SIGN'.
    ENDFORM.                               " WRITE_TO_LAYOUT_SET
    FORM write_layout_set USING wrk_element
                                wrk_function
                                wrk_type
                                wrk_window.
      CALL FUNCTION 'WRITE_FORM'
         EXPORTING
               element       =  wrk_element
               function      =  wrk_function
               type          =  wrk_type
              window         =  wrk_window
       IMPORTING
            PENDING_LINES =
           EXCEPTIONS
                element       = 1
                function      = 2
                type          = 3
                unopened      = 4
                unstarted     = 5
                window        = 6
                OTHERS        = 7.
    +
      IF sy-subrc NE 0.
        PERFORM protocol_update.
      ENDIF.
    +
    ENDFORM.                               " WRITE_LAYOUT_SET

    As per my first reply you have to change the perform
    PERFORM write_layout_set USING 'MAIN' 'SET' 'BODY' 'MAIN'.
    to
    PERFORM write_layout_set USING 'MAIN_DATA' 'SET' 'BODY' 'MAIN'.
    and now check and one more thing whether this main_data element is in main window or not just check.
    if it does not work then just change &W_NETWT(12.3L)&  to
    &W_NETWT& and check

  • How can I make an external monitor the main display?

    I have a mid 2007 iMac running OS X 10.4. The internal monitor is broken and all it shows is a bunch of lines.
    I have connected an external Samsung monitor. All I see in it is a desktop background: no icons, no menus, no dock. I believe this is because the display is in extended mode and the main display is the internal monitor. I cannot use the System Preferences Panel to change this, because the internal monitor is useless.
    I have a second, newer iMac, from which I can login to the first via ssh.
    Is there a way to make the external monitor the main display from the command line?
    (I have though of editing the Preferences List, but I do not know what to change and how to change it. I do have Developers Tool installed and thus can access the Preferences List Editor.)
    Thanks in advance!!!
    Gustavo J. Mata

    Hi everybody!
    To solve the problem I wrote a script that creates a Systems Preferences windows which shows up in the external monitor. Once this happens the configuration can be changed manually, to make the external monitor the main display. This is what I did:
    First I created a user with automatic login in the faulty machine. To do this:
    1.- Restarted this malfunctioning iMac in Firewire Target mode.
    2.- Rebooted the working iMac using the other machine as startup disk.
    3.- Created the user.
    4.- Restarted both machines normally
    Next I wrote a script which opens System Preferences and shifts its window to the left:
    5.- In the working machine I saved the script as a 'Run only' application:
    tell application "System Preferences"
    activate
    set x0 to 1080
    set y0 to 200
    set dx to 800
    set wx to 600
    set wy to 600
    set the bounds of the first window to {x0, y0, x0 + dx + wx, y0 + wy}
    end tell
    6.- Then uploaded it to the iMac with the faulty screen.
    7- Shut down both machines.
    Then I added the script application to the automatic login user in the faulty machine:
    8.- Restarted the malfunctioning iMac in Firewire Target mode.
    9.- Rebooted the working iMac using the other machine as startup disk.
    10.- In System Preferences added the script to login items.
    11.- Restarted both machines.
    The System Preferences window now showed in the external terminal. I was able to go into the Displays pane and set the external monitor as the main display (dragging the white bar to it).
    Cheers,
    Gustavo J. Mata

  • Convert to Transaction Class to Use Market Basket Analysis Script (arules) in the Execute R Script Module

    Hello,
    I need to do Market Basket Analysis for my data, and have a working R script when using it in R Studio.  I need to transfer that R script to Azure ML Studio.  I read in another posting that the arules package is pre-installed and that I need
    to use the Execute R Script module since there is not other built-in module/function that does anything similar to Market Basket.  I went ahead and copy-paste my R script into the module with some slight modifications in terms of importing the data. 
    I use the R function read.transaction to import and convert my data frame (a csv file) into a transaction class directly from my working directory when using R Studio.  It appears that read.transaction does not work on Azure ML, and yet
    I need my data to be in transaction class for the rest of the functions in arules to work.  Therefore, how do I get around this?
    Thank you.

    Thanks.
    This is my R script:
    library(arules)
    library(arulesViz)
    # Contents of optional Zip port are in ./src/
    #source("src/MOD Targeting MBA ML.R");
    Data = read.transactions("src/data.csv", format = "single", sep = ",", cols = c(1,2))
    itemFrequencyPlot(Data, topN = 37, type = "absolute")
    Baskets = apriori(Data, parameter = list(supp = 0.001, conf = 0.8))
    inspect(Baskets)
    Results = as(Baskets, "data.frame")
    maml.mapOutputPort("Results")
    And this is the output log:
    Record Starts at UTC 12/23/2014 19:52:51:
    Run the job:"/dll "ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run" /Output0 "..\..\Result Dataset\Result Dataset.dataset" /Output1 "..\..\R Device\R Device.dataset" /bundlePath "..\..\Script Bundle\Script Bundle.zip" /rStreamReader "script.R" "
    Starting process 'C:\Resources\directory\c3626c2575d5423e8cb58a9e7230be5e.SingleNodeRuntimeCompute.Packages\AFx\6.0\DllModuleHost.exe' with arguments ' /dll "ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run" /Output0 "..\..\Result Dataset\Result Dataset.dataset" /Output1 "..\..\R Device\R Device.dataset" /bundlePath "..\..\Script Bundle\Script Bundle.zip" /rStreamReader "script.R" '
    [ModuleOutput] DllModuleHost Start: 1 : Program::Main
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString
    [ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString. Duration: 00:00:00.0050971
    [ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::DllModuleMethod
    [ModuleOutput] DllModuleHost Stop: 1 : DllModuleMethod::DllModuleMethod. Duration: 00:00:00.0000598
    [ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::Execute
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::BindModuleMethod
    [ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodDescription ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run
    [ModuleOutput] DllModuleHost Verbose: 1 : assemblyFullName ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::LoadModuleAssembly
    [ModuleOutput] DllModuleHost Verbose: 1 : Trying to resolve assembly : ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost Verbose: 1 : Loaded moduleAssembly ExecuteRScript, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleBinder::LoadModuleAssembly. Duration: 00:00:00.0074580
    [ModuleOutput] DllModuleHost Verbose: 1 : moduleTypeName Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript
    [ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodName Run
    [ModuleOutput] DllModuleHost Information: 1 : Module FriendlyName : Execute R Script
    [ModuleOutput] DllModuleHost Information: 1 : Module Release Status : Release
    [ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleBinder::BindModuleMethod. Duration: 00:00:00.0116536
    [ModuleOutput] DllModuleHost Start: 1 : ParameterArgumentBinder::InitializeParameterValues
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos count = 5
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[0] name = dataset1 , type = Microsoft.Numerics.Data.Local.DataTable
    [ModuleOutput] DllModuleHost Verbose: 1 : Set optional parameter dataset1 value to NULL
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[1] name = dataset2 , type = Microsoft.Numerics.Data.Local.DataTable
    [ModuleOutput] DllModuleHost Verbose: 1 : Set optional parameter dataset2 value to NULL
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[2] name = bundlePath , type = System.String
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[3] name = rStreamReader , type = System.IO.StreamReader
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[4] name = seed , type = System.Nullable`1[System.Int32]
    [ModuleOutput] DllModuleHost Verbose: 1 : Set optional parameter seed value to NULL
    [ModuleOutput] DllModuleHost Stop: 1 : ParameterArgumentBinder::InitializeParameterValues. Duration: 00:00:00.0102003
    [ModuleOutput] DllModuleHost Verbose: 1 : Found trace source in Execute R Script module...
    [ModuleOutput] DllModuleHost Verbose: 1 : Begin invoking method Run ...
    [ModuleOutput] Microsoft Drawbridge Console Host [Version 1.0.2108.0]
    [ModuleOutput] [1] 56000
    [ModuleOutput]
    [ModuleOutput] The following files have been unzipped for sourcing in path=["src"]:
    [ModuleOutput]
    [ModuleOutput] Name Length Date
    [ModuleOutput]
    [ModuleOutput] 1 data.csv 2875965 2014-12-04 17:08:00
    [ModuleOutput]
    [ModuleOutput] 2 __MACOSX/ 0 2014-12-23 09:39:00
    [ModuleOutput]
    [ModuleOutput] 3 __MACOSX/._data.csv 120 2014-12-04 17:08:00
    [ModuleOutput]
    [ModuleOutput] Loading objects:
    [ModuleOutput]
    [ModuleOutput] Loading required package: Matrix
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] Attaching package: 'arules'
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] The following objects are masked from 'package:base':
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] %in%, write
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] Loading required package: grid
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] Attaching package: 'arulesViz'
    [ModuleOutput]
    [ModuleOutput] The following object is masked from 'package:base':
    [ModuleOutput]
    [ModuleOutput] abbreviate
    [ModuleOutput]
    [ModuleOutput] $value
    [ModuleOutput] NULL
    [ModuleOutput]
    [ModuleOutput] $visible
    [ModuleOutput] [1] FALSE
    [ModuleOutput]
    [ModuleOutput] Warning messages:
    [ModuleOutput] 1: In strptime(x, format, tz = tz) :
    [ModuleOutput] unable to identify current timezone 'C':
    [ModuleOutput] please set environment variable 'TZ'
    [ModuleOutput] 2: In strptime(x, format, tz = tz) : unknown timezone 'localtime'
    [ModuleOutput] DllModuleHost Stop: 1 : DllModuleMethod::Execute. Duration: 00:00:14.5396895
    [ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0063: The following error occurred during evaluation of R script:
    [ModuleOutput] ---------- Start of error message from R ----------
    [ModuleOutput] Error: Mapped variable must be of class type data.frame at this time.
    [ModuleOutput]
    [ModuleOutput]
    [ModuleOutput] Error: Mapped variable must be of class type data.frame at this time.
    [ModuleOutput] ----------- End of error message from R -----------
    Module finished after a runtime of 00:00:14.6091783 with exit code -2
    Module failed due to negative exit code of -2
    Record Ends at UTC 12/23/2014 19:53:07.
    Sorry, it won't let me send a link for some reason.
    Thanks.
    Cindy

  • Problem executing Unix script from Java...

    Hi there, I'm having trouble executing a unix script from a java program. The script receives multiple parameters and it seems that one of them ( or more ) is not well interpreted. When I run the script directly from a shell, the script executes without any errors. But, when I run the exact same script with the exact same parameters, it does not work.
    Here is the command to execute the script with all the parameters that is executed from the shell ( with success ) and also from the java program ( with errors ):
    /z/opus/dcap/intfu001.csh 'NODEBUG^NOTKPROF^NOSTACK' opus dcap JACQUES JACQUES '2625781' 'ORA$PIPE$001D00D70001' JOB^DEBUG^SINISIMU^STATPROD^DECTIDANC^81^503^4080^86^87^151^97^98^99 BUT^N^N^SPRI^0^13^24^3^J^05^N^19^19^19 >> /tmp/switcher8.999.null.pgm.test
    And here is my portion of code that executes the script:
    Runtime wShell = Runtime.getRuntime();
    Process wProc = wShell.exec(cmd_unix_final);
    wProc.waitFor();
    return wProc.exitValue();
    Please give me your thoughts on this!
    Thanks in advance!

    Ok.
    Let's proceed surgically, else we'll never solve or overcome anything.
    In the last your reply you wrote:
    the normal output is what I get when the script runs successfully, the script first prints a few things
    and then does stuff that takes at least 2 or 3 secondsWhat do you mean?
    -Finally have you got your script correctly executed?
    The stuffs you spoke of are really performed?
    If this is the case I can't see the prob.
    Is your concern only about exitValue() for it doesn't let you distinguish programmatically
    the success or failure of the script execution?
    Of course you surely already have a routine in your java code to handle
    exceptional situations of errors from the script.
    And the "normal output" is just what you must parse to detect those errors.
    Then who cares about exitValue() in this case?
    Don't invoke it, relay on the stdout and stderr of the script.
    -Or you get only a deceiving standard output
    that let you think the script execution went alright, while instead it didn't.
    In this case we have to investigate some other thing.
    I can't still exclude that the problem isn't related with the buffer size of the stdout
    allocated by the environment to the subprocess. You spoke of few things printed out.
    Be explicit. What's the size of the output you get?
    And is the "normal output" complete till the very last char
    or is it truncated from somewhere on?
    Also it's important that you hit a ps command after the java main process terminates
    (or simply when waitFor() returns) and see if the script subprocess hung up.
    As an alternative approach directly call your pro*C code from Java through JNI, instead of translating it.
    1. Exec.java
    public class Exec{
         static{
              System.loadLibrary("Exec");
         public static native void proCFunct();
         public static void main( String[] args){
              proCFunct();
    }2. javac Exec.java
    3. javah Exec
    4.Exec.c
    #include "Exec.h"
    JNIEXPORT void JNICALL Java_Exec_proCFunct(JNIEnv * a, jclass b){
         //here call the function that executes the script
    5. cc -G -I$JAVA_HOME/include -I$JAVA_HOME/include/solaris -I$YOUR_INCLUDES Exec.c -o libExec.so
    6. setenv LD_LIBRARY_PATH .
    7. java Exec

  • Error 801 when executing external command on

    Hello,
    I have installed CCMS agents and CCMS ping in my system yesterday. And activated the CPH BGD jobs for SL reporting purpse. Now I am getting an error "Error 801 when executing external command on" under class LC 2. I am not able to find any relevant note or help for this error. Any idea why this happens? How can I solve this? The details as follows:
    EXTERNAL COMMAND: rc = Error 801
    SXPG_COMMAND_EXECUTE(LONG):
    <timestamp>: 20100310144206
    COMMANDNAME: PING
    ADDITIONAL_PARAMETERS: s-sapcae
    LONG_PARAMS:
    OPERATINGSYSTEM: AIX
    TARGETSYSTEM: sapasmc1
    DESTINATION:
    SY-SUBRC:  801
    Regards,
    Rajeev

    Hi,
    I have activated the trace level to 3 and now I get some messages in dev_cp which is as follows:
    Trace file of control program (trace level 3)
    < Function: BtcTrcInit> Function: main  SAPXPG 720
    2010-03-11  08-52-09 : Before BtcXpgDetach
      > Function: BtcXpgDetach  < Function: BtcXpgDetach  Accept RFC connection from R/3 system
    2010-03-11  08-52-09 : Before RfcAccept
    2010-03-11  08-52-09 : RfcAccept returned OK
    Begin of check_if_security_list
    security check switched OFF
    End of check_if_security_list
    Begin of check_trace_option
    End of check_trace_option
      Install RFC call SAPXPG_START_XPG
      Install RFC call SAPXPG_START_XPG_LONG
      Install RFC call SAPXPG_END_XPG
      Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
    2010-03-11  08-52-09 : Before first call of RFCDispatch
    Security: rfcexec_logon_check
      rfcexec_logon_check: logon_user = TT4WNUC
      sapxpg_logon_check: rfc_attr.user = TT4WNUC
      rfcexec_logon_check: client = 100
    2010-03-11  08-52-09 : After first call of RFCDispatch
    2010-03-11  08-52-09 : Before call of RfcClose (sequencing error)
    2010-03-11  08-52-09 : After call of RfcClose (sequencing error)
    < Function: main
    2010-03-11  08-52-09 : End of SAPXPG: main
    I think the issue is with the user TT4WNUC. Could you please let me know from where I can change this user?
    Rajeev

  • VS2013 Page Inspector does not use external script files

    If I use an external javascript file, the Page Inspector does not appear to run the javascript (as the styles created during runtime are not visible). If I run the web page outside of VS (e.g. IE) then it works.
    <script type="text/javascript" src="border.js"></script>
    However, if I use an internal script, the styles are created as expected.
    <script type="text/javascript">$("div").css("border", "2px solid red").add("p").css("background", "yellow");</script>
    Is the Page Inspector supposed to use external script files, and if not, are there plans to support it?

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because Page Inspector feature is more related to ASP.NET Application/Technology, in order to resolve your issue better,
    I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/  for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using Run External Script in ICM

    Hi all,
    I am using IPCC enterprise 7.0, during my development on ICM scripting. I am using "Run External Script" to execute IVR script. So my problem is that, any change / update used in IVR subflow will not be effective in ICM until I restart the CRS engine. Which means, the ICM is still running on old IVR script.
    Could anybody advise it? Is it possible to flush the IVR caching?
    Thank you for your attention.

    This URL should help you:
    http://www.cisco.com/en/US/products/sw/custcosw/ps1844/products_tech_note09186a0080236a4d.shtml

  • LC  2 Error 1003 when executing external command brconnect on (xpgid=0,con

    Dear all,
    I am getting error in sm21.Please suggest .
    Details Page 2 Line 23 System Log: Local Analysis of clusa                    1
    Time     Type Nr  Clt User TCode Grp N Text
    10:00:32 DIA  000 600 DDIC       LC  2 Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
    Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
    Details
    Recording at local and central time........................ 10.05.2010 10:00:32
    Task...... Process                     User...... Terminal Session TCode Program  Cl Problem cl      Package
    06952      Dialog work process No. 000 DDIC                      1       SAPMSSY1 S  Operation Trace SBTC
    No documentation for syslog message LC 2 exists
    Parameter
      1 .... xpgid=0,convid=.
    Technical details
    File Offset RecFm System log Grp N variable message data
      224 260640                  LC  2 brconnect & &Error 1003 & & &
    Regards,
    Kumar

    Dear Juan,
    Please find the logs.Please suggest.
    dev_cp log
    Trace file of control program (trace level 3)
    < Function: BtcTrcInit> Function: main  SAPXPG 720
    2010-05-10--09-33-29 : Before BtcXpgDetach
      > Function: BtcXpgDetach  < Function: BtcXpgDetach  Accept RFC connection from R/3 system
    2010-05-10--09-33-29 : Before RfcAccept
    2010-05-10--09-33-29 : RfcAccept returned OK
    Begin of check_if_security_list
    security check switched OFF
    End of check_if_security_list
    Begin of check_trace_option
    End of check_trace_option
      Install RFC call SAPXPG_START_XPG
      Install RFC call SAPXPG_START_XPG_LONG
      Install RFC call SAPXPG_END_XPG
      Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
    2010-05-10--09-33-29 : Before first call of RFCDispatch
    Security: rfcexec_logon_check
      rfcexec_logon_check: logon_user =
      sapxpg_logon_check: rfc_attr.user = BASIS      
      rfcexec_logon_check: client =   
      > Function: BtcXpgStartXpgLong   
    2010-05-10--09-33-29 : Beginning of BtcXpgStartXpgLong
        > Function: BtcXpgStartXpgImportLong      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgTable      < Function: BtcXpgTable    < Function: BtcXpgStartXpgImportLong   
    BtcXpgStartXpgLong: special_trace_flag = <6>
        > Function: BtcXpgStartXpgInt      > Function: BtcXpgItTransfer        Content of source log table:
              Line  Text
              <No StdOut/StdErr output reported>
            Target log table is not identical to source
            ItGetLine terminated with NULL
          < Function: BtcXpgItTransfer      > Function: BtcTrcReset      < Function: BtcTrcReset      Call mode: VIA RFC
          Input arguments of BtcXpgStartXpg:
            External program: brtools
          tracecntl = : 6
          Display of Parameter string switched off !!
            Contents of control flags:
              StdIn control flag: redirect StdIn
              StdOut control flag: store StdOut output in memory
              StdErr control flag: store StdErr output in memory
              Trace control flag: unknown contents
              Termination control flag: control program will wait for termination
          > Function: BtcXpgCheck        > Function: BtcXpgArgv
              parameter number 1:
              parameter number 2:
              parameter number 3:
              parameter number 4:
              parameter number 5:
              parameter number 6:
              parameter number 7:
              Total number of arguments scanned: 7
              Argument argv[0]: brtools
            < Function: BtcXpgArgv      < Function: BtcXpgCheck      > Function: BtcXpgSigInst      < Function: BtcXpgSigInst      > Function: BtcXpgStart        Rearrange stderr to be collected in memory
            Rearrange stdout to be collected in memory
            Redirect stdin, read from NUL:
            > Function: BtcTrcInit< Function: BtcXpgStartStart status of external program: external program successfully started
    Id of external process: 0000005296
    StdOut/StdErr collected in memory
      Line  Text
      <No StdOut/StdErr output reported>
    < Function: BtcXpgStartXpgInt> Function: BtcXpgStartXpgExport  > Function: BtcXpgParam  < Function: BtcXpgParam  > Function: BtcXpgParam  < Function: BtcXpgParam  > Function: BtcXpgParam  < Function: BtcXpgParam< Function: BtcXpgStartXpgExport
    2010-05-10--09-33-29 : End of BtcXpgStartXpgLong
    < Function: BtcXpgStartXpgLong
    2010-05-10--09-33-29 : After first call of RFCDispatch
    Wait for RFC call SAPXPG_END_XPG
    2010-05-10--09-33-29 : Before second call of RFCDispatch
    Security: rfcexec_logon_check
    rfcexec_logon_check: logon_user =
    sapxpg_logon_check: rfc_attr.user = BASIS      
    rfcexec_logon_check: client =
    > Function: BtcXpgEndXpg 
    2010-05-10--09-33-29 : Beginning of BtcXpgEndXpg
      > Function: BtcXpgStartXpgExport    > Function: BtcXpgTable    < Function: BtcXpgTable  < Function: BtcXpgEndXpgImport  > Function: BtcXpgEndXpgInt    > Function: BtcXpgItTransfer      Content of source log table:
            Line  Text
            <No StdOut/StdErr output reported>
          Target log table is not identical to source
          ItGetLine terminated with NULL
        < Function: BtcXpgItTransfer    > Function: BtcXpgReadChild      Output of external command not written to log !!
          Process executing external program has terminated
        < Function: BtcXpgReadChild    > Function: BtcXpgEnd    < Function: BtcXpgEnd    Termination status of external program: no errors reported
        StdOut/StdErr collected in memory
      < Function: BtcXpgEndXpgInt  > Function: BtcXpgEndXpgExport    > Function: BtcXpgParam    < Function: BtcXpgParam    > Function: BtcXpgParam    < Function: BtcXpgParam  < Function: BtcXpgEndXpgExport 
    2010-05-10--09-33-30 : End of BtcXpgEndXpg
    < Function: BtcXpgEndXpg
    2010-05-10--09-33-30 : After second call of RFCDispatch
    2010-05-10--09-33-30 : After call of RfcClose (wait)
    < Function: main
    2010-05-10--09-33-30 : End of SAPXPG: main
    dev_xpg
    Trace file of External Program (trace level 3)
    < Function: BtcTrcInit> Function: BtcXpgStart  External program: brtools -sid prd -F printout alert_log 20100401000000 0128
    Regards,
    Kumar

  • FMS don't read main.asc. I'm going to crazy. Somebody help me.

    Hi. All.
    I've search enough. and I've did my best for 3 days. 
    Unfortunately, I could not solve this problem.
    If you help me, you can be my sunshine.
    I'm developing Text Chat App using Flex4.6 & FMS 4.5.
    I wanna count how many on-line users in.   I found some infomation by googling.
    As a result of googling, I figured out I need SSAS(Server Side Action Script)
    http://www.fmsguru.com/showtutorial.cfm?tutorialID=48
    I followed what he did pecfectly. This source code is what I made.
    UserCount.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009http://ns.adobe.com/http://ns.adobe.com/mxml/2009mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx"
          minWidth="955" minHeight="600" currentState="LogIn">
    <s:states>
      <s:State name="LogIn"/>
      <s:State name="LoggedIn"/>
    </s:states>
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
       private var nc:NetConnection;
       protected function button1_clickHandler(event:MouseEvent):void{
        nc = new NetConnection();
        nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
        nc.client = this;
        nc.connect("rtmp://192.168.0.5:80/livepkgr/");
       public function setUserCount(userCount:Number):void{
        userCountText.text =  userCount.toString();
       private function onNetStatus(e:NetStatusEvent):void{
        if(e.info.code.indexOf("Success") != -1){
         currentState = "LoggedIn";
      ]]>
    </fx:Script>
    <s:Panel includeIn="LogIn" x="10" y="10" width="250" height="200" title="Log in to my app">
      <s:Button x="89" y="64" label="Login Now!" click="button1_clickHandler(event)"/>
    </s:Panel>
    <s:Label includeIn="LoggedIn" x="150" y="136" color="#0E55F6" fontSize="20" text="You are now logged in!"/>
    <s:Label includeIn="LoggedIn" x="151" y="94" width="214" color="#8C2222"  id="userCountText" text=""/>
    </s:Application>
    main.asc
    application.onConnect = function(client)
      application.acceptConnection(client);
      userCount = application.clients.length;
      client.call("setUserCount", null, userCount);
    1.  I released this project.
    2. I got released files.
    3. I copied these files to FMS's webroot and main.asc file also.
    4. I connected this server by remoted PC. I could connect. And I clicked the button.
    http://xxx.xxx.x.x:8134/UserCount/UserCount.html
                         NO REACTION
    5. So, I checked break-point setUserCount. This method is called by SSAS.  I wanna know  this method is called or not. But There's no break. That means main.asc is not working.
    Pls let me know what is my mistake.
    Thanks in advanced
    Kevin.

    Thank you for reply. Nitin.
    I followed your explain.
    But I can't connect to server.
    When remote users connect to server, they connect http://<server-ip>/<app-name>/<app-main.html>/
    This path is /fms/webroot/<app-name>/
    NOT /fms/application/<app-name>/
    I'm very confusing.  Please give me a favor.
    Thanks.
    Kevin.

Maybe you are looking for

  • Create and Pack Handling Units in the Sales Order Using HU_CREATE_ONE_HU

    Hello Experts, I am trying to use HU_CREATE_ONE_HU function module to create a handling unit and pack it with specific line items in the sales order program in the background.  I am able to create the handling unit and pack it but it does not get ass

  • Is there a way to determine the equivalent ANSI C code from a Labview project?

    I'm a complete beginner to Labview.  I have this fairly complex Labview project that was used to create a DLL which matlab could call to control my PCI-6534 card without having to know the NIDAQmx calls. I'm in the process of figuring out how to make

  • Field in  Payment term

    Hi, I would like to display on invoice 2% 30, net 31 but actually the system should cound 2% 40, net 41 which I will be doing in OBB8 In OBB8, it had 2 fields, sales text and own explanation.. From what field does the invoice takes the text.. Can any

  • IPod software server could not be connected

    I receive this error when I try to update my iPod. I confirm that my internet connection is live before I do so. My link to my wireless router is broken after I get the error message. There is probably a way to reconnect it but the only way I know is

  • Lineshape problems when selected

    Hey I need a little help w/ my line shape and shape container. I've looked everywhere on the internet and can't seem to come up with an answer. Part A of the problem: In my form I create a shape container container and add some lines to it (at runtim