Declaration of cfc in fx:Script ???

I have a declaration in my application, e.g. customerservices6, see hereunder. This one has been created by Flex for me when I created the cfc. How can I declare this in my    <fx:Script>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:valueObjects="valueObjects.*"
              xmlns:customerservice6="services.customerservice6.*"
               xmlns:logintableservice="services.logintableservice.*"
               xmlns:loginfoservice="services.loginfoservice.*">

Please check Window->Preference->Flash Builder->Editors->Syntax Coloring
In the tree, you should see settings to MXML and be sure check the Enabled.
Normally, I think it takes effect by default and not sure how the highlights should look like.
Regards,    
Felix

Similar Messages

  • Declaring a variable in the Script?.

    Hi,
    Will it be possible to define the variable in the form?..
    I have used the DEFINE statement, will the define statement behave as a constant?...Please see the below code:
    Defined the variable - 'l_barcode_flag' with the SPACE.
    In the perform am changing the variable to X. will it work?.
    /:          Define & l_barcode_flag&  =  u2018  u2018.
    /:          perform get_barcode_for_shop_papers in ZPPPF01
    /:           using      &WWORKPAPER-WORKPAPER&
    /:           changing &l_barcode_flag&
    /:          endperform
    /:           IF & l_barcode_flag & eq u2018Xu2019.
    /          <BW> &CAUFVD-AUFNR&</>.          u201D Barcode
    /:          ENDIF.
    I can't use the Driver program to define the variables.
    Thanks,
    Neslin.
    Edited by: neslin on Sep 15, 2008 8:07 AM

    Jyothi,
    This is wht u mean?...without assigning anything and defieningn a variable
    Define &L_BARCODE_FLAG& .
    Oki,,
    U mean the space in the variable...& L_BARCODE_FLAG&..thnks, Neslin.
    Neslin.
    Edited by: neslin on Sep 15, 2008 8:38 AM

  • How to avoid variable declaration dublication in a script?

    Hello to everyone!
    I have a business rule which calls twice same script. But in this sript there is a variable declaration (MethodOpl).
    Rule:
    FIX (&CashFlowPlanningMonths, &PlanningYear, {SelScenario}, {SelVersion})
        %Script(name:="Distribution 100",application:="workapp3",plantype:="Plan1");
    ENDFIX;
    FIX (Jan:Dec, &NextYear, {SelScenario}, {SelVersion})
        %Script(name:="Distribution 100",application:="workapp3",plantype:="Plan1");
    ENDFIX;
    Script:
    VAR MethodOpl = 0;
    FIX (@DESCENDANTS("TotalLocations"), "NoAnalytics", @DESCENDANTS("100000"))
      AmountByPay(
          IF ( NOT @ISMBR(@LIST("114100","115110","115120","115130")) )
            MethodOpl = "BegBalance"->WorkVersion->"NoFRC"->"DistributionByPay";
            IF ( MethodOpl == #Missing )
               MethodOpl = "NoLocation"->WorkVersion->"BegBalance"->"NoFRC"->"DistributionByPay";
            ENDIF;
            ... (some calculations)
          ENDIF;
    ENDFIX;
    If I try to validate rule I get error like this:
    An error occurred in: Rule:workapp3.Plan1.TestOTN
    A validation error was received from the Planning server 'http://ohp:80/HyperionPlanning/servlet/HspAppManagerServlet?appname=workapp3'.
    'Error:Переопределение имени переменной [MethodOpl]. Rule workapp3.Plan1.TestOTN'.
    Error text can be translated as "Error: Redeclaring variable name [MethodOpl]"
    Can you advice me how to avoid second declaration?
    May be somehow like this?
    #IF !DEFINED(MethodOpl)
      VAR MethodOpl;
    #ENDIF
    MethodOpl = 0;

    Try creating a separate script for variable declaration & declare all the variables inside it.Add this script as first statement in the rule
    SCRIPT:  "Var Declaration"
    VAR MethodOpl = 0;
    RULE
    %Script(name:="Var Declaration",application:="workapp3",plantype:="Plan1");
    FIX (&CashFlowPlanningMonths, &PlanningYear, {SelScenario}, {SelVersion})
    %Script(name:="Distribution 100",application:="workapp3",plantype:="Plan1");
    ENDFIX;
    FIX (Jan:Dec, &NextYear, {SelScenario}, {SelVersion})
    %Script(name:="Distribution 100",application:="workapp3",plantype:="Plan1");
    ENDFIX;
    remove the "MethodOpl" variable declaration from the script -"Distribution 100".

  • Calling script from ALV report

    there is button in my report(print) when click on this it needs to display the report output in a script (which is designed for this)
    Please help me how to declare my itab variables in Script....
    only the data and page number will change rest all text elments are constant for differnet pages.
    the code in the USER_COMMAND of reuse_GRID_DISPLAY is
        WHEN 'PRINT'.
          i_itcpo-tdimmed = 'X'.
          i_itcpo-tddelete = 'X'.
          CALL FUNCTION 'START_FORM'
           EXPORTING
      ARCHIVE_INDEX          =
             form                   = 'ZSCRIPT'
             language               = 'SY-LANGU'
             startpage              = 'FIRST'
           EXCEPTIONS
            form                    = 1
             format                 = 2
        unended                = 3
        unopened               = 4
             unused                 = 5
             spool_error            = 6
             OTHERS                 = 7.
           CALL FUNCTION 'OPEN_FORM'
        EXPORTING
                    application = 'TX'
                   device      = 'PRINTER'
                    dialog      = 'X'
                    form        = 'ZSCRIPT'
                 options     = i_itcpo
               language    = sy-langu.
           PERFORM print_data.
          CALL FUNCTION 'CLOSE_FORM'.
          MESSAGE s208(00) WITH ' Form Successfully Printed.'.
          CALL FUNCTION 'END_FORM'.
    THE PERFORM DETAILS................
    *Left logo
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'LLOGO'
           EXCEPTIONS
                OTHERS  = 1.
    *script header
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'HEADER'
           EXCEPTIONS
                OTHERS  = 1.
    *standard text
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'TEXT'
           EXCEPTIONS
                OTHERS  = 1.
    *dispos detials
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'DISPOSI'
           EXCEPTIONS
                OTHERS  = 1.
    *ECN number
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'ECN'
           EXCEPTIONS
                OTHERS  = 1.
    *out_tab headings and data
      LOOP AT it_rep_out INTO wa_rep_out.
        CALL FUNCTION 'WRITE_FORM'
             EXPORTING
                  element = 'DETAIL_A'
             EXCEPTIONS
         OTHERS  = 1.
        CALL FUNCTION 'WRITE_FORM'
             EXPORTING
                  element = 'MAIN'
             EXCEPTIONS
                  element = 1
                  window  = 2.
        IF sy-subrc NE 0.
        ENDIF.
      ENDLOOP.
    *Comments from selection screen
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
               element = 'FOOTER'
           EXCEPTIONS
                OTHERS  = 1.

    Hi,
    first store all the relevant data in internal table itab.
    loop at itab.
    call write form
    endloop.
    care should be taken that you write the itab in main window.
    in script just add
    &itab-var1& &itab-var2& and so on...
    Regards,
    sumit

  • Is there a declarative way to include my own javascript 'on submit'?

    I try to integrate a third party editor (CKEditor) into my ADF 11.1.1.2.0 application. This editor converts a normal inputText item through javascript into a full wysiwyg HTML editor. In need this because the default richTextEditor has limited functionality. The problem I encounter is that this editor needs a piece of javascript to be executed to sync the editor-content with the related inputText before the item is submitted. This is especially needed in case of partial submits. I don't want to include a call to the script in all items that can cause a partial submit.
    So what I'm looking for is a hook into the clientside lifecycle when the form is (partially) submitted.
    I have tried several ways to initiate the script before the form is (partially) submitted:
    1: Added a clientlistener to the item of type 'blur' or type 'valueChange'. Both fail to work in some cases and some browsers, probably because the rich editor itself does a lot of eventhandling.
    2: Added a custom clientside validator. This seems to work but the problem is that client side custom validators are only fired when the item is required and my items is not required. I don't know the reason why an item has to be required to fire the custom validators. I thought it was a bug, but chapter 4.2 of the FusionWebUIGuide describes this behavior.
    Both declarative ways fail to work. I have found a solution that works but this solution is a 'dirty' one. What I did is overriding the javascript method that processes the validators:
    AdfDhtmlPage.prototype._oldProcessValidators = AdfDhtmlPage.prototype._processValidators;
    AdfDhtmlPage.prototype._processValidators = function (x275, x276, x277) {
    // Do my javascript thing
    var result = this._oldProcessValidators(x275, x276, x277);
    return result;
    Although this solution works in all situations and in all browsers, I don't realy like it. So my question is: Is there a declarative way to include my script-call before the form is partially submitted?

    Hi,
    For your information, we have integrated FCKEditor (CKEditor's ancestor) into an ADF 11g application.
    I know it is very different from CKEditor, but we have been forced to create our own JSF component and made several hooks to the framework to make it behave like desired.
    One of the problem we have faced is the lost of the input values when partial submit was performed on the editor isntance.
    Just so you know it might be real hard to integrate the component without creating a JSF component.
    Regards,
    JP

  • Global Varaible in script

    Hi All,
    I am not able access  a variable in one widow with another window. What i am doing is i am declaring and assigning value to a variable in one window but printing in next window, the the value is not getting printed.
    So. how can i declare a global variable in script?
    by
    SAPPIEN

    hi sappin,
    can u declare the variable in main window.
    bcz mainwindow is continuoous so it's print the variable. when ever u call this variable into another page.
    then it's printed.
    regarding,
    kartik.

  • Sap script - please use meaningfull subject titles....

    Hi,
    My requirement is to print theree texts in theree different lines.So I declared the texts in SAP script with the command "/".
    Buut in spool I am getting all the three texts in one single line.Can anyone suggest how to get the texts in three different line?
    Thanks in advance.
    Edited by: Julius Bussche on Jan 22, 2009 2:30 PM

    Ginger
    One solution to this can be creating 3 separate windows and displaying text in each one of them separately. Make sure the allignment of these windows is exactly in the way you require the text to get displayed.
    The other way can be by declaring a new character format and going about it. Like for paragraph format XX, you can use it like,
    XX    ALL THE BEST.
    XX    GOOD JOB.
    XX    WELL DONE.
    Hope this is useful.
    Regards
    Harsh
    Edited by: Harsh Talesra on Jan 22, 2009 2:13 PM
    Edited by: Harsh Talesra on Jan 22, 2009 2:27 PM

  • Adobe CFC Generator  not showing up Coldfusion beta 2

    Im running the new coldfusion beta 2 connecting to a remote server.
    For some reason when i right click on the a table in the RDS Dataview Im not getting the "Adobe CFC Generator" option.
    Any one else having the same problem?

    It shows up on my localhost running mySQL and CF9 and OS X 10.5.8
    however the generator FAILs.
    The generator opens a window with...
    a title of: "Adobe CFC Generator"
    a header with: "Create ORM CFC"
    a body of...
    Enter location for CFC*   [__________] (Browse)
    Script CFC? [_]
    a footer with....    (Cancel) (  ok   )
    After setting the directory it opens a new window with...
    a title of: "Adobe CFC Generator"
    a header with: "Create ORM CFC"
    an empty body area -- all white --
    a footer with... ( Close )
    Cheers,
    -Truce

  • How to remove all pages from layout? (except Master Page)

    Geetings Experts:
    I'm implementing additional security measures into my 'initialze' event, where I'll check some global variables and render the file unreadable if needed.
    Which object and properties do I access to remove all my pages from the form?
    I would like to createa a function that removes all the sub pages, leavning only the Matster Page, enable a label in the MasterPage and save itself.
    I searched for xfa.layout and Page[n].remove() methods but cannot find any reference to these.
    .presence = "hidden", fulfills my purpose but the pages remian visible and I need for a clean solution no pages are visible.
    I'm advanced in C# but a novice in LC JavaScript, so any comment, reference or code snipet will be greatly appreciated
    Thank you for your time,
    Ivan A. Loreto – Computer Education Technician
    LOMA LINDA UNIVERSITY | School of Allied Health Professions - Department of Physical Therapy
    [PDF Development Platform]
    Windows XP SP3
    Acrobat Pro 9
    LifeCycle Designer ES 8.2

    Hi Ivan,
    The particular syntax of Javascript in LC Designer is different from that used in Acrobat and different (as I understand it) from core javascript and other applications. There are several free guides on the Adobe web site which cover Acrobat and LC:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_Model_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform.pdf
    And a very handy resource (it goes back to version 6, but is still applicable):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    JP Terry's book on LC Forms is very good and we use www.pdfscripting (which is a subscription service). If you are going to be doing a lot of LC Designer work, these may be of help.
    I am not a coder, so I going to try and work through your script. Bear with me if you already have this sorted...
    The script looks ok and you are using the resolveNode method correctly. Seeing topmostSubform in the resolveNode indicates that you imported an existing document into LC. This is fine, but sometimes it restricts some of the functionality.
    For starters I think that mPg is returning null. You can use the following in your script to see what is happening (debugging) and then comment it out:
    console.println("mpg: " + mPg);
    Then when previewing hit control+J to bring up the javascript console, then will show the value of mPg when that script executes.
    Try deleting the SOM up to #pageSet:
    var mPg = xfa.resolveNode("#pageSet.MasterPage1");
    The javascript console will show you when the script is working.
    In relation to the loop, I would advise a few changes:
    for (var i=1; i <= xfa.layout.pageCount(); i++)
         var vPage = ("xfa.form.topmostSubform.Page" + i).toString();
         //console.println("vPage: " + vPage);
         var curPage = xfa.resolveNode(vPage);
         curPage.presence = "hidden"; 
    }//next page
    There are a few things here:
    I would declare i as a variable, not an integer (not sure if it makes a difference);
    I would use pageCount rather than numPages and then <=;
    There was an extra ; at the end of the loop declaration;
    I would break the script into steps and get the full SOM of the page as a variable first and then resolveNode that variable;
    You don't need to go to the current page;
    I tend to name master pages with a capital "P" and pages with a small "p". Personal preference, but it can make tracking script easier.
    Have a crack off that and hopefully you can get it to work,
    Niall
    ps another tip, if you want to reference an object in script. First click on the object you want to script for and then scroll (or click on the master page) for the object you want to reference. Click inside the script editor and then when you move the mouse back into the form, press and hold Control, this will turn the mouse into a "V". When you click on the object you want to reference it will insert the SOM into the script. If it needs the resolveNode it will automatically put that in for you. Holding Shift and Control will insert a fully resolved node.

  • DBMS_SQL.PARSE with PL/SQL types

    Hi
    I need to use DBMS_SQL.PARSE with PL/SQL types defined in a package.
    I tried with a type record in a declare ..begin..end  script but I got an error ..(on second parameter):
    DBMS_SQL.PARSE(cursor_name, XXXXX, DBMS_SQL.NATIVE);
    It's possible?
    WIth SQL types defined at schema level it's works (es. Objects types) .
    If it's not possible, how can I resolve?
    Stefano

    Again, please post what XXXXX is. In order to use package declared types:
    SQL> create or replace
      2    package pkg1
      3      is
      4        type emp_rec
      5          is record (
      6                     empno number,
      7                     ename varchar2(10)
      8                    );
      9        type emp_rec_tbl
    10          is
    11            table of emp_rec
    12            index by pls_integer;
    13        g_emp_rec_tbl pkg1.emp_rec_tbl;
    14  end;
    15  /
    Package created.
    SQL> declare
      2      v_cur integer;
      3      v_sql varchar2(1000);
      4  begin
      5      v_cur := dbms_sql.open_cursor(2);
      6      v_sql := 'begin
      7                    select  empno,
      8                            ename
      9                      bulk  collect
    10                       into  pkg1.g_emp_rec_tbl
    11                       from  emp
    12                       where job = ''CLERK'';
    13                end;';
    14      dbms_sql.parse(
    15                     v_cur,
    16                     v_sql,
    17                      dbms_sql.native
    18                     );
    19  end;
    20  /
    PL/SQL procedure successfully completed.
    SQL>
    SY.

  • Pop-up menu cellspacing in IE but not Firefox

    I created a website a while back using Dreamweaver and managed to install the header I created in Fireworks CS3 with no problem, however I am redesigning the site and when I place my header in, there appears to be cellspacing in my pop-up menu, but only with Internet Explorer and not with Firefox.  When I went to export the header, since I wasn't using Dreamweaver to write it in, I chose the style as "generic html", and made sure there was no Cell spacing. I'd appreciate any feedback I can get.

    Well, you have a number of errors that you'll need to address.
    You have two body tags, and you can only have one. This may be the problem.
    You have a <script language="JavaScript"> declaration and it should be <script type="text/javascript">
    You have <center> tags inside <a href...></a> elements and that is not correct.
    You have a <valign="top"> tag, and that is an attibute, not a tag.
    Where you have <h1 style="font-family:Times New Roman; color:#6F0101; font-size:26;"> won't work, because font names that have spaces in them must be enclosed in quotation marks. You would be better off defining a class for your h1s.
    There's a nifty add-on for Firefox that really helps to show you some things in your code. It's called Firebug. Search for it with Google and it's easy to install. I also have the HTML Tidy add-on. HTML Tidy shows me warnings and errors. Firebug shows the structure of the code and also the inheritance of the CSS. In this case, I think you may be inheriting some padding or margin from your default.css once you insert your header into the body.
    Here's what I recommend you do:
    1) Fix up your Fireworks file to name all your images. For example, the images in your menu that have "Home" written in them should be home.gif and home-ov.gif, (or similar, with "ov" indicating "over") not headermenu_r2_c1.gif and headermenu_r2_c1_f2.gif. Likewise, in the code it should have a name of "home." It will make your code so much easier to read and maintain.
    2) Install the HTML Tidy and Firebug add-ons to Firefox. Or, you can use the W3C code validator. Fix the errors in your code.
    3) Clean up your CSS and put all your CSS in one file. Rename those awful Fireworks names to something more memorable. Make sure you know exactly what is what and where everything is. That way, you'll see where attributes might be being inherited.
    If you want a good book for HTML and CSS, I like Elizabeth Castro's HTML for the World Wide Web. It's in the 6th edition, now. I recently picked up HTML Utopia: Designing Without Tables Using CSS and I find that it is a nice lead-in to designing layouts with CSS.
    All that said, Nadia is right and the Fireworks menus are not so great. They aren't really very robust and (as you've experienced) they're difficult to maintain and troubleshoot. Here are two sites that have professional menu plug-ins for Dreamweaver (not Fireworks):
    Pluginlab Limited
    Project Seven
    The Project Seven menus are regularly recommended, but I have no personal experience with either of them. Either one will give you a better experience with less frustration. While they are not free, they'll save you quite a bit of time.
    Good luck!

  • Exception : Driver Class not found

    We have the following configuration : JDBC 2.0 thin client
    drivers, on apache 1.3.4, Sun spark 2.6, with Jdk 1.1.6 and JSDK
    2.0. The drivers are installed in
    $ORACLE_HOME/oracle/jdbc/driver, which is included in the
    CLASSPATH as well.
    Its generating the exception while we do,
    DriverManager.registerDriver(new
    oracle.jdbc.driver.OracleDriver());
    We have tried by coping the particular class file to the working
    directory. Its still not working. What can be wrong & where?
    null

    I don't believe /etc/profile gets called from cron. If you were to add
    #!/bin/shas the first line of the script, it should get called though.
    But you should really modify the script by adding the above line and then changing:
    java GenerateRSSto
    java -cp /usr/local/tomcat/webapps/ROOT/rss/xml:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/mysql-connector-java-5.0.5-bin.jar GenerateRSSThat of course assumes that GenerateRSS declares no package. If it declares the package "xml", then remove "/xml" from the above. If it declares package "rss.xml", then remove "/rss/xml" from the above.
    Declaring a classpath in /etc/profile as above, is a bad idea (at least when including Drivers and/or other "special" packages). What happens if later applications need a different version of the same driver, and this application, and that one can't use the same version, for whatever reason? One of the two won't work, that is what will happen.
    A classpath should always be declared as close to the execution as possible. Whether that is setting CLASSPATH in an application server, placing the jar in the WEB-INF/lib of an application, declaring a CLASSPATH in a script before executing java, or using the -cp option depends on the situation, but one of those should always be used.

  • Dymanin File Name Creating Using ODI variable

    Hi All,
    I am trying to create a flat file dynamically using ODI variables. I am following a document in metalink (Using A Dynamically Specified File Name Or Directory Name With ODI [ID 423635.1]). However, I am getting the following error, whenever I try to execute the interface:
    java.lang.NullPointerException
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    IKM: IKM SQL to File append
    I am sure that it is unable to locate the file. May be the variable value is not passed, not sure. But, if I mention a name like abc.txt, it works. It creates a new file with abc.txt. However, when I try to use a variable, it throws null pointer exception.
    Thank you
    KK

    Hi Nitesh,
    I am really not sure what exactly you mean by declare a variable in a script. I create a new variable and used it as a name for the flat flie model. I defined a SQL that contactenates sysdate with a string. Thank you for your help!
    Regards,
    KK

  • Arithmatic Operations

    1) Can we declare the variables in the script ?
    2)I have two variables in the driver program.
    Depending on the conditions, i want to perform some arithmatic operations like Addition or subtraction in the script. How to do that ?

    hi,
      You can use the perform statement in the script for calculations in the script.
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    The system does not execute the PERFORM command within SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE. The replace modules can only replace symbol values or resolve include texts, but not interpret SAPscript control commands.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (‘First page’, ‘Next page’, ‘Last page’) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    regards,
    Veeresh

  • Combine table 3 columns in a combo box?

    I need a combo box to display "lastName, firstName - phone".
    I have these 3 columns in my database. Can anyone provide a short
    cfc to xml script I could use to create an arrayCollection to use
    as a dataprovider for my combobox?
    I'm thinking along the lines of a CFQUERY in a cfc, then
    exporting the results to an xml structure and using the xml as an
    array collection. I just don't know how to do the cfc -> xml.
    Any alternative solutions are welcome also. thanks

    Bleh, double posted this due to forum maintenance.

Maybe you are looking for