Strange Problem in dynamically list population with record group

Hello Room,
I am dynamically populating a single list with 2 record groups. I am having a strange problem. All the code are written in 2 seperate buttons. The code of every button is given below.
Button 1 code:-
DECLARE
rg_reports RECORDGROUP;
rg_name VARCHAR2(40) := 'REPORTS';
vTemp NUMBER;
BEGIN
-- Pls make sure Group doesn't already exist
rg_reports := FIND_GROUP(rg_name);
-- If it doesn't exist then create it and add ur query to it
IF Id_Null (rg_reports) THEN
rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT companyname,to_char(co) from companymaster order by companyname');
end if;
--Populate the Record Group
vTemp:=POPULATE_GROUP(rg_reports);
POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
Delete_Group( rg_reports );
END;
Button 2 Code:-
DECLARE
rg_reports RECORDGROUP;
rg_name VARCHAR2(40) := 'REPORTS';
vTemp NUMBER;
BEGIN
-- Pls make sure Group doesn't already exist
rg_reports := FIND_GROUP(rg_name);
-- If it doesn't exist then create it and add ur query to it
IF Id_Null (rg_reports) THEN
rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT accountname,to_char(co) from accountmaster order by accountname');
end if;
--Populate the Record Group
vTemp:=POPULATE_GROUP(rg_reports);
POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
Delete_Group( rg_reports );
END;
The code is same here only the sql is different in these 2 buttons. Now the problem point.
when i press button 1, I get the list populated ok. when i try to click on the list item and keep the button pressed the list gets scrolled properly.
when i press button 2 after that i get account names well populated in the same list item as well, but this time, when i keep the button pressed the list does not scroll below as in button 1. It does not even allow to select different item from the list of button 2 code.
I tried to clear cache, cookies, exit browser everything and try to run the button 2 first, but still the problem in button 2 code.
Following are my system details.
windows 7 professional edition.
Oracle database 11g on windows 7
Oracle forms 10g patchset 10.1.2.0.2 on windows 7
Browser Netscape Navigator with oracle jinitiator 1.3.1.22
But this form is run by a client side html file where oracle forms 10g is not installed on windows xp. html file is just referring server url to run the module. The file is run on Netscape navigator browser with oracle jinitiator 1.3.1.22
My question is that is this a bug ? if button 1 gets the list item scrolled, why is the problem with button 2 even though i press it first. Here I am deleting the record group also. after the code is over. Initially I thought this may be the character length problem so I took the maximum character length for that list item as given by the 2 columns in database.
Why is the list scrolling not happening in button 2 but in button 1 with same codes on both ?
Anybody please help me.

The problem is the second query. I would guess that the TO_CHAR(co) is not unique for each account, but is the same for the accounts. And as the second item in the select-list is the listitems values, all your listitem-entries have the same value. therefore, of you select any entry, the list will always go the the first entry again.
Adjust your query.

Similar Messages

  • Select list populated with ldap group membership attributes

    Is it possible to query an LDAP group and retrieve all the members of the group?
    For example, if I have an LDAP group with members' login name, I want to retrieve all login names and populate a select list so the end-user can choose a login name from the group.
    Thanks, alan.

    The problem is the second query. I would guess that the TO_CHAR(co) is not unique for each account, but is the same for the accounts. And as the second item in the select-list is the listitems values, all your listitem-entries have the same value. therefore, of you select any entry, the list will always go the the first entry again.
    Adjust your query.

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

  • [svn] 3246: Fix fasttrack bug SDK-16910 - Simple List populated with strings throws RTE .

    Revision: 3246
    Author: [email protected]
    Date: 2008-09-17 15:31:25 -0700 (Wed, 17 Sep 2008)
    Log Message:
    Fix fasttrack bug SDK-16910 - Simple List populated with strings throws RTE. This is fallout from the Group/DataGroup split. DefaultItemRenderer now uses a TextBox instead of a Group to show the list data.
    QE: Any List tests that depended on the default item renderer to support anything other than text must be updated.
    Bugs: SDK-16910
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16910
    http://bugs.adobe.com/jira/browse/SDK-16910
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DefaultItemRenderer.mxml

    BTW, I do not experience the bug you had mentioned at
    http://www.cs.rit.edu/~cxb0025/flex/TreeControlBugs.html
    Can submit a video of my actions recorded

  • Short code causes a strange problem - About the list again -- please read!

    Hi again people. Maybe you remember my project - has a list, that you can search thru using a text field. During the work I got stuck on a strange problem ( Again :-( ) My app has one text field, one combo box, one list and a text field once more. The code should do the following ->
    *1. Load the list, no problem with that.*
    *2. Show the elements of the list, that match the selected group in the combo box,no problem.*
    *3. Search thru the list using the text field,no problem.*
    4. When the user selects an element from the list, it should display its info in the second text field. This also works fine, but when after looking at info of one of the elements the things on numbers 2 and 3 ( look up! ) stop working. I must say that everything works fine until user selects an element from the list. I couldnt understand this kind of behavior so I am asking you to help me please.
    The code is very simple:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class the_window extends JFrame implements DocumentListener, ItemListener, ListSelectionListener {
        FileReader reader;
        String data_base[][];
        String first_pass[];
        int number_of_elements;
        DefaultListModel dflm = new DefaultListModel();
        JList list;
        JTextField text_field = new JTextField();
        JTextField info_field = new JTextField();
        String groups[] = {"1. group" , "2. group"};
        JComboBox groups_cmbx = new JComboBox(groups);
        the_window(){
            super("the Window!");
            JPanel panel = new JPanel(null);
            Container c = this.getContentPane();
            c.add(panel);
            text_field.setBounds(10,10,170,25);
            text_field.getDocument().addDocumentListener(this);
            panel.add(text_field);
            groups_cmbx.setBounds(10,45,170,25);
            groups_cmbx.addItemListener(this);
            panel.add(groups_cmbx);
            list = new JList(dflm);
            list.setBounds(10,90,170,190);
            list.setFixedCellHeight(20);
            list.addListSelectionListener(this);
            panel.add(list);
            info_field.setBounds(10,280,170,25);
            panel.add(info_field);
            load_the_base();
            refresh();
            this.setSize(190,350);
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setResizable(false);
            this.setVisible(true);
        public void itemStateChanged(ItemEvent e){
            refresh();
        public void valueChanged(ListSelectionEvent e){
            String str = (String) dflm.getElementAt(list.getSelectedIndex());
            int index = 0;
            for(int i = 0; i < number_of_elements; i++){
                if(str.equals(data_base[0])){
    index = i;
    break;
    info_field.setText(data_base[index][1]);
    private void load_the_base(){
    String data = "";
    try{
    reader = new FileReader("data.txt";);
    int r = 0;
    while((r = reader.read()) != -1){
    char c = (char) r;
    data += c;
    reader.close();
    }catch(IOException e){}
    first_pass = data.split(";");
    number_of_elements = first_pass.length;
    data_base = new String[number_of_elements][];
    for(int i = 0; i<number_of_elements; i++){
    data_base[i] = first_pass[i].split("#");
    private void refresh(){
    String search_str = text_field.getText();
    int selektovano = groups_cmbx.getSelectedIndex();
    dflm.clear();
    for(int i = 0; i < number_of_elements; i++){
    int grupa = Integer.parseInt(data_base[i][2]);
    if(grupa == selektovano){
    String at_the_moment = data_base[i][0]; // if you change this to String at_the_moment = data_base[i][1]; it works perfectly
    if(at_the_moment.startsWith(search_str)){
    dflm.addElement(at_the_moment);
    public void changedUpdate(DocumentEvent e){
    refresh();
    public void removeUpdate(DocumentEvent e){
    refresh();
    public void insertUpdate(DocumentEvent e){
    refresh();
    public class Main {
    public static void main(String[] args) {
    JFrame f = new the_window();
    Now, can you please tell me whats wrong with this?
    For the "data.txt" make a new text file using *notepad* and copy the following line into the document:
    _1. element#1. info#0;2. element#2. info#0;3. element#3. info#1;4. element#4. info#1;5. element#5. info#1;_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Darryl.Burke wrote:
    Keith, thanks for making that readable. So here's the diagnosis -
    In the refresh() method, calling defaultListModel.clear() results in a valueChanged(...) event in which this method calldefaultListModel.getElementAt(list.getSelectedIndex())results in the exception noted, as getSelectedIndex returns -1, the list being empty... you can't getElementAt(-1).
    I haven't analyzed all the code nor checked whether is now works as desired, but this small change to valueChanged counters the exception being thrown.   public void valueChanged(ListSelectionEvent e) {
    infoField.setText(""); // do this unconditionally
    if (list.getSelectedIndex() != -1) {
    String value = (String)defaultListModel.getElementAt(list.getSelectedIndex());
    for(int i = 0; i < numFields; i++){
    if(value.equals(matrix[0])){
    infoField.setText(matrix[i][1]);
    break;
    db
    Yea! You were right! I didnt think that calling *list_model.clear();* will result in calling *valueChanged()* ........
    That was some *clear()* thinking :-) Thank you!
    corlettk wrote:
    I cleaned up some variable & method names (tut tut), imports (very naighty), and some thread stuff... but it remains fundamentally the same codeIs it so important to "clean" the imports? How much does it slow down the loading time? Should I do this on all my projects, because they are all "very naighty"?
    ps. Thanks to all that gave some help to answering this strange question :-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Dynamic list population in forms 4.5

    Hi all,
    I'm trying to populate the list at run time, but always the error , FRM-41337. In 6i the same code works.
    Please help me with an example. the situation, the list poulates all units defined in the master table
    Thanks in advance

    We cannot help you unless you provide us more information. Begin by showing us the query you are using to populate the record group. This error may mean you have a problem with your query. It would also be helpful if you show us the code you are using to populate the listbox.

  • Pb Server-Sides inludes  + Dynamic List Wizard with PHP 5.2

    Hi
    I include some Dynamic Lists in a master page with Server Side Include beahavior.
    It was Ok in PHP 5.1 with any number of items (50 items per page).
    But there is problem with PHP 5.2, it's OK with 20 items per page, nothing is displayed with 50 items per pages.
    I've seen that there is a new memory manager for the Zend Engine with PHP 5.2...
    SO I modified some parameters in php.ini (memory_limit...) with no result.
    Is there somebody have the same problem, an idea ?
    Thank you
    Marie

    Hi Marie,
    I´m running PHP 5.2.2 with the Zend Memory Manager enabled as well, and so far I didn´t encounter such issues -- maybe you´ll just need to increase the currently defined "max_execution_time" value ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • [sentinel] correlation problem and dynamic list

    Dear All,
    I have two problems as following:
    1. I have write a correlation rule as following:
    filter((((e.CollectorPluginName = "Microsoft Exchange POP3") and
    (e.EventName = "pass")) and (e.XDASOutcomeName = "XDAS_OUT_FAILURE")))
    flow window(((w.SessionID = e.SessionID) and (e.SourceIP =
    w.SourceIP)),filter((((e.CollectorPluginName = "Microsoft Exchange
    POP3") and (e.EventName = "user")) and (e.TargetNewResourceName inlist
    sensitiveuser))),120) flow
    trigger(5,120,discriminator(e.SourceIP,e.TargetNew ResourceName))
    I have following problem:
    I will call the first filter event as A event, the second filter event
    as B event, the first filter corresponding log include username field
    named TargetNewResourceName, the second filter event also called as
    storaged event,
    but B event log does not include username field, so I don`t know who
    logon failed, so i need gain the username from A event, there is same
    sessionID between A and
    B, customer`s demands need know who logon failed when user logon to
    pop3 mailbox failure three times, so correlation results is following:
    username: $TargetNewResourceName$ logon to mailbox failure via pop3 at
    least 3 times in two minutes, sourceip: $SourceIP$,
    MacAddress:$CSOTSourceMac$,Please pay
    attention to it!
    But correlation result is following:
    username: Null logon to mailbox failure via pop3 at least 3 times in two
    minutes, sourcip: 10.108.54.50, MacAdress: 247703743F34,Please pay
    attention to it!
    There is no username value($TargetNewResourceName$), why?
    2. I know arcsight active list(same as sentinel dynamic list) support
    multiple fields in one table, but sentinel dynamic list only support
    alone value,
    if I want storage ip and macaddress for DHCP logs into one table, How to
    implement? and that I also correlation rule can invoke function same as
    get_ipaddress or
    get_dhcpaddress in arcsight, Does sentinel provide same function?
    thanks
    steve_zeng
    steve_zeng's Profile: https://forums.netiq.com/member.php?userid=3875
    View this thread: https://forums.netiq.com/showthread.php?t=48076

    This sounds like a Sentinel product, vs. Sentinel plugin, issue. Please
    post it in the Sentinel list on forums.netiq.com to get exposure to the
    largest group of people who may be able to help. This list is
    specifically for plugins.
    Also, when posting in the other list, if you can post the raw data from
    each of the events that may help others understand with which data you
    have to work.
    Good luck.

  • I have a problem on dynamic list wizard

    hello all  am beginner in dreamweaver it is possible to add a button in a dynamic list so yes how to do it for exemple i want to add a button detail which will allow me to have a detail a selected line
    thank you for your answers

    You can do this by adding an extra link to the table cell which already holds the standard edit/delete links, like this:
    <a href="details.php?id=<?php echo $row_rs...1['id']; ?>">details...</a>
    The name of the variable placeholder "$row_rs...1" mentioned above will have to be replaced with the name of the "List Recordset" which your Dynamic List is actually using -- you can retrieve this name by switching to Code View and location the code section starting with:
    // Defining List Recordset variable.
    ADDT uses a pretty straight-forward rule to set this name:
    a) $row_rs
    b) the name of the database table
    c) 1
    Hope this helps.
    Cheers,
    Günter

  • Dynamic List/Menu with 2 columns

    I have created a Dynamic List/Menu box based on a recordset and showing me one field of that recordset ['Firmanaam'].
    <?php
    do { 
    ?>
                <option value="<?php echo $row_klantenselectie['Firmanaam']?>"><?php echo $row_klantenselectie['Firmanaam']?></option>
                <?php
    } while ($row_klantenselectie = mysql_fetch_assoc($klantenselectie));
      $rows = mysql_num_rows($klantenselectie);
      if($rows > 0) {
          mysql_data_seek($klantenselectie, 0);
       $row_klantenselectie = mysql_fetch_assoc($klantenselectie);
    ?>
    First question what is the difference between 'values" and 'labels' in the creation box of the Dynamic List/menu as only the field entered in the 'labels" is shown in the listbox ?
    Secondly I want to display two columns in the List box (one column with the client ID and one column with the clients name). How do I proceed ? Afterwards clicking on the selected client should send the client ID to another field in the form.
    Thank you for your replies.

    Moved to the Develop server-side applications in Dreamweaver forum, which deals with this sort of issue.
    First question:
    The Values field in the Dynamic List/menu dialog box populates the value attribute in the opening <option> tag. Because it's an HTML attribute, it's not displayed when the page is rendered in a browser. The Labels field puts the text that will be displayed in the drop-down menu between the opening and closing <option> tags.
    Put the value you want displayed in the Labels field, and the value you want sent to the server when the form is submitted in the Values field.
    Second question:
    Normally, you would put the ID in the Values field, and the name in the Labels field.
    Because the value attribute will contain the ID, it shouldn't normally be necessary to populate another field with the selected value because the ID will be sent to the server with the rest of the form data when the form is submitted.

  • [PHP-MYSQL] tutorial on using ADDT and dynamic list/form with self-foreign keys?

    Hi all,
    I have a 3 levels catagoris product catalog and would like to manage it
    using dynamic list/forms.
    I'm searching info about using self-foreign keys on dynamic list/forms.
    Is there any tutorial on how to manage this kind of tables using addt?
    tia
    tony

    Hello Tom,
    You were offered the solution on the InterAKT forums, I am not sure why you are posting this problem again. There's also another thread here that presents the same issue and solution:
    http://www.adobeforums.com/cgi-bin/webx/.3bc42a90/0
    Regards,
    Ionut

  • Call list generation with Target group ( 5 k ) records

    Hello Experts,
    While generating call list for the target group which consists of 5 k records , system is generating call list for few records and leaving the remaining. Is there set process as this no of records to be in target group while generating call list ?? .
    Thanks & Regards
      Praneeth Chandra

    Hello All,
    Issue fixed by running calling list in background rather than foreground.
    Thanks
    Praneeth Chandra

  • Re-populating of Record Group

    I am facing error, while trying to re-populate a record group.
    In progaram unit 'AA', I have the following code: -
    declare
    rg_examp_code RECORDGROUP;
    errcode number;
    begin
    rg_examp_code := FIND_GROUP('examp_code');
    IF ID_NULL(rg_examp_code) THEN
    c_sql := 'SELECT TRIM(field_code) label, TRIM(field_code) lstvalue FROM prod';
    rg_examp_code:= CREATE_GROUP_FROM_QUERY('examp_code',c_sql);
    errcode :=POPULATE_GROUP(rg_examp_code);
    CLEAR_LIST('EXAMP_CODE');
    POPULATE_LIST('EXAMP_CODE',rg_examp_code);
    end;
    After that, In aother program unit, I am inserting a new record in table prod using EXEC_SQL.
    Now, table prod contains one extra record after successfull insertion of a row. Here, I am populating the List using the above query, once again.
    and getting error FRM-41072 : Cannot create Group examp_code.
    Please help

    Your record group name should not be the same as your list item name. I made other changes too. Try this:
    declare
      rg_examp_code RECORDGROUP;
      errcode number;
    begin
      rg_examp_code := FIND_GROUP('examp_code');
      IF NOT ID_NULL(rg_examp_code) THEN
        DELETE_GROUP(rg_examp_code);
      END IF;
      c_sql := 'SELECT TRIM(TO_CHAR(field_code)) label, TRIM(TO_CHAR(field_code)) lstvalue FROM prod';
      rg_examp_code:= CREATE_GROUP_FROM_QUERY('examp_code', c_sql);
      errcode := POPULATE_GROUP(rg_examp_code);
      IF errcode = 0 THEN
        CLEAR_LIST('Your_List_Item');  -- not needed when using POPULATE_LIST
        POPULATE_LIST('Your_List_Item', rg_examp_code);
      ELSE
        MESSAGE('Record Group Error: ' || errcode);
        MESSAGE(' ', NO_ACKNOWLEDGE);
    end;

  • Problem creating dynamic component children with RestoreState of JSF 1.2

    Hello everybody,
    With JSF 1.1, it was possible to create children of a component dynamically in the constructor of a component.
    But now, with JSF 1.2, there is an issue with the RestoreState as a new instance of each component of the tree is created.
    Does someone has an idea on how to solve this issue?
    One possibility is to create the children not in the component, but in the renderer of the component.
    But I'm not really convinced of this solution...
    Thank you in advance.
    bgOnline

    You can create a new component dynamically in the method setParent() according to the following code snippet:
    public void setParent(UIComponent parent) {
    if (parent != null) {
    List<UIComponent> children = parent.getChildren();
    Application application = FacesContext.getCurrentInstance().getApplication();
         componentLabel = (HtmlOutputLabel) application
         .createComponent(HtmlOutputLabel.COMPONENT_TYPE);
         componentLabel.setTransient(true);
         children.add(componentLabel);
         } else if (parent == null) {
         if (componentLabel != null) {
         List<UIComponent> children = getParent().getChildren();
              children.remove(componentLabel);
              super.setParent(parent);
         }

  • Strange problem in Dynamic File Name . XI behaving strangely

    My o/p is coming like this
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_PurchaseOrderChange xmlns:ns0="http://E2open.com/xi/IntercompanySCM_6.0/POChange">
    - <recordset>
    - <data>
      <PoHeaderDomainName>broker_domain</PoHeaderDomainName>
      <PoHeaderOrgName>broker_org</PoHeaderOrgName>
      <PoHeaderPoState>$null</PoHeaderPoState>
      <PoHeaderStateChangeDate>$null</PoHeaderStateChangeDate>
      <PoHeaderPoNumber>4500000026</PoHeaderPoNumber>
      <PoHeaderPoCreationDate>$null</PoHeaderPoCreationDate>
      <PoHeaderLastModifiedDate>$null</PoHeaderLastModifiedDate>
      <PoHeaderModelSubType>Discrete_Order</PoHeaderModelSubType>
      <PoHeaderSupplierName>0000352119</PoHeaderSupplierName>
      <PoHeaderSupplierDescription>$null</PoHeaderSupplierDescription>
      <PoHeaderCustomerName>SSP_CUSTOMER</PoHeaderCustomerName>
      <PoHeaderCustomerDescription>$null</PoHeaderCustomerDescription>
      <PoHeaderCustomerMessage>$null</PoHeaderCustomerMessage>
      <PoHeaderSupplierMessage>$null</PoHeaderSupplierMessage>
      <PoHeaderBillToName>$null</PoHeaderBillToName>
      <PoHeaderBillToAddressDescriptor>$null</PoHeaderBillToAddressDescriptor>
      <PoHeaderBillToAddressAddress1>$null</PoHeaderBillToAddressAddress1>
      <PoHeaderBillToAddressAddress2>$null</PoHeaderBillToAddressAddress2>
      <PoHeaderBillToAddressCity>$null</PoHeaderBillToAddressCity>
      <PoHeaderBillToAddressCountry>$null</PoHeaderBillToAddressCountry>
      <PoHeaderBillToAddressCounty>$null</PoHeaderBillToAddressCounty>
      <PoHeaderBillToAddressState>$null</PoHeaderBillToAddressState>
      <PoHeaderBillToAddressZip>$null</PoHeaderBillToAddressZip>
      <PoHeaderBuyerCode>$null</PoHeaderBuyerCode>
      <PoHeaderFreight>$null</PoHeaderFreight>
      <PoHeaderTerms>0001</PoHeaderTerms>
      <PoHeaderOrderPriority>$null</PoHeaderOrderPriority>
      <PoHeaderCommunicationMode>$null</PoHeaderCommunicationMode>
      <PoHeaderAgreementStartDate>$null</PoHeaderAgreementStartDate>
      <PoHeaderAgreementEndDate>$null</PoHeaderAgreementEndDate>
      <UDFPoHeaderRevisionNumber>$null</UDFPoHeaderRevisionNumber>
      <UDFPoHeaderERPPOCreationDate>01Sep2006000000</UDFPoHeaderERPPOCreationDate>
      <UDFPoHeaderheaderUDF1>$null</UDFPoHeaderheaderUDF1>
      <UDFPoHeaderheaderUDF2>$null</UDFPoHeaderheaderUDF2>
      <UDFPoHeaderheaderUDF3>$null</UDFPoHeaderheaderUDF3>
      <UDFPoHeaderheaderUDF4>$null</UDFPoHeaderheaderUDF4>
      <UDFPoHeaderheaderUDF5>$null</UDFPoHeaderheaderUDF5>
      <PoLineItemPoLineItemId>00020</PoLineItemPoLineItemId>
      <PoLineItemCustomerItemName>E107434516</PoLineItemCustomerItemName>
      <PoLineItemCustomerItemDesc>L1357 TOROID INDUCTOR</PoLineItemCustomerItemDesc>
      <PoLineItemCustomerDomainName>SSP_CUSTOMER_domain</PoLineItemCustomerDomainName>
      <PoLineItemSupplierItemName>E107434516</PoLineItemSupplierItemName>
      <PoLineItemSupplierItemDesc>L1357 TOROID INDUCTOR</PoLineItemSupplierItemDesc>
      <PoLineItemSupplierDomainName>0000352119_domain</PoLineItemSupplierDomainName>
      <PoLineItemUnitPrice>720</PoLineItemUnitPrice>
      <PoLineItemBasisOfUnitPrice>$null</PoLineItemBasisOfUnitPrice>
      <PoLineItemCurrency>EUR</PoLineItemCurrency>
      <PoLineItemUnitOfMeasure>TNE</PoLineItemUnitOfMeasure>
      <PoLineItemLineItemState>$null</PoLineItemLineItemState>
      <PoLineItemStateChangeDate>$null</PoLineItemStateChangeDate>
      <PoLineItemLastModifiedDate>$null</PoLineItemLastModifiedDate>
      <UDFPoLineSupplierItemName>E107434516</UDFPoLineSupplierItemName>
      <UDFPoLinelineUDF1>$null</UDFPoLinelineUDF1>
      <UDFPoLinelineUDF2>$null</UDFPoLinelineUDF2>
      <UDFPoLinelineUDF3>$null</UDFPoLinelineUDF3>
      <UDFPoLinelineUDF4>$null</UDFPoLinelineUDF4>
      <UDFPoLinelineUDF5>$null</UDFPoLinelineUDF5>
      <PoScheduleId>1</PoScheduleId>
      <PoScheduleLastAction>Insert_Or_Modify</PoScheduleLastAction>
      <PoScheduleScheduleState>$null</PoScheduleScheduleState>
      <PoScheduleStateChangeDate>$null</PoScheduleStateChangeDate>
      <PoScheduleRequestQuantity>9.000</PoScheduleRequestQuantity>
      <PoScheduleRequestDate>16Sep2006000000</PoScheduleRequestDate>
      <PoScheduleRequestShipmentDate>16Sep2006000000</PoScheduleRequestShipmentDate>
      <PoScheduleOriginalRequestQuantity>$null</PoScheduleOriginalRequestQuantity>
      <PoScheduleOriginalRequestDate>$null</PoScheduleOriginalRequestDate>
      <PoScheduleCarrier>$null</PoScheduleCarrier>
      <PoScheduleCarrierMode>$null</PoScheduleCarrierMode>
      <PoScheduleCarrierAccountNumber>$null</PoScheduleCarrierAccountNumber>
      <PoScheduleCustomerSiteName>5302</PoScheduleCustomerSiteName>
      <PoScheduleShipToAddressDescriptor>$null</PoScheduleShipToAddressDescriptor>
      <PoScheduleShipToAddressAddress1>$null</PoScheduleShipToAddressAddress1>
      <PoScheduleShipToAddressAddress2>$null</PoScheduleShipToAddressAddress2>
      <PoScheduleShipToAddressCity>$null</PoScheduleShipToAddressCity>
      <PoScheduleShipToAddressCountry>$null</PoScheduleShipToAddressCountry>
      <PoScheduleShipToAddressCounty>$null</PoScheduleShipToAddressCounty>
      <PoScheduleShipToAddressState>$null</PoScheduleShipToAddressState>
      <PoScheduleShipToAddressZip>$null</PoScheduleShipToAddressZip>
      <PoScheduleLastModifiedDate>$null</PoScheduleLastModifiedDate>
      <PoScheduleCustomerMessage>$null</PoScheduleCustomerMessage>
      <PoScheduleSupplierMessage>$null</PoScheduleSupplierMessage>
      <PoScheduleRefdPoCustomerName>$null</PoScheduleRefdPoCustomerName>
      <PoScheduleRefdPoS>$null</PoScheduleRefdPoS>
      <PoScheduleRefdPoModelSubType>$null</PoScheduleRefdPoModelSubType>
      <PoScheduleRefdPoNumber>$null</PoScheduleRefdPoNumber>
      <PoScheduleRefdPoLineItemId>$null</PoScheduleRefdPoLineItemId>
      <PoScheduleRefdPoScheduleId>$null</PoScheduleRefdPoScheduleId>
      <UDFPoSchedulescheduleUDF1>$null</UDFPoSchedulescheduleUDF1>
      <UDFPoSchedulescheduleUDF2>$null</UDFPoSchedulescheduleUDF2>
      <UDFPoSchedulescheduleUDF3>$null</UDFPoSchedulescheduleUDF3>
      <UDFPoSchedulescheduleUDF4>$null</UDFPoSchedulescheduleUDF4>
      <UDFPoSchedulescheduleUDF5>$null</UDFPoSchedulescheduleUDF5>
      <PoPromiseScheduleId>1</PoPromiseScheduleId>
      <PoPromiseScheduleAddressDescriptor>$null</PoPromiseScheduleAddressDescriptor>
      <PoPromiseScheduleAddress1>$null</PoPromiseScheduleAddress1>
      <PoPromiseScheduleAddress2>$null</PoPromiseScheduleAddress2>
      <PoPromiseScheduleAddressCity>$null</PoPromiseScheduleAddressCity>
      <PoPromiseScheduleAddressCountry>$null</PoPromiseScheduleAddressCountry>
      <PoPromiseScheduleAddressCounty>$null</PoPromiseScheduleAddressCounty>
      <PoPromiseScheduleAddressState>$null</PoPromiseScheduleAddressState>
      <PoPromiseScheduleAddressZip>$null</PoPromiseScheduleAddressZip>
      <PoPromiseScheduleQuantity>9.000</PoPromiseScheduleQuantity>
      <PoPromiseScheduleDate>16Sep2006000000</PoPromiseScheduleDate>
      <PoPromiseScheduleShipmentDate>$null</PoPromiseScheduleShipmentDate>
      <UDFPoPromiseScheduleUDF1>$null</UDFPoPromiseScheduleUDF1>
      <UDFPoPromiseScheduleUDF2>$null</UDFPoPromiseScheduleUDF2>
      <UDFPoPromiseScheduleUDF3>$null</UDFPoPromiseScheduleUDF3>
      <UDFPoPromiseScheduleUDF4>$null</UDFPoPromiseScheduleUDF4>
      <UDFPoPromiseScheduleUDF5>$null</UDFPoPromiseScheduleUDF5>
      </data>
    - <FileNameNode>
      <FileName>111111111_222222223_purchase-orders_20060901065147_</FileName>
      </FileNameNode>
      </recordset>
      </ns0:MT_PurchaseOrderChange>
    I have specifed
    Payload:MT_PurchaseOrderChange,1,FileNameNode,1,FileName,1
    in variable substitution
    I am on SP 14 and it the dynamic file is working for other scneario
    bt in this scneario i am getting the error
    Receiver Adapter v2405 for Party '', Service 'com_E2open_qas':
    Configured at 2006-09-01 18:42:32 GMT+05:30
    History:
    - 2006-09-01 19:11:48 GMT+05:30: Message processing failed: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: amit
    - 2006-09-01 19:11:48 GMT+05:30: Processing started
    - 2006-09-01 19:06:47 GMT+05:30: Message processing failed: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: amit
    - 2006-09-01 19:06:47 GMT+05:30: Processing started
    - 2006-09-01 19:01:47 GMT+05:30: Message processing failed: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: amit
    amit is the variable i have given for substitution.

    Hi,
    if you have SP14 stop using variable substitiuion:)
    you can do it much easier with dynamic configuraiton
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    so you can easily set it for file adapter to set the file name
    you can also have a look at my weblog:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for