How to assign a keystroke to a script?
Hi,
I put a script (which arranges open windows) on Safari's script folder. How can I assign a keystroke to run that script from Safari?
Thanks!
Hi,
Assigning Form and Driver proram to an Output type is as follows.
1) Go to NACE transaction
2) Select an Applicatin(V1-Sales,V2-Shipping,V3-Billing)
3) Click on Outputtypes Button
4) Comes to Change Mode
5) Click on New Entries button
6) Specify Output type,Form name and Program and Save it.
Check these links
/people/venkata.ramisetti/blog/2006/09/21/configuring-output-types-for-pdf-based-print-forms
NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
You should know the Application of a document first Like:
for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
so first select the Application type (ex: EF) for PO and press OUtput types
then a list will come in that you should know the related output type for PO.
in this case it is NEU,
select that and click on the processing Routines button on the left side
it will display the Medium, Driver Program and the Script form or smartform related to that document..
All nace entries are stored in TNAPR table
1. In simple words, it
is used for printing documents eg. purchase order, sales order etc.
2. eg.
For company1, there is purchase order A,
for company2, there is purchase order B,
for purchasing organisation 3, there is purchase order C.
Now, this type of MAPPING (which is totally dynamic and changeable)
cannot be HARDCODED in the standard sap program.
3. Hence, NACE,
provides this facility to MAP
as per users requirement.
ie. We can determine the OUTPUT using NACE.
Output means for eg. Printing of purchase order
Determine means = dynamically detecting which output (PO eg)
hence, it is also called OUTPUT DETERMINATION using NACE.
regards,
Omkar.
Message was edited by:
Omkaram Yanamala
Similar Messages
-
How to assign copied driver program to script form rvinvoice01
how to assign copied driver program to script form rvinvoice01
Hi,
You can do this by using NACE transaction.
In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.
If suppose data can be read from EDI then we should go for condition records.
So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.
Go to the Transaction NACE.
choose the related sub module.. like billing or shipping
doubel click on Output Types
Choose the Output Type for which whcih you wanted your script to trigger
Then select the Output Type and double click on Processing Routine
Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out
Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
however, you need admin permission. Usually BASIS people do thid configuration.
Hope this helps.
Regards,
Richa -
How to assign a printer to a script form
Hi Experts,
can any one of you help me in expaling thsi with code elaboratly.
bcos i have seen some section scrren with requesting an output device.
but the end user is always using a transaction whre he can't give any printer name.
see below.
selection-screen begin of block aaa with frame title text-001.
select-options: so_lgnum for zle_binlblprint-lgnum, "whse
so_lgtyp for lagp-lgtyp.
parameters: p_ldest like itcpp-tddest.
parameters: p_formu like t329f-formu. "DEFAULT 'ZBINLABEL'.
parameters: p_prtqty(9) type n default 999999999.
parameters: p_arciv(13) type n default 7.
parameters: p_print like rldru-druck default 'X'.
selection-screen end of block aaa.
selection-screen begin of block xxx with frame title text-100.
parameters: p_tddel like itcpo-tddelete. "DEFATUL 'D'.
parameters: p_tdimm like itcpo-tdimmed default 'X'.
parameters: p_datas like itcpo-tddataset default 'BinLbl'.
parameters: p_copis like itcpo-tdcopies default '1'.
parameters: p_autor like itcpo-tdautority default sy-uname.
selection-screen end of block xxx.Hi sridhar
*To give the Number of copies required according to user input
w_itcpo-tdcopies = p_prntno.
*<b> To set the name of the output device to the default value
w_itcpo-tddest = ' '.</b> *
To set the name of the device type to the default value
w_itcpo-tdprinter = ' '.
*To delete the spool request immediately after printing
w_itcpo-tddelete = 'X'.
*To print the request immediately after completing it.
w_itcpo-tdimmed = 'X'.
*Name of spool request
w_itcpo-tddataset = 'NEW'.
*To create a new spool request
w_itcpo-tdnewid = 'X'.
*To enabe print preview
w_itcpo-tdpreview = 'X'
please reward points if helpful. -
How to assign script to menu item? (JS, CS3)
Hi All,
I can't find out how to assign a script to a menu item. Instead of clicking a script name in the script panel, I want to appear a menu item in the menu bar. When I click that name on the menu bar I want a certain script to run.
I've managed to put the menu item in the menu bar, but not to assign the script to it.
many thanks
marcoHi Marco,
Here is an example:
#targetengine "kasyan"
var myScript1 = new File(app.filePath + "/Scripts/Scripts Panel/Preflight CS3 v3.2.jsx");
var myScriptAction1 = app.scriptMenuActions.add("Preflight Document");
var myEventListener1 = myScriptAction1.eventListeners.add("onInvoke", myScript1, false);
var myScript2 = new File(app.filePath + "/Scripts/Scripts Panel/Rename Sections v3.1.jsx");
var myScriptAction2 = app.scriptMenuActions.add("Rename Sections");
var myEventListener2 = myScriptAction2.eventListeners.add("onInvoke", myScript2, false);
var myScript3 = new File(app.filePath + "/Scripts/Scripts Panel/Check 100 3 SE.scpt");
var myScriptAction3 = app.scriptMenuActions.add("Check Resolutuon of Images");
var myEventListener3 = myScriptAction3.eventListeners.add("onInvoke", myScript3, false);
var myScript4 = new File(app.filePath + "/Scripts/Scripts Panel/Resize Images v16.1.scpt");
var myScriptAction4 = app.scriptMenuActions.add("Resize Images");
var myEventListener4 = myScriptAction4.eventListeners.add("onInvoke", myScript4, false);
try{
var myScriptMenu = app.menus.item("$ID/Main").submenus.item("Scripts");
myScriptMenu.title;
catch (myError){
var myScriptMenu = app.menus.item("$ID/Main").submenus.add("Scripts");
var myScriptMenuItem1 = myScriptMenu.menuItems.add(myScriptAction1);
var myScriptMenuItem3 = myScriptMenu.menuItems.add(myScriptAction3);
var myMenuSeparator1 = myScriptMenu.menuSeparators.add();
var myScriptMenuItem2 = myScriptMenu.menuItems.add(myScriptAction2);
var myScriptMenuItem4 = myScriptMenu.menuItems.add(myScriptAction4);
Kasyan -
How to assign the dynamic value of PV to Sip Header in ICM?
Hi everybody,
I would like to ask your help, please. We are working on Temporary IVR Handoff (ICM+CVP). I need to add/modify a customer Sip header in ICM transfer script. The value for that header is dynamic and stored in the one of ICM Call Peripherial Variables (PV9, for examle).
Is it possible somehow to assign the value of that PV9 to Sip header (Set Variable Call.SipHeader)? I tried to do it but unfortunally without any success. I can assign any static string, but how to assign the value of the PV??? That's the question...
For static string assignment the syntax of the Set Variable Node (Call.SipHeader) looks like that:
"IVR-Handoff~add~It's Cisco"
and it works fine.
For dynamic value (PV9) I tried:
"IVR-Handoff~add~Call.PeripherialVariable9" - it add Call.PeripherialVariable9 as a string, but not it's value;
"IVR-Handoff"~add~Call.PeripherialVariable9 - returns a syntax error;
Call.PeripherialVariable9 - no Sip header is added.
What do you think? Is it doable at all?
Any ideas, answers or examples how to do it would be much appreciated.
Thank you in advance.
Dmitriy.Hi Senthil,
Yes! It works, but with the little difference. The right answer is:
"IVR-Handoff~add~"&Call.PeripherialVariable9
(Call.PeripherialVariable9 is without quotes, otherwise it insert the name of the variable, but not it's value)
The other solution is shown here (thanks to Paul Tindall):
http://developer.cisco.com/web/cvp/forums/-/message_boards/message/15627744?p_p_auth=6psgR8ML
concatenate("IVR-Handoff~add~",Call.PeripherialVariable9)
Thank you so much for the idea! I very appreciate your help and vote you. -
How to assign static ip address to the server having solaris 10. i.e. nge0
hi,
how to assign static ip address to the server having solaris 10. i.e. nge0 i.e. 192.168.3.125 ipshold be persistantt across reboots. what steps do i need to follow to put all information including gateway,netmask etc..Also i want to integrate one init script ..can i integrate it using /etc/init.d/<service name> like linux. and do chkconfig on it?i am not getting complex procedure of SPF and FMRI etc..can u help me?Create a file in your /etc directory called hostname.nge0. Add the hostname of your system to this file. In your /etc/hosts file, assign the static IP address you want to the same hostname. You can then disable and enable the network-physical service to configure the network interface:
svcadm disable network-physical
svcadm enable network-physical -
Hi, plz help me how to assign my PO to output types
plz help me how to assign my PO to output types through Nace t-code.what form routine?
Murli,
the settings in MN05 for PO.
NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
You should know the Application of a document first Like:
for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
so first select the Application type (ex: EF) for PO and press OUtput types
then a list will come in that you should know the related output type for PO.
select any outtype and click on the processing Routines button on the left side
it will display the Medium, Driver Program and the Script form or smartform related to that document..
Reward points if it is helpful..
Amit. -
How to assign itemrender variables in global public variable of my applicaton.
Hi Friends,
How to assign internal item render values in global public variable. can u see below example.
List have one itemrender,within the itemrender i am using data grid .The dataGrid have itemrender.now i tried the data grid itemrender assign values to public variable of my application,but the Error came... How can u slove this Problem Any One can Help to me.
Example:
public var myData:arrayCollection;
<mx:List variableRowHeight="true" dataChange="validateNow()" width="900" id="Lst_userlist" verticalScrollPolicy="off" horizontalScrollPolicy="off"
buttonMode="true">
<mx:itemRenderer>
<fx:Component>
<mx:VBox paddingTop="-5" horizontalScrollPolicy="off" verticalScrollPolicy="off" >
<fx:Script>
<![CDATA[
override public function set data(value:Object):void
]]>
</fx:Script>
<mx:VBox id="vbox_grid" horizontalScrollPolicy="off" verticalScrollPolicy="off" width="890" paddingLeft="10" paddingTop="5"
backgroundColor="#317152" color="#FFFFFF">
<mx:DataGrid visible="false" includeInLayout="false" height="100%" id="membershipGrid" alternatingItemColors="[#DCDCDC,#F8F8FF]"
paddingLeft="5" horizontalScrollPolicy="off" color="black"
horizontalGridLines="false" verticalScrollPolicy="auto" verticalGridLines="false" rowHeight="25"
borderSkin="{null}" showHeaders="true" borderVisible="false" dataProvider="{data.dataCollection}" width="900" >
<mx:columns>
<mx:DataGridColumn width="180" headerText="Name" minWidth="150" sortable="true" wordWrap="true" >
<mx:itemRenderer>
<fx:Component>
<mx:HBox horizontalScrollPolicy="off" >
<fx:Script>
<![CDATA[
override public function set data(value:Object):void
function Click_Name():void
outerDocument.myData=data; // Here Error came
]]>
</fx:Script>
<mx:Image id="fileimg" buttonMode="true" toolTip="This is the User's Home Organization"/>
<s:Label id="lbl_Gridcloumn_name" width="200" buttonMode="true" textDecoration="underline" click="Click_Name()" />
</mx:HBox>
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</cloumn>
</datagrid>
Error:
Access of possibly undefined property myData through a reference with static type com.istmanagement.views:ProgramAcessRights_ComponentInnerClass3.
Thanks,
Magesh R.Hi Flex harUI ,
Thanks man....because of i was stugle in last one week.... once again Thanks....... -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
How to print Special Characters in Sap-Scripts
How to print Special Characters in Sap-Scripts
Thanks,
RaviHi
if u want print special characters we can use hot codes i.e ' ' (single inverted commas). in between these hot codes insert u r special characters.
write ' !@#$%^&*( ) '.
for the above write statement output is
output is !@#$%^&*( ) -
How to use IF Conditon in SAP Scripts?
Hi Guys,
I am having adoubt how to use IF conditon with multiple variables in SAp Scripts
for ex If a>b and a>c and a>d
Elseif b>a and b>c and b> d.
Elseif .....
endif.
How to use above example in SAP Scripts.
thanks,
Gopi.hi Gopi,
it is almost the same as normal ABAP, you only have to use & before and after the variable and the variable has to be in capitals and you have to make the line as command ( /: before the line )
IF &A& > &B& AND ...
text to print
ELSEIF ...
text to print
ENDIF.
hope this helps
ec -
How to assign numbers in external number range?
Dear experts,
Since NUMBER_GET_NEXT can only be used to assign numbers in internal number range, how to assign numbers in external number range?
So far, I only know the NUMBER_CHECK function module to deal with external number ranges and it only check a number whether it lies in any external number range or not, but it doesn't update any number range status. What I need is a function module like NUMBER_GET_NEXT that supports external number range.
Thanks in advance.
Regards,
Haris
Edited by: harissahlan on Oct 19, 2011 5:44 AMWith external number range, there is no updating of the number range objectt. The only thing you need to know is whether the number you wish to assign is allowed according to the external number range. And also check if there isn't already an object/document with the same number in the database.
-
How to assign a task to Reuestor in OIM 11g
How to assign a task to a requestor (who has raised a request for other user).
I created a Task assignment adapter and mapped variable in Process definition as
Map To: Request Info
Qualifier: Requester User Login
Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
public class TaskAssignmentToUserAdapter {
Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
public String getTargetType(String targetType){
return targetType;
public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
System.out.println("The user key value:" +userKey);
return userKey;
}Not sure what sample code I can give you, but you need to do a query in your adapter like:
select REQUEST_KEY from OIU where ORC_KEY='?'
Here ORC_KEY should be mapped to the process instance key.
Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
HTH,
BB -
How to get the last page SAP Script form
How to get the last page SAP Script form.
I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
RegardsHi
You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
From SAP Help:
This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
/: IF &NEXTPAGE& = '0'
Last page
/: ENDIF
Max -
How to assign an order to a GL account
Hi all,
Can anybody please let me know how to assign an order to the GL account?
Thanks,
S.Sumana.Hi,
There is no such an assignment. When you post a document, you define your G/L accounts and cost objects. If you want to make a default internal order for certain cost element, you can go to KA02 or OKB9 and define the defaults there.
Regards,
Eli
Maybe you are looking for
-
Running a page in JDevloper replaces the existing current active browser
Hi , I am testing the OA application in Jdeveloper. When I run the page , it opens in an existing browser that was active most recently. Is there any setting in Jdevloper such that the page automatically opens in a new browser. Kindly advise. Thanks,
-
Any other help? This is really a rotten upgrade.
-
Hi! I want to learn Idoc.I want to start it as a beginner. So pls provide me useful material for this. Thanxs
-
How do I start to make a file into a PDF file?
-
Hide the update power query notification
I've recently installed Power Query for Excel 2013 Pro Plus. (not click-to-run) Power Query has been updated already and now this message is appearing on all the user's computers. Any ideas as to how I can hide this message using the registry and/or