Send parameter to iview in a room?
Hi experts,
I create a new template for my room, in this template there is an url (http://www.google.es), is it possible send automatically the name of the room to this URL?
I create a new Parameter that i mapped with the iview, but, i don´t know how can send the name if the room...
Thanks in advance,
Regards,
is it possible?
Similar Messages
-
How can I use KM document iView in a room TEMPLATE?
I want to use a KM document iView in a room template. The target document for this iView will contain some standard html content for every room built from this room template. This file's content and the folder structure for the room template will come from a room extension. The iView should be able to display the HTML in the target document, which will always have the same name (roomHome.html). How can I configure my room template so that each instance of rooms built from this template will be able to navigate to its own unique instance of roomHome.html?
It's not possible to tag text with multiple languages in Pages 5. Go back to Pages 4, which should still be in you iWork folder.
For the whole doc in Pages 5, use Edit > Spellling and Grammar > Show Spelling and Grammar. -
Type for SENDER parameter in Class Method
Hi all,
I have an import parameter declared in a Class method .
in SE38 program i want to retrieve through export parameter .
But i am not able to figure how to defind the type of SENDER parameter . Please suggest if my perception is wrong or the point that i am missing here .
Regards,
Ry.Hi Vijay,
Thank you for your reply . the problem i am having is the functionlaity of this report is it displays three grids and when ever i double click on a grid it should identify the particluar grid . i have highlighted in bold where i am encountering the problem. i am enclosing the class details and the report source code. Please suggest after going through it . thanks in advance.
Class details that i have created :
the class has a method handle_double_event with event handler double_click of CL_GUI_ALV_GRID . i have defined this in the method section.
in public section section :
public section.
types GO_GRID1 type ref to CL_GUI_ALV_GRID .
class-methods HANDLE_DOUBLE_CLICK
for event DOUBLE_CLICK of CL_GUI_ALV_GRID
importing
ES_ROW_NO
E_COLUMN
E_ROW
SENDER .
in handle_double_event code :
DATA:
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
go_grid3 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_vbak TYPE STANDARD TABLE OF vbak,
gt_vbap TYPE STANDARD TABLE OF vbap.
define local data
DATA:
ls_knb1 TYPE knb1,
ls_vbak TYPE vbak,
ls_vbap TYPE vbap.
DATA: es_row_no type lvc_s_roid,
e_column type lvc_s_col,
e_row type lvc_s_row.
*CASE sender. - here when i double click on the first grid go_grid1 it should go inside the go_grid1 . but it is not entering .*
WHEN go_grid1.
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
IS_ROW_ID =
IS_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDERS' ).
WHEN go_grid2.
READ TABLE gt_vbak INTO ls_vbak INDEX e_row-index.
CHECK ( ls_vbak-vbeln IS NOT INITIAL ).
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
IS_ROW_ID =
IS_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDER_DET' ).
WHEN go_grid3.
READ TABLE gt_vbap INTO ls_vbap INDEX e_row-index.
CHECK ( ls_vbap-matnr IS NOT INITIAL ).
SET PARAMETER ID 'MAT' FIELD ls_vbap-matnr.
CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
WHEN OTHERS.
RETURN.
ENDCASE.
endmethod.
Code for the Report that is accessing the class.
DATA:
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_splitter_2 TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_cell_left TYPE REF TO cl_gui_container,
go_cell_right TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
go_grid3 TYPE REF TO cl_gui_alv_grid,
list type ref to zcl_eventhandler,
es_row_no type lvc_s_roid,
e_column type lvc_s_col,
e_row type lvc_s_row,
sender(8) type c.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_vbak TYPE STANDARD TABLE OF vbak,
gt_vbap TYPE STANDARD TABLE OF vbap.
PARAMETERS : p_bukrs TYPE ekko-bukrs default '1000'.
START-OF-SELECTION.
create object list.
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = p_bukrs.
Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 50
EXCEPTIONS
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.
Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 1
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_left.
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 2
RECEIVING
container = go_cell_right.
Create 2nd splitter container
CREATE OBJECT go_splitter_2
EXPORTING
parent = go_cell_left
parent = go_cell_top
rows = 2
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD go_splitter_2->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter_2->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_grid3
EXPORTING
i_parent = go_cell_right
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD ZCL_EVENTHANDLER=>HANDLE_DOUBLE_CLICK
EXPORTING
ES_ROW_NO = ES_ROW_NO
E_COLUMN = E_COLUMN
E_ROW = E_ROW
SENDER.
Set event handler
SET HANDLER: list->handle_double_click FOR go_grid1.
SET HANDLER: list->handle_double_click FOR go_grid2.
SET HANDLER: list->handle_double_click FOR go_grid3.
Display data
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_vbak.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
CHANGING
it_outtab = gt_vbak
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_vbap.
CALL METHOD go_grid3->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAP'
CHANGING
it_outtab = gt_vbap
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
Flow logic of dynpro:
*PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Form CUSTOMER_SHOW_ORDERS
text
--> p1 text
<-- p2 text
FORM customer_show_orders .
define local data
DATA:
ld_row TYPE i,
ls_knb1 TYPE knb1.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_knb1 INTO ls_knb1 INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM vbak INTO TABLE gt_vbak
WHERE kunnr = ls_knb1-kunnr.
REFRESH: gt_vbap.
ENDFORM. " CUSTOMER_SHOW_ORDERS
*& Form ORDER_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM order_show_details .
define local data
DATA:
ld_row TYPE i,
ls_vbak TYPE vbak.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_vbak INTO ls_vbak INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM vbap INTO TABLE gt_vbap
WHERE vbeln = ls_vbak-vbeln.
ENDFORM. " ORDER_SHOW_DETAILS
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "ORDERS"
SET TITLEBAR 'xxx'.
Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Refresh display of detail ALV list
CALL METHOD go_grid3->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
move sy-ucomm to gd_okcode.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
User has pushed button "Display Orders"
WHEN 'ORDERS'.
PERFORM customer_show_orders.
WHEN 'ORDERS_DET'.
PERFORM order_show_details.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
endmodule.
Regards,
Ry -
Send parameter from one script logic to another. SAP BPC 7.5 NW.
Hello!
Before i start, want to apologize for my English.
We work on SAP BPC 7.5 for NetWeaver.
In general, we want to send parameter from one Script logic file to another script logic file.
I will explain why :
1. We have parametr like %C_CATEGORY_SET% (and another four parameter, like groups, currency and etc.) that work on one script(next, i will named it A_Script).
We will send this parametr from BPC EXCEL (we will create button, then use command MNU_eData_SelectPackage(we also set parameters) and run package that we need, also before we set script for this package by the SAP Guide. We send some data, and this A_Script work good. Everything that we want from this script work correctly. )
2. Next we create another script(B_Script) , and we want use %C_CATEGORY_SET%, but we don't know how use this parametr, if we will just write this parametr on Script Logic, apears error ("C_CATEGORYDATAVALUE" is not assigned to the Data Administrator). We try to solve this problem by using System_Constants.lgf, but we get error.
Code:
*DIM C_CATEGORY WHAT=%C_CATEGORY_SET%; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM C_ENTITY WHAT=%ENTITYSET%; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM GROUPS WHAT=%GROUPS_SET%; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM RPTCURRENCY WHAT=%RPTCURRENCY_SET%; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM TIME WHAT=%TIME_SET%; WHERE=<<<; USING=<<<; TOTAL=<<<
If we will change %C_CATEGORY_SET% for ACTUAL, and also change another parameters, script will work, package will run correctly. But we need using parameters, because we didn't exactly what will choose our client.
Our question have BPC Script Logic some kind of Globar Parameter(Variable), that we will set in A_Script, and then use them on B_Script?
How can we define parameter from another script logic, maybe we should send it?
Should we use System_Constants for solving this problem, if yes, how?
Any help will be appreciated
Best Regards,
Erlan Kadraliev
Edited by: Erlan Kadraliev on Feb 8, 2011 4:50 PM
Edited by: Erlan Kadraliev on Feb 8, 2011 4:58 PM
Edited by: Erlan Kadraliev on Feb 8, 2011 4:59 PMHi Ethan Jewett
1. About %ENTITYSET% it is normal. Before this line i write :
*SELECT(%ENTITYSET%, "ENTITY", GROUPS, "[ID]=%GROUPS_SET%")
So it is not this problem. %ENTITYSET% just parameter, that i used.
2. Are you running the scripts using the same data manager package? I am running two different package for 2 different Script.
For example aPackage for aScript, and bPackage for bScript.
My questions was how can i send parametr from one script to another, for example i can run another script by using BADi command Runlogic, but how can send parameter that i need to used on another script. I have for example parameter %GROUPS_SET% (CG001) on aScript, but i can't get this parameter on another script, if i write %GROUPS_SET% i will get error ("GROUPSDATAVALUE" is not assigned to the Data Administrator)
OR
Maybe if you will answer for next question, i will be able solve problem , How can i send parameter CG001 (this is %GROUPS_SET%, for example it stay in EXCEL in cell A5) from excel to script logic by running package. Maybe i can get cell value on Dynamic Script Data Management?
My Dynamic Script on bPackage
PROMPT(RADIOBUTTON,%CHECKLCK%,"u0412u044Bu0431u043Eu0440 u0431u0430u0437u043Eu0432u043Eu0433u043E u043Fu043Eu043Au0430u0437u0430u0442u0435u043Bu044F.",1,{"u0412u0441u0435u0433u043E u0410u043Au0442u0438u0432u044B","u0421u043Eu0431u0441u0442u0432u0435u043Du043Du044Bu0439 u043Au0430u043Fu0438u0442u0430u043B","u0412u044Bu0440u0443u0447u043Au0430 u043Eu0442 u0440u0435u0430u043Bu0438u0437u0430u0446u0438u0438","u0414u043Eu0445u043Eu0434 u0434u043E u043Du0430u043Bu043Eu0433u043Eu0431u043Bu0430u0436u0435u043Du0438u044F u043Eu0442 u043Fu0440u043Eu0434u043Eu043Bu0436u0430u044Eu0449u0435u0439 u0434u0435u044Fu0442u0435u043Bu044Cu043Du043Eu0441u0442u0438"},{"BPAST_ALL","BPEQ","BPPROCE","BPOPIN_GO"})
INFO
(%EQU%,=)
INFO
(%TAB%,;)
TASK
(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK
(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK
(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK
(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,CHECKLCK%EQU%%CHECKLCK%%TAB%)
TASK
(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,MYTEST_145.LGF)
Best Regards,
Kadraliev Erlan -
ToolArea iView in Collaboration Rooms
Hi, I try to use a ToolArea iView as the room-search-iView in Collaboration Rooms.
The reason is, that this iView opens it's search results in a new window.
Is it possible to configure a special index for this iView to be searched? I didn't find the option.
Do you think it is possible to use the ToolArea iView in this case?
Thanks for any reply
SandraHi Sandra,
in principle yes.
First of all you need a copy of the ToolArea iView.
Dan appropriate Search Option Set that restricts the search to your index or folder.
System Administration -> System Configuration
-> (Navigation Panel) Knowledge Management -> Content Management -> User Interface (Show Advanced) -> Search -> Search Option Set
This can be configured within the specific search URLs (Search and Advanced Search) of your ToolArea iView copy.
Add
&SearchPluginName=MySearchOptionSet
Regards Matthias Röbig-Landau
PS: Please provide points in case. -
Passing parameter from Iview to SAP WD ABAP application
Hi All,
Can we pass single / multiple parameter(s) from the Iview to the Webdynpro Component ? I mean we are calling a WD Component by executing its application from the Iview. In that process, is there a way we can send some parameters to the WD component from the Iview ? If yes, please let me know how.
Thanks and Regards,
Sayan GhoshHi Sayan,
It is possible to pass parameters from portal Iview to WD component. For that there is one property of Iview called
Application Parameters
You can pass value like this:
parameter1=value1 ¶meter2=value2
Regards,
Vikrant Trivedi -
Getting error iview while accessing room in EP6.0 SP9 KMC
Hi
I am trying to configure KMC first time. I have done all the basic configuration needed after installation to get collaboration service active.
I can create a room. but while clicking on the link to get into the room I am getting error in iview com.sap.portal.pcm.Title
with error
<error>
<i>Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.sap.ip.collaboration/Rooms/f0eecc1b-52af-2710-cebd-e94073869c63/workset/com.sap.netweaver.coll.TeamRoomOverview/RoomQuickLaunch
Component Name : null
Page could not create the iView.
See the details for the exception ID in the log file</i>
</error>
from the logviewer I found these errors
<error>
<i>No status mapped to the given list type <http://sap.com/xmlns/collaboration/rooms/room> using hard coded default</i>
</error>
<error>
<i>Permission check failed - Object portal_content/com.sap.ip.collaboration/Rooms/f0eecc1b-52af-2710-cebd-e94073869c63/workset/com.sap.netweaver.coll.TeamRoomOverview/RoomQuickLaunch Permissions: Pcd.Use Principal: Information not available with current trace level</i>
</error>
please help me. I think some mapping needs to be done. but not sure exactly where and what mapping. I may be wrong
regards
AshutoshHi Ashutosh,
See SAP Note 792370 and this thread: EP Colloboration Room Error
Probably this is the solution to your problem.
If it doesn't work, before smashing your head against the wall, I would seriously advise to patch up to SP12 for there have been some problems within KMC/Rooms within the lower versions (they might not all have gone, but many of them).
Hope it helps
Detlev -
Editing or Adding a Parameter in IView
Hello All,
This is a modified version of the question that I had put up earlier. I thought probably should add more details to it.
We have EP 6 with the latest support pack. We installed the business package 50.3.1 for Assets. One of the iView we were interested is 'Create Notification' that came along with this BPkg. This iview is actually linked with the other iview 'Function Location' iview. That means unless a functional location is selected 'Create Notification' iview would not show up which is being controlled by parameter workStandAlone. The documentation indicates that the Iview Parameter 'WorkStandAlone' can be edited ( by changing the value of this default parameter from 'No' to 'Yes') to work independently of other iviews. But I could not locate this Parameter. One of the property I noticed in the Iview is 'ParameterstoPass' which has standalone as parameter. Now my question is, I would like to pass a value to this parameter. How would I do that ?. Any suggestions would be highly appreciated.
Regards
Swami BalaHi
You can check for the condition in at selection-screen output and can make the required parameters appear dynamically
check the following code
at selection-screen output.
if w_flag eq 'N'.
loop at screen.
if screen-group1 eq 'G1'.
screen-active = 0.
endif. " IF SCREEN-GROUP1 EQ 'G1'
modify screen.
endloop. " LOOP AT SCREEN
else.
loop at screen.
if screen-group1 eq 'G1'.
screen-active = 1.
w_flag1 = 'Y'.
endif. " IF SCREEN-GROUP1 EQ 'G1'
if screen-name = 'P_USER'.
screen-input = 0.
endif. " IF SCREEN-NAME EQ P_USER
modify screen.
endloop. " LOOP AT SCREEN
w_flag = 'N'.
endif. " IF W_FLAG EQ 'N'
regards,
padma -
Pass parameter from iView to AbstractPortalComponent
Dear All,
I have an iView (PAR iView) which invokes an AbstractPortalComponent. Is there any way by which I can
pass parameters to the AbstractPortalComponent?
Kind regards,
Sreejesh.Hi,
When ever you are invoking the Abstract Portal Component ,you would be passing the url.
The url can be appended with parameters as follows.
url?p1=v1&p2=v2,,where p1 and p2 are the parameters.
If you are directly calling the component from the Iview ,let us say in a new window, then you would write
this in a javascript function
<b>window.open('par.componentname')</b>
or you can use EPCM.doNavigate('target')
where target is the pcd path for the iview.I am not sure if the parameters can be appended in the same manner to the target,as shown above for url.
In the code of your abstract portal component,
you can write
IPortalComponentRequest request = (Iportal ComponentRequest) this.getRequest();
String parameter = request.getParameter("p1");
Regards,
Harish
(Please award points for helpful answers) -
Accessing Sender parameter attribute in event hander method implementation
Hello knowledgeable friends.
I would like a single event handler to manage two alv grid objects. There is a parameter SENDER that is available in the method implementations to say which object triggered the event. I would like to get at the attribute MT_OUTTAB but this syntax does not work:
local_variable = sender->mt_outtab
Any help would be greatly appreciatedOk, MT_OUTTAB is a protected Attribute. I would settle for just the name of the Sender. This code checks:
call method sender->get_name RECEIVING name = l_name.
but l_name is empty. I was hoping for 'GRID1'; when I created the object I used:
CREATE OBJECT alvgrid
EXPORTING
i_parent = container_top
i_name = 'GRID1'. -
How send parameter in prerender() function for query
Sir I use requestbean for sending data to next page
Because want use this parameter in query
I get data as per this parameter
But when I call next page not pass parameter value to next page and query use blank parameter
I write code in prerender()
See my code
public void prerender() {
try {
getSessionBean1().getTripRowSet().setObject( 1, parameter1..getValue());
tripDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + “no record “);
log("Cannot switch to person " + “no record , e);
Please give me idea how I send my parameter in prerender() function for query
Thank’s
aamirsir i try SessionBean but same as result
sir you see my full problem
I use studio creator
I create two page first for sending data to other page such as user login page
I add property in SessionBean, RequestBean and bind to data with my user name textfield
and in next page I bind to data with other textfield
after this I try to use this textfield use in
public void prerender() {
try {
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
chartofaccDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + �noooo�t);
log("Cannot switch to person " + �noooo�, e);
In this line I use that textfiled that bind to data form login page
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
but sir this public void prerender() { function t not get textfield1 value in this function textfield give me null value
but when page complete run then show value in textfield
it mean this public void prerender() { function run befor SessionBean, RequestBean and not get SessionBean, RequestBean value
please give me idea how I pass value in public void prerender() { function form other page and I use this value in query
such as example
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
this is my sessionbean query
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ?
please give me idea
thank�s
aamir
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ? -
How to create pre-defined folder in the document sharing iView in a room?
Hi everyone,
As title, I would like to know how to create some pre-defined folder(s) in the document sharing iView in a collaboration room?
Hope you someone can help me~~
Thanks and best regards,
MarcusTry it like this:
Help with collaboration rooms templates
and here are soem of those docs:
http://media.sdn.sap.com/public/KMKeywords/Collaboration-Room.html
Regards,
Darin -
Dynamic pass parameter URL iview Portal
Hi guys
i have url iview, this iview is assigned to a rol of anonymous user,
http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01
the ivew set automatically and i can see when user guest sign in.
this iview have 2 parameters i need this parameter, has set values with a link, like this
http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01¶meter1 = value1¶meter2 = Value2
i appreciated any help
Angel G.Hi Angel,
So you are trying to pass two parameters to your iView that is embedded in a portal role that is assigend to an anonymous user... is that right?
What problems are you having? Does the iView not see the parameters if passed as part of the top level URL (e.g.
http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01¶meter1=value1¶meter2=Value2)?
Not sure if it is just a typo but you have blank spaces between your "=" signs in that URL you posted, there should be no spaces.
A bit more info and perhaps I can help more,
Simon -
No Dynamic navigation iView inside a room
Hi
My problem is that when i create a room based on SAP_Project_template_2 the iViews that were in navigation panel like my rooms, room menbers, related rooms doesn't appear.
I've checked if the dynamic, related links... iviews in the innerpage that i use are visible and fixed and is set to yes.
The curious thing is that this iViews are visible out of the room.
What happens? I don't understand...
Thanks
GuillermoNobody?
-
How portal finds the vale for the sap-language parameter for iView
In the portal one of the ABAP WebDynpro iView is getting displayed in German. The reason for that is the sap-language parameter is being passed as DE. All other iViews in the system are passing the sap-language parameter is as en.
In our system the Logon Language property is blank for the all the iViews. Could you tell me why one specific iView the sap-language is being passed as a DE?
How the portal finds the value for the sap-language parameter?Hello Venkata,
Check if your Component locale is set to DE.
Component locale
This locale is defined by the following component profile properties:
--ForcedRequestLanguage
--ForcedRequestCountry
Check this for more:
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/938297a5061d69e10000000a1553f6/content.htm
Greetings,
Praveen Gudapati
p.s Points are always welcome for helpful answers
Maybe you are looking for
-
Item cost showing R 3 971.77 instead of R 1.88.
Hi All We have a problem where one of the items is showing an incorrect item cost amount, instead of showing R 1.88 it has R 3 9 71.77. This might be due to the incorrect item cost entered initially by the user. When creating any marketing document t
-
Need Help changing a Menu button display Name
Hello, I am extremely new to flash and have inherited a flash file from another designer that I need to modify the fourth Button called gallery to About Us. I have tinkered with it for like 6 hours now and can't figure it out completely. I have chang
-
Getting a full colour PDF to print in just Black
Is it possible [other than changing your pc print settings] to force a PDF document, that is in colour, to print in 'black and white' and only print in colour if this setting is overridden? Any help much appreciated.
-
Preview not accurate, blurry
I don't think I've ever seen this to this degree, but current preview in Dreamweaver, in both Safari and Firefox, shows a webpage text way blurry and soft. not reality. any ideas why this is happening? thanks.
-
Problems with MacBook pro with no return.
I bought a new MacBook Pro 13" with Retina Display and installed iWork & iLife using the original DISC obtaied for the software. I istalled update 9.1 and 9.3 as suggested by the Apple councilar. I have several documents created with the iWork applic