Dynamic column Name# Contains Invalid Characters. Bind_table() fails

Hi WD experts,
I have tried to use the bind_table() on a dynamically generated table. Now it happens that this dynamic table contains  columns like NAME# . This gave rise to a dump :
The Name NAME# Contains Invalid Characters. Valid Characters are A-Z, 0-9, _, and /.
Other tables which do not have such columns are correctly bound.
In my method , I first loop over the field catalog to retrieve some field names from a dynamicallt generated report...
  LOOP AT lt_fieldcat_out INTO lwa_fieldcat.
    comp-name = lwa_fieldcat-fieldname.
    comp-type ?= cl_abap_typedescr=>DESCRIBE_BY_DATA( lwa_fieldcat-FIELDNAME ).
    APPEND comp TO comp_tab.
  ENDLOOP.
structure which represents the dynamic table
  struct_type = cl_abap_structdescr=>get(
                                          p_components = comp_tab
                                          p_strict = abap_FALSE   ).
  node_info = wd_context->get_node_info( ).
  node_info = node_info->add_new_child_node(
                              name        = 'DYN_TAB_NODE'
                              IS_MANDATORY                 = ABAP_TRUE
                               IS_MANDATORY_SELECTION       = ABAP_FALSE
                               IS_MULTIPLE                  = ABAP_TRUE
                               IS_MULTIPLE_SELECTION        = ABAP_FALSE
                               IS_SINGLETON                 = ABAP_FALSE
                               IS_INITIALIZE_LEAD_SELECTION = ABAP_FALSE
                              static_element_rtti = struct_type
                              is_static = abap_false
  struct_type = node_info->GET_STATIC_ATTRIBUTES_TYPE( ).
Afterwards, I bind a dynamic table to the new node...
Do you have an idea how to circumvent this ?
Thank you,
cheers,Zied.

cols have to be changed

Similar Messages

  • Error occured while importing xsd.file(Name contains invalid characters: -

    Hello,
    i muss import xsd.file.  while importing this error occured:
    İFMEXTDEF CCTS_CCT_SchemaModule-2.0 | http://example.org/XXX/XXX/OUT/NOZ (SC_NOZ V001 of example.org):
    Name contains invalid characters: - .
    Only a(A)-z(Z), 0-9, and "_" are permitted
    This xsdfile name is CCTS_CCT_SchemaModule-2.0 but PI doesn't  accept "-". But i muss use this file because this file is standart. What can i do for this?
    Thanks
    Nurhan
    Edited by: Nurhan on Oct 18, 2011 11:22 AM

    HI,
      PI doestnt support special characters like '-'. first you need to change the file name as you specify '-'. to remove that and you have to give '_'. then uyou have to impot >XSD file into ESR under ExternalDefination.
    i hope this will help you.
    regards,
    ganesh.

  • Outlook Folder name contained invalid characters or is only spaces

    Folder name contained invalid characters or is only spaces

    Hi,
    It seems the issue is that you receive the message when you are using Outlook.
    First please let me know, what type of account are you using in Outlook? Exchange, IMAP or POP3?
    I suggest you logon the Webmail/OWA to check whether there are any special characters in the folder names. If there are, remove the special characters and check if Outlook still prompts this message.
    This issue can also be caused by some anti-virus program or 3rd-party add-ins. Please disable the anti-virus program temporarily to check the result. I also suggest you start Outlook in Safe Mode to determine whether it's related to add-ins:
    Press Win + R, type "outlook.exe /safe" in the blank box, press Enter.
    If there's no problem in Outlook Safe Mode, go to FILE -> Options -> Add-Ins to disable the suspicious add-ins to verify which on caused this problem.
    Since the information you provided is quite limited, you can also let me know what you have done recently to the PC or Outlook before this issue occurred.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • The File name property is not valid. The file name is a device or contains invalid characters

    I have an SSIS task that has run successfully for years. They just moved the dtsx to a new server and now it is failing. 
    Issue:
    The task has a data flow that writes a raw file destination. It then has a subsequent data flow that reads the raw file destination. 
    The path and name of the raw file is passed to each of the data flows via the same variable. 
    The raw file resides in a folder on the server in the same path that the dtsx resides in. 
    The task fails with the "The File name property is not valid. The file name is a device or contains invalid characters" error when trying to access the raw file.
    What we have done to troubleshoot:
    1. I ran the task successfully on my local machine so it is definitely a server issue.
    2. The first thing we were seeing was that it failed trying to write to the raw file. The task is set to "Create Always". 
    3. We saw that the dba's copied over the entire directory structure from the old server which included a previously created raw file, so we deleted the raw file.
    4. We reran the task and it successfully wrote a new raw file but then failed on reading the raw file with the same error as above.
    5. We reran the task AGAIN and this time it failed trying to write the raw file throwing the same error as above.
    6. The dba looked at the directory and the account that performs the task has full control.
    7. The dba looked at the raw file that was created and verified that the account that performs the task has full control of the file and that it is the owner of the file.
    Summary:
    The task fails when trying to access the file EXCEPT when the file does not exist. In that situation it can write the file but subsequently fails in accessing it again.

    Hi Whalensdad,
    Based on my research, the issue can be caused by the following reasons:
    There are some invalid characters in the File name at package runtime. In this scenario, just as Russ said, could you please post the value that is in the File name variable? Also use a Script Task with Messagebox.show to show the variable values at runtime.
    May be it changes to others at run time.
    The account runs the package not having access to all the folders in the path. Since you are moving the dtsx file from one server to the current server, do you also move the raw file to the same folder in the current server? Does the user runs the package
    have access to all the folders in the path? To solve this, please ensure that the user has access to all folders and the raw file in the path on the current server.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support
    Please see the response above. I can't use a message box on a server so I logged the values to the database. The resource account has full control to the folder. I haven't been able to get the DBA to check the SQL Agents permissions, but I was always under
    the impression that if you use "Run As" on the task, it will not use the SQL Agent but the account you identify it to "Run As". The "Run As" account has full control on the folder and file.

  • The file name is not valid. The file name is a device or contains invalid characters.

    Hi ,
    I am getting below error in SSIS 2008 package when it is run through control-m
    The file name is not valid. The file name is a device or contains invalid characters.
    component "FF_SRC_InboundFidelityInputFile" (1) failed the pre-execute phase and returned error code 0xC020207E.
    although this package is working fine in dev environment from visual studio.
    control-m agent has proper permissions to the folder still it is failing. Please if anyone knows solution for this issue. I am working on this issue since more than a week but reached nowhere. Please help.
    Thanks 
    Paras Gupta

    Hi Paras,
    Based on your description, it is not the VS IDE issue, if it is related to the SSIS, I suggest you post the issue in this forum here:http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices
    , and there you would get better response.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).

    I recently upgraded to a new Macbook Air running Lion, from my 2007 white Macbook running Snow Leopard.  I had Office for Mac 2004 on the 2007, but had to upgrade to Office for Mac 2011 to be compatible with Lion on the Air.  Now when I try to open my documents on the Air that were saved under Office 2004 on the old computer, I get the following message: Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).
    Any suggestions?  Thank you.

    Ha,ha,ha.....I figured it out.  But for anyone else who's having this problem, it seems that while Office 2004 allowed dates in this format: 00/00/00, Office 2011 doesn't like it at all.  I just changed the format in the document names to 00-00-00 and all is well.  Documents are opening beautifully! 

  • How to change recordset bahaviour to accept dynamic column names in the where clause

    Hi
    im using php-mysql and i make a recordset and i want to make the column names in the where clause to be dynamic like
    "select id,name from mytable where $tablename-$myvar";
    but when i do this my i break the recordset and it disappear
    and when i use variables from advanced recordset it only dynamic for the value of the column not for the column name
    and when i write the column name to dynamic as above by hand it truns a red exclamation mark on the server behaviour panel
    so i think the only way is to change the recordset behaviour is it? if so How to make it accept dynamic column names?
    thanks in advance.

    As bregent has already explained to you, customizing the recordset code will result in Dreamweaver no longer recognizing the server behavior. This isn't a problem, but it does mean that you need to lay out your dynamic text with the Bindings panel before making any changes. Once you have changed the recordset code, the Bindings panel will no longer recognize the recordset fields.
    Using a variable to choose a column name is quite simple, but you need to take some security measures to ensure that the value passed through the query string isn't attempting SQL injection. An effective way of doing this is to create an array of acceptable column names, and check that the value matches.
    // create array of acceptable values
    $valid = array('column_name1', 'column_name2', 'column_name3');
    // if the query string contains an acceptable column name, use it
    if (isset($_GET['colname']) && in_array($_GET['colname'], $valid)) {
      $col = $GET['colname'];
    } else {
      // set a default value if the submitted one was invalid
      $col = 'column_name1'
    You can then use $col directly in the SQL query.

  • ORA-20100: Column name undefined invalid Error - Table splitting

    Hi
    While tablesplitting in our upgraded ECC6.0 (EHP4) system, we are facing the below error
    BEGIN table_splitter.ranges('SOFFCONT1','undefined',5,'/tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PRETABSPLIT/Split/DATA'); END;
    ERROR at line 1:
    ORA-20100: Column name undefined invalid
    ORA-06512: at "SAPR3.TABLE_SPLITTER", line 775
    ORA-06512: at line 1
    In our R3hint file we have the below entry, but still we face the issue.
    (kdecc01)#cat R3ta_hints.txt | grep SOFF
    SOFFCONT1       PHIO_ID
    Has anyone faced this issue before?
    Senthil

    see SAP note 1043380
    Ensure the directory being reference does actually exist and ensure
    privilege are provided for access. Also, a Directory Alias should be
    used instead of the database parameter UTL_FILE_DIR which has been
    deprecated.
    Grant the READ or WRITE privileges to the username accessing the
    DIRECTORY.
    Ensure that the file being read does exist and actually contains
    information to be read.
    regards,
    Vincent

  • == ERROR: arch contains invalid characters: ','

    I been using GNU/Arch Linux for few weeks now. One program I liked for Ganoo/Leenox was "screencloud", it let me bind hotkeys to draw a square then snap a screenshot and upload it to my FTP server.
    So I typed 'yaourt screencloud',
    It fails to install the 'libqxt' dependency every time I try. This is what happens:
    ==> Downloading libqxt PKGBUILD from AUR...
    x PKGBUILD
    libqxt 0.6.2-3 (Sat Sep 1 10:18:04 EDT 2007)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> libqxt dependencies:
    - qt4 (already installed)
    - openssl (already installed)
    - db (already installed)
    - qt4 (already installed)
    ==> Continue building libqxt ? [Y/n]
    ==> --------------------------------
    ==>
    ==> Building and installing package
    ==> ERROR: arch contains invalid characters: ','
    ==> ERROR: Makepkg was unable to build libqxt.
    ==> Restart building libqxt ? [y/N]
    ==> -------------------------------
    ==>
    So what is wrong with it and how do I fix it? Thanks

    AbaddonOrmuz wrote:Edit the PKGBUILD to remove the comma "," in the arch array, just that.
    A really odd thing happens when I press Y to edit the PKGBUILD
    The terminal just dies, nothing appears, and I cant ctrl+C to escape
    Heres a lil screencapture I encoded as webm to show what happens
    http://webmup.com/La22v/
    EDIT: sorry for the uploading to that host, if anyone knows a better place to upload, or public ftp server let me know
    Last edited by Untracable (2015-01-13 08:32:04)

  • Error message: Package contains invalid characters installing patchlevel 6

    Dear experts:
    I have successfullly installed SAP GUI 7.20 compilation 2, using SAP installation server (40 machines, Windows XP sp3 32 bits, latest updates).
    I have successfully installed patchlevel 6 in the SAP installation server. (gui720_6-10007878.exe, downloaded from SAP Portal)
    SAP GUI is configured to search for updates after 5 double-clicks on desktop icon. I forced the 5 double-clicks on a test machine and the patch begins to install; then informs me that there is a pending reboot.
    When I reboot the machine a SAP Netweaver Front-end installer window appears with the error: "/Package contains invalid characters like /*?"<>\" - "Your system has a pending reboot". If I reboot again the message is displayed again.
    If I click on the "Cancel" button of this window, Windows XP continues booting and SAP GUI works fine.
    Two questions:
    How can I avoid the installation of this patch on all the machines?
    What can be wrong?
    Thank you very much.
    Mr.Clinker
    Uruguay - South America.

    1.) To avoid the installation on all clients simply go to "Services -> Configure Automatic Workstation Update Service" in the SAP Installation Server Administration Tool and disbale the service. If this doesnt work you can delete the package on the installation server an create a new one with the same name. You can than patch the package to the patchlevel you want.
    2.) Try to apply patch 6 Hotfix 2 and see if the problem remains.

  • Support forum message error: "The message contains invalid characters."

    when i try to post a crash report in a forum thread i created, i get the following message:
    "The message contains invalid characters."
    is this a forum bug? are there such things as invalid characters???

    This MAY be totally unrelated - but maybe not.
    The SiteWare is particular about some characters under some circumstances. I have not been alerted like you were, but I have seen this when posting screenshots Using an add-on to my browser that put's the "Title" of the page grabbed into the filename it saves...
    All ASC pages have
    " ... | Apple Support Communities " at the end of the title
    the " | " (vertical 'stroke') is an illegal character in a filename for POSTING to the server -  and there are others
    * the file " ASC | ASC.png " is the same image as the 1st picture I posted - I just changed the name to illustrate
    What is good for the Finder may not be good for the server or the software running these forums.
    ÇÇÇ

  • Value '05uFF71uFF7BuFF8B ' for characteristic ZJLEG_PPL contains invalid characters

    Hi,
    One of our Master data attribute load is failing with the following error message.
    Value '05&#65393;&#65403;&#65419; ' for characteristic Z_PPL contains invalid characters
    As you see there are some Japanese characters when it is trying to load into Char string?
    Can we load such characteristics?
    Where can we check which all Languages are installed in the system?
    If we want to maintain these to the Special characteristics in RSKC transaction?
    Can we enter these characteristics using English keyboard?
    Regards
    Ajay

    Hi Ajay
    Some time in the run time environ ment field values are moved to junk chars .
    In this case even if u r traying to place the same char in RSKC also it wont
    accept..
    So in this can just edit that particular error record like in the ordinary process in
    the PSA.other wise if its a master data u need to select the option error handling
    in the info pak and rerun the info pak..
    Hope itz clear a little atleast...!
    Thanks & Regards
    R M K
    ***Assigning pointz is the only way of saying thanx in SDN ***
    **Winners dont do different things,they do things differently**
    > Hi Although,
    >
    > We do have same Characteristics maintained to QA and
    > Production.
    >
    > But when I load the Same data in QA it is successful
    > but it is failing in Production.
    >
    > Regards
    > Ajay

  • Need help with Value '# ' of 0REF_DOC_NO contains invalid characters

    Hi Experts
    We are having load failure due to this Value '# ' of characteristic 0REF_DOC_NO contains invalid characters error. I have managed to find out at PSA level there are few records with contains # value. I have also informed the user about it and user had rectified the record from ECC level.
    Our load goes evey night through process chains from PSA to DSO and then to Cube.
    We have requests in DSO till today and the problem happened two weeks ago e.g. 7 DEC. In cube the last record came on 6 DEC as after that it was failing everyday.
    Now I am just wondering with few questions :-
    Should I wait for next delta load to happen so that it can bring all the records from DSO to Cube or Do i need to change the record of that certain date in DSO too.
    Please give me your valuable suggestion and steps.
    Regards
    Sunny

    Sorry for posting it in wrong section, i have moved it to right thread now.
    Cube is failing with invalid characters error Value #  of 0REF_DOC_NO

  • Saving result from sp_executesql into a variable and using dynamic column name - getting error "Error converting data type varchar to numeric"

    Im getting an error when running a procedure that includes this code.
    I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql
    DECLARE @retval AS DECIMAL(12,2)
    DECLARE @MonthVal VARCHAR(20), @SpreadKeyVal INT
    DECLARE @sqlcmd AS NVARCHAR(150)
    DECLARE @paramdef NVARCHAR(150)
    SET @MonthVal = 'Month' + CAST(@MonthNumber AS VARCHAR(2) );
    SET @SpreadKeyVal = @SpreadKey; --CAST(@SpreadKey AS VARCHAR(10) );
    SET @sqlcmd = N' SELECT @retvalout = @MonthVal FROM dbo.CourseSpread WHERE CourseSpreadId = @SpreadKeyVal';
    SET @paramdef = N'@MonthVal VARCHAR(20), @SpreadKeyVal INT, @retvalout DECIMAL(12,2) OUTPUT'
    --default
    SET @retval = 0.0;
    EXECUTE sys.sp_executesql @sqlcmd,@paramdef, @MonthVal = 'Month4',@SpreadKeyVal = 1, @retvalout = @retval OUTPUT;
    SELECT @retval
    DECLARE @return_value DECIMAL(12,2)
    EXEC @return_value = [dbo].[GetSpreadValueByMonthNumber]
    @SpreadKey = 1,
    @MonthNumber = 4
    SELECT 'Return Value' = @return_value
    Msg 8114, Level 16, State 5, Line 1
    Error converting data type varchar to numeric.

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql <<
    This is so very, very wrong! A column is an attribute of an entity. The idea that you are so screwed up that you have no idea if you want
    the shoe size, the phone number or something else at run time of this entity. 
    In Software Engineering we have a principle called cohesion that says a model should do one and only one task, have one and only one entry point, and one and only one exit point. 
    Hey, on a scale from 1 to 10, what color is your favorite letter of the alphabet? Yes, your mindset is that level of sillyity and absurdity. 
    Do you know that SQL is a declarative language? This family of languages does not use local variables! 
    Now think about “month_val” and what it means. A month is a temporal unit of measurement, so this is as silly as saying “liter_val” in your code. Why did you use “sp_” on a procedure? It has special meaning in T-SQL.  
    Think about how silly this is: 
     SET @month_val = 'Month' + CAST(@month_nbr AS VARCHAR(2));
    We do not do display formatting in a query. This is a violation of at the tiered architecture principle. We have a presentation layer. But more than that, the INTERVAL temporal data type is a {year-month} and never just a month. This is fundamental. 
    We need to see the DDL so we can re-write this mess. Want to fix it or not?
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Value 'KIRBYu00A0' of characteristic 0SORTL contains invalid characters

    hello experts!
    i am facing this error while activating 0vendor. data not available either in info object master neither in psa.
    Error Message: Value 'KIRBY ' (hex. '004B004900520042005900A0') of characteristic 0SORTL contains invalid characters
    Message no. BRAIN060
    Diagnosis
    Only the following standard characters are valid in characteristic values by default:
    !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.
    Furthermore, characteristic values that only consist of the character # or that begin with ! are not valid.
    You are trying to load the invalid characteristic value 1. (hexidecimal representation 004B004900520042005900A0).
    Procedure for System Administration
    Try to change the invalid characters to valid characters.
    If you want values that contain invalid characters to be admitted into the system, make the appropriate setting in BW Customizing. Refer to the documentation describing the requirements for special characters and the possible consequences.
    For more information on the problems involved with valid and invalid characters, click here.
    regards
    vijay

    Hi Vijay,
    after KIRBY is a characteristic value which cannot be interpreted by BW properply / is not in the valid char list.
    KRIBY is hex value 004B0049005200420059
    the invalid char is hex value 00A0  -> online hex converter didn't found a ASCI match.
    To solve the problem you will need to fix the record in the source. Or you go to PSA -> delete all in teh field and re-enter KRIBY.
    Best regards,
    Axel

Maybe you are looking for