Getting Return Code for cl_gui_frontend_services= execute

Hey,
im using the static method cl_gui_frontend_services=>execute  to start a program locally. The program is openens synchronously and i need to get the return code of the program. I mean not the one from the method-call but from the external tool on OS-level.
Is there a way to get that one ?
Thanks and regards,
oliver

well seems there is no way...solved it now over a result-file which is get written by the called tool and later read by sap.

Similar Messages

  • Getting return code as 1 for SD_SHIPMENT_PROCESS_HU

    Hi All,
    Could you please tell me what is the use of SD_SHIPMENT_PROCESS_HU function module.
    I am debugging one standard program in that after processing  this FM in  SD_SHIPMENT_PROCESS Function module getting return code is 1.
    Could you please tell me,what might be the reason.
    Thanks in Advance.
    Regards,
    Rama.

    Hi Rama,
    if you will look into the specified function module
    CALL FUNCTION 'SD_SHIPMENT_PROCESS_HU'
      IMPORTING
        e_logfile =                 " v56e_logfile
      CHANGING
        c_activities =              " v56e_shipment_activities
        c_shipment =                " v56e_shipment
      EXCEPTIONS
        ERROR = 1                   "
    so if you are getting returned code as 1, it means there is any error.

  • I scratched the label off on a £25 gift card and it removed the code. How can I get the code for the card?

    I scratched the label off on a £25 gift card and it removed the code. How can I get the code for the card?

    Click here and request assistance. Gift cards are usually if not always final sale because it would be easy enough for someone dishonest to abuse returns or replacements of them.
    (58640)

  • Choosing the Return code for a scenario

    Hi,
    I execute an ODI scenario "AAA" from Unix with the command startscen.sh
    Can I control the return code of called screnario?
    IN the scenario "AAA" (=package) i have different path with ko/ok. I would like to choose a specific return code for each ko path. Is it possible ?
    Thank you very much.
    Best regards,

    How you creating this file? Why you couldn't create without enter?
    But, however, see solution in that case:
    File 1.sql:
    select 1 from dual;File 2.sql:
    select 2/0 from dual;File 3.sql:
    select 3 from dual;File exec_sql.sql:
    WHENEVER SQLERROR EXIT
    @&1
    @&2
    @&3And you need to generate file as this "test.sql":
    define f1 = 1.sql
    define f2 = 2.sql
    define f3 = 3.sql
    @exec_sql &f1 &f2 &f3Regards,
    Malakshinov Sayan

  • Not Getting Key Code for ALT key

    Hi,
    I am having some trouble in getting key code for alt key. Can Any one help in it.
    I am sharing for source code the way I am trying to do it.
    import flash.events.KeyboardEvent;
    stage.addEventListener(KeyboardEvent.KEY_DOWN, function(e:KeyboardEvent){trace("Key== "+e.keyCode); txt.text=""+e.keyCode;});

    Hi Amanpreet,
    The code i posted was a working example to detect Alt + click. You can try pasting it in the Actions panel of a blank AS3 file, Test Movie, press Alt and Click on the blank area of Stage and see that the trace statement appears in Output panel.
    Flash does not return the keycode of Alt key directly but lets you detect if Alt was pressed or not using 'event.altKey'. This boolean property is available for both Keyboard and Mouse events.
    You can try another sample: (This will only work when you Test Movie on Browser)
    //Place a dynamic textbox named 'txtStatus' on stage to display the text.
    stage.addEventListener(KeyboardEvent.KEY_DOWN, keyHandler);
    function keyHandler(e:KeyboardEvent) {
           txtStatus.text = e.keyCode.toString(); 
           if(e.altKey)
                txtStatus.text = 'alt pressed';
    When you Test Movie in browser, you'll need to click on the Stage area once to set it in focus. Also make sure to embed your fonts or set 'use device fonts' Anti-alias setting to display the text correctly.
    -Nipun

  • Error Getting return code while FTPing file through JAVA

    Hello experts
    My requirement is to send file to Mainframe server in a JOBQ.I used a socket to connect to server. A designated FTP ID is provided for authentication.
    I tried to FTP file to mainframe sever, but while getting return code from server, i m recieving Junk values.I am reading return code through BufferReader.readline().
    I have set up the connection mode to ASCII mode.I tried to set up the connection mode to EBSIDIC mode too, but i revieve the same error.
    Any one have tried to FTP file to mainframe in got the same error.What could be the possible reason.
    Here is the error looks like :-
    Inside SocketClient() class, in connect(String hostname, int port) socket = Socket[addr=xxx.xx.xx.com/xx.xxx.xx.xx,port=21,localport=2500]
    Inside SocketClient() class, in connectAction() method (InputStream) input = java.net.SocketInputStream@696fc610
    Inside SocketClient() class, in connectAction() method (OutputStream) output = java.net.SocketOutputStream@695b8610
    Inside FTP class, in __getReply() method _controlInput = java.io.BufferedReader@15370617
    Inside FTP class, in __getReply() method Line = ��&�&#63641;����(��&����/������<�������<&#63641;��|(?>
    Any help in this topic is appriciated
    Regards
    Samit

    This is the third party API's i have used
    http://www.enterprisedt.com/downloads/ftp.html
    download this.
    Version 1.2.1 (Jan 29, 2003). Download here. (tar.gz format. WinZip will unpack this). Compiled/tested for JDK1.4.x. Will work for 1.3.x etc

  • Hard drive died.  Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Hard drive died.  Cannot uninstall CS3 to remove copy registration. Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Thank you Bob.
    Just to clarify - in terms of backing up one set of these, would that just be so I had it on disk and didn't need to re-download from Adobe if the installation got corrupted somehow?  Or do I need a backup for some other reason?
    Thanks

  • How can I get redeem code for free upgrade for OS X Lion

    I had register for serial No: of Mac Pro already but not get redeem code for free upgrade OS X Lion. How can I get the redeem code?
    Best regards,
    Noiloso

    I do not understand why I can not redeem code. Certain that when you buy. Someof you may E-mail.

  • Get return code in command line

    Hi,
    Is possible modify or get return code diferent 0 or 1 when start scenario using command line?

    i use control+M, and result with erros in E$, send to "hospital" whit this

  • Error in LSMW getting return code 6

    Hi all,
                 i Am getting a  Error in LSMW getting return code 6 , after asign a file , in the read data step i am getting the error , please help me it is very urgent,
    sridhar

    Hi,
    If the Sy-Subrc is 0 then Success, if the Sy-SUBRC is 4 then failure, if the Sy-SUBRC = 6 then the user might be not access to read the file
    AUTHORITY-CHECK sets SY-SUBRC to 0 if the user has the necessary authorization, otherwise 4, 8, 12, 16, 24, 28, 32, or 36 depending on the cause
    Regards
    Sudheer

  • Transaction code to find return code for transport request

    Hi,
    I want to see  the return code for transport requests after importing to QAS from DEV. What is the transaction code to find return code and can you explain in brief.
    Thx,
    Vasu

    you can check it out in STMS
    wht you can do is ,,
    Run Tcode STMS > Overview imports (F5) > you will find all import queues > then click on the import queue in which u want to see the status of transport (DEV , QAS , PRD )
    > then find out the transport no > click on that > then click on logs or press ( ctrl + f4)
    Return code
    Meaning
    0000
    Transport performed without errors
    0004
    Warnings were issued. All objects were transported successfully. There were special actions for individual objects that may not have been intentional, for example, a warning is issued during the export if the request contains an object deletion.
    Read the warnings.
    0008
    Individual objects could not be transported successfully. You must analyze and correct the errors. Examples of import errors: Original object was not overwritten, Repaired object was not overwritten
    0012 or higher
    A critical error has occurred, probably not caused by the contents of the request. You must inform your system administrator.
    http://help.sap.com/saphelp_nw70/helpdata/en/57/38e26c4eb711d182bf0000e829fbfe/content.htm
    Hope this information will help you ,,
    Cheers
    dEE

  • Error handling return code for Provide Statement

    Hi Experts,
    For select statement we have error handling return code sy-subrc.
    What is the error handling return code for provide.. end provide statement.
    Thanks,
    Ragu

    Ragu,
    Same thing.
    Check sy-subrc.
    sy-subrc is the return code for all ABAP statements as far as I know.
    Regards,
    Dilek

  • Not Getting Verification Code for OpenWap, Liquoi and Connect A2 App

    I Have purchased the Firefox OS phone but i am Not Getting Verification Code for OpenWap, Liquoi and Connect A2 App

    Unfortunately, we do not provide support for apps. You should contact the developer of the app for more information. From what I can see, you are not getting anything from all apps. A simple thing you can to do is to reboot the phone.
    To reboot your phone:
    #Take the back cover of the phone off.
    #Take the battery out.
    #Take the SIM card and microSD card out (if applicable).
    #Wait 10 seconds.
    #Put the SIM card and microSD card back in (if applicable).
    #Put the battery back in.
    #Put the back cover back on.
    #Turn the device on.
    #Check if the issue you were having is still present.
    Please report back to us if this solved your problem!
    Thank you

  • Communication b/n iviews --- Can we get the code for SAP's standard iviews?

    hi All,
    I have a requirement where I have to pass the user input data obtained in a standard iview(provided by sap) to a custom built iview and process it from there.
    If I have to use the EPCF's client data bag for this purpose, I must be able to edit the code which produces the standard iview(provided by sap) which I think is not possible, as we cannot get the code for the standard iviews provided by sap.
    Have anybody come across this kind of issue? If so, can you help me in solving this issue? Is there any workaround for this?
    Any input in this regard will be of great help to me and will be suitably rewarded.
    Thanks & best regds,
    Alagammai.

    hi George,
    Tnx a lot.
    But I have already tried importing par files into NWDS. I am not able to see any source code(like jsp or java)which can be edited. I am able to see only class files.
    Does that mean that the class files are to be decompiled, edited, compiled and then uploaded to the portal?
    best regds,
    alagammai.

  • GETTING HTML CODE FOR A SLIDESHOW

    How can i get HTML CODE for a slideshow recently created using Photoshop Elements 8.  I also added AUDIO both from my own audio folder AND from PE8 audio selections.

    What operating system are you using?
    On a windows system, I think you need to use the Share>Online Album in the  PSE 8 Organizer and then save the result to disk to get something with HTML code.
    The standard create slide show only outputs as a pdf or a movie format file.

Maybe you are looking for

  • How can I delete my Icloud on Phone 4s I have to use a new apple id but icloud wont let me reset on the old email?

    How can I delete an old ICloud acct from my Iphone 4s. It wont except my password from old email and it wont send me the reset password to my mail ?

  • Apple TV Home Sharing Device Limit

    I have 6 brand new Apple TV units and one windows computer running iTunes.  My plan was to use the computer as a media server which I would put our DVD´s, CD´s and existing itunes movies, music and photos on.  We could then access everything from the

  • Error in opening Fiscal Year by Dep. Area

    Hi All, We have following Depreciation Areas: 01 - Book Depreciation and 10,11,12 & 13 for Tax Depreciation. I am trying to open Fiscal Year 2014 for Tax Depreciation Area only by using T-code OAAR, system is giving me below error message: You also h

  • Center text inside shape in titler?

    Is there any way to center text inside a shape within the titler?   For example let's say I use the Rounded Rectangle Tool to create a shape and put it in the lower third of title area, then use the Text Tool to type in a line of text.  For now I'm h

  • Change of 'Totals table' for a Ledger.

    Hi, 1. We are planning to do a prototype scenario on new GL by using SAP standard totals table FAGLFLEXT 2. The same client will be used for final development by using custom developed totals table ex... ZZABCT Question: Is it possible to change the