How to see programming Code for UCCX Script
Hi All,
How can I see the programming Code for UCCX Script? I have a script and want to see its Code , something like :
int sum = 0;
boolean alternate = false;
boolean isValid = false;
try {
int i = 0;
for (i = ccnumber.length() - 1; i >= 0; i--) {
int n = Integer.parseInt(ccnumber.substring(i, i + 1));
if (alternate) {
n = n * 2;
if (n > 9) {
n = (n % 10) + 1;
sum += n;
alternate = !alternate;
isValid = (sum % 10 == 0);
} catch (Exception e) {
return -1;
return (isValid == true ? 1 : 0);
thanks,
Hamed
You're not going to find code per se, unless you have some java class you wrote and then you would only see the code if you had the source java file. The script is the only interface you get for "code".
david
Similar Messages
-
Where to see the transaction code for a script
Hai my dout is where to see the transaction code for a script after assigning to a drive programm for example i see output for medruck in me11 and for other standard scripts where can i see the output is there any table avaible to check it
Hi masthan,
for sd and mm related scripts. u can use tnapr.
Otherwise go to nace transaction u can find the script name as well as program name.
Or u can try with TSTC table, which will give the t/c's.
Regards...
Arun. -
How to create transaction code for maintenance view
hai friends,
i hope every thing goes good.
i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
i tried and i donot know the screen number and program name and where can i give the view name.
if any one know please post in details.
thanks in advance.Hi Elam,
You need to create a "Parameter Transaction".
What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
Now save the transaction and there you have it.
Hope this helps.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful. -
Script Component WebService Binary code for the script is not found
I am using SSIS 2012 to access a Public Web Service
http://marketinformation.natgrid.co.uk/MIPIws-public/public/publicwebservice.asmx
However, when adding reference to WebService (not Service Reference),
I receive the dreaded msg "Binary code for the script is not found"
I have spent an age ploughing through the forums.
Many replies seem to suggest not using Script Component to acces WebService.
Should I write a .NET app ?
Any thoughts how I should proceed would be most welcome.
thanks JohnJamesHi JohnJames,
If I understand correctly, you already add this public web service via Add Service Reference option in the Script Component. Then you receive the error message when you trying to call the bindings and Contract settings stored in app.config file to access
the web service.
Please note that we cannot all the web service normal way as SSIS Script Component task doesn’t recongnise the app.config file. To fix this issue, we should define the BINDINGS via code rather than depending on the App.config file. For more details, please
see the following blog:
http://social.technet.microsoft.com/wiki/contents/articles/22587.consume-webservice-via-ssis-script-component.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to find function code for buttons on toolbar in oops alv
Hi experts,
I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALVHi Prakash,
-->First you have to set the pf status in your alv program by,
{FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS}
-->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
i_callback_pf_status_set = 'PF_STATUS'}
*-->Then doble click on that pf status,
From the menu bar, select Extras->Adjust Template->List Viewer,
This will give you the existing statndard gui status of the program*
->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
i_callback_user_command = 'COMM'
And make a subroutine of the name 'COMM'i.e,
FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA: okcode TYPE sy-ucomm.
okcode = ucomm.
CASE okcode.
WHEN 'REF'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'MANSI'
txt1 = 'CREATED BY'
txt2 = SY-UNAME
TXT3 = ' '
TXT4 = ' '
endcase.
Hope it helps you
Regrds
Mansi -
How to create transaction code for a Z-table
How to create transaction code for a Z-table?
Se93 --> then which radio button to be selected? and what is the program nam e to be givenHi Sam,
<b>Procedure to create a TCODE for ZTABLE:</b>
Create a table maintainance/View for the Z* Table.
Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
<u><i>Se93 --> then which radio button to be selected</i></u>
Select the parameter transaction as a radio button.
<u><i>what is the program nam e to be given</i></u>
no need to give any program name. Instead you have to give the transaction code name as SM30.
Pls mark the helpful answers.
Thanks
Eswar -
How to see Summarized Hierarchy for Variances after variance calculation
Hi,
How to see Summarized Hierarchy for Variances after variance calculation.
Thanks
Sunithahi Sunitha,
KOB3 is the t.code. assign me kindly.
regards
Sirisha -
How to create transactoin code for a predefined variant?
Hi, I have created one variant for a custom report.How to create transaction code for the report with that variant?
When you create the transaction in SE93 select the Program and selection screen(Report transaction) type not
the transaction with variant(Variant transaction) -
How to give t-code for Query in SQVI
Hi
how to assign t-code for the query written in SQVI
Regards
SmithaHi Smitha
1>go to SQVI t code and enter your query name and press enter
2>In the menu path select Quick view--> additional functions-->Generate Program
3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
4>Now in se38 enter the report name in Program field and execute
5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
6> Note down the Program name and Screen number
7>Go to SE93 and Create a Z tcode for the query, Enter the description and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
8>In the next screen enter the Report name In Program field and enter the screen number
9>In the classification Section select Professional user Transaction
10>In GUI support section select all the options i.e SAPGUI for HTML,Java,Windows
and save
the system will ask for Package select your package if not there then select local object
now execute the Z tcode your report will run sucessfully
Regards
Vijay hebbal -
How to see Trial Balance for a Segment
Hi Experts,
Does anybody has idea on how to see Triala Balance for a Segment ?
In Standard Reports for Balance Sheet and Profit & Loss, SAP B1 has provided option for filtering on Segment, but the same is not true for Trial Balance.
BR
Samir GandhiHi Samir,
yes it is possible to display Trial Balance in Segment format.
open Trial Balance Report, in the Upper right hand of the of the window next to G/L Accounts you can find the "FIND" button, click that one then the Find G/L Account window opens. from this window you cans Select Segmentation accounts.
regards,
Fidel -
How to print claim code for envy 5530 without connecting to internet?
how to print claim code for hp envy 5530 without connecting to internet. We do not have wireless internet and we are trying to set up the eprint app for our samsun android phones and ipad. We need to print off the claim code from the printer but it seems we need to have internet for that. is there any way around that?
ThanksHi,
You have to, without connecting to the internet, the claim code (if you can get one) is useless.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How to write a code for open new txt file in swing
hai all,
now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
plz give me that code ! very urgent
Advance Thanks !
RSKSwing Tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
note: don't use the word urgent because it implies that your problem is more important than others. -
How to see profile history for role?
Hi..
I transported role from DEV to QAS...there in QAS profile not generated. throwed error RC=8..could you anybody tell me how to see profile history for that role in QASHi,
Please check the link below:
[click here|Current version not generated!
Edited by: Subramaniam Iyer on Jan 19, 2009 7:52 AM
Edited by: Subramaniam Iyer on Jan 19, 2009 7:59 AM
Edited by: Subramaniam Iyer on Jan 19, 2009 8:12 AM -
How to create plsql code for a snowflake cube
hi everybody!
do anyone know how to create plsql code for a snowflake tiype dimension to create
a cube?how to map the atributes, or if there are any exceptional atributes which I can use like in a temporal dimension?
thank you
waiting for any answerThe DBMS_AWM package provides stored procedures for creating an analytic workspace cube from a star schema. Is it posible to create a cube from a snoflake schema?
-
hi master
see my code for runtime lov
DECLARE
X BOOLEAN;
rg_name VARCHAR2(40) := 'RG_CNTRY';
rg_id RecordGroup;
lov_id LOV;
qry varchar2(4000);
errcode number;
BEGIN
rg_id := Find_Group( rg_name );
qry := 'SELECT * from dept' ;
IF NOT Id_Null(rg_id) THEN
Delete_Group( rg_id );
END IF;
rg_id := Create_Group_From_Query( rg_name,qry);
errcode := Populate_Group( rg_id );
lov_id := Find_LOV('LV_COUNTRY');
Set_LOV_Property(lov_id,GROUP_NAME,'RG_CNTRY');
X := SHOW_LOV('LV_COUNTRY',110,25);
END;
when i press button then system give this error
Frm-41091 : cannot find lov : invalid id.
Frm-41828 : lov dose not exist.
please give me idea
Thanking you
Aamirlov := Find_LOV('LV_COUNTRY');Make sure the LV_COUNTRY lov exists in your module.
Maybe you are looking for
-
Any way to get split mono tracks in a Multicam Sequence?
I have video from 4 different cameras which I'm trying to sync as a Multicamera clip. They sync great, but the audio mapping is not how I want it. All the cameras recorded 2 separate audio channels, but they appear upon import in Premiere as Stereo.
-
Playing sound files without using Applets
Please Help me ! The code below shows an error " Cannot resolve symbol AudioClip" What changes should be made?? import javax.swing.*; import java.net.*; import javax.sound.sampled.*; import java.applet.AudioClip.*; public static void main(String args
-
Cisco Network Management software options
Hi, I wanted to see if anyone can give me a quick breakdown on the differences between some Network Management software titles. I dont know when you would use each one or what the limitations are of each. CNA - Cisco Network Assistant http://www.ci
-
My iphoto says tech error and to reinstall. How do I do that?
IPhoto works as a desktop screen savor, but will not display pictures and when opened it says their is an error with mac oxs and it needs to be reinstalled. I don't know how to do this. Please advise.
-
24" iMacs in UK retail Apple stores?
Does anyone have any idea when the new 24" iMacs will be available to buy in UK Apple retails stores. I've phoned the Brent Cross and Regent Street stores to enquire about availability and they both said that they don't know when they are expecting t