Calling Script Editor

Hi all,
I have to call one script editor with my own Text-id and text-object just like to enter header text and item text in VA01 transaction. This should be happen after pressing my own function code. Is there any possibility to do this.
Thanks in advance,
pavan

Hi after pressing the button on the sy-ucom call the following 2 FM in sucession
a) EDITORCALL
b) SAVE_TEXT with the set of lines returned from editor call.
Hope that Helps
Anirban M.

Similar Messages

  • Calling SAP-script editor

    Hi all,
    I have to call one script editor with my own Text-id and text-object just like to enter header text and item text in VA01 transaction. This should be happen after pressing my own function code. Is there any possibility to do this.
    Thanks in advance,
    pavan

    Hi,
    You can't call your own Text editor from the std transaction VA01 just like that.
    In that VA01 already lot of Texts at header and Item are predefined with the related OBJECT,ID,OBJECTNAME.
    If you want you can create your own Std texts in SO10 Tcode and can call them in the Script using INCLUDE statment.
    reward if useful
    regards,
    ANJI

  • Calling SAP Script Editor from Report

    Hi,
    Can any one solve this Problem.
    How to call SAPscript  Editor i.e. MS word editor (where we are giving Text elements or Text variables or Text.
    I want to call the above text editor from my report.
    Can any one give answer for this.
    Thanks & Regards,
    Kumar.

    Moarach,
    you need to open a editor for entering the text. You can do that using the function module HR_CALL_TEXTEDITOR. After you have entered the text and clicked on SAVE you get the data returned in an internal table EDITOR_TEXT.
    You can then save the text to a text ID using SAVE_TEXT and COMMIT_TEXT function modules.
    either:
    You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
    This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
    For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
    thead-tdname = 'Purchase Order No'. " Name
    thead-tdid = 'ZQH1'. " Text ID - E.g. To be created in your system
    thead-tdobject = 'VBBK'. " Texts: application object
    thead-tdspras = sy-langu. " Language Key
    Hope this helps.
    Amit.

  • Call List Management and Interactive Script Editor Examples

    Hello All,
    Can any one provide docus on Call list management and Interactive Script Editor Exercises or any examples how to implement them.
    kindly m a i l me: r a j . k a n d i AT y a h o o . c o m
    Cheers Raj.

    Muneeb,
    I have found what looks like a solution for marketing attributes.
    Marketing attribute in the text field, interactive script
    However, even though I followed this It is still NOT updating the marketing attributes for the given BP.
    Also, I am no further forward in knowing how to add BDC Field entries in the Answer so that we can update BP fields like the preferred communication method etc.
    I would like to hear from you if you have found a solution Muneeb.
    With regards
    Jason

  • CVP call variables not found in script editor

    Hi,
    I installed the Packaged CCE and I am trying to configure a basic CVP routing script. I want to use the Run Ext. Script ICM node but before that I have to set some variables - user.microapp.xyz.
    The problem I am facing is that the Set Variable step in ICM doesn't give me the option to specify these call variables as they just do not exist in the list.
    I think that the Packaged CCE base configuration script is supposed to create these variables (as per the link below):
    (http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/pcce/pcce_901/installation/guide/PCCE_BK_IBC40C6F_00_installing-and-configuring-pcce_chapter_01000.html)
    Create configuration objects to support CVP:
    A type 10 Network VRU for CVP along with Network VRU Labels to send calls to CVP
    CVP ECC Variables
    VXML_Server Network VRU Script - GS,V microapp
    Any thoughts why these variables are missing on the "Set Variable" step in ICM? I don't see any user.microapp.* options in the list.
    Thanks.

    Hi,
    Yes, I am new to CCE. This was the issue. After enabling those variables from the CCE web interface they appeared in the script editor.
    Thanks

  • Calling Rss feed from Script Editor webpart

    I am trying to add this script to Script Editor webpart and this doesnt work. I dont see anything on webpart. Can anyone help me
    where I went wrong. 
    <html>
    <head>
    <script type="text/javascript">
    $(document).ready(function()
    $.ajax(
    type:”GET”,
    url: "rssreader.com/englishfeeds.xml",
    datatype:”xml”,
    success:function(xml)
    $(xml).find(‘item’).each(function()
    Var Title=$(this).find(‘title’).text;
    Var link=$(this).find(‘link’).text;
    $(“body”).append(‘<div><span>’+Title’</span><span>’+Description’</span></div>’)
    error:function()
    Alert(‘Sorry Error occurred’);
    </script>
    </head>
    <body>
    </body></html>

    Not sure but somehow your quotes seems different then they should actually look.
    //Replace
    type:”GET”,
    //Replace With
    type:"GET",
    Do similar changes at other places as well both for double quotes as well as single quotes.
    Also, replace
    $(this).find(‘title’).text
    with
    $(this).find('title').text();
    Do similar change for link as well
    Also where you are appending the html, where are you getting the Description from ?? Also there is a missing + symbol after Title there.
    Do the above changes and see if that helps
    Geetanjali Arora | My blogs |

  • A program which used to open in Classic now opens in Script Editor

    I am using an old web design program by Symantec called Visual Page 1.1.1. It has worked fine for several years, but yesterday I opened it and instead of opening in Classic, it tried to open in "Script Editor" in OSX. Classic never opened at all. I have tried reinstalling it but the same problem occured. I tried using "Open with" Classic on the Info page, but Classic is greyed out. Can anyone help? I am starting to import the pages into a new program (Freeway) but this will take forever. I would like to still be able to work with this program. Thanks for any assistance. (I called Symantec and the program is too old for them to help with.)

    And Get Info shows it as a Script Editor document ? rather than Classic Application ?
    I had this about a year ago, but for the life of me, I can't remember what I did to fix it. I may have posted here when I got desperate. A search in discussions for Script Editor and Classic may come up with something.
    Edit:
    ===
    http://discussions.apple.com/thread.jspa?messageID=4762745&#4762745

  • Create a counter for the rows in a table using script editor?

    Hi ,
    I want to add afield in a particular table  with first field is its serial number . How to use scripting editor to fill the serial number ?
    How to create a counter ?
    Edited by: Rajan.Dexter9 on Jan 30, 2012 9:40 PM

    Hello Rajan,
    Create a field in the table and name it as 'SERIAL'.  Create a variable called 'count' with default value as 0.  Now in script editor, for javascript language and calculate event, write the following script.
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    for (var i=0; i <= fields.length-1; i++)
         if (fields.item(i).name == "SERIAL")
              count.value = count.value + 1;
                     this.rawValue = count.value;     

  • UCCX 9.0 - Issue Retrieving Dialer fields in script editor

    Hi Experts,
    In IVR campaign I am trying to retrieve BAAccount number field in the script editor but no success. I tried the below options in the UCCX script editor but it didn't work. Once contact is uploaded, dialer fields are sent to IVR application by default or is there any settings we need to do in UCCX admin? Thanks in advance for your help!
    1) Tried through ECC variables in Get Enterprise Call Info element
    2) Getting as session data through Get session element
    Thanks
    Rajasekar

    Adding Anirudh Ramachandran  and Abhiram Kramadhati

  • 10g Express Edition; Problem saving updates in Script Editor

    I'm running 10g Express Edition on Windows XP Media Center with SP3 with Internet Explorer 7.
    I start with 'Go to Database Home Page'.
    Then take the path Home>SQL>SQL Scripts>Script Editor;
    I've created a Script called HW.
    I make some changes to the script
    Then I click the 'Save' button.
    Then I click the icon for my HW script.
    But when I look at my script my updates are not there.
    This does not happen all the time.
    Sometimes the save seems to work, and sometimes it doesn't.
    I've noticed the same thing with Run. Sometimes my changes
    will appear in the script that got Run. Sometimes they won't.
    Any ideas on what I need to be doing to consistently Save my
    updates in Script Editor? fwiw, I like Script Editor for what I need
    to do - create scripts, export them as .sql files, etc. But I'm not
    opposed to using another tool to do this.
    Thanks.

    SQL> select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb';
    select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb'
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    So, I have tried the following:
    ->
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01507: database not mounted
    SQL> alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> alter database create standby controlfile as 'ora_control1' reuse;
    alter database create standby controlfile as 'ora_control1' reuse
    ERROR at line 1:
    ORA-01507: database not mounted
    I'm quite confused right now.

  • How to write select statement into SCRIPT editor

    hello,
    i build a sap script for purchase order printing for exporting.
    now after all po order print fine then our client want some more should be print into layout regarding po header.
    At the soul my q is can i write select query into script editor itself.
    thanks and regards
    amit.

    You cannot write your select statement inside your SAPscript, to overcome this SAP has provided us an option of calling sub-routines.. go through the below example
    Go through this example
    Ex. SAPSCRIPT
    /: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
    /:USING &<field name>&
    /:CHANGING &<field name1&    "It will be returned back from sub-routine
    /:ENDPERFORM
    Then create subroutine pool program(of your own name) and you have to write the code.
    FORM ><subroutine name> tables int_cond structure itcsy
    outt_cond structure itcsy.
    data : value(20), value1(20). "do your own declarations
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    *****Write your select statement
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1. 
    ENDFORM.
    Just rough idea given above.
    Regards,
    SaiRam

  • Error at Script Editor - ORA-06502: PL/SQL: numeric or value error

    Hello everyone,
    This is my last call for help. I have made some research before i decided to create this thread, trying to find similar problems on the web and on this forum but it seems that this kind of error is associated with another type of situations. In addition, i am pretty new to Oracle DBMS and i do not know how to figure out some problems that happens in this DBMS. This one is very ridiculous because it happens when i load or create a script in Oracle Script Editor. This might be a bug for Oracle Developers figure out and correct for the next releases or updates (or not..).
    Working on:
    Oracle Database 10g Express Edition (Fresh installation - Yesterday)
    Application Express 2.1.0.00.39 (Might be useful information) Windows XP
    Problem:
    I have a script which allows to create a new database with some tables, relations and data filled in. I go to DB Homepage and login, go to Script Scripts menu and upload the script. I open the script to run it and when the Script Editor load it shows this: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    <table style="display:none;position:absolute;background-color:#EEEEEE;border:#000000 solid 1px;padding:0px;text-align:center;font-size:12px;color:#000000;" summary="" cellpadding="0" cellspacing="0" border="0" id="R138352509674476936">
    <tr>
    <td class="htmldbWizardHeader">Save Script</td>
    <td class="htmldbWizardHeader" align="right"><span><img src="/i/qb/vertical_close.png">
    </span></td>
    </tr>
    <tr>
    <td colspan="2" class="htmldbWizardBody">
    <div id="saveDialog">A script with this name already exists. Do you wish to overwrite it?</div>
    <table summary="" cellspacing="0" cellpadding="0" border="0" width="100%">
    <tr>
    <td align="right"><input type="button" value="Cancel" class="htmldbButton">
    <input type="button" value="Yes" class="htmldbButton">
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td colspan="2" align="right">???</td>
    </tr>
    </table>
    <table summary="">
    <tr>
    <td></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="11141129549203626">
    <input type="hidden" name="p_t09" value="" id="OB_OBJECT_NAME">
    </td>
    <td></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="11143605700225196">
    <input type="hidden" name="p_t10" value="" id="P0_PPRTIMESTAMP">
    </td>
    <td width="15">
    <div style="width:15px"><br>
    </div>
    </td>
    <td id="htmldbRegion3" class="htmldbTDRight" width="100%" valign="top"></td>
    </tr>
    </table>
    <div id="htmldbRegion4"></div>
    <div class="htmldbFlowV">Application Express 2.1.0.00.39</div>
    <div class="htmldbNewBottom">
    <div class="htmldbNewBottom1">Language: pt</div>
    <div class="htmldbNewBottom2">Copyright ? 1999, 2006, Oracle. All rights reserved.</div>
    <br style="clear:both;">
    </div>
    <form><input type="hidden" name="p_md5_checksum" value="">
    </form>
    <a name="END"><br>
    </a> <script language="JavaScript1.1" type="text/javascript">
        first_field('P60_SCRIPT_NAME');
    </script> The first line seems to be the error: boldORA-06502: PL/SQL: numeric or value error: character string buffer too small*bold*.
    However i don't understand why shows the HTML code. Seems to be the code related with the rest of the Oracle DB webpage where the script in filled in (check this two images to understand what i am trying to say: http://img146.imageshack.us/img146/3104/errororacle10g.jpg and http://img180.imageshack.us/img180/5185/scripteditornormal10g.jpg. This is what Script Editor shows on Internet Explorer.
    If i login and make the same in another browser the behavior is different. In Firefox the script editor don't show anything and with Chrome i get all the script instructions in a single line (it exceeds the Script Editor) and the Script Editor background turns red: http://img812.imageshack.us/img812/1382/oracleerrorchrome.jpg I tested some scenarios and i got other conclusions: When i try to create a script in the Script Editor, whatever i write (instructions or whatever) when i save and load the file shows the same error. I uploaded the script many times with different File Character Set and the error shows in all situations.
    Edited by: 806529 on Nov 1, 2010 3:38 AM
    Edited by: 806529 on Nov 1, 2010 3:42 AM
    Edited by: 806529 on Nov 1, 2010 3:42 AM

    The script that i am trying to run is this: (I think the script is not relevant because many class mates can upload and run it successfully on their Oracle Express 10g installed on Windows 7 or XP)
    drop table alunos cascade constraints;
    create table alunos (alu_id number(10) not null,
                   alu_nome varchar2(60) not null,
                   alu_local varchar2(30),
                   alu_dnsc date not null,
                   alu_sexo char(1) not null,
                   alu_email varchar2(30),
                   alu_cur_id number(10));
    drop table cursos cascade constraints;
    create table cursos (cur_id number(10) not null,
                   cur_nome varchar2(40) not null);
    drop table departamentos cascade constraints;
    create table departamentos (dep_id number(10) not null,
                          dep_nome varchar2(60) not null,
                          dep_sigla char(3) not null);         
    drop table disciplinas cascade constraints;
    create table disciplinas (dis_id number(10) not null,
                        dis_nome varchar2(40) not null,
                        dis_creditos number(1) not null,
                        dis_dep_id number(10));
    drop table planoestudos cascade constraints;
    create table planoestudos (pla_cur_id number(10) not null,
                          pla_dis_id number(10) not null,
                          pla_semestre number(1) not null);          
    drop table inscricoes cascade constraints;
    create table inscricoes (ins_id number(10) not null,
                    ins_alu_id number(10) not null,
                    ins_pla_cur_id number(10) not null,
                    ins_pla_dis_id number(10) not null,
                    ins_dt_inscricao date not null,
                    ins_dt_avaliacao date,
                    ins_nota number(4,2) );
    -- Chaves primárias               
    alter table alunos add constraint pk_alunos primary key (alu_id);              
    alter table cursos add constraint pk_cursos primary key (cur_id);
    alter table departamentos add constraint pk_departamentos primary key (dep_id);
    alter table disciplinas add constraint pk_disciplinas primary key (dis_id);
    alter table planoestudos add constraint pk_planosestudos primary key (pla_cur_id, pla_dis_id);
    alter table inscricoes add constraint inscricoes_pk
                primary key (ins_id);
    -- Chaves estrangeiras
    alter table alunos add constraint alunos_fk_cursos
                foreign key (alu_cur_id) references cursos(cur_id);
    alter table disciplinas add constraint disciplinas_fk_departamentos
                foreign key (dis_dep_id) references departamentos(dep_id);
    alter table planoestudos add constraint planoestudos_fk_cursos
                foreign key (pla_cur_id) references cursos(cur_id);           
    alter table planoestudos add constraint planoestudos_fk_disciplinas
                foreign key (pla_dis_id) references disciplinas(dis_id);           
    alter table inscricoes add constraint inscricoes_fk_alunos
                foreign key (ins_alu_id) references alunos(alu_id);
    alter table inscricoes add constraint inscricoes_fk_planoestudos
                foreign key (ins_pla_cur_id,ins_pla_dis_id) references planoestudos(pla_cur_id,pla_dis_id);
    -- Sequências
    drop sequence seq_alunos;
    create sequence seq_alunos increment by 1 start with 1;           
    drop sequence seq_cursos;
    create sequence seq_cursos increment by 1 start with 1;
    drop sequence seq_disciplinas;
    create sequence seq_disciplinas increment by 1 start with 1;
    drop sequence seq_departamentos;
    create sequence seq_departamentos increment by 1 start with 1;
    -- Informação
    insert into cursos values(seq_cursos.nextval,'Engenharia Biomédica');
    insert into cursos values(seq_cursos.nextval,'Engenharia Informática');
    insert into cursos values(seq_cursos.nextval,'Engenharia Electrónica e Computadores');
    insert into cursos values(seq_cursos.nextval,'Engenharia do Ambiente');
    insert into alunos values(seq_alunos.nextval,'Joaquim Pires Lopes','lisboa',to_date('85.01.01','YY.MM.DD'),'M','[email protected]',2); 
    insert into alunos values(seq_alunos.nextval,'Ana Maria Fonseca','Setúbal',to_date('87.03.03','YY.MM.DD'),'F','[email protected]',1); 
    insert into alunos values(seq_alunos.nextval,'Paula Antunes','Lisboa',to_date('86.07.06','YY.MM.DD'),'F',null,2); 
    insert into alunos values(seq_alunos.nextval,'Joana Ramalho Silva','Costa da Caparica',to_date('84.09.23','YY.MM.DD'),'F','[email protected]',3); 
    insert into alunos values(seq_alunos.nextval,'Rui Manuel Silva','Cascais',to_date('84.08.15','YY.MM.DD'),'M','[email protected]',1); 
    insert into alunos values(seq_alunos.nextval,'João Paulo Santos','Lisboa',to_date('81.11.16','YY.MM.DD'),'M','[email protected]',1); 
    insert into alunos values(seq_alunos.nextval,'Cristina Fernandes Lopes','Lisboa',to_date('86.01.07','YY.MM.DD'),'F',null,1); 
    insert into alunos values(seq_alunos.nextval,'Miguel Pinto Leite','Cascais',to_date('74.01.07','YY.MM.DD'),'M','[email protected]',3); 
    insert into alunos values(seq_alunos.nextval,'Francisco Costa Rosa',null,to_date('78.02.16','YY.MM.DD'),'M',null,4); 
    insert into alunos values(seq_alunos.nextval,'Elsa Fialho Pinto','Palmela',to_date('79.10.29','YY.MM.DD'),'F','[email protected]',1); 
    insert into departamentos values(seq_departamentos.nextval,'Departamento de Sistemas e Informática','DSI');
    insert into departamentos values(seq_departamentos.nextval,'Departamento de Engenharia Electrotécnica', 'DEE');
    insert into departamentos values(seq_departamentos.nextval,'Departamento de Matemática','DEM');   
    insert into disciplinas values(seq_disciplinas.nextval,'Introducao a Programacao',4,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Inteligência Artificial',3,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Redes de Computadores',2,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Base de Dados',6,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Complementos de Base de Dados',2,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Análise de Sistemas',1,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Sistemas Distribuídos',1,1);
    insert into disciplinas values(seq_disciplinas.nextval,'Sistemas Digitais',3,2);
    insert into disciplinas values(seq_disciplinas.nextval,'Microprocessadores',2 ,2);
    insert into disciplinas values(seq_disciplinas.nextval,'Electrónica Geral',3,2);
    insert into disciplinas values(seq_disciplinas.nextval,'Análise Matemática I',4,3);
    insert into disciplinas values(seq_disciplinas.nextval,'Análise Matemática II',4,3);
    insert into disciplinas values(seq_disciplinas.nextval,'Aplicações Multimédia',6,1);
    insert into planoestudos values(1,1,1);
    insert into planoestudos values(1,2,4);
    insert into planoestudos values(1,3,4);
    insert into planoestudos values(1,4,3);
    insert into planoestudos values(1,5,5);
    insert into planoestudos values(1,6,2);
    insert into planoestudos values(1,7,5);
    insert into planoestudos values(1,8,6);
    insert into planoestudos values(1,11,1);
    insert into planoestudos values(2,1,1);
    insert into planoestudos values(2,4,5);
    insert into planoestudos values(2,8,3);
    insert into planoestudos values(2,9,2);
    insert into planoestudos values(2,10,1);
    insert into planoestudos values(2,11,3);
    insert into planoestudos values(3,1,3);
    insert into planoestudos values(3,11,4);
    insert into planoestudos values(3,12,5);                                                             
    insert into planoestudos values(4,1,3);
    insert into planoestudos values(4,4,4);
    insert into planoestudos values(4,11,4);
    insert into planoestudos values(4,12,5);       
    insert into inscricoes values(1,1,2,1,TO_DATE('3-SEP-2004','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-FEB-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),10);
    insert into inscricoes values(2,1,2,8,TO_DATE('5-SEP-2004','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(3,1,2,9,TO_DATE('6-OCT-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(4,2,1,1,TO_DATE('23-SEP-2000','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-FEB-2001','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),11);
    insert into inscricoes values(5,2,1,11,TO_DATE('23-SEP-2000','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('12-MAR-2001','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),13);
    insert into inscricoes values(6,2,1,4,TO_DATE('5-SEP-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(7,3,2,1,TO_DATE('5-OCT-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-FEB-2006','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),12);
    insert into inscricoes values(8,3,2,9,TO_DATE('6-SEP-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(9,4,3,12,TO_DATE('5-OCT-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-MAR-2006','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),10);
    insert into inscricoes values(10,5,1,1,TO_DATE('7-SEP-2004','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(11,6,1,1,TO_DATE('23-SEP-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(12,6,1,11,TO_DATE('23-SEP-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(13,7,1,1,TO_DATE('8-SEP-2001','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('10-FEB-2002','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),13);
    insert into inscricoes values(14,7,1,11,TO_DATE('8-SEP-2001','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('7-MAR-2002','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),17);
    insert into inscricoes values(15,7,1,4,TO_DATE('5-SEP-2002','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('12-JUL-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),15);
    insert into inscricoes values(16,7,1,2,TO_DATE('5-SEP-2002','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-MAR-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),13);
    insert into inscricoes values(17,8,3,12,TO_DATE('11-OCT-2005','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('12-MAR-2006','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),14);
    insert into inscricoes values(18,9,4,1,TO_DATE('7-OCT-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(19,9,4,11,TO_DATE('7-OCT-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(20,9,4,12,TO_DATE('7-OCT-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),null,null);
    insert into inscricoes values(21,10,1,11,TO_DATE('11-SEP-2002','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('12-FEB-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),15);
    insert into inscricoes values(22,10,1,1,TO_DATE('12-SEP-2003','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),TO_DATE('11-FEB-2004','dd-mon-yyyy','NLS_DATE_LANGUAGE = English'),12);~
    commit;

  • Lauching the SCRIPT editor

    Hi All,
    Can you suggest me if there is any function module which is going to open SCRIPT editor. On passing the THEAD the contents for that object should be displayed in the editor. The user should be able to edit it and SAVE it.
    Thanks & Regards,
    Rahul.

    Hi,
    You can use EDIT_TEXT fm. Do a where-used list on the fm to understand how it can be called.
    Also take a look at the following sample code,
      DATA: ls_thead LIKE thead,
            lt_lines LIKE TABLE OF tline.
          ls_thead-tdname = 'ZTESTTEXT'.
          ls_thead-tdobject = 'TEXT'.
          ls_thead-tdid = 'ST'.
          ls_thead-tdspras = sy-langu.
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
            CLIENT                        = SY-MANDT
              id                            = ls_thead-tdid
              language                      = sy-langu
              name                          = ls_thead-tdname
              object                        = ls_thead-tdobject
            ARCHIVE_HANDLE                = 0
            LOCAL_CAT                     = ' '
           IMPORTING
             header                         = ls_thead
            TABLES
              lines                         = lt_lines
           EXCEPTIONS
             id                            = 1
             language                      = 2
             name                          = 3
             not_found                     = 4
             object                        = 5
             reference_check               = 6
             wrong_access_to_archive       = 7
             OTHERS                        = 8.
          IF sy-subrc NE 0.
    ****Create New Text
    ****Initialize Text - Get TTXOB settings like line size
            CALL FUNCTION 'INIT_TEXT'
                 EXPORTING
                      id       = ls_thead-tdid
                      language = sy-langu
                      name     = ls_thead-tdname
                      object   = ls_thead-tdobject
                 IMPORTING
                      header   = ls_thead
                 TABLES
                      lines    = lt_lines
                 EXCEPTIONS
                      id       = 1
                      language = 2
                      name     = 3
                      object   = 4
                      OTHERS   = 5.
          ENDIF.
          CALL FUNCTION 'EDIT_TEXT'
            EXPORTING
              display             = space
            EDITOR_TITLE        = ' '
              header              = ls_thead
            PAGE                = ' '
              window              = ' '
              save                = 'X'
            LINE_EDITOR         = ' '
            CONTROL             = ' '
            PROGRAM             = ' '
            LOCAL_CAT           = ' '
           IMPORTING
            FUNCTION            =
             newheader           = ls_thead
            RESULT              =
            TABLES
              lines               = lt_lines
           EXCEPTIONS
             id                  = 1
             language            = 2
             linesize            = 3
             name                = 4
             object              = 5
             textformat          = 6
             communication       = 7
             OTHERS              = 8.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
           EXIT.
          ENDIF.
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • External Script Editors?

    Does anybody have suggestions for external script-editors
    that work with
    Lingo? I've tried the usual searches, but the first several
    pages of Google
    all seem to link to the same program (lingo script editor
    0.42) whose
    website is now defunct - www.creative-inspiration.net (Don't
    bother clicking
    that link, there's nothing there.) I don't know if that
    specific program
    is what I'm looking for (can't even get a screenshot), but
    it's the only one
    that seems to appear on searches, and it doesn't even exist
    anymore, so I
    don't know where else to look. Ideally, something that works
    from within
    the Director authoring environment would be best, I'm not
    sure how many fit
    the bill for that, but I'm getting pretty sick of all the
    annoying bugs and
    lack of features in the default internal editor. (Is
    highlighting of
    corresponding parentheses too much to ask? Every other code
    editor in the
    world does it, but not Director's for some reason. Also
    collapsable code
    blocks would be nice, and a "what links here" feature like on
    wikis to track
    code a bit better would be really invaulable. Heck, even a
    back-button to
    go back to the last script you were working on? Nah, that's
    just asking too
    much.)

    > you need to do searches for general editors which allow
    you to use a
    > keyword
    > highlight file for Director or Lingo or .ls format.
    >
    > Here's one called HiEditor:
    >
    http://programmerstools.org/node/701
    > - click on the HiEditor.zip link under File:
    >
    > .ls syntax file here:
    >
    http://www.winasm.net/forum/index.php?showtopic=2220
    Is there a different version of HiEditor somewhere? Because
    the one you
    pointed me to doesn't seem to have any such features at all,
    basically just
    seems to be Notepad with tabs. The Options menu doesn't seem
    to have
    anything that would allow you to do script highlighting,
    auto-indent, or
    basically anything except font and size. There's also no Help
    file at all,
    nor any info on the site about how to use this.
    > Or better yet, UltraEdit (but it costs $):
    >
    http://www.ultraedit.com/downloads/ultraedit_download.html
    > Here's the word file page:
    >
    http://www.ultraedit.com/downloads/extras.html#wordfiles
    > - search for Lingo and you should find two entries.
    I looked at UltraEdit - played around with the shareware
    version a bit.
    Looks like it's got most of the features I was looking for,
    though certain
    things I can't get to work properly. (e.g. Auto-indents for
    case
    statements, proper indenting of lines with if/then and
    command on the same
    line, a few others) Also $50 is a bit steep for a
    text-editor, I think.
    Maybe I can get my boss to pay for it, (though not if it
    comes at the cost
    of my paycheck, you know how it is...)

  • Queue priority ICM Script editor 8.5

    HI,
    Can some please let me know about Queue priority node wth example?
    ICM Script editor 8.5

    it changes the priority of the call in ICM, default is 5. but you can change to lower value say 4,3,2 based on customer.
    i will give you 2 examples:
    1. if any priority customer call in, you do DB lookup or any other thing to carried out that the customer is priority at should be treated as earliest.
    so for priority customer you branch out the script and increase their queue priority by this node, and queue them to skill group, this will put them ahead from all the call with normal priority.
    2. when Rona happens:
    in case of customer is assigned an agent, and agent does not pick the call, RNA happens, and CVP will take back the call from agent and request requery to ICM.
    in re query request you can increase the priority of the call take it ahead from all the normal priority call.
    this will reduce customer to once again wait in queue.
    ~ Chintan
    rate all helpful posts

Maybe you are looking for

  • How To Switch Apps Context In One Session From One Org to Another

    Hi, We are using Oracle APPS 11.5.10 with Database 10g and trying to create receipts using API in a PL/SQL procedure and have registered this procedure a concurrent request. This procedure reads the data from a custom table. The table contains receip

  • Understanding pixel preview

    hello people. im trying to understand the whole pixel preview thing in illustrator, as I do make websites and I usually use photoshop because i find the slicing faster and easier. also things on the web are usually pixels so i feel photoshop is more

  • IView not Visible in portal content Area

    Hi experts, i got a problem when i try to access to the Area 'Travel and Expenses' of the portal after logging in. The Area should be point to a Page involving 2 IView, one of them contain the visualization of 4 links and the other one pointed to a c

  • ITunes 5 forces upgrade to QuickTime 7--Can't use Pro anymor

    So I finally got the courage to upgrade to iTunes 5 after all the hoolabaloo. It forced me to upgrade to QuickTime 7, but I have a registered version of QuickTime 6.5 pro, which I love using. So it appears that in order to use iTunes 5 Apple is forci

  • Re: Exception in thread main.

    While running this prg i am getting some err msg and the prg stops while getting input for the no variable the 2nd time. The exception msg is as below. Enter Contestant No:Exception in thread "main" java.lang.NumberFormatException:For input string ""