How to handle "link to action" in a GUIBB
I have a GUIBB table, where a specific column is link to action.
So if the user clicks on such a cell i want to navigate to another application.
The question from my side is, how/where can i handle the link to action?
Hi Rene,
You can use IF_FPM_GUIBB_LIST~PROCESS_EVENT method of component configuration feeder class. In common case on manipulation with 'link-to-action' column if_fpm_guibb_list=>gc_guibb_list_on_cell_action action is triggered.
Example:
if if_fpm_guibb_list=>gc_guibb_list_on_cell_action.
io_event->mo_event_data->get_value(
exporting iv_key = if_fpm_guibb_list=>gc_event_par_column_name
importing ev_value = lv_column ).
if lv_column = 'LINK_TO_APP_COLUMN'.
io_parameter->get_value(
exporting iv_key = if_fpm_guibb_list=>gc_event_par_row
importing ev_value = lv_row_index ).
" read data by index and call application
endif.
endif.
Kind regards, Aliaksandr.
Similar Messages
-
How to handle link to Remote Desktop
How do you handle a link to remote desktop--it's to a server that the user needs to use in the event of a shutdown to a system.
Rick,
Does this help?
Connect to the service termination PI server through Remote Desktop by double-clicking the following server names.
Then there is a list of six server names, which are embedded objects, to double-click on. -
How to handle multiple soap operations from XI ?
Hi Experts,
I am sap xi guy and we need to handle a webservcie which has multiple operations. any body can guide how to handle this ?
In xi soap receiver adapter we have an option going only for a single soap action ? can sap handle rpc style format of webservice ? what is meant by rpc
any help would be really appreciated
Thanks,
sriniHi Srinivas,
Please refer to this article on how to handle the soap action. Hope this will help you understanding the soap action mistery.
http://www.oreillynet.com/xml/blog/2002/11/unraveling_the_mystery_of_soap.html
Regards
Sumit Bhutani -
How to handle multiple actions in the webservice ?
Hi Guys,
I have multiple operations in the webservcie and under soap action in the receiver soap adapter, i dont know how to handle multiple soap operations.
can anybody guide me, how to acheive this ?
Thanks,
sriniHi Srini !
This weblog shows the general design of a scenario with BPM
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
This link:
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
show how to insert a predefined BPM pattern. You could use one of the BpmPatternSerialize.... patterns to see how you BPM should look like...
Basically it should be:
1) Receive Step (async/sync, as you need) to trigger the BPM
2) Send step (sync) for first webservice
3) Send step (sync) for second webservice
N) Send step (sync) for N webservice
N+1) if the whole communication is sync, here you need to use a send step to return back the answer to sender.
Regards,
Matias. -
How can I handle user's action on UIStatusBar area
Hi all.
My program needs to hide the UIStatusbar at the top of area, so I set the UIStatusBarHidden property YES.
But I can't handle any user action on this area.
How can I control the user's action on UIStatusbar area.
If anybody knows , please help me.
Message was edited by: anti RMB
Message was edited by: anti RMBAashil,
have a look at the Forms product section on otn. There is a java bean "getClientInfo" that can give you the name and ip address of the connected client.
The serverside pid of the Forms process is out of reach (on Unix you may be able to do a host command to get the Unix process).
Check the database documentation on how to find connected users.
Frank -
How to handle OAMessageLovInputBean Action?
Hi,
Can anyone help me on how to handle the activity or action of OAMessageLOVInputBean?
Thank you.
JonJon,
if (pageContext.isLovEvent())
// Form was submitted because the user selected a value from the LOV modal window, or because the user tabbed out of the LOV input.
// Find out which LOV input triggered the event.
String lovInputSourceId = pageContext.getLovInputSourceId();
// At this point, all the data is available in the base VO, just as in regular PPR events. Invoke an AM method to update the application properties VO.
if ("myLovInput".equals(lovInputSourceId))
am.invokeMethod("handleMyLovInputEvent"); //Invoking AM Method here
Thanks
--Anil -
How to handle sub tab region action
Hi All,
How do we handle sub tab region actions? I have a requirement where the page is supposed to get refreshed when "Products" subtab is clicked. This tab is in the subTabLayout with id QotHdrSubTabRN.
Regards,
ShreyasHi,
Could you please elaborate a bit more on this. This subTab is on the standard page and not on a page I have created. So I'm not sure how exactly to set the Action Type to fireAction.
Regards,
Shreyas -
How to handle user action on messageChoice component ?
Dear all,
I create a OAF page and put a messageChoice component on it. And then setup its property as following:
ID: myChoice
Item Style: messageChoice
Action Type: fireAction
Event: changeChoice
Submit: true
and I set it a new controller, add the following code in it:
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processRequest(oapagecontext, oawebbean);
if ("changeChoice".equals(oapagecontext.getParameter(EVENT_PARAM)))
throw new OAException("call my function", OAException.INFORMATION);
In my opinion, when I re-choose a new option in choice component, the page should be submitted immediately, and my custom event "changeChoice" should be raised.
Unfortunately, I cannot catch my exception when my page is refreshed.
So I want to know how to catch the user action for this situation.
Any advice is appreicated.
Thanks.
KennyKenny,
Any page action can be caught only in processFormRequest.
--Shiv -
Link to Action - How to call a DynPro application?
I am new to ABAP Web DynPro. I have a basic question with regards to accessing any dynpro application with Link to Action object. Basically I created a WebDynPro page with some links (Link To Action). On click of these links I want to call another DynPro application. Can anyone just provide me with a code snippet for the onAction event that calls the dynpro application and opens it in the same browser.
Thanks.Hi Shan,
wven i am new to Web dynpro,what i can think of is when we create new webdynpro appplication we get hyper link and we can call our application using this link and we have Fm to call teh same .in your onaction event we can call this FM 'CALL_BROWSER'
Sample code for the same :
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = 'http://iginsapecc.in.intelligroup.com:8100/sap/bc/bsp/sap/zvin_tran1/first.htm'
WINDOW_NAME = ' '
BROWSER_TYPE =
CONTEXTSTRING =
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.
Regards
Poornima -
How do we link a new table to CRMC_OBJECTS?
RE: CRM4
I tried to use the BBP_PDIGP table in the CRMC_MAP transaction for UI Structure CRMT_ISALES_BASKETITEM_BBP, but it says that table is not part of CRMC_OBJECTS
How do we make BBP_PDIGP table part of CRMC_OBJECTS?
If we can link the BBP_PDIGP table to CRMC_OBJECTS, then I can map MATGROUP from the UI Structure above with CRMC_MAP to SCHEMA_TYPE.
Next, we need to map the SCHEMA_TYPE in CRM to the field in ERP that we have the data already.
Sounds simple enough...but, I don't know how to do the linkages.
Otherwise, how might we link the field SCHEMA_TYPE found in table BBP_PDIGP to one of the objects already found in the UI Structure CRMT_ISALES_BASKETITEM_BBP - Here's the available list:
AC_ASSIGN Settlement Account Assignment (CRM)
ACCOUNTING Account assignment
ACTION Actions
ACTIVITY_H Header data activity
ACTIVITY_I Activity Item Data
APO_I APO item data
APPOINTMENT Dates
ATTACHMENTS Attachment set, not BDS!
BATCH Batch Properties
BILLING Billing data
BILLPLAN Billing plan
CANCEL Cancellation
CONDITION_COM Communication structure condition det.
CONDITION_H
CONDITION_I
CONDLINE
CONFIG Configuration data item
CONFIG_FILTER Configuration filter item
CONFIRM Availability confirmation
COPY General copy control
COUNTER_H APO Item Data
COUNTER_I APO item data
CREDITVALUES Open Transaction Credit Values
CRMD_CASE CRM Case Management
CUMULAT_H Header totals
CUMULATED_I Item cumulation values
CUSTOMER_H Customer header data
CUSTOMER_I Customer item data
CUSTTAB_H Table-Like Header Data for Customer
CUSTTAB_I Table-Like Item Data for Customer
DOC_FLOW Document flow
DYN_ATTR Dynamic attributes
EVENT Event handler
FINPROD_I Financing product data item
FREIGHTCOST Shipment costs
IPM_RCHAR Rights Characteristics
IPM_RCTRL_I Rights Control Data
LEAD_H Lead Header Data
LIMIT Limit
LINK Link Handler
MESSAGES Message Handler
OPPORT_H Opportunity header data
ORDER General order processing
ORDERADM_H Administration header
ORDERADM_I Administration item
ORDPRP_I Connection PPR to transaction item
ORGMAN Organizational data
PARTNER Partner Set
PAYPLAN Payment Schedule
PRICING Pricing Data
PRICING_I Pricing data und results
PRIDOC Pricing document
PRIDOC_COM Communication with price determination
PRODUCT_I Item product data
QUALIF Qualification Requirement Set
REFOBJ Service Reference Object
SALES Sales data
SCHEDLIN Schedule lines
SCHEDLIN_I Scheduling lines item view
SERVICE_H Service header
SERVICE_I Service item
SERVICE_OS Service reference object subject
SERVICEPLAN_I Service Plan Item
SHIPPING Shipping data
STATUS Status
STATUS_H Header Total Status
STRUCT_I Item structure data
SUBJECT Service Subject
SURVEY Questionnaire
TAX Taxes
TEXTS Texts
TOLERANCE TolerancesHi Mike,
Will it be possible for you to let me knw how the entries come in table CRMD_LINK...??
I am not getting the entry of orgman in this table for item guid.
Pls help.
Thanks,
SA -
Link to action doesn't work in a POWL application
Hi,
I have developed a web dynpro ABAP application and it is called by portal,
This WD calls standard POWL, in a POWL there is a LinkToAction field.
When I click on field the system should open a new window (shopping cart detail),
but it doesn't happen anything.
which could the problem be?
Thank you.
Best regards.
AlHi Alberto,
1. Define an Action (corresponding to your Link to action which is typically the FIELD Name of the column in POWL Table) in your POWL feeder Implementation "IF_POWL_FEEDER~GET_ACTION" .
IF_POWL_FEEDER~GET_ACTION is a standard object of custom feeder class, how can I define a new Action?
<Vineet> See the Wiki Link http://wiki.sdn.sap.com/wiki/display/WDABAP/DocumentationInformationabout+POWL
This has a document (POWL.doc) for POWL, refer page number 20. You can use parameter C_ACTION_DEFS for explicitly defining Actions.
2. Handle the defined action in another feeder implementation "IF_POWL_FEEDER~HANDLE_ACTION".
this code could be rigth?
METHOD if_powl_feeder~handle_action.
FIELD-SYMBOLS: <shopping_cart> TYPE STANDARD TABLE.
IF i_actionid = 'SELECTION'.
triggers the event
e_portal_actions-fire_wdevent = abap_true.
Pass parameters to event
ASSIGN c_result_tab TO <shopping_cart>.
i_shopping_cart = <shopping_cart>.
selected row
READ TABLE c_selected INTO ls_selected INDEX y_index.
Read selected POWL data
READ TABLE i_shopping_cart INDEX ls_selected-TABIX INTO s_shopping_cart.
CHECK sy-subrc = 0.
Pass parameters
ls_parameter-key = 'OBJECT_ID'.
ls_parameter-value = 'I_'.
APPEND ls_parameter TO e_portal_actions-parameters.
ENDIF.
ENDMETHOD.
<Vineet> Seems good provided you have defined the action name in "your class->IF_POWL_FEEDER~GET_ACTION" as 'SELECTION'.
3. Now you need to raise an portal event from the method "IF_POWL_FEEDER~HANDLE_ACTION".
where a portal event has to be raised?
<Vineet> You have alrday raised it when you used "e_portal_actions-fire_wdevent = abap_true", as above you can additionally pass parameters as you have done in pushing some data in "e_portal_actions-parameters".
4. This Portal event will be again captured in the event "POWL_FOLLOW_UP" from POWL WD component "POWL_UI_COMP"
<Vineet>Let's assume your WD component is "MY_COMP" which uses "POWL_UI_COMP". then in the component controller or View you can handle an event "POWL_FOLLOW_UP" which is a POWL Interface event. This vene has the same action "SELECTION"a nd the parameters which you have raised from "your class->IF_POWL_FEEDER~HANDLE_ACTION".
5. You can handle this event "POWL_FOLLOW_UP" in your WD which uses "POWL_UI_COMP" and throw a pop-up from your WD component.
it is not clear point 5.
<Vineet> From the event handler of "POWL_FOLLOW_UP" you can launch another webdynpro in a po-up or a new winmdow.
Please let me knwo in case you face issue.
Regards
Vineet
thanks.
Best regards. -
Regarding link to action.
Hi all,
In my case i have to diplay list of records in ALV.in that ALV ,we have provide link to action,by click on this it has to display another view.
i m able to calling the next view whenever click on this .but i need to carry value of clicked one.how can i get the value of selected .
Regards,
RaviHello,
Do the following to get the selected value:
You need to code this in the event handler method related to the event ON_CLICK from the ALV component.
DATA lr_bookingid TYPE REF TO bapisbodat-bookingid.
* Get the selected booking id
lr_bookingid ?= r_param->value.
R_PARAM is an importing parameter in the event ON_CLICK from the ALV component.
Regards. -
How to handle events in webdynpro abap
Hi,
can any body explain how to handle the events in webdynpro abap.
i want to know some concepts in general.
Thanks,Hi Mahesh,
you can create event handlers under the actions tab in you view. evry event handler has an importing parameter wdevent of type ref to cl_wd_custom_event.
you can also create events in your component controller and they can be handled within your views
check cl_wd_custom_event class for details about what all information you get when an event occurs.
for further details you can check out the following links
http://help.sap.com/saphelp_nw04s/helpdata/en/eb/ed6f4169e25858e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a9/c751415e3b6532e10000000a1550b0/frameset.htm
also you can try the tutorial at the following link for further clarity
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2eb11b59-0a01-0010-dfa3-8292abdf9c4f
Regards,
Shweta
Message was edited by:
Shweta R Shanbhag -
Is it possible to handle formatted text actions(RTF) using Clipboard?
Hi All,
Is it possible to handle formatted text actions(RTF) using Clipboard?
My application requires to copy the contents from other applications like MS-Word and contents to be pasted in my Application..
if so how?i appreciate for any piece of code or links to the same.
Thanks and regds
Mohan-Any Suggestions?
-
HI,
I have 5 columns in alv ...in that 3 col.. having link to action...if i click on link to action it should show some popup...in pop up which link to action i clicked that column name should be binded to one input field in pop up...can any one suggest me how to get col. nameHi,
The event handler for link to action has two importing parameters.
1.WDEVENT
2.R_PARAM of type IF_SALV_WD_TABLE_CLICK.
R_PARAM has these 4 attributes.
You have attribute,column,index and value
You can get your column name like
ls_col_name = r-param->column
Maybe you are looking for
-
Can i recover photos moved from iphoto via finder?
first things first: i made a stupid mistake. i wanted to share a lot of photos w/ friend via my google drive. i store my photos in iphoto. what i did was that i located the files in finder, selected them and moved the whole lot to my googledrive. wha
-
Hi Folks, I have few questions on SAP XI. 1) For IDoc and RFC, why we need to import the metadata again even though we import RFC and IDoc in intergration Repository? 2) Why we don't need to create Message interface and Message type for IDoc and RF
-
Configure the ADMIN and CLUSTER service connections to be SSL
Can you configure the ADMIN and CLUSTER service connections to be SSL rather than tcp? I was wondering about the present or future ability to secure other connection services with SSL. Can you now or are there future plans to configure the ADMIN and
-
Please help - computer is crashing & freezing ever since upgrade to Leopard
Ever since upgrading to Leopard, my computer has been crashing a lot more. Sometimes it just freezes up. Most recently, I got the gray screen with a bunch of different languages telling me to restart using the power button. Here is the crash report.
-
Attribute does nit exist after the upgrade
Hi, We have upgrdaed from BBPCRM 4 to SRM5.0. After the upgrdade we faced the following issue. While executing the transaction COMMPR01, we receive an error message "Attribue XXX does not exist". This attribute was maintained before the upgrade and a