Passing a parameter to a transaction iview

Hi all,
I have a C# web app that is accessible via a url iview. I redirect the user to a transaction iview.
But, I want the transaction iview to display data, which is retrieved from SAP R/3, to be relevant to that particular user. I want to use the user's business partner id, as a parameter to pass. Maybe through a query string?
Does anyone know how I could go about doing this?
Many thanks.
I swear I'll reward many, many points for help that gets me through this.

Eric, you’re the man. Trust me, you were pivotal in helping me solve this challenge. I'm sorry I hadn't mentioned you in the previous post.
As for the solution, yes indeed, we're assigning the application parameter dynamically. The difference now is that instead of a session object, we're using a drop down list.
So from the iView, the user makes a selection from a drop down list (which is dynamically populated), which contains their id numbers (value) and the associated names (text). Upon the user pressing a button, the selected value (id number) is fed into the query string. At that point, the application redirects to the url and we get our transaction iView.
Below are portions of the actual code:
sBaseURL = ConfigurationSettings.AppSettings
["WebAccountsBalance"].ToString();
sQueryString = "?System=<system alias>&
TCode=<transaction code>&
GuiType=WebGui&OkCode=true&
OkCodeField=&~okcode=true&
ApplicationParameter=FKKL1-GPART=" + ddlAccounts.SelectedValue.ToString();
Response.Redirect(sBaseURL + sQueryString);
Thanks again Eric. :o)

Similar Messages

  • Pass PO Num parameter to SAP transaction iview

    Hi,
    I have a table column in my WDJ application that contain PO number.
    I have created an SAP Transaction Iview for TCode me23n (display po).
    When user clicks on the PO number in the table column, it should dynamically pass the PO number to the transaction iview and display ME23N for that particular PO.   How can I pass the PO to this SAP transaction Iview?

    Hi,
       You cannot do it with ME23N because the PO number field is not editable for this transaction. You have to navigate via the top-level menu to enter a new PO number. But you can do it for ME23, the older version of PO display.
       You will need to know the screen field name as well as the ok code that's fired when the user hits enter on the entry screen for ME23. Assuming you have the string for the PO number already from the table, you could use this code:
    WDPortalNavigation.navigateAbsolute(
    "ROLES://<pcd path of the SAP transaction iview>",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    "RM06E-BSTNR=<PO string here>&OkCode=AB"
    true,
    true);
    Regards,
    Satyajit

  • Passing a Parameter to URL based Iview BW report

    Hi,
    Can anyone let me know how to Pass a Parameter to a URL based Iview BW report.
    The URL is as follows: I have the Variable Name as VAR_CISNUMBER and the Value for it should be Populated as 100020.
    http://cnqdc01605.bsp.corp.net:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=CR_QUER1&VARIABLE_SCREEN=X&DUMMY=2
    Immidialte help will be Very much appreciated. Lots of Post are there related to this but none of them is solving my issue. If any one can use the same URL provided above and give me Proper URL which will fetch me correct record.
    Regards
    Vishwanath
    Message was edited by:
            Vishwanath Srinivasan

    Hi Vishwanath,
    this URL should work:
    http://cnqdc01605.bsp.corp.net:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=CR_QUER1&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=VAR_CISNUMBER&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=100020
    Regards,
    Nils

  • Passing multi-value parameter to a transaction iView

    Hi all,
    Here is my problem, I try to feed a selection-option (multi value) from the "DynamicParameter" section of the url.
    For example I use this URL, to feed the select-options with A, B and C:
    http://XXX:51000/irj/portal/test?DynamicParameter=S_opt-LOW=A;S_opt-LOW=B;S_opt-LOW=C
    But I only get the last value.
    Is it possible to load multi values in a selection option from the url ?
    How?
    Let me know.
    Thanks.
    Judicael

    Hi Judicael,
    The dynamic parameter must be URL encoded.
    http://XXX:51000/irj/portal/test?DynamicParameter=S_opt-LOW%3DA%26S_opt-LOW%3DB%26S_opt-LOW%3DC
    %3D is the URL-encoding for "=" and %26 is the encoding for "&"
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm
    Regards,
    Min

  • Passing parameters to an ITS Transaction iView Table from Webdynpro Java

    Hi,
    I am calling the IW44 transaction from Webdynpro using ITS, and would like to pass a list of Confirmation Numbers as screen parameters. When I pass parameters to AFRUD-RUECK, I can fill one cell, but my question is how to fill up each row as the technical name will be the same?
    Thanks

    Try this
    <AFRUD-RUECK1>=<parameter1>
    &<AFRUD-RUECK2>=<parameter2>
    [http://help.sap.com/saphelp_nw70/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]

  • How to pass parameter into transaction iview ?

    Hi experts,
    I want to know "how to pass parameter into transaction iview ".
    Regards,
    Krishna Balaji T

    Hi Krishna,
    Not sure if this can help you.
    1) Passing a parameter to a transaction iview (I saw a resolved suggestion)
    Passing a parameter to a transaction iview
    2) Passing a parameter from the portal to R3 (helpful info for you)
    Passing a parameter from the portal to R3
    3) Create SAP Transaction iView using SAPGUI for Windows (Great Blog and info about TA Iview)
    Create SAP Transaction iView using SAPGUI for Windows
    Please check the following link for Transaction Iviews
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
    Just some info: Portal is basically what the end user can see. What he can do, is still maintain in the backend system. If there are parameters setup already for the user in the backend system (in SU01), then those parameters should still valid for the transaction that the parameters are linked to.
    Hope that helps and award points for helpful suggestions.
    Ray

  • Running a transaction iView

    Hi,
    I have created a transaction iView that is called from my WD Application using WDPortalNavigation.navigateAbsolute.
    I am passing a parameter to the transaction iView successfully.
    My question is, how do I send also an excute command, like F8, to the iView. I mean that after the iView is called with the parameter, it will also be executed automatically (as if I press F8 in the SAP Gui).
    Thanks in advance,
    Aviad

    Hi Durairaj,
    Thanks for your help.
    When sending the OKCODE=ONLI it is as if I have pressed the Enter button. meaning, all fields are set.
    But now I want also to run the transaction automatically, as if I press F8.
    Any idea how to do this?
    BTW, I am running transaction ZPMP with OKCODE=ONLI is it correct? How do I know the correct OKCODE?
    Thanks,
    Aviad

  • Passing dynamic data from UWL to transaction iview

    Hi Experts,
    Can some one please suggest how can we take data from UWL task to a transaction iview on click of button.
    I have a webdynpro java sceen which is coming as a task in UWL of a user. When user clicks on Button with complete event, i have to get data from the Webdynpro Sceen and set data to a transaction iview. This means i cant har code the data in Application parameter of transaction iview.
    Catches here are:
    1. Passing data from UWL to Transaction Iview.
    2. Data is dynamic i.e. is entered by user through web dynpro screen.
    Thanks in advance.
    Regards
    Pranav

    Hi Scott,
    Thanks for reply. But i am not understanding the solution provided by you. I think these are ABAP FM and are used user management. I am working in Netweaver environment CE7.1.1.
    Regards
    Pranav

  • Missing Result state for Transaction iView!

    Hi,
    I seem to have run into a strange problem - I created a SAP Transaction callable object (NOT an SAP Transaction iView from the Portal) as part of a GP. I have three steps in the GP with this transaction object being the second in the line.
    When the transaction object finishes (when the user clicks Complete Step), it needs to move on to the next step - a background callable object.
    The problem is that there is no result state created for the transaction object! Without the result state, I naturally cannot define the next target for execution. So the question is, where is this missing result state? Or, what do I need to do to direct the process to the next step?
    Bye,
    Sameer

    Hi Chandan!
    Yesterday I also found an SAP Note that says that the SAP Transaction CO is now deprecated and that one should use a transaction iView from the Portal.
    But all this brings me to the question, how do I pass a parameter to the transaction?
    It was possible through the SAP Transaction CO, but it had no result state. Now I have a transaction iView with a result state but seemingly no way to pass a parameter!
    I want to use the transaction VA22 to allow the user to change a quotation. The quotation number is to passed to the iView from a WD program in the previous step. It was possible to define an input parameter in the SAP Transaction CO with the technical name of the transaction parameter. But now in the Transaction iView CO, I cannot enter the Technical name with a "-". Since the parameter is VBAK-VBELN, I don't understand how it can be done..
    Could you help out here with the whole business?
    Sameer

  • Transaction Iview - Parameters

    Hi,
    I have a transaction iview wherein i want to pass the parameters.
    I have checked that static parameters are getting passed.
    But my requirement is of passing portal userid to the transaction iview.
    How is it possible.
    Regards,
    Priya

    The portal userid is normally the same as the username inside the ABAP system. This can be retrieved by looking at sy-uname inside the ABAP transaction.
    If you want to pass user specific parameters from the portal, then you should look at the generic application launcher. It uses a specially formatted URL to start a web site and can pass user information.

  • Error while passing Application Parameter in Transaction iView editor

    Dear all
    I am trying to pass some application parameters to one of the transaction iViews. Without passing any parameter in 'Application Parameters' field of the iView editor the iView can be previewed/displayed fine. But when I am trying to pass the parameters as follows <Screen_Parameter1>=<ABC>&<...>=<...> the preview is coming up with a Portal runtime error saying that the <Screen_Parameter1> is an invalid terminal property of the root context_
    Can anybody help me out with this?
    MAQ

    In any application parameter field u need pass screen_field
    u need to find the screen_field value first .
    login to backend ECC server , give u r required Tcode .
    click in  required field , press f1 -> click on Technical setting icon on top .
    in that screen , screen_field is the last field .
    copy  this screen_field value
    place ths screen _field value in application parameter field .
    example : rs38-programm=ztest
    here re38-programm is the screen field
      ztest is it's value .
    & this is used for the separator between 2 values

  • Pass Parameter to a Transaction Using Transaction Iview Portal

    Dear Experts.
    I have the following doubt:
    The developer ABAP created a program Z_PROGRAM_ABAP
    and a T.Code Z_CODE_PROGRAM for this program.
    I have created a Transaction Iview in the portal for this transaction, but I need pass a value in the Iview  to a variable in the program that call this transaction.
    How can pass a paramete to a variable in the program that is called with the transaction Z_CODE_PROGRAM?
    Thank In advance for your help.
    Best Regards
    Carmen G.

    Hi .
    I have the following code:
    REPORT Z_PROGRAM_ABAP.
       parameters: XYZ type Char no-display.
    if XYZ = 1.
    Write 'ABC'.
    else.
    Write 'MNO'.
    endif.
    And in the portal:
    Application Parmeter    :  XYZ = 1
    Parameters Forwarded: 1
    The problem is that i not want that the user can see the parameter XYZ in the Sreen. When I delete the NO-DISPLAY of the sentence    parameters: XYZ type Char no-display, the parameter is passed.
    How can solve this issue?
    Best Regards
    Carmen

  • Transaction iView - pass web dynpro parameter

    Hi!
    I created a web dynpro (ABAP) iView with a button on it. Selecting the button opens a transaction iView. (SAP GUI for Windows) I want to pass a web dynpro parameter to the SAP GUI iView and write the value of this WD parameter into a screen field at SAP GUI.
    I suppose I have to use 'Application Parameters' as described at [help.sap.com|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm], but until now any attempts failed...
    Best regards,
    Sandra

    Hi Sandra, did you solve this? I am facing the same requirement.
    Thanks

  • Passing  parameter from transaction iview

    Hi,
    We have a case of invoking a transaction iView from a WebDynpro application. I need to pass the parameter from transaction ivew to webdynpro application. Any pointer to this will be really helpful.
    thanks....

    Hi,
    While you are performing portal navigation from WD iVew (using navigateAbsolure() or navigateRelative()) to Transaction iview in that call itself you will get one of the parameter as business parameter. You could set the application parameter during portal navigation.
    Regards,
    Murtuza

  • How to pass parameter to a callable object made of transactional iview ?

    Hi All,
           I was trying a simple scenario of executing a SAP transaction during a process.This is how i prceeded:
             1.I created one Transactional iview.Its working fine.
             2.Then created one callable object out of this iview taking some input        parameter  which are required during transaction execution.
             3.I included the callable object in a process.
                   Now if i execute the process then it shows me the screen to give the
    input parameters.But i give the input parameters,it simply opens the transaction.It
    doesn't run the transaction with given inputs.
                    I guess there are some more steps required for interfacing so that
    parameters can be passed to the transactional iview for execution.
                      Can anyone help me out.
    Thanks and Regards
    Ashis

    Hi.
    How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
    But I created only processes where input value doesn't matter. I haven't use mapper yet too.

Maybe you are looking for

  • Is it possible to default jsp to open in source tab rather than design

    I am using JDev 11g prev1. is it possible that when i click on a jsp it opens the source tab rather than design. design view for jsp is really of no use.

  • Is there a way to password protect just email?

    I'd like to be able to set my mail to a password, so that if/when someone else is using my phone they can't read my email. I want the easy access of it on my main screen, but I want to be asked to enter a password before reading it. I don't want to l

  • Too many Parameters in the Selection Screen

    Hi all,       I have a requirement to include too many parameters in the selection screen. Let me explain the scenario.   1.  There is an option for Output File name previously. But now i need to provide fields for 5 to 8 file names in the same  Sele

  • I had to reinstall my OSX and now can't find all of my music and files

    My system was not verifying all of the files that I required to run optimally so the system told me to reinstall my disk 1 of my OSX.  I did that and then had to f/u with the Snow Leopard CD.  Now I can't seem to find any of my music/files and it's l

  • PPR in Service Order

    Hello, does anybody have an idea, how to activate PPRs for Service Orders. I can customize them for Service Contracts, this is fine, but I also need them in Service Orders (which are not linked to a Service Contract). I checked the possibility of Pro