How to create dynamic strcture and accepting runtime value in work area

Hi,
I am using RFC_READ_TABLE for  joining more than table  and written select query but  into clause work area value is passed but it is short dump is displaying with too few many fields  in into clause .work area WA need some casting type conversion which accepts the some run time value  and should have some structure  for it.how to create dynamic structure?

hi
good
go through this and use in your report accordingly.
If you are trying to read some information from SAP and you can't find the right BAPI then RFC_READ_TABLE can do the job for you.
RFC_READ_TABLE is powerful RFC it gives you the access to all tables and views in SAP. I basically used RFC_READ_TABLE for Material Master Search application on the Intranet.
Now you may say there are lots of BAPI for this functionality. You are right but I had to work around the BAPI to get Prices (Moving Average Price) and it just did not work very well. Because of the nature of the application I had to use RFC_READ_TABLE because then I can use powerful SQL expression for searching. RFC_READ_TABLE give you the ability to code the where clause which is quite enough.
I have included part of the code use in asp page to read ENT1027 for Mgroup and M description & number but without object creation. The other part of the code reads MBEW for price & quantity.
Code
lt;%
'#######################Diming the Structures
Call BAPIRFC.DimAs("Rfc_Read_Table", "FIELDS", MaterialSelection_RS)
Call BAPIRFC.DimAs("Rfc_Read_Table", "OPTIONS", Selection_RS)
'########################Search Type########################
' C contanis
' S Start with
' E Ends with
if searchtype = "C" then
FormatedSearch_Keyword = "%" & Search_Keyword & "%"
elseif searchtype = "S" then
FormatedSearch_Keyword = Search_Keyword & "%"
else searchtype = "E" then
FormatedSearch_Keyword = "%" & Search_Keyword
end if
'################# Flaged for deletion Materials #####################
if showdeleted = "No"  then
Selection_RS.AddNew Array("TEXT"),Array("LVORM <> 'X' AND")
end if
'############## users can search three material group ################
'############## GROUPS: OFFICESUP TECOMHARD TECOMSOFT ###############
'##USER STILL CAN NAROW THEIR SEARCH BY SELECTING ON OF THREE#########
if MGroup = "ALL"  then
Selection_RS.AddNew Array("TEXT"),Array("MATKL IN ('OFFICESUP','TECOMHARD','TECOMSOFT')")
else
Selection_RS.AddNew Array("TEXT"),Array("MATKL = '"& MGroup &"' and ")
end if
'#######################ADDING SEARCH KEYWORD TO STRUCTURE##############
if not  Search_Keyword = "" then
Selection_RS.AddNew Array("TEXT"),Array(" MAKTG LIKE '" & FormatedSearch_Keyword &  "'")
end if
Selection_RS.Update
'#######################ADD RETURNED FIELDS#########################
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MATNR","000000","000000" ,"","")
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MATKL","000000","000000" ,"","")
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MAKTG","000000","000000" ,"","")
MaterialSelection_RS.Update
call BAPIRFC.Rfc_Read_Table("ENT1027", Material_RS, MaterialSelection_RS, Selection_RS, "~", "", "0", "0")
If Err.Number > 0 then
               Response.Write "Error:" & "<BR>"
               Response.Write "   Err.number...... " & Err.Number & "<BR>"
               Response.Write "   Err.Description. " & Err.Description & "<BR>"
end if
'###########LOOP THROUGH RECORDSET
if not Material_RS is nothing then
do while not Material_RS.eof
loop
end if
%>
thanks
mrutyun^

Similar Messages

  • How to create dynamic entity beans at runtime (experts welcome)

    Hi,
    i have a question that i have been trying to figure out however i am still in search of an appropriate solution and thus ask you experts for guidance...
    I am developing a system to house data using ejbs.. however a have a problem i am trying to make the system very dynamic and some of the data that i am trying to store is dynamic in its nature..
    let me explain: i am searching for a solution that would allow a entity ejb to have a dynamic set of properties
    e.g.
    DataEntity could have one or many attributes but those attributes may be string, string, int, int
    or could be int, int, int
    or long, long
    or double..... or any configuration
    this DataEntity would linked to a TypeEntity that would act as a reference to know how to store and retrieve data..
    I have just come across JMX and dynamic Mbeans, and at first glance this seemed like it may be able to help but after further research i think this handles a different problem than i am facing.. (however might be wrong?)
    At the moment i am using toplink as the OR mapping but have also jsut started looking into hibernate..
    So far all i have come up with is to have a FieldEntity as a mappedsuperclass and have sub classes such as IntFieldEntity, LongFieldEntity.... which simple contain one field i.e int value, or long value..
    . and have DataEntity have a one to many relationship with the field superclass..
    the problem with this is how this gets mapped
    my ideal solution would be to have a dynamic DataEntity which could be generated at runtime and have all the required attributes for the particular type..
    so DataEntity would be a mappedsuperclass and then at runtime new types of DataEntity's could get spawned, database table created and OR mapping created linking?
    e.g.
    DataEnity1
    String attribute1;
    String attribute2;
    int attribute3;
    DataEnity2
    int attribute1;
    int attribute2;
    long attribute3;
    Has anyone ever created a structure like this or seen anything like this before?
    any advice would be appreciated
    regards,
    fg

    You cant add controls to the visual tree a runtime which persist beyond the lifetime of the application.  You will have to persist an indicator to your program which tells it to add the control.  Adding a control is as simple as initializing
    it and adding it to a parent already on the tree.  Controls can be created programmatically or using the XamlReader.Load static method.  You can find XamReader.Load in Windows.UI.Xaml.Markup in windows 8.1, Windows 8.1/Windows Phone unified
    projects.  For old windows phone ad just Silverlight I believe it is in System.Windows.Markup.
    Hope this helps.

  • How Can I Dynamically Name and Set Variable Values?

    First one with a correct answer will have the FUNCTION named after them......
    What I want to do is create 'new' variables based on the index of the parent.
    So, if I have 4 subforms called 'Panel' (Panel[0], Panel[1], Panel[2], Panel[3]), I want do declare a local variable in my function to count from 0 to n  for each Panel.
    We won't know how many Panels we will have until runtime. So, I need the variables to keep track of the count (it's tracking the number of errors) - for each Panel.
    Something like this:
     if(obj.rawValue==null || obj.rawValue=="")
    var errorCount[obj.parent.parent.index]=errorCount[obj.parent.parent.index]+1;
    app.alert(errorCount[obj.parent.parent.index]);
    I am assuming it has something to do with Arrays.  But I suck at Arrays.
    Thanks for the help.

    You're correct, arrays are the way to go.  Define your error array like this:
    var errorCounts = [];
    Then, understand that when an array entry is not set it will have the value 'undefined', so you can know if an entry has been initialized.  So to increment the count for a particular index (subform occurance) use:
    // If entry is being set for the first time, set it to 1.  Otherwise increment count.
    if ( errorCounts[index] == 'undefined' )
        errorCounts[index] = 1;
    else
         errorCounts[index]++;
    You can also loop through and initialize the array to zero; then you can remove the check for undefined.  How and where you do this and how you figure out what 'index' is depends on how your form is set up and which event you're using to kick off the error check.  Give me a little more detail on what you're trying to do.

  • How to create dynamic strcture for a interrnal table

    first i created one internal table . with five fields . suppose i want add two more fields in internal table.
    what is the code for the this . if any one konow

    REPORT  ZTEST05.
    PARAMETERS dbtab TYPE tabname DEFAULT 'SPFLI'.
    TYPE-POOLS rsds.
    DATA tadir_wa  TYPE tadir.
    DATA selid     TYPE  rsdynsel-selid.
    DATA field_tab TYPE TABLE OF rsdsfields.
    DATA table_tab TYPE TABLE OF rsdstabs.
    DATA table     LIKE LINE OF table_tab.
    DATA cond_tab  TYPE  rsds_twhere.
    DATA cond      LIKE LINE OF cond_tab.
    DATA dref      TYPE REF TO data.
    DATA alv       TYPE REF TO cl_salv_table.
    FIELD-SYMBOLS <table> TYPE STANDARD TABLE.
    SELECT SINGLE *
           FROM tadir
           INTO tadir_wa
           WHERE pgmid = 'R3TR' AND
                 object = 'TABL' AND
                 obj_name = dbtab.
    IF sy-subrc <> 0.
      MESSAGE 'Database not found' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    table-prim_tab = dbtab.
    APPEND table TO table_tab.
    CALL FUNCTION 'FREE_SELECTIONS_INIT'
      EXPORTING
        kind         = 'T'
      IMPORTING
        selection_id = selid
      TABLES
        tables_tab   = table_tab
      EXCEPTIONS
        OTHERS       = 4.
    IF sy-subrc <> 0.
      MESSAGE 'Error in initialization' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
      EXPORTING
        selection_id  = selid
        title         = 'Free Selection'
        as_window     = ' '
      IMPORTING
        where_clauses = cond_tab
      TABLES
        fields_tab    = field_tab
      EXCEPTIONS
        OTHERS        = 4.
    IF sy-subrc <> 0.
      MESSAGE 'No free selection created' TYPE 'I'.
      LEAVE PROGRAM.
    ENDIF.
    READ TABLE cond_tab WITH KEY tablename = dbtab INTO cond.
    IF sy-subrc <> 0.
      MESSAGE 'Error in condition' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE PROGRAM.
    ENDIF.
    CREATE DATA dref TYPE TABLE OF (dbtab).
    ASSIGN dref->* TO <table>.
    TRY.
        SELECT *
               FROM (dbtab)
               INTO TABLE <table>
               WHERE (cond-where_tab).
      CATCH cx_sy_dynamic_osql_error.
        MESSAGE 'Error in dynamic Open SQL' TYPE 'I' DISPLAY LIKE 'E'.
        LEAVE PROGRAM.
    ENDTRY.
    TRY.
        cl_salv_table=>factory(
          IMPORTING r_salv_table = alv
          CHANGING  t_table      = <table> ).
        alv->display( ).
      CATCH cx_salv_msg.
        MESSAGE 'Error in ALV display' TYPE 'I' DISPLAY LIKE 'E'.
    ENDTRY.

  • How to create dynamic VO and attach it to a table column

    Hello frnds,
    Hope all are doing good.
    I have a small doubt on dynamic view object.
    i need to create a new VO and need to initilize the VO when the page loads.
    so for this i have created a new VO dynamically . so, here i have a doubt , the VO query has 2 columns
    my doubts is:
    1. do i need to expliciltly create a new attribute for the VO i.e i mean like vo.addDynamicAttribute("MEANING");
    should i need to create 2 new attributes for the VO or not needed ?
    2.i need to assign these 2 dynamic VO attributes to a messageStyledText items in a advanced table.
    so,should i create messageStyledText through personalization and assign the view attribute and view instance to it or not ??

    Hi Guys , thank you for ur help and support
    i got the code, here is my working code
    OAAdvancedTableBean tableBean = (OAAdvancedTableBean)oawebbean.findIndexedChildRecursive("DocumentTable") ;
    OASortableHeaderBean sortableHeaderBean =(OASortableHeaderBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, SORTABLE_HEADER_BEAN);
    sortableHeaderBean.setTextBinding("headerText");
    sortableHeaderBean.setSortableBinding("isSorted");
    OASortableHeaderBean sortableHeaderBean1 =(OASortableHeaderBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, SORTABLE_HEADER_BEAN);
    sortableHeaderBean.setTextBinding("headerText");
    sortableHeaderBean.setSortableBinding("isSorted");
    OAColumnBean column1 = (OAColumnBean)createWebBean(oapagecontext, COLUMN_BEAN, null, "UseridCol");
    column1.setColumnHeader(sortableHeaderBean);
    DictionaryData data1 = new DictionaryData("headerText", "Document Browse");
    column1.setColumnHeaderData(data1);
    OAColumnBean column2 = (OAColumnBean)createWebBean(oapagecontext, COLUMN_BEAN, null, "UploadCol");
    column2.setColumnHeader(sortableHeaderBean1);
    DictionaryData data2 = new DictionaryData("headerText", "Upload Button");
    column2.setColumnHeaderData(data2);
    //OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)createWebBean(oapagecontext, MESSAGE_FILE_UPLOAD_BEAN, null, "FileUploadBeanID");
    OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)createWebBean(oapagecontext, OAWebBeanConstants.MESSAGE_FILE_UPLOAD_BEAN,null,"FileUploadBeanID");
    uploadBean.setPrompt("Document Upload");
    uploadBean.setViewUsageName("IrcDocumentsVO");
    uploadBean.setViewAttributeName("FileName");
    //uploadBean.
    OASubmitButtonBean uploadbutton =(OASubmitButtonBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, "BUTTON_SUBMIT");
    uploadbutton.setID("UploadButton");
    uploadbutton.setViewUsageName("IrcDocumentsVO");
    uploadbutton.setServerUnvalidated(true);
    //uploadbutton.
    uploadbutton.setViewAttributeName("Description");
    uploadbutton.setUINodeName("UploadButton");
    uploadbutton.setEvent("UploadDoc");
    uploadbutton.setText("Upload Documents");
    column1.addIndexedChild(uploadBean);
    column2.addIndexedChild(uploadbutton);
    tableBean.addIndexedChild(column1);
    tableBean.addIndexedChild(column2);
    Edited by: 881533 on Oct 27, 2012 4:59 AM

  • How to create new user and How can i assign end user roles

    Hi,
    I am new to SAP, please explain how to create end users and their roles
    Thanks
    ravi

    Hi,
    Roles are decided by IT managers. Suppose if Persons who are working in shopfloor or production side
    give authorization to Production order create , change and Confirm like that etc
    1. In role maintenance (transaction PFCG), choose the Authorizations tab page.
    2. To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation. Otherwise, a dialog box appears in expert mode (see Regenerating an Authorization Profile After Changes).
    Please take telp from Basis person also refer this link,
    http://help.sap.com/saphelp_46c/helpdata/EN/52/6714a9439b11d1896f0000e8322d00/frameset.htm
    Thanks

  • How to create checkbox group and table dynamically?

    HI All
    How to create checkbox group and table dynamically?
    Regards
    Ravi

    hi
    check this links for creating  tables dnamically
    How to Create a table dynamically?
    Re: how to create a table dynamically in webdynpro
    and for checkboxgroup
    IWDTransparentContainer rootContainer =
    (IWDTransparentContainer)view.getElement("RootUIElementContainer");
    IWDCheckBox check = (IWDCheckBox)view.createElement(IWDCheckBox.class,"Check"+k);
    //Here "check"+k k represents a unique value every time u create so that u wont get a duplicate instance
    check.setChecked(false);
    rootContainer.addChild(check);
    or Re: adding checkboxes dynamically

  • How to create a program that accepts 5 digits from the user between 0 and 9

    how to create a program that accepts 5 digits from the user between 0 and 9 then put them in ascending order using link-list method..

    You can use a scanner to get user input from the command line.
    import java.util.*;
    public class Test {
        private List<Integer> list;
        private Scanner in;
        public static void main (String... args) {
            new Test ();
        public Test () {
            list = new LinkedList<Integer> ();
            in = new Scanner (System.in);
            for (int i = 0; i < 5; i ++) {
                System.out.format ("Please enter a number (%d more): ", (5 - i));
                list.add (in.nextInt ());
            Collections.sort(list, new Comparator<Integer> () {
                public int compare (Integer i1, Integer i2) {
                    return i2 - i1;
            System.out.println (list);
    }

  • How to create dynamic context based on a structure defined in the program?

    Hi Experts,
             I need to create a dynamic context based on a structure wa_struc which i have define programatically.
    When I pass wa_struc to structure_name parameter of create_nodeinfo_from_struc, i get a runtime error:
    "Parameter STRUCTURE_NAME contains an invalid value wa_struc."
    How to create dynamic context based on a structure defined in the program?
    I have written the code like this:
    TYPES: BEGIN OF t_type,
                v_carrid TYPE sflight-carrid,
                v_connid TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
             wa_struc type t_type.
      data: dyn_node   type ref to if_wd_context_node.
      data: rootnode_info   type ref to if_wd_context_node_info.
      rootnode_info = wd_context->get_node_info( ).
      clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
      parent_info = rootnode_info
      node_name = 'dynflight'
      structure_name = 'wa_struc'
      is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( name = 'dynflight' ).
    dyn_node->bind_table( i_struc ).
    Thanks
    Gopal
    Message was edited by: gopalkrishna baliga

    Hi Michelle,
              First of all Special thanks for your informative answers to my other forum questions. I really appreciate your help.
    Coming back to this question I am still waiting for an answer. Please help. Note that my structure is not in a dictionary.
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    I have updated my code like the following and I am getting error:
    TYPES: BEGIN OF t_type,
    CARRID TYPE sflight-carrid,
    CONNID TYPE sflight-connid,
    END OF t_type.
    Data: i_struc type table of t_type,
    dyn_node type ref to if_wd_context_node,
    rootnode_info type ref to if_wd_context_node_info,
    i_node_att type wdr_context_attr_info_map,
    wa_node_att type line of wdr_context_attr_info_map.
    wa_node_att-name = 'CARRID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
    insert wa_node_att into table i_node_att.
    wa_node_att-name = 'CONNID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
    insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
    select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
    attributes = i_node_att
    is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    But now I am getting the following error :
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    -Gopal
    Message was edited by: gopalkrishna baliga

  • How to dynamic select based on runtime value ?

    how to dynamic select based on runtime value ?
    I want to write a select function, which do selecting based on parameters. eg,
    CREATE OR REPLACE FUNCTION myfunction
    (tableName VARCHAR2, pkName VARCHAR2, pkValue VARCHAR2, requestString VARCHAR2)
    RETURN VARCHAR2 AS
    BEGIN
    select requestString from tableName where pkName=pkValue;
    RETURN NULL;
    END;
    myfunction('users', 'user_id', '100', 'user_name'); it will select 'user_name' from table 'users' where 'user_id' = '100'.
    This way could save lots of coding. but it can't pass compiler. how to work out ?
    Thanks.

    While this may save code, if used frequently it will be ineffecient as all [explicative deleted]. The danger is that it would be used even for repeatable statements.
    This mode of operation ensures that every statement [calling the funciton] needs to be reparsed, which is extremely expensive in Oracle (in CPU cycles, recursive SQL and shared pool memory).
    Such reparsing is rarely a good thing for the environment ... it could easily lead to buying more CPU (bigger box) and therefore adding more Oracle license ... which could quickly exceed the typical developer's salary.
    However - if you really, really want to do this, look up 'execute immendiate' in the PL/SQL manuals.

  • How to create Dynamic Table Control

    Hi
    How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
    Regards
    Prasath

    Hi Jonathan,
    Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
    Please confirm my understanding.
    1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
    2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
    dynamic columns.
    Your opinion on this will be helpful.
    Regards
    Prasath

  • How to create Dynamic Window in Smartforms

    Hi all,
    Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
    Thanks in Advance.
    Vinay.

    hi,
    Hi,
    1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
    company -code = '2201'.
    2.Then that window can trigger ofr that condition.
    3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
    reward me if helpful.

  • How to create dynamic variable in Java?

    Hi,
    I want to create dynamic varible , using ArrayList or Vector. The number of array i dont knwo, so how to create dynamic ArrayList or Vector.
    for example:
    ArrayList1,ArrayList2,ArrayList3.....n
    or
    Vector1,Vector2,Vector3 .....n, the n value i will get at run time, so how to create the dynamic ArrayList or Vector or i can use any other Object in java,
    Pls provide your input.
    Sridhar

    1. I have a HashMap with dataok ... fair enough.
    2. depending on its size, i need to create variable
    to store them.uhm ... why? If you have a variable number of elements in the map then you'd need to generate a variable number of variables (a number, that is not know at compile time, as it seems). Now if you could somehow create those variables, how would you access them? You'd have to generate the code handling them as well ...
    Tell us what kind of data you've got and what you want to do with it. There's certainly a better solution to your problem.
    how to generate variables as per content size of the
    HashMapYou don't.

  • How to create dynamic window in smartform

    <i>HI Floks</i>
    my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
    any body knows reply me fast
    thanks in advance ,
    suresh

    Hi suresh,
        You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
    Dont forget to reward points if helpful.
    regards,
    Chandra.

  • How To create Dynamic destination in blazeDS

    Hi,
    Can anyone tell me how to create dynamic destinations ?
    thnks

    hi,
    Basically you could read the destination and Endpoint from an xmlfile then feed the values as required, the following is a simple hardcoded setup but it doesn't take much to set vars in the creationcomplete event. At least this way you don't need baked in settings.
    <fx:Declarations>
    <s:Producer id="myProducer" destination="{myService}" acknowledge="myProducer_acknowledgeHandler(event)"/>
    <s:Consumer id="myConsumer" destination="{myService}" message="messageHandler(event)"/>
    </fx:Declarations>
    private var channelSet:ChannelSet;
    private var myService:String;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
    channelSet = new ChannelSet();
    myService = "chat";
    //var channel:AMFChannel = new AMFChannel("my-polling-amf","http://localhost:8080/blazeds/messagebroker/amfpolling");
    var channel:AMFChannel = new AMFChannel("my-polling-amf","http://ezflex.net:8080/blazeds/messagebroker/amfpolling");
    channelSet.addChannel(channel);
    myProducer.channelSet=channelSet;
    myConsumer.channelSet=channelSet;

Maybe you are looking for

  • EDI issue for PO creation

    Hi, I did configuration to trigger and IDOC via EDI when the PO was created and when it was changed. But it is not creating an IDOC while creating PO; generating error message " Purchasing order xxxxxx123 does not exist"; but when i repeat the output

  • DBMS_UTL

    HI All, I have created a procedure for exporting data into excel using dbms_utl, and i am using oracle 8i. v_file := utl_file.fopen('/tmp', 'EAF - ' || p_file_name || '_analysis ' || v_load_time ||'.xls', 'w'); The path is going in temp directory in

  • I have new iPhone 5. I do not have the contact icon for my contacts

    Cannot find the contacts icon on my new phone.  My old iPhone 4 had this

  • Is it BT Yahoo / Total Broadband / Option 3 / or d...

    Hopefully someone here can help. We signed up with BT Openworld back in 2003 which subsequently morphed into BT Yahoo. Since then the service has continued without much issue. (Just a loss of service because BT randomly disconnected us which then too

  • Photo and email

    How do I attach a photo to a e-mail?