Output parameters with one name

With regard to Dialog Programming, I need to replicate an existing transaction.  The transaction has multiple ouput parameters that have one common name.  I'm having trouble manipulating these output parameters. 
Do i assign these specific output parameters to one internal table with same name? Can you guys provide a sample code with regard to manipulation of these types of output parameters? 
<b><REMOVED BY MODERATOR></b> Thanks in advance.
Best Regards.
Brando
Message was edited by:
        Alvaro Tejada Galindo

Hi Brando Braganza,
a transaction does not have output parameters - by definition.
The best you can do is write down what you are doing. And please give the names and types of all objects involved.
Then qualified help will come!
Regards,
Clemens

Similar Messages

  • Passing multiple URL parameters with same name

    Hi,
    I have a question which is not entirely related to Java. But although its related HTTP calls, so I thought I might get some ideas here.
    Background:
    I am making HTTP URL call from SAP ABAP code. Its pretty much similar to Java (creating URL connection, setting HTTP headers, connecting, receiving response and everything)
    For example,
    http://service_server:8080/a7/extension.services.SearchRequirements.a7x?RequestStatus=CR&RequestStatus=RR
    Now, this service_server runs a query to database where it uses both these values of "RequestStatus" to form 'OR' condition for a field.
    Issue:
    When I run this URL from browser, it shows XML response containing results for both values. In short, this is the ideal response.
    (I am using getParameterValues(string) at service_server to read multiple values for same parameter)
    But when I see response in SAP system, I see that it is returning data for only one value of 'RequestStatus'.
    I checked the logs of service_server, and I see that it has received only one parameter, not two.
    Question:
    It seems like SAP systems web server is truncating both parameters with same name and passing just one of them to outside server(??)
    Is there any configuration at Web Server side or any HTTP headers to be set so as to avoid this?
    Can anybody suggest something on this?

    I managed to resolve this issue by using HTTP 'Post' method to send the data.
    CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
        EXPORTING
          URL                = L_URL
        IMPORTING
          CLIENT             = L_HTTP_CLIENT
        EXCEPTIONS
          ARGUMENT_NOT_FOUND = 1
          PLUGIN_NOT_ACTIVE  = 2
          INTERNAL_ERROR     = 3
          OTHERS             = 4 .
    "STEP-2 :  AUTHENTICATE HTTP CLIENT
    CALL METHOD L_HTTP_CLIENT->AUTHENTICATE
      EXPORTING
        USERNAME             = 'name'
        PASSWORD             = 'password'.
    "STEP-3 :  SET HTTP HEADERS
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
          EXPORTING NAME  = 'Accept'
                    VALUE = 'text/xml'.
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING NAME  = '~request_method'
                   VALUE = 'POST' .
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_CONTENT_TYPE
        EXPORTING CONTENT_TYPE  = 'application/x-www-form-urlencoded' .
    "SETTING REQUEST DATA FOR 'POST' METHOD
    IF L_PARAMS_STRING IS NOT INITIAL.
       CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
         EXPORTING
             TEXT   = L_PARAMS_STRING
         IMPORTING
               BUFFER = L_PARAMS_XSTRING
         EXCEPTIONS
            FAILED = 1
            OTHERS = 2.
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_DATA
        EXPORTING DATA  = L_PARAMS_XSTRING  .
    ENDIF.
    "STEP-4 :  SEND HTTP REQUEST
      CALL METHOD L_HTTP_CLIENT->SEND
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2.
    "STEP-5 :  GET HTTP RESPONSE
        CALL METHOD L_HTTP_CLIENT->RECEIVE
          EXCEPTIONS
            HTTP_COMMUNICATION_FAILURE = 1
            HTTP_INVALID_STATE         = 2
            HTTP_PROCESSING_FAILED     = 3.
    "STEP-6 :  READ RESPONSE DATA
    CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_CDATA
            RECEIVING DATA = L_RESULT .
    "STEP-7 : CLOSE CONNECTION
    CALL METHOD L_HTTP_CLIENT->CLOSE
      EXCEPTIONS
        HTTP_INVALID_STATE = 1
        OTHERS             = 2   .
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Output Parameters with Application Block's SqlHelper

    Hi,
    I want to use the Microsoft Application Blocks SqlHelper class with some of my stored procedures that have output parameters, but I can't figure out how?
    SqlParameter[] parameters = new SqlParameter[1];
    parameters[0] = new SqlParameter("@SomeID", object.Id).Direction = ParameterDirection.Output;
    SqlHelper.ExecuteNonQuery(this.sqlConnectionString, "spMisc", parameters);
    However, how do I get the value of the output parameter?
    Thanks,
    Weiran.

    Create new method into SQLHelp and get the value of the returned object:
    public static object[] ExecuteNonQueryReturnValue(string connectionString, string spName, params object[] parameterValues)
    if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString");
    if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName");
    int mRet;
    object[] mObjRet = new object[parameterValues.Length];
    // If we receive parameter values, we need to figure out where they go
    if ((parameterValues != null) && (parameterValues.Length > 0))
    // Pull the parameters for this stored procedure from the parameter cache (or discover them & populate the cache)
    SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName);
    // Assign the provided values to these parameters based on parameter order
    AssignParameterValues(commandParameters, parameterValues);
    // Call the overload that takes an array of SqlParameters
    mRet = ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName, commandParameters);
    for (int idx = 0; idx < commandParameters.Length; idx++)
    mObjRet[idx] = commandParameters[idx].Value;
    else
    // Otherwise we can just call the SP without params
    mRet = ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName);
    return mObjRet;
    //Vital
     

  • [GP] Cannot view Output parameters with the wizard

    Hi all,
    I'm using NW200S SP15 and I want to create a callable object as an iView. When IU starts the wizard everything is ok until step 3. At this point the Output parameters section vanishes from the roadmap of the application.
    Strange ?!
    Thanks for your attention.
    Regards,

    Hi,
    Ok I get it. I have reach my first goal thanks you guys
    In fact my mistake was in VC perspective, the properties was not set to  :
    Add Guided Procedure Information regarding the compiler.
    Thanks all of you

  • Compare folders and output files with same name?

    I'm trying to compare two folders and print only the excel files in folder B that have the same names as the pages files in folder A. I've tried using the completedigitalphotography "compare folders" action, but it will only output files that are of the same type, not just the same name.
    Any ideas?
    iBook G4   Mac OS X (10.4.4)  

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • Selecting group of parameters with one parameter

    Post Author: ME55ENGER
    CA Forum: Formula
    Hi, I'm a little new to Crystal (first report), so please bear with me.  I am trying to create a parameter for users to choose from different status types.  These status types are OPEN, CLOSED, COMPLETED, MONITORING, ESCALATED, and FLAGGED FOR QA.  The issue I am having is that I want the user to be able to select from all of these, as well as an OPEN - ALL and a CLOSED - ALL.  OPEN - ALL would include OPEN, MONITORING, ESCALATED, and FLAGGED FOR QA.  CLOSED - ALL would include CLOSED and COMPLETED.  I cannot figure out a formula to use in the select expert that will allow me to do this.  I have an option for ALL, which I used an IF-Then statement to implement (IF {?my param} = 'ALL' then {table.column} like '*' else {table.column} = {?my param}).  I cannot figure out how to accomplish selecting a certain group of these options with an IF-THEN.  Please Help!!!  Thanks.

    Post Author: V361
    CA Forum: Formula
    I stole this from the sample reports in CR XI, hope it will give you some ideas.
    if {?Country} = '...All' then  {Orders.Employee ID}={?Employee}else if {?Region} = '...All' then  {Orders.Employee ID}={?Employee} and  {Customer.Country} = {?Country}else if {?City} = '...All' then  {Orders.Employee ID}={?Employee} and  {Customer.Country} = {?Country} and  {Customer.Region} = {?Region}else  {Orders.Employee ID}={?Employee} and  {Customer.Country} = {?Country} and  {Customer.Region} = {?Region} and  {Customer.City} = {?City}

  • Output parameters or how to return more than one value

    My RMI server retrieves a list of Strings from the database. I need to return a status code int and an array of Strings to the RMI client. Does anybody have any ideas on how to do this. The only way I have come up with is to return an array of Strings using the first array position as the status code. But this is very ugly. There doesn't seem to be any way to have output parameters. I can use "output parameters" with code that lies in the same app by using wrapper classes or arrays but this does not really apply to a client and server running on different machines. Any ideas?

    Well, my general reaction is that you don't need a status code. (You can instead throw an exception if the status is anything but "OK".)
    However, on the assumption that you really DO need the status, then some alternatives are
    o Return an object that has a status code and an array as member variables.
    o In the call, pass in an object that the server can fill in with the array of strings. have the function return the status code.

  • Data template and procedure output parameters

    Hi all,
    I have multiple sql statements and a MSSQL procedure witch I have to call when generating a report.
    Therefore I use a data template.
    The MSSQL procedure I call with EXEC. It returns the table that it sould return and everything is fine.
    Except: the procedure also returns a punch of OUTPUT parameters and I don't know how to catch those parameters in my data template.
    I have declared all these parameters in the BIP and also in the data template, but there are no values for them when I execute the report.
    Here is a my current data template:
    <dataTemplate name="NameOfTemplate">
    <properties>
      <property name="include_parameters" value="true"/>
    </properties>
    <parameters>
         <parameter name="clientID" dataType="character"/>
         <parameter name="dept" dataType="number" /> <!--This is for MSSQL output-->
         <parameter name="forpay" dataType="number"/> <!--This is for MSSQL output-->
        <parameter name="name" dataType="character"/> <!--This is for MSSQL output-->
    </parameters>
    <dataQuery>
         <sqlStatement name="ARVE" dataSourceRef="connection1">
              <![CDATA[
              select
              from
                   OAP.ACCOUNTS
              where
                   ACCOUNTS.CLIENT_CODE = :clientID
              ]]>
         </sqlStatement>
         <sqlStatement name="ARVE_T" dataSourceRef="connection2" fixedSchema="false">
              <![CDATA[EXEC Dept_proc
                   @ID = :clientID,
                   @Volg =:dept,
                   @Ettemaks =:forpay,
                   @Nimi =:name]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="ARVE_TULEMUS" source="ARVE">
              <element name="ACCOUNT_SUM" value="SUMMA"/>
         </group>
         <group name="ARVE_TULEMUS" source="ARVE_T">
              <element name="ARVE_NUMBER" value="ARVENUMBER"/>
              <element name="ARVE_KUUPAEV" value="ARVEKUUPAEV"/>
              <element name="ARVE_LEPINGU_SALDO" value="VOLGUSUMMA"/>
         </group>
      </dataStructure>
    </dataTemplate>Where @Volg, @Ettemaks and @Nimi are MSSQL procedure output parameters that I want to show in my report.
    Can anyone give ma an example how to do this?

    Hi all,
    I have multiple sql statements and a MSSQL procedure witch I have to call when generating a report.
    Therefore I use a data template.
    The MSSQL procedure I call with EXEC. It returns the table that it sould return and everything is fine.
    Except: the procedure also returns a punch of OUTPUT parameters and I don't know how to catch those parameters in my data template.
    I have declared all these parameters in the BIP and also in the data template, but there are no values for them when I execute the report.
    Here is a my current data template:
    <dataTemplate name="NameOfTemplate">
    <properties>
      <property name="include_parameters" value="true"/>
    </properties>
    <parameters>
         <parameter name="clientID" dataType="character"/>
         <parameter name="dept" dataType="number" /> <!--This is for MSSQL output-->
         <parameter name="forpay" dataType="number"/> <!--This is for MSSQL output-->
        <parameter name="name" dataType="character"/> <!--This is for MSSQL output-->
    </parameters>
    <dataQuery>
         <sqlStatement name="ARVE" dataSourceRef="connection1">
              <![CDATA[
              select
              from
                   OAP.ACCOUNTS
              where
                   ACCOUNTS.CLIENT_CODE = :clientID
              ]]>
         </sqlStatement>
         <sqlStatement name="ARVE_T" dataSourceRef="connection2" fixedSchema="false">
              <![CDATA[EXEC Dept_proc
                   @ID = :clientID,
                   @Volg =:dept,
                   @Ettemaks =:forpay,
                   @Nimi =:name]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="ARVE_TULEMUS" source="ARVE">
              <element name="ACCOUNT_SUM" value="SUMMA"/>
         </group>
         <group name="ARVE_TULEMUS" source="ARVE_T">
              <element name="ARVE_NUMBER" value="ARVENUMBER"/>
              <element name="ARVE_KUUPAEV" value="ARVEKUUPAEV"/>
              <element name="ARVE_LEPINGU_SALDO" value="VOLGUSUMMA"/>
         </group>
      </dataStructure>
    </dataTemplate>Where @Volg, @Ettemaks and @Nimi are MSSQL procedure output parameters that I want to show in my report.
    Can anyone give ma an example how to do this?

  • How to overload two different procedure with just one name in to package

    i have created two procedure avg1 and avg2.avg1 calculate average of total salary based on e_id and avg2 calculate average based on j_id.now i want to create a package with specification and body where i want to use just one name -avg- for two different procedure.

    You can overload the same name for procedure as long as their formal parameters differ in number, order, or datatype family.
    Read more about overloading in documentation

  • TS4009 I seem to have 2 iCloud accounts with different names - a free storage that came with my Macbook and one I used when I bought some iCloud space. How can I cancel the free account?

    I seem to have 2 iCloud accounts with different names - a free storage that came with my MacBook and one I used when I bought some iCloud space. How can I cancel the free account? Because of this I can't access iMatch and the ICloud account I paid for on my MacBook
    Any ideas cos its frustrating that I can't access something I paid for!

    Sign out of the account you do not wish to use, sign into the one that you do wish to use.

  • Just updated my iphone. Now I can se I have two? iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first

    Just updated my iphone. Now I can se I have two! iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first account where there is no available password. I have tried several times to reset the password, bun I don't get the information I need - I have no access to email. What can I do?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • How to run a webdynpro multiple times by passing different parameters each time and save webpages with parameter name?

    Hi Experts,
    I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
    Let me step back and explain my requirement:
    In BW we have an object called transformation.
    One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
    I need these web pages for all transformations. This is my requirment.
    I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
    The web link is something like below:
    http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
    When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
    My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
    WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
    Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
    Thanks,
    Raghu

    hello,
    might be a problem with the version you are using.
    regards,
    the oracle reports team

  • HT204053 I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on

    I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on my iphone

    Quote: "You cannot merge two or more Apple IDs into a single one. You can, however, use one Apple ID for iCloud services and another Apple ID for store purchases (including iTunes in the Cloud and iTunes Match). See “Using one Apple ID for iCloud and a different Apple ID for Store Purchases” above for details." See also Apple ID & iCloud FAQ: http://support.apple.com/kb/HT4895?viewlocale=en_US&locale=en_US
    You can set up your iCloud account on your iOS device under: "Settings > iCloud" and a other account for store purchases under "Settings > iTunes & App Stores". Unfortunately merging accounts is not possible but you could transfer all of your music manually via iTunes from your Mac or PC.

  • I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I would also recommend to write the description into the meta data. This would allow to place a text frame above the image and it is possible to add meta information and file name automatically together with the image, when you place it or even in a prepared template.
    Meta data information can be written easily in Bridge in the Meta File Workspace.

  • Photos in my from my iPhone have same numbering as photos from my dig camera.  They all go into iPhoto fine but when I backup to my ext hard drive it will only save one with the name IMG 1002 and I have two separate images both with that name.  Help?

    Photos in my from my iPhone have the same numbering as photos from my digital camera.  They all go into iPhoto fine but when I backup to my ext hard drive it will only save one with the name IMG 1002 and I have two separate images both with that name.  How do I get them all to save on my ext hard drive and hope do I prevent this numbering overlap in the future?  I'm really hoping I don't have to go through and manually rename every single picture.  Thanks.

    How are you backing up the photos?  The best way is to backup the library itself as that will preserve your organizational efforts as well as all metadata like keywords, titles, faces, places, books, etc.
    You can use a backup application that does incremental backups.  Thus only the first backup is a full one and subsequent backups just copy those files that are new or changed. I use Synk Pro.  The lower cost version, Synk, will do the same job.  Other similar apps can be found at MacUpdate.com.  
    OR: upload your camera to a folder on the Desktop. There you can rename the files to something that is more informative than just the file name.  I use the date (international format) along with a brief desc: 2007-1-20-adian1stbday-001.jpg.  File renaming apps can also be found at MacUpdate.com.  Also you can give the folder an informatve name which will become the Event name when you import the folder of photos into iPhoto.
    OT

Maybe you are looking for

  • Std report for activity total

    Hi, we defined over time as an activity.please advise any std report exists to displany total hrs for individual activity per order wise?

  • Thumbnails are not displaying in LR4.4 64bit on I7 laptop with 16gb ram

    I cannot get thumbnails to display the image in library mode. I can click on develop on a particular blank thumbnail (blank thumbnails are dislayed and they are numbered). What settings do I change? I am using an i7 laptop with 16gb ram. Wins 7. Greg

  • Mod_jk2 package for Solaris 10 x86

    I need a mod_jk2 package for Solaris 10 x86 so it will be part of my installation, thus build is not good enough. Can anyone help? Oren

  • Field Symbols - two explanations.

    Hi, Reading the documentation about field symbols, I find two explanations where I want to get to the bottom of it. More exactly: 1) During the assignment of field symbols which have a structure imposed (definition with structure), the system checks

  • BIC Mapping tool Error

    Hi, Hope you have define your FlatFile strucute first and exported to local directory and then generated the XML messsage for the same... after this generated the mapping for the conversion from FlatFile to CSV using CreateEDItoXML instead of XMLtoED