Pop screen from action profile
Hi ,
We have configured action profile in lead to create opportunity under certain conditions. We have different types of opportunities. My question is it possible to display the pop screen to the user, so that they can select the type opportunity they wants to create.
Thanks
Elize
Hi Elize,
As far as I know it is not possible to have user interaction within action execution. Mainly because it is background process.
As an alternative you can create several actions, e.g. one per type of opportunity and then trigger the corresponding action accordingly.
Hopping this answer your question.
Sincerely,
Alain Gauthier
Similar Messages
-
I have an iPhone 4 and my lock button is jammed and I also can not touch anything on the left side of my screen well as any pop ups from the phone itself, so i can not get past the set up stage in reset process...how can i fix it/can it be fixed?
Make an appointment at the genius bar and get the phone replaced.
-
Displaying selection screen as pop-up from dialog box
Hi,
I have a screen which is of dialog-box type. This dialog screen shows an ALV and has a button in the ALV toolbar. On pressing this button, a pop-up screen is to be displayed. This pop-up screen is designed as a selection-screen. Is it possible to display this selection screen as a pop-up from a dialog box screen?
Regards,
SuhasHi Suhas,
Its possible to display selection screen as pop-up from dialog box.....Check the code below...copy paste and execute...
SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE text-001.
PARAMETER p.
SELECTION-SCREEN END OF SCREEN 123.
CALL SELECTION-SCREEN 123 STARTING AT 20 5
ENDING AT 80 15.
The below code might help u to add a button in alvgrid's toolbar......
* CLASS lcl_event_handler DEFINITION
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
DATA: wa_toolbar TYPE stb_button,
calc TYPE REF TO cl_gui_frontend_services.
METHODS : toolbar_handle FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object
e_interactive,
ucomm_handle FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
ENDCLASS. "lcl_event_handler DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD toolbar_handle.
MOVE 3 TO wa_toolbar-butn_type.
APPEND wa_toolbar TO e_object->mt_toolbar.
MOVE : 0 TO wa_toolbar-butn_type,
'CALC' TO wa_toolbar-function,
'@0M@' TO wa_toolbar-icon,
'Calculator' TO wa_toolbar-quickinfo.
APPEND wa_toolbar TO e_object->mt_toolbar.
ENDMETHOD. "toolbar_handle
METHOD ucomm_handle.
IF e_ucomm = 'CALC'. " When button added in toolbar is clicked
IF calc IS INITIAL.
CREATE OBJECT calc.
ENDIF.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = 'CALC'.
ENDIF.
ENDMETHOD. "ucomm_handle
ENDCLASS. "lcl_event_handler IMPLEMENTATION
DATA : container TYPE REF TO cl_gui_custom_container,
grid TYPE REF TO cl_gui_alv_grid,
event TYPE REF TO lcl_event_handler,
it_display TYPE TABLE OF mara,
wa_display TYPE mara.
START-OF-SELECTION.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'BASIC'.
PERFORM build_it_display.
PERFORM create_objects.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
WHEN 'EXIT'.
SET SCREEN 0.
LEAVE SCREEN.
WHEN 'CANC'.
SET SCREEN 0.
LEAVE SCREEN.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form build_it_display
* text
* --> p1 text
* <-- p2 text
FORM build_it_display .
SELECT * FROM mara UP TO 15 ROWS INTO TABLE it_display.
ENDFORM. " build_it_display
*& Form create_objects
* text
* --> p1 text
* <-- p2 text
FORM create_objects .
IF container IS INITIAL.
CREATE OBJECT container
EXPORTING
container_name = 'CUSTOM'.
CREATE OBJECT event.
CREATE OBJECT grid
EXPORTING
i_parent = container.
SET HANDLER event->toolbar_handle FOR grid.
SET HANDLER event->ucomm_handle FOR grid.
CALL METHOD grid->set_table_for_first_display
EXPORTING
i_structure_name = 'MARA'
CHANGING
it_outtab = it_display.
ENDIF.
ENDFORM. " create_objects
Cheers,
Jose. -
Action link URL calling from another screen from the same web server not work
Hi there,
I have an action link URL calling from another screen from the same web server, used the following syntax:
/analytics/saw.dll?Go&path=.....
But it is not working, when open the page, it shows error message
Oops! Google Chrome could not find analytics
Any help? Thanks!
LingThat's a +1 from me... same issue and yes, isn't inelegant or a shortcoming for some might be the cause of boldness as they rip their hair off their head so thanks in advance for keeping the refinement of the magic potions making the EA secret magic sauce... which may help stop hairloss
Cheers!
tfbkny -
FMMC , how to prevent FM area screen from keep popping up
hi guys,
how to prevent FMMC from having FM area from keep popping up..i need to create a program using submit report via FMMC.
IF FM area screen keeps popping up, it will disrupt the process , i tried to use OKKS but it doesnt stop the screen from keep popping up , pls adviceNotifications>Messages>Show Preview & View in Lock Screen
-
my iphone 5c screen is popping out from the top right side , can i exchange it for a new one at the apple store ?
If it is still under warranty, and they determine it is a manufacturing defect, they will replace it. Be sure to back everything up before taking it into the Apple Store. That way, if you do get a new device, you will be able to set it up from the backup.
Cheers,
GB -
How to launch an ITS screen from an ABAP WebDynpro Button Action
Hello All,
I have a requirement to launch an ITS Screen from ABAP WebDynpro. There will be abutton on the WebDynpro screen and when the user will click on that button, the ITS Screen will be launched.
Can anyone please provide us some sample applications or sample code to achieve the above functionality.
Points will be rewarded.
Thanks
ShyamHi Shyam,
You can achieve by using Launchpad Customizing and the Launchpad Navigation API's. Just make and entry on transaction LPD_CUST, create a launchpad role, add you target application there.
At run time under the UI button you can call the API provided by CL_APB_LAUNCHPAD_API -->LAUNCH_APPLICATION to open the application. You can find many material on Internet for the same, with examples, even try some where-use in your system.
I found one more helpful link.
http://sapignite.com/call-sap-tcode-using-webdynpro-for-abap/
Regards
Vineet -
How to remove create placement option from action of HRMS people screen
Hi All,
Please can you suggest me the way to remove 'create placement' option from action field of UK Super HRMS manager responsibility or any responsibility .I have tried it by task flow approach.So kindly suggest different approach.
Regards
AkashThere is a system lookup_type HR_PTU_ACTION_TYPES which gets these values.
Not sure if you can disable it(unless you go by the Help - Diagnostics - Examine) -
Follow up task without using the action profile
Hi,
Is it possible to create the follow up task without using the action profile? If so, please let me know how we can do that?
as per the requirements, i have to the custom coding that will automatically create follow-on task triggered by status change on the all the transaction type. Please guide me how can we do that.
Task details (task id, description), I'm reading it from the custom table.
Thanks for your help.
Regards,
VaibhavThanks Naresh for the response.
Not sure if I can use the CRMV_EVENT. Even I'm not aware how to use that. Let me tell what i am doing in the logic.
- implementing the logic in the badi order_save (method - CHECK_BEFORE_SAVE)
- get the header and item details using the FM CRM_ORDER_READ.
- get the status of header / item from the output of CRM_ORDER_READ.
- compare the status with the custom table (having info of hearder type, item type, status, tast id, task description etc)
- if status is different, create the task using the details from the custom table.
now i want to write the logic to implement the last step. Do we have any standard FM where I can pass the task ID and it will create the task? Please help. -
Issue in creating Lead Follow UP- Action Profile
Hi,
I am creating a Lead From a Lead automatically through Action Profile. The Condition is Based on the Questionaire Qualification level. When the follow up is created the Qualification level values disappered.
We suspet that the lead copies the Qualification Level. Can any one help in Stoping the copy control of the Qualification level field alone.
Is their any Badi for this?
With Regards,
Selvam tHi,
Please check badi CRM_COPY_BADI. It is used to control which fields should be copied.
For qualification level, I think method LEAD_H should help.
Best regards,
Maggie -
Z-Button - How to call a Action Profile to Open a PDF-Doc. within an Event?
Hi Experts,
we have created a Z-Button that afterwards creates an event. In the coding for the event an Action Profile should be called and a PDF-Document should be opened. We have copied the coding from the standard button 'Print Preview' which is calling the standard event: EH_ONPRINT_PREVIEW.
We have also defined a Z Action Profile which is a copie of SERVICE_CONFIRMATION. Our problem is we don't know how why our Z-Action Prodile is not called? What is the class lr_actioncontext (TYPE REF TO cl_crm_bol_entity)?
DATA: lr_cn TYPE REF TO cl_bsp_wd_context_node,
lr_adminh TYPE REF TO cl_crm_bol_entity,
lr_actioncontext TYPE REF TO cl_crm_bol_entity,
lv_adminh_guid TYPE string,
lv_url TYPE string,
lc_head_context TYPE REF TO cl_doc_context_crm_order,
lt_item_context TYPE ppftctxpos,
iv_header_guid TYPE crmt_object_guid,
lif_decision_pop TYPE REF TO if_bsp_wd_popup,
lv_string TYPE string.
CHECK gv_print_preview_enabled = abap_true.
lr_cn = me->get_context_node( gc_cn_btadminh ).
CHECK lr_cn IS BOUND.
lr_adminh ?= lr_cn->collection_wrapper->get_current( ).
CHECK lr_adminh IS BOUND.
lv_adminh_guid = lr_adminh->get_property_as_string( iv_attr_name = 'GUID' ).
lr_actioncontext = lr_adminh->get_related_entity( iv_relation_name = 'BTHeaderAction' ). "#EC NOTEXT
CLEAR gt_print_actions.
CLEAR gr_action_popup.
iv_header_guid = lv_adminh_guid.
CALL METHOD cl_crm_uiu_actions_tools=>get_action_definition
RECEIVING
rv_action_def = lv_string.
CALL METHOD cl_crm_uiu_actions_tools=>show_print_actions_popup
EXPORTING
ir_action_context = lr_actioncontext
ir_parent_node = lr_adminh
ir_view_controller = me
ir_component_controller = comp_controller
iv_event_name = gc_ev_print_preview_closed
iv_for_preview = abap_true
iv_appl_guid = lv_adminh_guid
IMPORTING
et_actions = gt_print_actions
ev_url = lv_url
CHANGING
cr_decision_popup = gr_action_popup.
IF lv_url IS NOT INITIAL.
call_print_preview_popup( lv_url ).
ENDIF.
Best RegardsClosed. No answers.
-
How do I delete credit card information from my profile?
How do I delete credit card information from my profile? When I simply delete it, the system forces something to be in those fields. When I type random info in, it forces accurate info. I DON'T want to store credit card info.
To remove it from your account, tap on your id in Settings > iTunes & App Store and then tap on 'View Apple ID' on the popup and log into your account - that should give you a payments link on your account's page from where you can change remove/change your payment details.
Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support
If you don't get the 'none' option on the payment details screen : Why can’t I select None when I edit my Apple ID payment information? - Apple Support -
Hi all,
Me sending service Quotation to customer as email by using action profile. problem facing here is, while sending email, sender name is going sy-uname so i was trying to set some default name in From address of mail body. Actually standard class and method which i used for this process is "CL_DOC_PROCESSING_CRM_ORDER=>CRM_SRVORDER_EXEC_SMART_FORM" . In this method signature is_mail_sender is empty while processing and this parameter is used as importing parameter while calling FM "Function_Name" . Can any one give me some idea how to do this customization.
call function function_name
exporting
archive_index = is_archive_index
archive_index_tab = ct_archive_index_tab
archive_parameters = is_archive_parameters
control_parameters = control_parameters
mail_appl_obj = is_mail_appl_obj
mail_recipient = is_mail_recipient
mail_sender = is_mail_sender
Thanks all,
AnbuHi Anbu,
I believe note 573736 content will help you
Kind regards,
Garcia -
"Can't get Action from Action Reference"?
I really can't figure out why I get java.lang.IllegalArgumentException with "Can't get Action from Action Reference: BeanName.actionName" message. I specified all properties in faces-config.xml. Bean and its action names are all checked several times, but I still get that exception. Is it a JSF bug, or my simple mistake? Is there anyone who experienced the same problem?
I'm using two forms in one page. all components' ids are all different. Only one form generated the exception not regarding the order of the forms. (the one is login form and the other (which doesn't generate exception) is leave-comment form.)
Here is the form code:
<h:form id="loginForm" formName="loginForm" >
Login >
<h:input_text id="loginUserName" valueRef="UserBean.userName">
<f:attribute name="style" value="width:64px;"/>
</h:input_text>
|
Password >
<h:input_secret id="loginPassword" valueRef="UserBean.password">
<f:attribute name="style" value="width:64px;"/>
</h:input_secret>
|
<h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
</h:form>
and here is managed-bean part:
<managed-bean>
<managed-bean-name>UserBean</manager-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.UserBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>password</property-name>
<null-value/>
</managed-property>
</managed-bean>
Thanks in advance!here goes the source code of NotesBean:
abstract class NotesBean {
protected static final String SUCCESS = "success";
protected static final String FAILURE = "failure";
private String connectionProfile;
protected NotesBean() {}
public String getConnectionProfile() {
return connectionProfile;
public void setConnectionProfile(String newProfileName) {
connectionProfile = newProfileName;
public abstract Action getCreateAction();
public abstract Action getDeleteAction();
public abstract Action getUpdateAction();
protected Connection getConnection() throws NotesException {
ConnectionProfile profile = ConnectionProfileFactory.getProfile(connectionProfile);
return DriverManager.getConnection(profile.getUrl(), profile.getProperties());
}I think everything is ok with the beans, right?
By the way: shouldn�t the error message be:
"Can't get Action from Action Reference: UserBean.loginAction"I just examplified the message using somewhat generic name. Sorry for confusion :)
As a final try, here is the whole JSP code: (ignore korean texts)
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://gleamynode.net/notes" prefix="notes" %>
<html>
<head>
<title>gleamynode.net :: gathering of my mentality</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" HREF="css/gleamynode.css" type="text/css" />
</head>
<body>
<f:use_faces>
<notes:useNotes>
<c:choose>
<c:when test="${empty param['id']}">
<notes:getPages var="pages" />
<c:forEach var="p" items="${pages}" begin="0" end="0">
<c:set var="p" value="${p}" scope="request"/>
</c:forEach>
</c:when>
<c:otherwise>
<notes:getPage var="p" pageId="${param['id']}" />
</c:otherwise>
</c:choose>
<div id="header">
<h:command_hyperlink href="index.jsp" label="gleamynode.net :: gathering of my mentality"/>
</div>
<div id="menu">
About | Essays | Projects | Others | Links
</div>
<div id="content">
<div id="page">
<div id="pageTitle">
#${p.id}. ${p.title}
</div>
<div id="pageContent">
${p.content}
<div id="pageTimestamp">
${p.timestamp}
</div>
</div>
</div>
<c:choose>
<c:when test="${fn:length(p.comments) > 0}">
<div id="comments">
<div id="teaser">
${fn:length(p.comments)} ?? ??? ????
</div>
<c:forEach var="c" items="${p.comments}">
<div id="commentHeader">
#${c.id}. ${c.userName}
</div>
<div id="commentContent">
${c.content}
<div id="commentTimestamp">
${c.timestamp}
</div>
</div>
</c:forEach>
</div>
</c:when>
</c:choose>
<div id="commentForm">
<jsp:useBean id="CommentBean" class="net.gleamynode.notes.http.faces.CommentBean" scope="request" />
<jsp:setProperty name="CommentBean" property="pageIdStr" value="${p.id}"/>
<jsp:setProperty name="CommentBean" property="content" value=""/>
<div id="teaser">
</div>
<h:form id="commmentForm" formName="commentForm" >
<input type="hidden" name="id" value="${p.id}"/>
<h:input_hidden id="pageId" valueRef="CommentBean.pageIdStr"/>
<table width="95%">
<tr>
<td class="name" width="9%">Name:</td>
<td class="value" width="25%">
<h:input_text id="userName" valueRef="CommentBean.userName">
<f:attribute name="style" value="width:75%;"/>
</h:input_text>
</td>
<td class="name" width="8%">Email:</td>
<td class="value" width="25%">
<h:input_text id="userEmail" valueRef="CommentBean.userEmail">
<f:attribute name="style" value="width:75%;"/>
</h:input_text>
</td>
<td class="name" width="8%">URL:</td>
<td class="value" width="25%">
<h:input_text id="userURL" valueRef="CommentBean.userURL">
<f:attribute name="style" value="width:100%;"/>
</h:input_text>
</td>
</tr>
<tr>
<td colspan="6">
<h:input_textarea id="content" valueRef="CommentBean.content">
<f:attribute name="style" value="width:100%; height: 12em;"/>
</h:input_textarea>
</td>
</tr>
<tr>
<td class="buttons" colspan="6">
<h:command_button id="submit" label="leave a comment" commandName="submit" actionRef="CommentBean.createAction" />
</td>
</tr>
</table>
</h:form>
</div>
<div id="loginForm">
<div id="teaser">
</div>
<h:form id="loginForm" formName="loginForm" >
Login >
<h:input_text id="loginUserName" valueRef="UserBean.userName">
<f:attribute name="style" value="width:64px;"/>
</h:input_text>
|
Password >
<h:input_secret id="loginPassword" valueRef="UserBean.password">
<f:attribute name="style" value="width:64px;"/>
</h:input_secret>
|
<h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
</h:form>
</div>
<div id="copyright">
Copyright � 1999~ by Trustin Lee, All Rights Reserved.
</div>
</div>
<div id="footer">
</div>
</notes:useNotes>
</f:use_faces>
</body>
</html>and, here is the whole faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<navigation-rule>
<from-tree-id>/index.jsp</from-tree-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-tree-id>/index.jsp</to-tree-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-tree-id>/failure.jsp</to-tree-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>PageBean</managed-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.PageBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>title</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>content</property-name>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>CommentBean</managed-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.CommentBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>pageIdStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userEmail</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userURL</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>content</property-name>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>UserBean</manager-bean-name>
<managed-bean-class>
net.gleamynode.notes.http.faces.UserBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>idStr</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>userName</property-name>
<null-value/>
</managed-property>
<managed-property>
<property-name>password</property-name>
<null-value/>
</managed-property>
</managed-bean>
</faces-config>Thank you for your continuous help, Rene! Learned alot from you about JSF :) -
Trasnporting the Condition in the Action Profile
I have defined an action profile Activity for sending the email automatically when saving an activity.
I defined the condition for the Remainder email to send in the Tcode CRMC_ACTION_CONF.
But I am not able to transport the defined Condition from the Dev system to the QA system.
How can I transport the condition from the dev to QAZack,
Did it create a transport request when you initially created the condition?
If it did and if the transport was loaded onto QA and you cannot see the new condition in QA then there seems to be a problem in the system. Try creating a new dummy condition and see if that gets transported. If not then, you have open a message to sap.
Ani
Maybe you are looking for
-
Error when trying to create recordset
I'm trying to create a recordset on my ASP page but when I click Bindings-Recordset I get this error: 'While executing applyServerBehavior in Recordset.html, the following Javascript error(s) occured: At line 1243 of file "C:\Program Files...\Shared\
-
I need help I can't get my computer to recognize my ipod nano 7th....going through all the steps...NOT HELPING LOL
-
I am unable to download os x mavericks
i am unable to download os x maverics
-
Hi All, I have set up miniSIPServer and XLITE VOIP client. Now I want to implement J2ME SIP Client which can talk to the XLITE client. I am trying to connect to XLITE clielnt through miniSIP Server by establishing SIP session. I am following JSR 180.
-
Help reqiured on error in query
Hi, I am getting the error Hierarchy ITEM HIERARCHY 00000000 is not available for InfoObject Item Header while trying to execute a query in which the info object item header is restricted with the item hierarchy. The hierarchy has been loaded c