Filling Activity fields from the Interactive Script WinClient
Hi Experts,
I am working with Interactive Scripting (CRMM_TM_SCRIPT) and I already defined my interactive script. I am also creating Activities after I finish with the Script in order to register a case. I am doing this by defining an Action Type CIC-AB which calls an Action Box in the Interaction Center WinClient. In the Action field I define the name of the Activity I want to call from the Action Box of the Interaction Center.
When the Agent receives a call, he navigates in the Interactive Script in order to clasify the case he is treating. At the end of the Script, the case needs to be register following the clasification made by the Agent, and thats why we are calling an Activity. The thing is that we dont want the Agent to fill again the information he just defined in the Script in the Activiy, so we want to fill certain fields of the Activiy I am calling with Information of the Interactive Script I used before, in order to save time to the Agent that Register the Case.
Can anyome shed some light on this issue?
Thanks to everyone.
Alberto
You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
I think it would be helpful
Procedure:
T-Code: EWFC0
Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
Enter a group ID, description and icon for the new transaction group and choose Continue.
3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
4. Enter a transaction ID.
5. Enter a Transaction Definition section, select Workspace.
6. In the Transaction Definition section, select Workspace.
Two additional fields will appear.
7 Choose F4 in the Workspace field to select the Script.
8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
9. Enter a Slot Name if desired.
10. Choose Continue.
You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
11. Choose Back.
12 Choose Save.
Note: Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
Regards
Surendra
Similar Messages
-
Filling Activity fields in the Interactive Script in the IC WinClient
Hi Experts
My question is how to pass parameters between two workspaces. More specifically between the workspace of the Interactive Script WinClient and the workspace Activity.
The thing is that after i finish navigating in the script, i need to call an activity, which is working good. However what i want is to fill some fields of the activity i am calling with information coming from the script
Can anyone help me on this issue?.
ThanksHi Shwetha,
Lina is right SAP supports JRE 1.4.2, I also had similar problem however please see what version of JRE are you using. If you are using anything below JRE 1.4.2 you could probably upgrade to JRE 1.4.2. If you are using anything above JRE1.4.2 you may not be able to downgrade. In that case you could probabaly upgrade to 1.6.0. I could do all the functions in Interactive Script Editor with 1.6.0 except assigning Script to Script profile and you could do that alternatively through SPRO. One of my colleague had JRE 1.5 and was facing some issues. Secondly, Interactive Script Editor takes a while to populate therefore be a bit patient.
To know which version of Java is installed on your local machine Click on Tools -> Sun Java Console.
Regards,
Deepak -
Filling an Activity from the Interactive Script in Interaction Center WC
Hi Experts,
I need to fill an activity from an Interactive Script in the Interaction Center WinClient.
When i finish selecting in the script all the possible answers, i need to create an activity with information coming from the script. How can i make that possible?
points rewarded
thanksAlberto
You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
I think it would be helpful
Procedure:
T-Code: EWFC0
Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
Enter a group ID, description and icon for the new transaction group and choose Continue.
3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
4. Enter a transaction ID.
5. Enter a Transaction Definition section, select Workspace.
6. In the Transaction Definition section, select Workspace.
Two additional fields will appear.
7 Choose F4 in the Workspace field to select the Script.
8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
9. Enter a Slot Name if desired.
10. Choose Continue.
You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
11. Choose Back.
12 Choose Save.
Note: Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
Regards
Surendra -
Interactive Script in the Interaction Center WinClient
Hi Experts
My question is how to pass parameters between two workspaces. More specifically between the workspace of the Interactive Script WinClient and the workspace Activity.
Can anyone help me on this issue?.
ThanksHi Alberto,
Refer to the documentation below to help your self with the settings:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0003b5b0-0b01-0010-c0b4-cb3178973441
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Changing layout size of the Interactive Script in the Appl. Area
Hi Experts,
I need to change the standard size of the layout of the interactive script WinClient in the Apppl. Area. The screen has more space to increase the layout of the view of the Interactive Script but i don't know how to make this change.
Thanks for your helphi!
create a variable window and write this code there
/: POSITION XORIGIN '2' CM YORIGIN '10' CM
/: SIZE WIDTH '18.05' CM HEIGHT '18' CM
/: BOX FRAME 10 TW
/: POSITION XORIGIN '2.05' CM YORIGIN '10.05' CM
/: BOX WIDTH '18' CM HEIGHT '1' CM INTENSITY 15
/: POSITION XORIGIN '3.5' CM YORIGIN '10' CM
/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM
/: POSITION XORIGIN '9.2' CM YORIGIN '10' CM
/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM
/: POSITION XORIGIN '11.5' CM YORIGIN '10' CM
/: BOX FRAME 10 TW WIDTH '0' TW HEIGHT '18' CM
then create a main window with same height and width as that of the varaible window (overlapping the variable window on to it).
now on looping in the main table and displaying the data boxes will come it self....
here the main window dimensions are
MAIN 00 Main Window 2,00 CM 10,00 CM 18,00 CM 18,00 CM
[then with the help of data element call the box
/: BOX WIDTH '18' CM HEIGHT '1' CM FRAME 10 TW
in loop where write_form is called....]
u will get the box with the data printed in the form......
keeping same for the variable window....
and try it....
this will be done.... -
Changing the Date in an Activity of the Interaction Center WinClient
Hi Experts
I am working with an activity in the Interaction Center WinClient and i need to change the Date To of the Activity depending on the Reason i choose in the document.
I found out that in CRMD_SERV_SLA - Maintain Availability and Response Times you can set the an specific time depending on the reason of the activity you are working on, but i don't know how to change the Date To of the Activity when i select a specific reason, which already have the respective duration value defined in the transaction mentioned above.
I would appreciate the help on this issue and it sure will be rewarded with points.
ThanksHi Alberto,
You have to user a header level badi, i.e CRM_ORDERADM_H_BADI
Here in you can access your activity and can use CRM_ORDER_MAINTAIN to change the date.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Automatically display the Interactive Scripting on WinClient's CIC
Is it possible to automatically display the Interactive Scripting for the cic Agent?
I only have one script so there's really no need for the agent to choose when he only has that option.
I'm on CRM 4.
Thanks in advance,
VHi Vitor,
To show the Interactive Scripting ViewSet as the default Viewset for your IC profile you will need to do the following customizing step:
IMG > CRM > IC WebClient > Define Inital ViewSets and Transactions
Create a new entry for your profile and set the Initial View to ScriptViewSet
The views for Interactiver Scripting itself (in CRM4) are JSP's located in the Java Stack of the CRM server and can not be maintained using the ABAP workbench, so if you want to launch a script by default you will need to "extend" the coding of the appropriate JSP -
Populate fields from a php script
Hi,
I am trying to populate text fields from a PHP script right into Acrobat Reader.
Lets not talk about database just yet, I just want to know how to take a variable in PHP right to the livecycle designer form.
I have seen many things like submitform(), using http posts, etc but I cant get it to work.
Thank you in advance.If you want to fill the LiveCycle Designer form, then you need to render it with the datafile.
The datafile can be an XML file or a webservice or Database.
You cannot directly fill the PDF from a PHP script. What you can do is, have a LiveCycle Process created in Workbench and then invoke the Process from PHP application by passing the information. The Livecycle process will merge the data with the template and return the PDF to the client application.
There is an other feature in Acrobat PRO that you can import an XML file directly into a PDF but that is a manual effort. You can not link that to a PHP Script.
Thanks
Srini -
How to skip one field from the file by using sqlldr
Hi ,
i'm using DB 10g R2 on Redhat ,
my control file hereunder ,
LOAD DATA
INTO TABLE reber.AAA_BILL
APPEND
REENABLE DISABLED_CONSTRAINTS
EXCEPTIONS reber.AAA_BILL
FIELDS TERMINATED BY '|'
(Streamnumber ,
MDN ,
USERNAME ,
DOMAIN ,
USERIP ,
CORRELATION_ID ,
ACCOUNTREASON ,
STARTTIME ,
PRIORTIME ,
CURTIME ,
SESSIONTIME ,
SESSIONVOLUME ,
RATEPOLICYIDX ,
FEE ,
GROUPID ,
SERVICEID)and this is one records of the file ,
222|1|0664363446|12D0DC90||10.15.6.45|007b8aa5|3|20111029204824|20111029204824|20111029211504|1600|0|147|0|4000|10154|really i want to skip the first field in the file which is (222|) and starting from the second field ,
any help pleaseThank you for you reply ,
really i know the Filler to skip colomn from the table , is the Filler working also to skip field from the File . i'll read the link to check this -
Fill a field at the btadmini context node
Hi experts
Iu2019ve to fill the field ZZCURVAMAT at the btadmini context node when I put a product in the order item.
Iu2019m trying to fill that field in the get_ordered_prod method with the code below:
CALL METHOD lr_entity->if_bol_bo_property_access~set_property_as_string
EXPORTING
iv_attr_name = 'ZZCURVAMAT'
iv_value = lv_zzcurvamat.
But I must active two commands to fill that field, at the first processing the field is not filled. For Example, I need to click at the u201Center buttonu201D twice so that the field ZZCURVAMAT can be filled.
Anyone knows how can I fill that field as soon as I put the product and click at the enter button?
Ps. I tried to do it in the set_ordered_prod but occurred the same thing
Thanks in advancehow you decided on this user exit? this is being called AFTER order save, so you can do wjhatever you want, it is not going to save that to VBAP
what you need to use is either userexit_move_field_to_VBAP or userexit_save_document_prepare.
in move to VBAP user exit you dont need to move the values to XVBAP, just move to VBAP, and SAP will tkae care of the rest
for prepare user exit use the same code you have, but do modify xvbap before endloop. -
I am working on an EnterpriseWiki site collection, and when users edit the page properties as follow:-
then will get all the fields inside the EnterpriseWiki content type as follow:-
now i want to hide all the fields except the ; Title & Name, so i edit the EditForm and i add the following script:-
<script>
$('#formTbl tr').filter(function ()
return !$(".ms-standardheader", this).text().match(/Name|Title/i);
}).remove();
</script>
so currently when users edit the wiki page properties they can only edit the Name & Title, because the script hide the other fields.
My question is what will happen to the other values such as the page content, assign to , etc that have been hidden.. I test this and seems that when editing the name and title the other values will not get effected which is what i need, but not sure how
did SharePoint handle this, i was afraid that hiding the other columns will set their values as null or empty if the user save the editform with only the title and name inside it ? can anyone adivce on this ?Hi John,
From your description, my understanding is that you are worried about the values of some fields
will been saved as empty if you hide them in EditForm.
If you hide some fields in EditForm, it means that you could not edit them. These fields’ values will not be changed after editing Title field or Name field. When you click Save button, they will be still the values before changing the Title field or Name
field.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
i found this very critical issue with hiding the fields from the edit form, now i wrote the following script inside the edit form , to hide all the fields except the Name
<script>
$(document).ready(function(){
$('#formTbl tr').filter(function () {
return !$(".ms-standardheader", this).text().match(/Name/i); }).hide();
$('#ctl00_ctl40_g_6c7d849e_da6b_4138_be9f_b99bde542065_ctl00_ctl02_ctl00_ctl04_c tl00_WebPartMaintenancePageLink').hide(); });
</script>"
. and now if I submit the editform (which only contain the Name) all the html tables inside the wiki page content will be removed. -
Getting Error while deleting a field from the 'Z' Structure
Hi All,
I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
Its a structure so i cant activate and adjust as we do for Tables.(se14)
So pls help me out asap.
thanks & Regards,
Dhruv ShahThanks for Quick Reply.
I have not used this field in any FM/ Report.
I have tried log off and then log on. but it make no difference.
Now the Other scenario is that i want to change the datatype of this field to TEXT25.
But it is also not allowing me to change because currently datatype is TEXT20.
So now how can i change the length from 20 to 25.
Regards,
Dhruv Shah -
How can I get the "text" field from the actionEvent.getSource() ?
I have some sample code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.ArrayList;
public class JFrameTester{
public static void main( String[] args ) {
JFrame f = new JFrame("JFrame");
f.setSize( 500, 500 );
ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
buttonsArr.add( new JButton( "first" ) );
buttonsArr.add( new JButton( "second" ) );
buttonsArr.add( new JButton( "third" ) );
MyListener myListener = new MyListener();
( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
JPanel panel = new JPanel();
panel.add( buttonsArr.get( 0 ) );
panel.add( buttonsArr.get( 1 ) );
panel.add( buttonsArr.get( 2 ) );
f.getContentPane().add( BorderLayout.CENTER, panel );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setVisible( true );
public static class MyListener implements ActionListener{
public MyListener() {}
public void actionPerformed( ActionEvent e ) {
System.out.println( "hi!! " + e.getSource() );
// I need to know a title of the button (which was clicked)...
}The output of the code is something like this:
hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
I need this: "first" (from this part: "text=first" of the output above).
Does anyone know how can I get the "text" field from the e.getSource() ?System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
In a real-world application, no.
In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button). -
How to get additional field from the second list base on lookup information column ?
Hi everyone,
Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
List2 have 3 columns title, and category, and color. so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
Best regards,
------------------------------------------------------------ ---Tola---You can build one custom lookup control. Refer to the following post
http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
Alternatively, try the following solution from codeplex
http://sp2010filteredlookup.codeplex.com/
http://filteredlookup.codeplex.com/
--Cheers -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani
Maybe you are looking for
-
HT204389 how to stop the voice over
how do i stop the siri voice over
-
Copy applications from Apple IPOD Touch to Apple IPHONE
I purchased me an IPHONE and I have application that I installed from Apple Applications from using the ICON on the IPOD TOUCH. I am interested in know instead of paying again for the same applications can I transfer/copy these applications to the IP
-
Hi, I've had a browse through the forum, and some of the posted problems do have a relation to mine, but mine are a bit more "weirder". I have a XP2000 CPU, K7N2-L, 512DDR Pc2100 RAM. I am using PCI slot1 for my modem, and AGP slot for my GF2MX. Any
-
In snow leopard, 2 fingers to the left on the mouse went back to the previous page. In Lion, it opens the dashboard. How can i make firefox go back to previous page with two fingers left on the mouse??
-
Tengo instalado el adobe digital editions correctamente con su licencia.
Tengo instalado el ADE 3.0 pero cuando voy a añadir un PDF con DRM, me dice que no puede abrir el archivo, que lo abra con el ADOBE READER, con lo cual no puedo incorporarlo a mi ereader. Si alguien sabe la solucion se lo agradecere. Gracias