Pass lov value from one page to another page
hi
can any one please help me how to pass selected lov value in one page to another page
iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.
Hi,
Get the value in controller, create a hash map and put that value in hashmap.
Then pass that hashmap in pageContext.forwardImmediately method.
If you want to use that value in multiple pages, then put that in session variable.
--Sushant
Similar Messages
-
Passing the values from one pgm to another pgm (Calling pgm has no sel scr)
Hi gurus,
In my requirement i need to pass the values from one program to another program.
I am using SUBMIT statement . But , the program which i am calling has no selection screen.
So how can i pass the values?
Please help me ASAP.
Regards,
Bhanu.RExport your internal tables or work areas to a memory id in ur program before u use submit.
Then in second pgm you have to import from memory id given above.
example.
EXPORT gs_header FROM gs_header to memory id 'HEADER'.
EXPORT gt_item FROM gt_item to memory id 'ITEM'.
SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.
In your second pgm you can write
import gs_header TO gs_header from MEMORY id 'HEADER'.
import gt_item TO gt_item from MEMORY id 'ITEM'. -
Pass variable value from one dashboard to another dashboard
Hello,
I have one main dashboard which have "year" prompt with drop down and variaous links & also some reports.
And we have same year prompt on another dashboards only difference is, this prompt is editable not drop down.
The requirement is, when I navigate from main dashboard to another dashboard through reports, that time selected prompt value
comes in navigated dashboard prompt.
But When I navigate from main dashboard to another dashboard using Link or using <A Href> tag, now selected prompt value can not come in navigated dashboard prompt.
How can we pass selected prompt value from one dashboard to another dashboard? OR Is there any other technique?
Thanks,
PradipHi,
You need to make the scope of the prompt as 'Dashboard' and if this doesnt work.
Then use presentation variable in the first prompt and pass it to the second prompt.
So this will surely pass the values across pages.
Regards
MuRam
NOTE: Please mention if this resolved your problem/still facing and close the thread. -
How can I pass a value from one application to another through URL
I am passing a value APP_USER from one application to another application (item is P_ASK_U) through navigation bar entrees URL.
This is working with in the application..(javascript:popupURL('f?p=&APP_ID.:165:&SESSION.::&DEBUG.::P_ASK_U:#&APP_USER.#') )
This one is not passing the value, eventhough it open the application..
javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1:::P_ASK_U:&APP_USER.');
Is there any syntax error or is it not possible, please let me know..
Thanks
VenuHi Scott,
You are right, the first one do not need # character.
In the Doc it is mentioned as....
Pass the value on a URL reference using f?p syntax. For example:
f?p=100:101:10636547268728380919::NO::MY_ITEM:ABC
I am using the following URL, it pops up the external application, but it is not passing the APP_USER value to the page item of that application.
javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1::P_ASK_U:&APP_USER.');
sorry I still do not know what I am missing..
Thanks
Venu -
Is it possible to pass a value from the list to another page..
Hi everyone,
I created a (list region) on a page and there is a FORM on the same page.I am trying to pass a value from that page to another page when the user selects one of the list entries.I tried with SET THESE ITEM.. WITH THESE VALUES in the list entries like
SET THESE ITEMS--P13_TESTING_ID
WITH THESE VALUES --&P10_ID.
but its not working for me.I want to pass that value only when the user hits that list entry.Is it possible to do.
Thanku
phaniAssuming P10_ID is an item on the FORM, I think , the form would have to be posted (submitted) for the item's vaue to be available in session state.
-
Unable to pass the values from one report to another using navigation links
Hi All,
I am facing a strange issue where I have to pass a column value from one report to other.
I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
Can anyone advice where I was going wrong
Thank you,
AOHi,
The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
mark if helpful/correct.........
thanks,
prasanna -
Is it possible to pass selected value from one jsp to another jsp page?
In my welcome page(in jsp), if the user is selecting some values, is it possible to pass those values to another jsp page and display?
If yes, how can it be done?
please help..Yes, you would have to make the motion from one page to the next submit a form. Then on the second JSP you can use request.getParameter("nameOfInputField") to get the value the user selected.
-
How to pass the values from one screen to another
HI,
consider me21n,
po is created with the item category L,so components tab is enabled.that u all know.
i have added the custom tab in the item details with netwt,gross wt,no of pieces and one more field.
those fields are also in component structure of material data.
i need to pass the matnr,maktx,quantity,ntwt,grosswt from the component to be displayed in the subscreen.
i used import mdpm to xmdpm from memory id 'subcon', where it is exported from the function module 'me_components-maintain'.
how to pass all the values from component of structure MDPM to the subscreen of custom tab in the item details.
help me pls........................'hi everyone,
MODULE status_0111 OUTPUT.
data : fill type i.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.,
DESCRIBE TABLE lt_zzmm_po_comp LINES fill.
ctrl_0111-lines = fill.
ENDMODULE. " STATUS_0111 OUTPUT
MODULE fetch_data OUTPUT.
ctrl_0111-lines = 2.
import xmdpm to lt_xmdpm from memory id 'SUBCON'.
IF not sy-subrc eq 0.
CLEAR lt_zzmm_po_comp[].
LOOP AT lt_xmdpm.
MOVE-CORRESPONDING lt_xmdpm TO lt_zzmm_po_comp.
APPEND lt_zzmm_po_comp.
ENDLOOP.
MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
read table ctrl_0111-cols into col where index = 3.
ENDIF.
ENDMODULE. " FETCH_DATA OUTPUT
MODULE pass_line OUTPUT.
READ TABLE lt_zzmm_po_comp INDEX ctrl_0111-current_line.
MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
ENDMODULE. " PASS_LINE OUTPUT
flow logic
PROCESS BEFORE OUTPUT.
MODULE status_0111.
MODULE FETCH_DATA.
loop at lt_zzmm_po_comp WITH CONTROL ctrl_0111 cursor
ctrl_0111-current_line.
module pass_line.
endloop.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0111.
loop.
*module read_data.
endloop.
but i cant see my fields in the table control .....i dont know y it is not coming?can anyone help me with code... -
Passing parameter value from one script to another in job chain steps
Hi all,
We have a scenario where in we have a job chain with two steps
1-Step 1 contains a script which fetches value from database to the script parameter(in/out) - PAR_DB_VALUE
2-Step 2 contains another script which uses the value of the parameter PAR_DB_VALUE and has to assign to another parameter in the script 2 called PAR_FETCHED_VALUE(in)
How to pass the value of PAR_DB_VALUE to PAR_FETCHED_VALUE which are parameters in two different steps
Please help
Thanks and Regards
RajHi,
You can achieve this as follows (CPS version 6 & 7):
- Edit the chain
- Go to the second step, to the parameters of the script call in that step
- Go to the parameter (PAR_FETCHED_VALUE) that you want to be filled by the parameter of the first step
- choose "Chain value" in the detail screen for the parameter, and select the desired out parameter from the drop down
Note that both parameters need to be of the same type for this to work.
Regards,
Anton. -
Passing the values from one application to another application using mvc
Hi sdn,
Iam new to bsp.i created one application zappl1 in that i created one controller and one view.in that view i created 2 input fields.and also created another application zappl2 in that also created one controller and one view. wai i want to enter in the inputfileds of first application view that values will be display in second application view.Please help out of this.Hi,
I can see 2 ways of doing. Either you use parameters in the URL from the first application to the second, as any web application would do.
Or, you can think of using the Web Application Server let :
- the first application store the values
- for the second application to retrieve
Personnally, I would tend to suggest the first solution as it allows both applications to be replaced later on.
Best regards,
Guillaume -
How to pass the value from one level to another level
Example :
we have secnario for leave process
initiall the user enters the name in first action the personal number should pick from first action to background RFC CO to pick the Payroll admin from R/3
i designed the first data input form.... i want to pick the personal number and pass that one to next action in background mode.
thanks in advance
sukumarHi,
If you want to execute the step in background then you can use the callable object of type "Background Execution" or if you want to do any user interaction on that step then you can go for web dynpro callable object. Here is the link for Background Execution callable object.
http://help.sap.com/saphelp_nw70/helpdata/en/9a/e8934258a5ca6ae10000000a155106/frameset.htm
Here is also link for Web Dynpro Callable Object
http://help.sap.com/saphelp_nw70/helpdata/en/de/8976417f2d5558e10000000a1550b0/frameset.htm
If you have any conficution please let me know.
Thanks
Chandan -
Pass filter value from one wad to another
Hello Guys.
I'm using BW version 7.
I have the following issue.
I have a WAD that displays 32 link items, representing a country for each link.
The user selects the country he wants to see and then another wad is display with 2 tables and 2 charts with information, but I want that this information get filtered based on the country link that the user selects.
For Example, if the user selects country 1.
The information of tables and charts in the other wad have to be filtered by conutry 1.
How can I do this issue.
Thanks in advanceHi,
Suppose you are having two web templates with technical name TEMP_1 and TEMP_2.
In TEMP_2 you should be using a query having a variable var_con that populates Country
Write the following code in Template Temp_1 using ahref (Please use proper anchor tags. i have not used it below because it was not allowing to write HTML code )
<<a href = "SAPBWOpenURL(SAP_BW_URL_Get() + &CMD=LDOC&TEMPLATE_ID=TEMP_1&VAR_NAME_2=VAR_CON&VAR_VALUE_LOW_EXT_1=Country1"> Country1 </a>
<<a href = "SAPBWOpenURL(SAP_BW_URL_Get() + &CMD=LDOC&TEMPLATE_ID=TEMP_1&VAR_NAME_2=VAR_CON&VAR_VALUE_LOW_EXT_1=Country2"> Country2 </a>
So in your temp1 you can se two hyperlinks as sown below.
Country1
Country2
Click on that it will take you to Temp_2 with the value of var_con populated accordingly.
Hope this helps. -
Passing filter value from one Tab to Another
I have a web template that contains 5 tabs and I want to use dropdown webitem in the main template and affect all the tabs with the selected value.
Is it possible? If yes what is the code etc.
Thanks
AmitHi Amit,
I'm actually implementing the same scenario you just described, my TABs web templates Data Providers doesn't have a fixed definition of the query/query view, I do a reset_data_provider during runtime (when user clicks on the tab and based in a char selection - single drop-down box).
Now since my TAB data provider is refreshed with a new query/query view each time I go into a TAB the home screen filters or selections done within a navigation block (around 25 chars) doesn't impact the "local" tab table.
Is this your scenario as well?, any guidance will be more than welcome.
Thanks -
How to pass a value from one component to another component in webdynpro
I have created component which consists of alv display and in the alv table I have created pernr has link and when I click that pernr the second webdypro component opens which I have created . now in the second component I want that pernr value. based on that I want to fetch some data.
See i have this code for example which calls the browser with concatenated URL:
CONSTANTS: l_c_url_part1 TYPE string VALUE '?sap-system-login-basic_auth=X&sap-client=',
l_c_url_part2 TYPE string VALUE '&sap-language=EN',
l_c_url_part3 TYPE string VALUE '&PARAMETER1=',
l_c_url_part4 TYPE string VALUE '&PARAMETER2='.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZTEST'
IMPORTING
out_absolute_url = l_v_url.
CONCATENATE l_v_url l_c_url_part1
sy-mandt l_c_url_part2 l_c_url_part3 'VALUE1' l_c_url_part4 'VALUE2' INTO l_v_url.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
url = l_v_url1
new_window = 'X'
EXCEPTIONS
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
Pass Value from one tab to another
Hi,
I have a requirement to pass a value from one tab to another.
For ex: I have a CC&B page with two tabs (Main, Steps).
In the Main tab, I choose a Field Activity. Once it is chosen, I want to pass the value of the Field Activity ID to the 'Steps' tab. Once I get the value of the field Activity, I can then query up a table and populate some fields in the Steps tab. How can i achieve passing the value if FA Id from one tab to another?
I tried to create an extension of the page using ext_page.jsp. But this extension just provides us methods like extPreOnWindowLoad(), extPostOnWindowLoad() etc which really is not helpful.
Any suggestions?
thanksHi,
We cannot pass multiple values using Drill Filters beause it is based on hierarchy that can take only one value at a time.
If you want you can use Report Level Filter instead.
Neither can we pass dril filters from one tab to other.
Maybe you are looking for
-
Signature in PKCS1 v1.5: RSAPKCS1SignatureFormatter vs RSACryptoServiceProvider
I need to sign a Hash value of data and get a digital signature in PKCS1 v1.5 format. My understanding is that RSAPKCS1SignatureFormatter.CreateSignature(HashValue) does exactly that. In other words, I calculate a Hash value, don't do anything to it
-
Can we define alternate material in a BOM
Dear All, Can we define alternate material in a BOM,If yes,How??? pl. guide.... Tushar Aute
-
ORA-01000: maximum open cursors exceeded in R12
Hi, In which Middle Tier log we see "ORA-01000: maximum open cursors exceeded" error, we have EBS R12 version.
-
Meaning of EIBV in Profit Center Accounting
Hi, When I run S_ALR_87009726, it gives Plan/Actual by Origin w/o EIBV & with EIBV reports. Can someone tell me what EIBV means here? Thanks, Ram
-
Ipod mini not updating purchased music
I have purchased songs from ITunes, pluged in the mini and nothing happens. It says "updating Ipod" then thats it, nothing. I have 11 songs sitting in my library I can not get onto the Ipod. Have done all the trouble shooting it suggested online.Any