Urgent in format of excelsheet

HI
HOW TO      Convert the data in the internal table into the SPECIFIED('T 'STRCTURE) format and performing the mapping of the data as GL-GL etc and following the rule for SPECIFIED('T 'STRCTURE) format. The  rules are as follow :
a)     Left justify character fields.
b)     Right justify numeric fields (inbound doc number).
c)     Right justify amount decimal point and 2 decimal places. Not to use commas or the $ sign.
d)     Null values must be blank (hex 40)
e)     Dates will be converted into the format of YYYYMMDD (Example:  March 5, 1994 = 19940305)
THANKS

I don't know the format 1,00.000   and 1,00,00
In you user settings you can change the format SU3 Tab defaults.
When this is in een controling report you can change the settings from the report
but the fromat is xxx xxx xx

Similar Messages

  • Currency format in ExcelSheet

    Hi All..
    i am genrating my reports in Excel using :
    response.setContentType("application/vnd.ms-excel");
    and my report is also consisting of amount cloumn...
    And now the problem is,i want to get the amounts in the currency format...
    Eg :- if it is 10000 then 10,000.00
    100 then 100.00
    345.20 then 345.20..like this it shoule appear in the excel report..
    Please help me very urgent...
    And i am also trying with POI..

    Hi,
    yes, I`ve had the same behavior. As a workaround, you have to change the format of the cells.
    Go into the properties of the cells:
    -> Right mouse click
    -> format cells
    -> category
    -> number
    -> change something, e.g. the number of decimal places to show
    Then you will have to map the component again to the same cells under "Display Data".
    And now, the currency information will be shown correctly.
    Regards
    Victor

  • URGENT - Timestamp Format Error

    Hi Experts,
    In my REGUC table,
    I have timestamp values in a format that I cannot read.
    For eg, current display is showing timestamp values as '3KOBYi(38AP(OH'
    I am not sure if that is a display error or a reading error.
    I think it is a display error.
    If so, how can I change it to display for eg in the typical format '11121011124555'
    I have to resolve this issue ASAP.
    Urgent Please help

    Hi Kiran,
    REGUC is a cluster table.
    TIMESTMP field is of data type CHAR and Length 14.
    The technical information (F1) for the REGUC table is:
    GUI Data:
    Program Name: SAPLSD_DD_STATUS
    Status: STAT_X
    Field Data:
    Table Name: DD06D
    Field Name: SQLTAB
    Data Element: SQLTABLE
    List of Filed in REGUC table:
    LAUFD, LAUFI, XVORL, ZBUKR, LIFNR, KUNNR, VBLNR, TIMESTMP
    Please let me know if you need more information.

  • URGENT: Date format in Reports Giving me trouble...plz help me out

    Hi guru's Can any one help me out
    I
    n the front end apps we are getting the date value as
    BOM_SRS_DATETIME_STANDARD
    Where we are entering the date value as MM/DD/RRRR HH24:MI:SS
    The date format set in the company is like RRRR/MM/DD HH24:MI:SS
    SO I format masked the date parameter in .RDF to RRRR/MM/DD HH24:MI:SS format.
    While the actual date format in the data base is like DD/MM/RRRR HH24:MI:SS.
    I checked all the old reports and the date format is like they masked the date format to company format and used the afterparameter trigger like bellow:
    if :P_SENT_DATE_FROM is not null and :P_SENT_DATE_TO is null then
    :P_SENT_DATE_TO := :P_SENT_DATE_FROM;
    end if;
    if (:P_SENT_DATE_FROM = :P_SENT_DATE_TO) and (:P_SENT_DATE_FROM is not null) then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE = '||' to_date('''||:P_SENT_DATE_FROM||''''||','||'''DD-MON-RR'')';
    else
    if :P_SENT_DATE_FROM is not null then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE >= '||' to_date('''||:P_SENT_DATE_FROM ||''''||','||'''DD-MON-RR'')';
    end if;
    if :P_SENT_DATE_TO is not null then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE <= '||' to_date('''||:P_SENT_DATE_TO ||''''||','||'''DD-MON-RR'')';
    end if;
    end if;
    I tried this but i couldnt get the output either.
    I am pretty much confused.
    Plz help me out...

    If you want to use a dynamic where caluse in your report query you can use a Reference Cursor using REF CUR QUERY tool in your report like this :
    function QR_1RefCurDS return DEF_CURSORS.CHARACT_REFCUR is
    temp_CHARACT DEF_CURSORS.CHARACT_refcur;
    begin
    IF :FROM_NO IS NULL AND :TO_NO IS NULL THEN
    open temp_CHARACT for SELECT ACCT_CODE, ACCT_NAME
    FROM CHARACT
    ORDER BY ACCT_CODE;     
    ELSIF :TO_NO IS NULL AND :FROM_NO IS NOT NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE=:FROM_NO
    ORDER BY ACCT_CODE;     
    ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NOT NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE BETWEEN :FROM_NO AND :TO_NO
    ORDER BY ACCT_CODE;               
    ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE<=:TO_NO
    ORDER BY ACCT_CODE;     
    END IF;
    return temp_CHARACT;
    end;
    But first you have to declare a cursor type in a package

  • Urgent: Date format conversion

    Hi
    I need to convert the date from 08/31/2006 to 31-Aug-06 format.
    Plz help me out.  Useful answers will be rewarded.  Thanks in advance.

    Hello,
    Check the table :
    T247
    Check these fm's
    Function Modules related to Date and Time Calculations
    DATE_COMPUTE_DAY  : Returns weekday for a date
    DATE_GET_WEEK  : Returns week for a date
    DAY_ATTRIBUTES_GET  : Returns attributes for a range of dates specified
    MONTHS_BETWEEN_TWO_DATES  : To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2  : Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES  : Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS  : Find the difference between two dates in years, months and days.
    MONTH_NAMES_GET  : Get the names of the month
    WEEK_GET_FIRST_DAY  : Get the first day of the week
    HRGPBS_HESA_DATE_FORMAT  : Format the date in dd/mm/yyyy format
    SD_CALC_DURATION_FROM_DATETIME  : Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE  : Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES  : Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS  : Returns the last day of the month
    Vasanth

  • Urgent date format problem

    Hi every one
    I have a problem with date format in my database.
    I am using Oracle8 Release 8.0.4.0.0 - Production server.
    Generally all procedures in my application runs with the date format DD-MON-YY
    I dont know suddenly what happens to this format and it changes to YYYY/DD/MM
    and all my procedures will run with the format YYYY/DD/MM then nothing happens in the database.
    Please tell me why this date change happening
    Thanks
    ...

    One possible reason :
    TEST@db102 SQL> select sysdate from dual;
    SYSDATE
    13-AUG-06
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 ~ db102]$ export NLS_DATE_FORMAT=YYYY/MM/DD
    [ora102 ~ db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 13 12:03:19 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> select sysdate from dual;
    SYSDATE
    2006/08/13
    TEST@db102 SQL>                                                                                    

  • Urgent change format of ammount

    hi
    in my system ammount format showing like 1,00.000
    it is wrong how to change like 1,00,00
    guna

    I don't know the format 1,00.000   and 1,00,00
    In you user settings you can change the format SU3 Tab defaults.
    When this is in een controling report you can change the settings from the report
    but the fromat is xxx xxx xx

  • ( Urgent ) Date Formatting

    I want to know how to get a date value with Milliseconds by using Date Format or any.
    For Eg: I am having a LOG( Transactions) table wherein I have a date_create column of a DATE Datatype.
    I want to get( Display or retrieve) the value in Milliseconds after formatting. Is there anyway out.
    Does ORACLE provide that..
    Thanks in Advance for your Response..
    null

    2 solutions:
    1) write a java stored procedure. java has time functionality
    that is much more granular then the Oracle DATE type. This will
    work in 8.1.5 and up. It can look like this:
    [email protected]> CREATE or replace JAVA SOURCE
    2 NAMED "MyTimestamp"
    3 AS
    4 import java.lang.String;
    5 import java.sql.Timestamp;
    6
    7 public class MyTimestamp
    8 {
    9 public static String getTimestamp()
    10 {
    11 return (new
    12 Timestamp(System.currentTimeMillis())).toString();
    13 }
    14 };
    15 /
    Java created.
    [email protected]> create or replace function my_timestamp
    return varchar2
    2 AS LANGUAGE JAVA
    3 NAME 'MyTimestamp.getTimestamp() return java.lang.String';
    4 /
    Function created.
    [email protected]> l
    1* select my_timestamp, to_char(sysdate,'yyyy-mm-dd
    hh24:mi:ss') from dual
    [email protected]> /
    MY_TIMESTAMP
    TO_CHAR(SYSDATE,'YY
    2000-06-22 13:47:53.376
    2000-06-22 13:47:53
    [email protected]>
    2) use an external procedure written in C. C has api's to the
    system that allow for much more granular time components. This
    will work in 8.0 and up. For example if you run something like:
    [email protected]> create or replace library timelib as
    2 '/export/home/tkyte/src/t/extproc.so'
    3 /
    Library created.
    [email protected]> create or replace
    2 procedure get_extended_time( p_timestring out varchar2 )
    3 is external
    4 name "get_extended_time"
    5 library timelib
    6 language C
    7 with context
    8 parameters ( CONTEXT,
    9 p_timestring STRING,
    10 p_timestring INDICATOR short,
    11 p_timestring MAXLEN int,
    12 p_timestring LENGTH int );
    13
    14 /
    Procedure created.
    [email protected]> declare
    2 l_timestring varchar2(30);
    3 begin
    4 get_extended_time( l_timestring );
    5 dbms_output.put_line(
    to_char( sysdate, 'mm/dd/yy hh24:mi:ss' ) );
    6 dbms_output.put_line( l_timestring );
    7 end;
    8 /
    06/22/00 13:26:28
    06/22/00 13:26:28.103243
    PL/SQL procedure successfully completed.
    In sqlplus after compiling the following C code into a .so or
    .dll or .sl (depending on platform) you can get the
    milliseconds.
    Here is the C code:
    #include <stdio.h>
    #include <stdarg.h>
    #include <time.h>
    #ifndef OCI_ORACLE
    # include <oci.h>
    #endif
    #define raise_application_error return raise_application_error_x
    static long raise_application_error_x( OCIExtProcContext * ctx,
    int errCode,
    char * errMsg, ...)
    char msg[8192];
    va_list ap;
    va_start(ap,errMsg);
    vsprintf( msg, errMsg, ap );
    va_end(ap);
    OCIExtProcRaiseExcpWithMsg(ctx,errCode,msg,strlen(msg));
    return -1;
    long
    get_extended_time( OCIExtProcContext * ctx,
    char * p_data,
    short * p_data_i,
    int * p_data_maxl,
    int * p_data_l )
    struct timeval tp;
    if ( *p_data_maxl < 25 )
    raise_application_error( ctx, 20001,
    "String must be 25 bytes or more" );
    gettimeofday(&tp, NULL);
    cftime( p_data, "%D %T", &tp.tv_sec );
    sprintf( p_data+strlen(p_data), ".%d", tp.tv_usec );
    *p_data_l = strlen(p_data);
    *p_data_i = 0;
    return 0;
    null

  • Multiline in ALV Grid

    I have to display my data in Multiline ALV grid.
    Is it possible??
    Please help.Urgent.
    Format required:                   CALENDER DAYS
                                              1   2   3   4     5    6    7   8
    PERNR    SHIFT                  G  G  G  W/o G   G  G   G
    ENAME                       FH   P   P  P
                  ATTENDACE SH   A
    DESIGNATION

    I want to display my dat in ALV GRid in the following format.
                       Particulars                         1                2               3              4
    pernr              Shift
                                              1st half
    emp name     Attendances                                          
                                              2nd half
    Designation
    I am not able to attach the desired o/p file.This is the rough format.
    please help its urgent.

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • URGENT !!!!   Problem with Date format MM/DD/YYYY in oracle database to BW

    Hi
    I am wondering if somebody can help me urgently.
    I have oracle database where date is of the format MM/DD/YYYY and I am loading data into BW. DATE data type
    Date in oracle database: 3/30/2007
    First when I used InfoObject ZDATE (with 0DATE) reference (DATS data type) data load failed saying that
    'Value '30-MAR-0 ' of characteristic 0DATE is not a number with 000008 spaces'
    Then I created ZDATE InfoObject as CHAR Type (Length 10) with PDATE Conversion Routine.
    when I created datasource using DB Connect and checked the contents using 'Display Table Contents' after creating data source the data field distorted as
    AR/-0/30-M
    After data load. when I checked PSA
    The Date records look same as AR/-0/30-M
    In cube the field appeared as  30-MAR-0  (last digit of year disappearing)
    In BEx report also it looks like 'AR/-0/30-M'
    Can somebody help me as quickly as possible.
    What should I do if i want to still use DATS data type for ZDATE?
    should I change date format in database if so to what?
    If I should use CHAR type with PDATE or any other routine can somebody give me the routine to have the date in the report exactly as it appears in database?
    I also tried changing date format in user profile...settings. But still its the same.
    Thanks in advance.

    Hello Snrella,
    You can solve this by converting the date format from oracle to the SAP internal date format  using an ABAP routine in the transfer rules.
    Assuming the oracle data field name is ZODATE then here's the ABAP you can use in the transfer rules. Create an ABAP routine transfer rule from ZODATE to your ZDATE infoobject, and then put this ABAP code there. (this code assumes that the format of the date from oracle is MM/DD/YYYY).
    concatenate tran_structure-/BIC/ZODATE+6(4) tran_structure-/BIC/ZODATE(2) tran_structure-/BIC/ZODATE+3(2) into result.
    Hope this helps.

  • Date Difference between two dates which is in String format - Urgent

    Hi,
    My requirement is
    String s1 = "04/24/2008" ; // in "mm/dd/yyyy" format
    String s2 = "08/30/2010" ; // in "mm/dd/yyyy" format
    Now i want to calculate the number of days between the two Strings(Dates).It's urgent.Please help me.

    A late entry:
    If you want to turn a String into a Date, use SimpleDateFormat.
    [Calculating Java dates: Take the time to learn how to create and use dates|http://www.javaworld.com/jw-12-2000/jw-1229-dates.html]
    [Formatting a Date Using a Custom Format|http://www.javaalmanac.com/egs/java.text/FormatDate.html]
    [Parsing a Date Using a Custom Format|http://www.javaalmanac.com/egs/java.text/ParseDate.html]

  • Date format in Query Extract - Urgent

    Hi,
      I'm using Query-Extract (RSCRM_BAPI) to extract query data and store it in separate location.
    While extracting the data into .csv ot .txt file, date will be displayed as yyyymm (200807). As per the requirement we should display the date in the format mmm-yyyy (Jul-2008).
    Please help me. its very urgent.
    Thanks,
    Varun

    Hi ,
    This issue can be solved by writing a routine in update rules pls take the help of abap experts to solva this
    this is not a big issue for them
    Hope i have guided u properly
    Pls assign me points my boss ??
    Regards ,
    Subash Balakrishnan

  • How to create reports of rich text format usuing oracle pl/sql - urgent

    I want to generate reports of the format rich text format usuing pl/sql,So can any one help me out on this...

    946903 wrote:
    I want to generate reports of the format rich text format usuing pl/sql,So can any one help me out on this...There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For them to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.

  • Urgent issue: photo invalid format after conversion

    Hi,
    I have this urgent issue...I purchased and Ipod in USA and with camera connector I downloaded all the pictures taken (1700...). Came back to home, I connected the Ipod to my Ibook and I saw a message "optimizing ipod for mac" ... after this, only 67 photo are working. The other are all "invalid format" .... I also looked at the binaries of the image...it seems the ones invalid missed the jpeg header or information. Does anyone know what happens in this "optimization" and if there is something to come back? THank you so much!

    Hello All,
    Could anyone assist me with a fix for the problem ?
    Would appreciate it greatly.
    Thanks.

Maybe you are looking for

  • I have downloaded the Photoshop trial in CC when it gets to the updating stage it fails with error code 49

    It told me to retry or contact support - I have retried several times & it keeps coming back to error code (49)

  • All e-mail vanished! Please Help.

    My 4 year old son was on my computer and all my e-mail has vanished from all the the mailboxes, mail folders and mail trash. It's very odd because, for example, my inbox reads 0 messages, 14 unread. All the others are like that too. If someone out th

  • Won't Re-Adjust the Screen Resolution

    I have a retinal display 13-in Macbook Pro running 10.8.5.  After I use an external monitor (27" Thunderbolt Display) and I unplug the thunderbolt display port to take my laptop to meetings, my Macbook Pro still thinks my resolution is 2560x1440.  Th

  • What is Web dynpro?

    Hi, I am new to Web dynpro, I am an ABAP consultant. I want to shift to Web dynpro. can any one help me with the confusion i have? I want to know what is difference between Web dynpro in Java and Web dynpro in ABAP. In which part i want to shift in J

  • Login to oracle time and labor by web service

    Hi, How can we login to oracle e-businees suite by extenal web service. In our Oracle time and labor it takes employee id and password. Thanks