Problem in dealing with xstrings

Hi,
I am trying to read database field of type 'LRAW' (Length 32000) into a workarea of same data type by executing below statement:
SELECT SINGLE bsegment FROM wbtrbseg INTO ls_wbblob
WHERE clid = '123'.
Here, bsegment and ls_wbblob both are of assigned to same data Element of Data type 'LRAW'.
The problem is that value is not getting copied.
Am i missing something ?
I tried to give target field type as 'RAWSTRING' also but with no use.
Any sort of help is really appreciated.
Best Regards,
Sourabh

Thanks Sesh and Judith !
May be i can explain my main problem :
I have hexdecimal data in LRAW data type field in database table.
This data is passed to internal table with same data type (with your help).
Now i am passing this internal table for XML Transformation to get the XML.
CALL TRANSFORMATION ....
But the problem is that Transformation truncates any trailing zeros from the Hexdecimal data which comes in LRAW data type and this i do not want.
So, my question is that:
can you suggest some data type where LRAW data can be copied ?
I tried to copy it into RAWSTRING  but compiler gives incompatibitliy error
TYPES:BEGIN OF target_struc,
        ls_clid       TYPE wbkey,
        ls_blobno     TYPE wbint,
        ls_bsegno     TYPE wbint,
        ls_bseglen    TYPE wbint2,
        ls_bsegment   TYPE smoj_bin,  <--- smoj_bin has RAWSTRING datatype
      END OF target_struc.
DATA: lt_wbtrbseg TYPE TABLE OF target_struc.
SELECT  *
             FROM wbtrbseg
             INTO TABLE lt_wbtrbseg
             WHERE clid = '123'.

Similar Messages

  • Problem in dealing with special-character filename

    Hi,
    I am facing a weird problem while dealing with a file which has a special character in its name. That character is the big-hyphen, i.e. '–' (not the normal hyphen we can type from keyboard), you would have seen this character in MS Word.
    My java program is running on HP-UX OS, and its basically trying to copy this file to a Windows target system through socket. But while executing it, I am getting Broken Pipe Exception.
    I am applying UTF-8 encoding while running my program (by specifying the argument "-Dfile.encoding=UTF-8" in the java process), and I am also confirming that the file-encoding is being applied to UTF-8 properly by putting a debug in the beginning of the program. My understanding is UTF-8 supports all the characters exist in this world.
    Any suggestion / pointers would be really appreciated.
    Thanks,
    Rajiv

    Fine..... but is there any way to know which encoding has been applied on it ..
    Let's say if you create any file on unix-based system in any application, which encoding gets applied there by default ?
    This file is basically nothing but an html page created using 'Save As' from the browser.
    The person who has created the file is a non-technical .. and won't know much about this all stuff... encoding etc.

  • XML Problem: RFC Function with XSTRING or raw table (4.6C)

    hello,
    I have a serialized XML-Document, i.e. a xstring or a raw table. Now I want to write a RFC Function Module that sends/receives this data. I'm running on 4.6C. Is this possible under 4.6C?
    I've managed to write a Function module with appropriate parameters (XML in a raw table) that works fine, but I can't declare it as a <b>remote</b> function module. Is there a standard method of importing binary XML Data via RFC in 4.6C?
    Regards,
      Alexander Schulz

    Can you please share the answer?

  • Dealing with null values from a database (easy?)

    I'm sure this should be a simple question :
    I'm creating a dynamic dropdown of my companies products that once a product is selected draws values (links) from a database and displays them (links to User guides, FAQs etc).
    My problem is dealing with blank entries in the database - i.e. if a product doesn't have a User guide I've left the database blank.
    I'd like to show 'none' or 'not available' if the entry is blank rather than the 'null' I currently get.
    I'm sure it should be a straightforward if .... else .... but I'm struggling and would appreciate any help,
    Many thanks,
    Mo

    Thanks for the message, the cut down piece of code I'm using for the output is:
    <%
    while (rs.next())
    //header row
    out.println("<tr bgcolor='#666666'>");
    out.println("<td><font style='font-family:arial;color:#ffffff;font-size:10px;'>Product Name</font></td>");
    out.println("<td><font style='font-family:arial;color:#ffffff;font-size:10px;'>FAQs</font></td>");
    out.println("<td><font style='font-family:arial;color:#ffffff;font-size:10px;'>Technical Information</font></td>");
    out.println("</tr>");
    //results
    out.println("<tr border='1' bordercolor='#CCCCCC' bgcolor='#FFFFFF'>");
    out.println("<td><font style='font-family:arial;font-size:12px;font-weight:bold;'><a style='text-decoration:none' href=" + rs.getString("ProductURL") + " target='_blank'><font color='#669999'>" + rs.getString("ProductName") + "</a></td>");
    out.println("<td><font style='font-family:arial;color:#000000;font-size:10px;'>" + rs.getString("FAQs") + "</td>");
    out.println("<td><font style='font-family:arial;color:#000000;font-size:10px;'>" + rs.getString("TechInfo") + "</td>");
    out.println("</tr>");
    stmt.close();
    conn.close();
    %>
    It's the FAQs and TechInfo strings I need to use the statement on - if there's no entry show 'none',
    Thanks again,
    Mo

  • Problem in Safari with pull-down menus

    My current version of Safari, Version 7.0.3 (9537.75.14), is the buggiest software I have ever had from any Apple--bar none.  The problem is dealing with pull-down menus.
    The first such problem is in dealing with pull-down menus on websites.   Some of these menus are quite long.   On one particular menu the choice that I routinely need is way down near the bottom.   Routinely Safari stops scrolling before I can get that far down the pull-down menu.
    And, always, when Safari stops scrolling on a pull-down menu on a webpage, it refuses to allow me to scroll down again.   To get the webpage's pull-down menu to operate then, I have to re-load the webpage.   That is a big problem for one website that I MUST use.  This website has three pull-down menus on one webpage.  Because Safari always locks up on the first menu, this crucial website is unusable in Safari.  I have to use Firefox for this absolutely essential website.
    And Safari has trouble with one of its own pull-down menus.  This is the PDF menu in the printer window.  Not always, but too often, when I pull down that menu to print to PDF, Safari crashes.   I have to wait for a dialog box to come up and click "send report to Apple" in order to get Safari to reopen.   I don't know how many such reports I have sent to Apple.  I get the feeling that Apple is not listening.
    Does anyone have any suggestions for these problems?  TIA

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
    DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    ☞ If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    ☞ Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How should one deal with sub-projects?

    Hello to all!
    Let me first clarify my title-question.
    On my current project I faced software malfunction [FCPX quitting] when I reached 17 minutes of building the video on the timeline. [As a reference, allow me to call this 17-minute part of the video in making as the main project.]
    Remembering from an earlier thread [? Mr. Russ being the contributor], I opted to continue the project as a separate project which I seek to call as the sub-project  Now even this sub-project is of a 14 minute duration and I have need to start a sub-project 2.
    I would now like to be guided as to how to deal with these sub-projects while editing the video and after finishing the project.
    Firstly, while editing. My present plan is to complete the project's video utilising as many sub-projects as needed, and then add the sub-projects to the main project. This done, I intend to add voiceover for the completed project. During this process, my questions are this...how do I add the sub-projects onto the main project? If I select and copy/paste the sub-project, it gets added as 'connected clips'...this is okay if one can export the project as such. But, when a voiceover has to be added, further retiming of the clips are called for and at this stage problems arise. Now, as I am writing this, it is striking me that I could make this added sub-project as a secondary storyline, get done with the retiming after the voiceover is added, and export the project. Have not done this before and would like guidance from senior contributors in this issue.
    Secondly, when the project is exported and is being archived, do I need to have all the sub-projects or delete them to save drive-space?
    Thanks in advance.
    Have a great day.
    Dr. Somanna

    Thanks Karsten for this further instructions. The present project I am working on is being done as a race against time. Faced a problem when dealing with a stack of generator clips one upon the other and each clip being given different commands regarding changes in position and rotation. Beyond the 17 minute mark, one click upon the parameter in the inspector window, and the application quit. When this quitting became a regular feature, I just remembered a thread in which one contributor wrote that he usually divides his projects into 10 minute bits before making up the whole project. Not willing to spend time further on this problem, being in a very 'creative frame mode' I simply continued working upon the project by starting up a 'sub-project'.
    Regards and take care.
    Dr. Somanna

  • Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Welcome to Apple Support Communities
    Don't download MacKeeper. Users complain about this app and it damages OS X. Also, Mac OS X knows how to take care of itself, so you don't need any other cleaning application that may damage OS X. See > https://discussions.apple.com/docs/DOC-3691

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • How can i deal with this problem

    For example, In my database, there are three records:
    field : a b c
    a.txt c:/a.txt adsfs
    b.txt c:/b.txt asdfsf
    c.txt c:/c.txt asfdsf
    Now I open one file b.txt to check the database whether have the same filename,filepath, hash value.
    the results display:
    The file: b.txt has not been registered
    The file: c://b.txt appears OK
    The file: b.txt has not been registered
    I want to do is to only shows the results of 'The file: c://b.txt appears OK'. I know the problem is the body of while(rs.next).
    is there any best way to conform to my demand
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:MD5";
    Connection connection=DriverManager.getConnection(url);
    Statement statement = connection.createStatement();
    String sql="SELECT * FROM MD5";
    ResultSet rs = statement.executeQuery(sql);
    while (rs.next()) {
    if (file.getName().equals(rs.getString("a")))
      if (file.getPath().equals(rs.getString("b")))
      if (m.equals(rs.getString("c")))
        jTextArea2.append("The file: " + file.getPath() +"appears OK"+"\n");
    else jTextArea2.append("The file: " + file.getPath() +"has been modified"+"\n");
    else jTextArea2.append("The Path for the" + file.getName() +"has been modified"+"\n");
    else jTextArea2.append("The file: " + file.getName() +"has not been registered"+"\n");
    rs.close();
    connection.close();
    }

    Why not add a WHERE clause to your statment to filter records having the name of the file in the first record. In this case you'd better use PreparedStatement and set the file name as statement parameter
    Because now you loop through the entire table for a thing you can deal with at DB level.
    And I agree with the others' remarks about those braces ;)
    Mike

  • Zen Vision M Firmware Problem!!! Can't deal with this thing any more...

    Can't deal with this thing any more...3 Hello friends I'm new in the forum
    Well as the title mentions, I'm about to throw this thing oute of the window!!!
    It's a 30 GB Zen Vision M, I own it ,5 years now...
    I have read all the relevant posts in the forum about this player, I tried my best, nothing really worked.....
    So now I have a Zen which only boots in the recovery mode!!
    I have Cleaned it Up, Formated it, and tried to reload its firmware BUT when I connect it and try to reload it, in the end it always says Firmware Upgrade Failed!!Really can't understand it!!!!!
    I've communicated with Creative, i wasn't at all satisfied with their responses... I think what they're trying to do is to avoid me, and earn some time with really useless suggestions which I had already told them won't work!!!So in the end they wanted me to send my Zen in Italy and pay more than 100 Euros for what an ,5 year old mp3 player?No I prefer buying a new Cowon with that amount of money!!!
    Anyways I'm pretty mad now, so I'll move to the subject..
    I have Service Pack 3 Windows XP in my computer, and I did roll back on the Media Player 0 from the I had, using the instructions from a previous post. The truth is that it rolled back with less steps than it showed, and I say that because it mentions in a step that in the add-remove programms, in the Windows XP-Software Updates section, I should find a Windows Media player thing which really doesnt exist and I suspect it's the Service Pack 3 because I have done the same in a SP2 and worked exactly as the steps said..Anyway the fact is I have Windows Media Player 0 now!!!
    Please someone tell why can't I upgrade my firmware... I can't deal with this anymore!!!!

    KRe: Zen Vision M Firmware Problem!!! Can't deal with this thing any more..._
    menios wrote:
    So you say that I actually have the Windows Media Player 0, because my Zen is being recognised..
    I have rebooted it several times but its just the same thing...it shows firmware problem!!
    Why isn't this player working?I've seen many people, not only from here, who have the same exact problem and they gave up on their mp3... I dont have this kind of luxury to buy a new one!!I don't know whether Creative has put on this a "time bomb" or is just faulty, but I really wish it could be saved..
    I'm saying it is WMP0 because the firmware file sees the player. The computer can recognize it but with WMP components that firmware file would be grayed-out..So when you reloaded the firmware did you choose "reload firmware" Before you connected it's?(That is what erases the firmware prior to uploading the firmware. If you did not do that it could cause it to fail.Do these ste
    ps.
    Open the firmware file,On the player format>cleanup>choose reload firmware, then connect & run the firmware file.

  • How to deal with this problem while Flex Integration   SSH

    Error creating bean with name '_messageBroker': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: flex/messaging/AbstractFlexSessionProvider……
    Caused by: java.lang.ClassNotFoundException: flex.messaging.AbstractFlexSessionProvider
    I have  exist project used  SSH ,and now need flex to be use in some new unint.
    I hava follow these step to write my code , please help me to pickup the misstake  i had token.
    (flex4.0  spring 3.6 strust2.2 **)
    1. download the Blazeds file  and spring-flex-core-1.5.2.RELEASE.jar
    (org.springframework.integration-1.0.3.RELEASE.jar also include)
    2. unpack the Blazeds copy the flex folder to WEB-INF 
    3.add the lib/*  to my project lib folder
    4.add some declaration in the web.xml
    5.new a flex-application-config.xml 
    ^^^^ and so on.  I don't know how  to deal with this problem!!!
    Waitting for help!

    The information you provided is totally useless for determining the problem.
    If it helps, I think the message you are getting is related to BlazeDS not being able to find the service class you are calling. You either have a typo somewhere, or you didn't set up a secure channel in your service config (I am assuming you meant SSL and not SSH).

  • How to deal with this problem?

    How to deal with this problem?
    We plan to use Oracle Coherence (In Memory Data Grid) for a large-scale application. In order to keep the database table data in Coherence caches, we will create all the corresplonding Java objects (entities) and construct the persistence system using JPA/EclipseLink+JDBC. In this way, any in-memory object update will be persisted to the corresponding database tables.
    The problem is that some existing application codes are updating these database tables directly now. If the direct-database-table update is not permmited in the persistence environment, we have to discard most of the existing application scripts.
    I want to know, in this situation, should I discard most of the existing scripts?
    Are there any other solutions?

    Allowing writes from both cache & DB is possible with its own set of issues.
    The main issue to consider is conflicts from updates on same record via both cache and DB. If your caches are write-through the conflict decreases - but then cache writes become slower. If your caches are write-behind potentially the older cache update will overwrite the latest DB update. Now you are back to Database 101 -- timestamps, versions, etc...
    If you use a DB trigger to initiate the resync request you might want to distinguish whether the update has come from the cache-store (in which case, you may choose to do nothing), or if the update was from the 'existing apps', etc...
    If you choose to inject the resync logic at the application code level - you have the usual sourcecode issues - can you modify the code, is all the DB code localized, what options do you have to link with Coherence functionality (DLL, external proc, webservice, etc), etc... Naturally though, if you have to make substantial changes to signal a resync....you might consider taking the extra step and change the code to write to the cache.

  • Since I upgraded to Moutain Lion I'm dealing with wifi problems : no connection or random connection

    Since I upgraded to Moutain Lion I'm dealing with wifi problems : no connection or random connection. With  OS X Lion wifi was OK.

    So, Darrall, it seems to be fixed.  Mind you, this has happened through a seemingly unrelated, but hopefully replicable sequence of events.  You be the judge.
    I went to my other login account, which as it happens is also an admin account.  Voila, the secondary click worked fine.  So I returned to my primary account, where I did the following:
    First, I unpaired the trackpad.  then I remembered I needed something to move the mouse with, so I re-paired the magic mouse I'd had before.  I thought I'd turned off the trackpad, but apparently not, so the computer re-paired it automatically. None of this had any immediate effect, as you'd imagine.
    Then I went to Mission Control in Preferences. There, I deselected "Show dashboard as a space", and in the hotcorners, I deselected Mission Control from the bottom left, where it had been. I didn't replace it.
    Now, my secondary click works. Uh huh. I was suspicious that it might have more to do with Mission Control and/or Dashboard than the trackpad, only because I'd beaten that horse till my arm hurt and this was all I could think of. 
    Never did I imagine this would get fixed short of creating a new login account and somehow copying everything - since I didn't know what was wrong, I could easily have copied the error too - so I'm very pleased and relieved.  If you haven't fixed yours yet, try this.  Let me know what happens!

  • The problems seems that the free trial what i am constantly paying for may have ran out/free trial time never contacted as i find this online to take to long and to hard to deal with  yet a paying costumer restricted by some weird fault i don't get this t

    the problems seems that the free trial what i am constantly paying for may have ran out/free trial time never contacted as i find this online to take to long and to hard to deal with  yet a paying costumer restricted by some weird fault i don't get this tried every thing how can i be billed and money taken for hired subscription  but end up with a "free trial" that cut me off having withdrawal as i live my life inside Photoshop 

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

Maybe you are looking for

  • Where are my Photos and Music after running Migration Assistant

    Ran Migration Assistant to bring over all information for my new MacBook Pro from my old MacBook Pro can't locate my iTunes and my iPhoto library. I ended up running Migration Assistant twice and appears I have duplicate information for lots of items

  • Can we assign account for anonymous user

    Hi, Is this possible to assign account for the anonymous user using idoc script or by any rule concept.?? Thanks, Abhijit

  • Data guard failover - timing

    Hi, My standby database is running 2 hours behind the primary - to avoid logical corruption problems. If I do a switchover, how do I make my database roll forward to 1) -30 minutes: so rolling forward 2) - 3 hours: so using flashback to go further ba

  • Quality check in Repetitive Scenario

    Hi Experts, I have a requirement which is as follows for Repetitive scenario I need to do Quality check (for total carbonate (TC) value -- say will be in decimal)on one of the semifinished material and based on that result the operator controls the i

  • ORA-12526 : TNS Listener : all appropriate instances are in restricted more

    I have configured configuration manager to listen to port 1610. When i try connecting to the database i get the above error. If i pass the configuration manager and use 1521 of the listener i can connect. The database is 10gR2. The old data files wer