Return code and handle

Back to basics! but I do not have clear idea of what the "Return Code" and "Handle" are? I have a small VI that I want to incorporate into another VI. WHat role these two terms play such case?
Thanks 

Sorry about ot being clear about my issue. I have a Trigger Enable VI that someone (in fact, a company whose DAQ card we use for our experiements) wrote for us. The VI, when corrently incorporated into the main VI (which performs data acquisition and analysis) will trigger the acquisition system at right instant and gather data for next 1/10 sec.  The main VI controls the DAQ card installed in our computer. It takes two signals (f=25KHz) as inputs from 2 photo detectors. The card can take the ramp output (f=10Hz, Amp=1Vpp) from an external signal generator and should begin DAQ and processing when the ramp signal reaches its peak (+0.5V) and continue taking data until it reaches trough (-0.5V), i.e. 5000 samples in one cycle of trigger signal.
Now, the main VI has multiple Sub-VI's and one of them configures the card for input signal levels, trigger levels, etc. This sub-VI also has a couple of sub-VIs regarding the extermal triggering. Since I figured that the Trigger Enable VI will have to be placed inside this VI, I was looking at the block diagram of the Trigger Enable VI and the two outputs it has are "Handle Out" and "Return Code". I am not sure what they are/mean hence the post.
Thank you  

Similar Messages

  • Regarding BDC return Code and calculation part.

    hi guru's..
    i have a req.. which tells abt transfering legacy datainto SAP using FB01 Tcode.
    here after processing the flat file i have to update the return code of the session and total no of docs, total amoount and the posted documents and their amount in
    a Ztable. How can i get the return code and the total amount for successfully processed records as well as for unsuccessful records with their total no. of records after processing the flat file.
    <b>Rewards will be given for helpful answers</b>
    Chandra

    In ur code U will be having the syntax for prosting in FB01.
    CALL TRANSACTION 'FB01'
                                              USING bdcdata_tab
                                              OPTIONS FROM opt
                                              MESSAGES INTO t_msg
    This message tab will contain all the messages returned by FB01. if the posting is sucessfully done  - the message tab will contain the message ( it will contain error messages in case it fails to post).
    So u can tap the messsages from here and report accordingly to ur output log.
    Cheers
    SKC.

  • Goods return Error and handling rejections

    We're trying to develop a process to handle the repair of one of our
    converters, but   we need to return a component of the returned
    converter into inventory so that it can be rejected and sent back to
    the vendor for repair using our Quality Material  procedure.
    We decided to try the ByProduct functionality. On the production order
    that we are performing our repairs on, we manually added a component
    for the transformer we need to return to our vendor with a qty of -1.
    We then try doing a MIGO with a movement type of 531 to bring the
    transformer into inventory so that it can be rejected and returned for
    repair. When we try to post the migo we get the error stating "  Account XXxx4xx must be posted as group account ZZxxxxxx with trading partner"..

    Hi Raj,
    U can make GR for  By product with MVT type 531 at MIGO for Order.
    And one more way, is set the backflush indicator  & stoarge loaction for By product component at "component over view" of the Prod order & confirm the order, sytem will make GR  posting for By product.
    Please let us know "Error message Number" for the Error which u are getting at MIGO.
    Regards
    Pradeep

  • STMS return code and status on imported request

    We have a couple of transports that were imported in our Production system in 2008.
    When I go to STMS under rc the status is a gray diamond and under ST the status is green.
    They were imported in 2008 any reason why the RC status it's not green.
    Transports were imported successfully.
    Thanks
    Joe

    Hello
    grey means no import steps performed yet and green under ST mean the request is waiting to be imported. So grey and green are not contradicting each other here. You said they were imported in 2008. At a guess i would say they have since been added to the buffer again?
    You can easily confirm that from the logs in STMS. If u see a "selection for import"  - it means the same as addtobuffer on command line level
    Regards
    Ken

  • Return code 127 for gzip command

    Dear All,
                 While i am trying to ZIP a flat file using below piece of code,
      CONCATENATE 'gzip'
                  lf_unix_fnam
                          INTO lf_folder_z
                                SEPARATED BY space.
      CALL 'SYSTEM' ID 'COMMAND' FIELD lf_folder_z
                    ID 'TAB'     FIELD lt_result.
    This code was working previously.  But now it is returning an 127 as return code and my file is not getting zipped due to this. Any details about return code 127 would be a greate help.
    Thanks in advance
    Jijeesh

    Hi Sai,
    CONCATENATE 'gzip'
    lf_unix_fnam
    INTO lf_folder_z
    SEPARATED BY space.
    CALL 'SYSTEM' ID 'COMMAND' FIELD lf_folder_z
    ID 'TAB' FIELD lt_result.
    in my lf_unix_fnam i have /transfer/data/DEV/file1 which is the path and file name.  so for lf_folder_z I will be having gzip /transfer/data/DEV/file1
    so after above command I am expecting file1.gz in path /transfer/data/DEV/
    but i am gettting a return code 127.  Could you please help.
    Thanks in advance.
    Jijeesh

  • 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 /SAPAPO/OM102, return code 40,015 in APO DP

    I am using APO DP V5.
    In interactive DP, we are getting error /SAPAPO/OM102 with return code 40,015.
    Had anyone had experience of this?
    Thanks,
    Bob Austin, Atos Origin.

    Hello,
    As per my understanding of your qurery...
    You are accessing intractie Demand planning
    that time you are getting error.
    /SAPAPO/OM102 Return code 40015
    With the above understanding ... I am trying to reply your query as
    When I tried to execute transaction /SAPAPO/OM10 - Display Meaning of Return Code
    And entered return code 40015
    I received Display messages as "Date is before start date of time buckets profile"
    ON long text it is "Date is before start date of time buckets profile
    Message no. /SAPAPO/OM_TS015
    Diagnosis
    The date lies before the start date of the time buckets profile used.
    This problem is due to an error in the application.
    Procedure
    Open an OSS message in accordance with SAP Note 167280.
    Please check the details above.
    In Intractive demand planning what type of work you were doing during this error occured?

  • SY - System fields and return codes in ABAP

    Hi
    I'm new to ABAP, where do I find what the meaning of the system field return codes are ?
    example SY-SUBRC returns a number of codes 0, 2, 4, 8 etc what do they mean.
    Is there a resource somewhere that provides this information for all the system fields.
    I have searched high and low and have found little, they must be defined somwhere ?
    cheers Hugh

    Here is a listing of all of the system fields.
    http://help.sap.com/saphelp_scm50/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm
    As for what the return codes( 0, 4, 8) for SY-SUBRC mean,  that is a little tricky.  The meanings of the values are dependent on what statement was used previously. They would mean different things when used with different statements.  For example, if you check SY-SUBRC after a FIND statement, the return code value 4, would mean something different than if you had check the SY-SUBRC value after doing an OPEN DATASET.  So you need to look at the specific statements in help.sap.com and see what it says about the SY-SUBRC values for each statement.
    http://help.sap.com/saphelp_scm50/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Regards,
    Rich Heilman

  • How to use standard Search Input Help (return 2 data code and desc) ?

    Hi,
    Please advise how to use standard Input Help provided by SAP and return 2 data (code and description) ? because the standard Input Help only return the code only ?
    Thank You and Best Regards
    Fernand

    >
    Saket  Abhyankar wrote:
    > Hi,
    >
    > I think you need to go for 'Search Help Exit' or OVS.
    >
    > Regards,
    >
    > Saket.
    That is not true that this is the only way.  The standard Data Dictory based search help can return more than one value as long as there are multiple exporting values defined in the search help, the search help is attached to a Data Dictionary Structure, and this same data dictionary structure is used as the source of the context node. You can read more about this in the online help:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    The Note section under Integration:
    If an input help structure is stored in a field in the ABAP Dictionary, and if you want to use the field mapping of search help parameters stored in the ABAP Dictionary as the field name for the structure for your Web Dynpro input help, then map your context nodes to this structure. This ensures that all components of the structure are available dynamically at runtime as attributes of the node.
    If the context node is not mapped to the structure, the data element's input help can be used if there is one.

  • Index failed for Docs and PDF files with return code 8002

    Hi All,
    I try to index Word documents in a webdav folder in KM. When I add a text document the Indexing completes correctly and I can find the document via the search. When I add a Word Document or PDF to the folder and reindex I get the message Index failed with return code 8002.
    How can I solve this Problem.
    Kind Regards,
    Richard Middelburg

    Hi,
    I have changed the host already from localhost into the hostname of the linux server. I tried this also with the FQDN of the server.  I have entered the following entry
    Hostname linux = sap12
    In the URL generator service = http://sap12
    Must I restart the portal?
    Richard

  • Server returned code (500) with message Internal Server Error and content

    Hi cracks,
    I am trying to run the web service
    InternalRequestSRMUpdateRequestConfirmation_In
    an get following error :
    Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>.
    any idea?
    rgds
    Vincent

    yes,
    you got crash aka shortdump in your system.
    - webserver: didn't crash, because it issued an error 500, so it works
    - remains either the soap runtime, which usually doesn't dump but throw errors and the application itself.
    I'd look into the tracefiles (ST11) or tie the debugger to the service in question (SICF) and try to find out hat happens/d.
    anton

  • Code that handles a set of questions from database and place it on JSP

    Hi,
    How to write a code that handles a set of Quiz questions from database and place it on JSP page..
    Thanks in advance
    Haritha

    975033 wrote:
    Hi,
    I hav got the answer from you r previous link, but not completly. I need help regarding on how to do code that handles a set of questions from database and place it on JSP.
    Any help is highly appreciated.Yes but what kind of help do you expect to get? What kind of help do you think is possible through something as cold and distant as a forum, where you clearly require personal guidance and tutoring?
    If you are going to answer "example code", I should warn you that the answers are not going to be to your liking.

  • Return Code value using 'starting new task' and 'wait until'

    I'm having a minor issue with some return code values in my ABAP.
    This is what part of it used to look like before I modified it:
    With Code in version 1, the sy-subrc was not always zero, sometimes it would be 4.
    That was fine, and my abap would do something based on the non-zero RC.
    had a need to implement an RFC timeout, the only way I could see to do it was to use 'starting new task' etc as seen in Version 2.
    However, with my changes, sy-subrc is always zero.
    The ABAP runs fine but I know that sy-subrc should sometimes be 4, even when it returns within the allotted 60 seconds.
    Maybe I've coded it incorrectly.
    Can someone point me in the right direction?
    #>> Start of VERSION 1
      call function 'MY_FUNCTION_MODULE'
           destination RFCDEST
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
    if sy-subrc is initial.
      * do some stuff as RC was 0
    else.
    * log non-zero return code etc
    endif.
    * << End of Version 1

    And now Version 2.
    I didn't put this into the 1st post as the formatting goes bonkers.
    #>> Start of VERSION 2
      call function 'MY_FUNCTION_MODULE'
           destination RFCDEST
           starting new task 'taskname'
           performing receive_result on end of task
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
      WAIT UNTIL results_received = 'X' UP TO 60 SECONDS.
    if sy-subrc is initial.   << Now this is always ZERO
      * do some stuff as RC was 0
    else.
    * log non-zero return code etc
    endif.
    FORM receive_result USING iv_taskname.
      RECEIVE RESULTS FROM FUNCTION 'MY_FUNCTION_MODULE'
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
      results_received = 'X'.
    endform.                    "receive_result
    * < End of Version 2

  • How to invoke from UNIX script and pass back return code?

    Though I am an experienced developer, I am new to java. I created a class containing a single method. I have performed my testing by running the class class.method from the command line in a UNIX (Solaris) environment. Now, I would like to have the class.method invoked from a UNIX shell script, and to return a success/failure indicator from the method, to the UNIX script. I modified the method to make it return char, rather than being defined as void. Within the class and method, I declared and initialized a char variable. I added a finally clause which contains a single return statement, returning the char return code variable. Within my UNIX script, I invoke the class/method as follows:
    return_code = java myClass
    This does not seem to be invoking the method however. Can someone please tell me what I am doing wrong? Or is more information needed in order for someone to help me out.
    Please let me know.
    Thanks.
    Brad

    stdunbar,
    Using your suggestion of System.exit(retVal); seems to allow the java method to be performed successfully (Thank You). But I am still having a problem with the value being recognized by the shell script.
    In my script, I'm doing the following:
    java MyClass inputparameter > return_code
    export return_code
    echo $return_code
    But return_code does not seem to contain a value. Just before the System.exit(retVal); I added System.out.println("return code = " + retVal ); and I can see that retVal. When I run the java method outside of the UNIX shell script, I can see that retVal does indeed contain a value. So I think my problem might actually be the code in the UNIX script.
    Thanks again.
    Brad

  • HT1998 Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I tried downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    You should not install it again..
    Boot the computer into safe mode and try the uninstall again.
    No luck you will have to manually uninstall which is a pain. Delete the files and open regedit and delete the registry entries.. better still use the system restore to go back to a previous system where you had no 4.2 installed..
    Or just ignore it and install the latest 5.6.1 and if it gives trouble well do a clean install of windows.

Maybe you are looking for

  • Sending email using jsp

    i want to send content of a input text area to particular email id pls replay to [email protected]

  • No video output to 23" Apple from Windows XP

    I just built a new computer with; Intel E6400 CPU, Asus P5W DH Deluxe motherboard and an EVGA 8800GTS video card. This setup will not give me any video output to my 23" Apple display that was working fine before. It will not post into the BIOS. I hav

  • File corrupt when downloading

    i'm trying to download firefox 6 to my pc. windows 7 platform, and when i try to install it, there is a message that says the file is corrupt. ... is there any other secure place where i can download firefox?

  • Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183]

    Hi All, I am trying to create a new numbering series in SAB B1 2007 B PL 14 and facing with this error: Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183] I would really appreciate your advise since new numbering series is not gett

  • Alternate Boot Environment disaster

    Hi - hoping someone can help me with a small disaster I've just had in trying to patch one of my SPARC T4-1 servers running zones using the patch ABE method. The patching appeared to work perfectly well, I ran the following commands: sudo su - zlogin