Dot - Comma problem in WS_download --

I have 3 fields in the internal table.
I want to download all those fields in to excel sheet based on the selection screen either dot or comma. I am using ws_download. I want to display all records in left side.
I have declared all 3 fields as characters.
Data: a, b,c type c.
If you select dot all the columns are displaying right side.(perfect)
Now if I select comma all the columns are displaying in right side.
Now I want to display all the records are right side even if its comma or dot.
Pl send me the sample code.

HI!
It's not exactly an ABAP problem, but maybe an excel problem.
In ABAP you can remove all dots from a string with the following command:
REPLACE ALL OCCURRENCES OF '.' WITH '' IN column1.
In excel you can declare your cells as a text, or as a number. As text it is always aligned to the cell's left side, as a number it is aligned to the right side.
Select a few cells, then right click on them and choose cell properties.
The algnment of the texts, you can overrule with the manual align buttons (left, right, center...)
Regards
Tamá

Similar Messages

  • Comma problem with global string variable

    Hi,
    I'm fiighting with comma problem for global string variable. I've on page string for example "7nndqrr52vzyb,0" and by dynamic column link I'm assigning this string to global variable. Then I'm trying to display value of that global variable on another page but I see only string till comma, nothings more. I'm not sure what I'm doing wrong because when I'm trying to assign that value normally by computation process as a constant value is fine and see on another page correct string. I'll be really glad for help.
    Thanks
    Cheers,
    Mariusz

    When it tries to display the string, it sees the comma and wants to believe the string is terminated. You could escape the , in the string or replace it with a different character..
    See this link: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/concept.htm#BEIGDEHF
    Thank you,
    Tony Miller
    Webster, TX
    If vegetable oil is made of vegetables, what is baby oil made of?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Dota 2 problem on macbook pro 13inch

    i recently bought macbook pro 13inch , i downloaded steam and dota 2 but its not running properly.
    all the tool bar of dota 2 has become florecent green causing problem in reading the tool bar and when
    in game there is little lag and few grafic corruption such as hero is nt visible but only the shadow is visible.
    i am having a problem coz i m unable to play the game.
    plz help nd suggest what can b done.
    ty

    Do you meet the Mac minimum system requirements?
    http://store.steampowered.com/app/570

  • Master-Detail commit problem

    I have master detail scenario. I have two forms. First one for the master and the second for the detail. I am first inserting the master data and then i navigate to the other form to insert the detail data. If i make commit from the second form it works just fine, but i need to go back(using JSF navigation) to the first form and commit from there. When I'm doing that i get the following error: JBO-27102: Attempt to access dead view row
    I need solution to this problem
    Thanks
    Edited by: user2136329 on Dec 3, 2009 3:44 AM

    JBO-27102: DeadViewRowAccessExceptionReason: Trying to access a ViewRow which is part of an obsolete/invalid collection. This could happen if a reference to the ViewRow is held by some business logic while the containing view object was removed.
    Solution: Find the referenced ViewRow either by re-querying or using findByKey methods to get a valid reference to the ViewRow.
    >
    How are you creating your detail row - when you are navigating back are you doing a form submit to make sure that the data is submitted to view object..? If yes, try to get the handle to detail viewobject instance to check it holds new rows before commit..?
    ~Krithika

  • COMMIT problem in TopLink, Struts, JSP and ADF Databinding sample

    In the sample Developing a J2EE Application using TopLink, Struts, JSP and ADF Databinding,
    I followed all the steps to build a department browse page and a edit page.
    But when I get to Step number 23 in "Create a JSP to Edit Departments" I have a problem with the commit.
    Only after I make a change in the form and click the sumbit button, the commit and rollback buttons become active. And After I click the commit button the data gets commited to the database but the page inofmation changes to the very first department record, not the current one.
    How do I make those buttons active with out the extra click on the submit?
    After I click the commit button, how do I keep the current data on the screen?
    Thanks for you help.

    Shay,
    Thanks for the reply.
    For #1, I was able to do the following and get away with not having to press submit first. I just removed the bindings for disable. I hope that does not cause any problems?
    <input type="submit" name="event_Commit" value="Commit" />
    <input type="submit" name="event_Rollback" value="Rollback" />
    For #2, How I add an action on an HTML button? My UIModel.xml for the edit department page currently has two actions on it. Commit and RollBack. Is it linked through the "name" attribute of the input tag?

  • Oracle Forms 6i - mySQL (Commit Problem)

    Hi,
    i'm using Oracle Forms Builder 6i to connect to mySQL 3.23.49 via
    Oracle Open Client Adapter for ODBC 6.0.5.35.0
    Now I have a problem of controlling which form to commit if more than one form are opened.
    E.g. I need to open 2 forms (eg. A, B) and only want to commit the changes made on Form A
    1.
    I open the forms using the follows (i can't use OPEN_FORM('A', SESSION); since mySQL doesn't support)
    OPEN_FORM('A');
    OPEN_FORM('B');
    2.
    then I changed both forms
    Now the :SYSTEM.FORM_STATUS, :SYSTEM.RECORD_STATUS, :SYSTEM.BLOCK_STATUS are 'CHANGED'
    3.
    I then press my custom save button on form A (triggers KEY-COMMIT). Inside KEY-COMMIT, it calls COMMIT_FORM, then triggers
    ON-COMMIT eventually. In ON-COMMIT, i use the built-in COMMIT to commit the changes.
    Then I found that :SYSTEM.FORM_STATUS, :SYSTEM.RECORD_STATUS, :SYSTEM.BLOCK_STATUS are 'QUERY' which is normal. However both
    forms are committed.
    4.
    So I fixed it by: In ON-COMMIT, add RAISE FORM_TRIGGER_FAILURE; after COMMIT. Although it stops committing changes on another
    form. But :SYSTEM.FORM_STATUS, :SYSTEM.RECORD_STATUS, :SYSTEM.BLOCK_STATUS are still 'CHANGED'. Then I do a EXECUTE_QUERY
    after COMMIT_FORM to change back :SYSTEM.FORM_STATUS, etc to 'QUERY'
    5.
    It works. Only Form A is committed. However when Form A has a lot of records (eg. >500), it affects performance.
    Does anyone know how to solve this problem?
    Any help would be greatly appreciated
    Peter

    The question is not how you disable a key, it might be more how to disable a functionality. What functionality do you want to disable? By default F5 maps to the KEY-MENU-trigger, if thats the function you want to disable, write a NULL; in the KEY-MENU-trigger.

  • Problem with WS_DOWNLOAD (URGENT)

    Hi All,
    The WS_DOWNLOAD i am using is downloading the file to workstation SAP GUI640.
    But when testing at client's side, It is coming out of the selection screen without download SAP GUI620.
    Can any body help please ASAP.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                filename                = v_fname
                filetype                = 'DAT'
           TABLES
                data_tab                = i_csv[]
           EXCEPTIONS
                file_open_error         = 1
                file_write_error        = 2
                invalid_filesize        = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                OTHERS                  = 10.

    Hi Kaleem,
    As discussed, You can try following ..
    1. Search on service.sap.com and findout reason. There is a SAP NOTE Explaining Similar Problem.
    2. Remove filetype.
    Hope it will work,
    DARSHAN
    **Reward Points if asnwer is helpful

  • Oracle distrebuted document capture commit problem

    hi,i am working with ODDC v10.1.3.5 using (UCM 11g commit driver) and every thing is going well except one problem that is when i commit to ucm there is a field called(subject) is not commited to UCM even it is maped through the commit driver .
    at the document title field(at Commit Driver Configurations) ,i use it as a compination of multible fields (Name-Subject-Date) ,UCM can see the value of (Subject) Field at this position but at the (subject) field (on UCM) it is empty .
    i dont know what is the reason for this issue ,is it a problem whith the commit driver ?
    any help will be appreciated .
    Regards
    H.Sweiss

    Thanks Jiri,
    I have started with the mandatory metadata fields only. I have resolved the previous problem.
    It was because Client Access folder was not properly set.So the .pak files was still residing in the client access folder.
    But now all batches are present in the Batches folder and the logs says
    eg: 07/13/10 04:48:10 PM 19360358_19360532 extracted into C:\Program Files\Oracle\Document Capture\WebPages\ClientAccess\19360358_19360532.
    07/13/10 04:48:10 PM Start processing DS19360358. File Cabinet: captureDocuments; Create User: TEST; Modify User: TEST; Computer Name: MUKESHLT1\MUKESHLT1; Create Date: 7/13/2010 4:45:57 PM; Modify Date: 7/13/2010 4:48:52 PM.
    07/13/10 04:48:10 PM Client Version Number: 10.1350.26.
    07/13/10 04:48:11 PM DS00000000000023 (ID: 24) created in captureDocuments with 1 pages from DS19360358.
    07/13/10 04:48:11 PM DS00000000000023 (ID: 24) is committed, number of documents: 1, total page(s) committed 1.
    07/13/10 04:48:11 PM Post processing batch DS19360358. File Cabinet: captureDocuments; Batch ID: 24; Create User: TEST; Modify User: TEST; Computer Name: MUKESHLT1\MUKESHLT1; Create Date: 7/13/2010 4:45:57 PM; Modify Date: 7/13/2010 4:48:52 PM.
    07/13/10 04:48:11 PM 19360358_19360532 deleted.
    07/13/10 04:48:11 PM
    But it is still not sending to UCM.
    Is there any setup to commit these batches?

  • Commit Problems

    Hi,
    I am facing the following problem.
    I have a database table with two constraints.
    One constraint is the primary key and the other constraint is a unique value (username) in the table.
    I created my workspace and project in JDeveloper 10.1.3.1.0.3984. I am using ADF Business Components and i created my entity and then created a view based on that entity.
    I then created a main page with the view as an ADF Table and from this main page, i included an edit button to go to the edit page to edit the selected record.
    So far everything is running perfect.
    On my edit page, i have a commandButton that commits changes to the database (i just dragged the commit button and set the disabled property to false).
    When i try to enter a username that already exists, i get two errors:
    1. JBO-26048: Constraint "SEC_USER_UNNIQUE_USERNAME" violated during post operation:"Update" using SQL Statement "UPDATE JAAS_USERS JaasUsers SET USERNAME=? WHERE USERID=?".
    2. ORA-00001: unique constraint (KANDY.SEC_USER_UNNIQUE_USERNAME) violated
    This is ok. However, when i go back to my main page i see that my record changed to the existing duplicate value that i have entered. This is not howeverd saved in the database, however it is being displayed on my main page.
    When i close my session and open my page again, i can see that the changes have not been committed.
    This is quite confusing for the end user. I cannot first display error that there is a violation, then "commit temporarily the changes", and the if i close the session and open the page again to be ok.
    Can someone please help how can i overcome this.
    I tried overriding the method postChanges on the entity but i get again some other errors: Here is my overriden method.
    public void postChanges(TransactionEvent transactionEvent) {
    try{
    super.postChanges(transactionEvent);
    catch (DMLConstraintException ex) {
    DBTransaction currentTrans = getDBTransaction();
    currentTrans.rollback();
    ex.setExceptions(null);
    throw ex;
    And the last i would like to ask is that i declared my commit button to an action(Navigation case), to just go to the main page after pressing save. When i hit save, what i would like to do is that if there are error messages to stay on the edit page and only go to the main page if commit is successfull.
    I hope someone can help me with my issues
    Thank you
    Antonis

    Hi. Please start a new thread for a new question in the future. Thanks.
    You are hitting bug# 5872826 where the Business Components: Options panel adds the incorrect message bundle class name to the JPX file.
    For example, imagine you had done the following:
    1. Default an EO for the DEPT table in a new project
    2. Visit the project properties dialog, and select the
    "Business Components" > "Options" panel
    3. Click (New...) to define a new custom message bundle
    4. Enter a package name of "some.pack.name" and class of "MessageBundle1"
    and click (OK)
    The bug is that JDeveloper saves the incorrect fully-qualified message bundle class
    name just created. Instead of "some.pack.name.MessageBundle1" it
    has only saved "MessageBundle1" so the message bundle will not be seen
    at runtime.
    The workaround, after following the testcase steps above, is to
    click the (Remove) button to remove the incorret message bundle class
    entry, then click (Add) and use the class picker to add the
    "some.pack.name.MessageBundle1" class name. Doing it this way the
    class name is added correctly

  • Dota 2 problems on Macbook pro 13 inch

    Hey everyone
    I'm having this problem on my MacBook Pro 13 inch mid 2009 OSX 10.9 while playing dota 2.
    When I'm about to play it is so lagggggyyyyyyy like I can't land a skill. I have fast consistent internet and I'm trying to download bootcamp to see if it will fix my problem. Any suggestion everyone?
    Can someone help me? Appreciate your help.
    Thank

    What you should do is time consuming but really helps (it helped for me)
    Go to your disk utility setup and select your harddisk drive, then click on verify disk permissions and after that repair disk permissions, don't ask me why it runs in this order but it seems to elliminate the cause. you will most probably see some repairs being listed.
    the next step is to "repair disk" procedure, allthough it could be possible that it can not and then it will tell you to use your setup disk that came with the computer, insert disk hold command and "R" at same time and you come into the menu to repair or re istal software etc.
    I ran the repair mode, then re installed my operating software and it seem to resolve this issue but also the long start up problems.
    good luck

  • [SOLVED] urxvt and Git/SVN commit problem

    I have a problem where SVN and Git cant see that the EDITOR variable is set on my system when I go to make a commit, they both error out because the EDITOR variable (as well as other variables are blank).  This is the error that I get from SVN:
    ┌─(vendion@Tyre Fri, 02 Sep 11)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(08:48)──┘
    └─(/srv/http/juice38)─> sudo svn ci
    svn: Commit failed (details follow):
    svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
    svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
    ┌─(vendion@Tyre Fri, 02 Sep 11)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(08:48)──┘
    └─(/srv/http/juice38)─> echo $EDITOR
    vim
    Git acts the same way but with its own error message (sorry don't have an example of this currently), is there a way to fix this so that Git and SVN will see that I do have an EDITOR set and use it with out having to change terminals (works fine in xterm...)
    Last edited by vendion (2011-09-02 16:08:48)

    Sorry over looked that, when I run sudo to check the EDITOR variable it also has vim set
    ┌─(vendion@Tyre Fri, 02 Sep 11)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(09:42)──┘
    └─(/home/vendion/Projects/TickIt)─> sudo echo $EDITOR
    Password:
    vim

  • Process Commit Problem with HTMLdb 1.6

    Hi,
    I have spent several hours browsing through the forum. I have found similar postings that are fairly old, but none quite like mine or with a working solution.
    I have a set of two temporary tables that are populated via a procedure, taking data from a massive partitioned table, filtered based on a 'MM-DD-YY HH24' argument.
    The tables are set up to delete all rows on a commit, because we only need the tables to be populated for the session, afterwards, the data is no longer useful. Because of this, I have a commit statement as my first instruction inside the procedure, to ensure a clean slate.
    I'm having no problems running this procedure from SQL Developer. I created a process that runs before regions in HTMLdb, that simply calls this process. I have a hidden item positioned after headers (before the process is called in Event View), that captures the date/time from the previous page. Ideally, I want to pass the item as my argument into the procedure when the process is called, but for now I'm using a hard-coded value.
    In my regions, I have a select query to generate a bar chart, that queries my populated temporary tables. Again, this query works fine in SQL Developer. When I execute the page, my process reports success, my session information appears to be ok with no null values, but the chart reports 'no data found', and on checking the tables in SQLDeveloper, they have no rows.
    The only COMMIT statement I have in the entire application is in that procedure, which is only called once, right at the beginning. I'm wondering if HTMLdb has its own commit, which occurs sometime between my running the process and attempting to generate the chart (the only region on the page), which deletes the rows before the chart's select query can run.
    Does anyone have any suggestions?
    Regards,
    CW

    Why use the temporary table at all ? Is the stored procedure doing more than simple queries to retrieve the needed data ? If so I suggest the use of Subquery Factoring (9i and beyond i think) . No temp tables, no mess approach imo.
    See - http://www.psoug.org/reference/with.html
    Message was edited by:
    [email protected]

  • BAPI_PROJECT_MAINTAIN commit problem

    Hi,
    I'm creating my projects thru BAPI_PROJECT_MAINTAIN which is working fine.
    After creation of project, I'm submitting one program to create the partners assingment to this newly created project.
    But for this I have to use the statement Wait upto 5 seconds, otherwise it creates the project but  doesnot creates partner assignments, hardcoding wait statement may create problems in future.
    How I should code to recognise whether project data is updated in databases or not. so as per that wait logic i can trigger the another program.
    Your Help will be appreciated.
    Thanx.
    Abhishek

    Hi friends, Thanks, But I used both methods still it is giving the problems. As commit and Wait is not used for any bapi transaction update it is not waiting for project creation & updation in database it immediately triggers my external program.
    Waiting for any other solution.
    Thanks.
    Abhishek

  • Javax comm problems

    Hi,
    I am trying to communicate with the communication ports using javax comm API through an applet.
    I am using Java 1.3.1.
    It gives me the exception:
    java.lang.ClassNotFoundException:javax.comm.commPortIdentifier
    I run the same program not using the applet , it runs fine.(i.e.recognises the ports etc)
    i tried to using a signed applet for the communication and still the exception is raised.
    All the files like comm.jar and properties file and also windriver are located in the reqd locations.else my program would not have run without using the applet.
    Can someone suggest what could be causing this problem
    Thanks
    Sai

    I am having the same problems with this javax.comm package. I am using Java 1.3.1_01 under WIN2K. I checked the hardware profile, and it listed my serial ports. I also have a palmpilot which communicates with this serial port, and it works fine as well.
    I tryed installing it two different ways:
    1.)
    installed it as if I was using jdk1.1.x
    putting the comm.jar package in the <jdkroot>/lib dir
    putting the properties file in the <jdkroot>/lib dir
    putting the dll in the <jdkroot>/bin dir
    adding <jdkroot>/lib/comm.jar to the classpath.
    While this did not give me a runtime error, it would not recognize any of my serial ports.
    2.)
    installed it according to the jdk1.2 documentation
    comm.jar -> <jdkroot>/jre/lib/ext/ dir
    properties -> <jdkroot>/jre/lib
    dll -> <jdkroot>/jre/bin
    not altering the path
    This gave me the following runtime error:
    java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier
         at VirtualGPSConsoleApp.main(VirtualGPSConsoleApp.java:27)
    Exception in thread "main"
    Process VirtualGPSConsoleApp exited abnormally with code 1
    Please let me know if you make any headway.
    Thank you,
    [email protected]

  • E63 calculator comma problem

    My E63 calculator swtiches between comma and dot. It's not a big issue, but I would appreciate any help whatsoever.
    Solved!
    Go to Solution.

    Yeah, seemingly the language was the issue. I am Romanian and therefore used Romanian as my language (both general and writing). Nowadays, I switched to English. As I switched back to Romanian, dot was disabled once more and comma stepped in.
    I'll post later if anything changes, as not to tag this post SOLVED if it isn't. Thanks for the help.
    Although it would be nice to have English as the language and comma as the separator. Note: Having Romanian as the display language and English as the writing language didn't change anything so I don't see how reversing them would work.

Maybe you are looking for