Date alignment

Hello,
I am having two dates like 20061010 & 20061112.
I need to show like 10.10-12.11.2006 in Bold in alv display .
How to do this.

chk this
REPORT YCHATEST.
DATA: V_DATE1 LIKE SY-DATUM,
      V_DATE2 LIKE SY-DATUM,
      V_DATE(20).
V_DATE1 = SY-DATUM.
V_DATE2 = SY-DATUM + 1.
CONCATENATE V_DATE1+6(2) '.' V_DATE1+4(2) '-' V_DATE2+6(2)
'.' V_DATE2+4(2) '.' V_DATE1+0(4) INTO V_DATE.
WRITE : V_DATE.
In ALV you change the color instead of bold
in the fieldcatalog
<b>wa_fcat-emphasize = 'C410'.</b>
Where C = constant
      4 = color code , can be from 1 - 7
      1 = Intensified on , can be 0 or 1
      0 = Inverse off , can be 0 or 1

Similar Messages

  • Collective Bill Due Date Alignment

    Hi,
    Is there any way\event through which we can align the due date of the collective child invoices when the collective invoice is generated at the parent level?
    We have a situation where all the child CAs and the corresonding parent CA have the same payment terms, but these child CAs get billed on different dates and hence gets rolled up to the parent CA with different due dates and a clearing restriction (CR) 7 is placed on those invoices .
    When the parent CA is billed and invoiced, CR 7 gets removed, and more than one collective invoice is generated with different due dates and is sent to the customer.  
    Thanks,
    Amlan

    Thanks for the reply..
    I have already gone through that cookbook in SAP market place.
    It talks about the due date alignment of the documents that are posted against the collective parent account and not the rolled up scenarios as I have explained in my previous post.
    I am looking for the due date date alignment of the child invoices which are rolled up to the parent account.
    Thanks,
    Amlan

  • Data alignment issue with function module SO_DOCUMENT_SEND_API1

    Hi All,
    I am using function SO_DOCUMENT_SEND_API1 to send email from SAP. What is happening is the internal table which contains the data of the email(Content of the email) is ok. That is data in internal table is in proper format as required. This table is passed to FM SO_DOCUMENT_SEND_API1. After execution of this FM, mail is sent but the format of the email content is not the same as the format of the data in internal table.
    Can anyone guide me regarding this discrepancy in the data alignment or format in the actual email ?
    Thanks in advance.
    Regards,
    Chetan

    Hi,
    Pass the values like the following format,
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
          document_data  = docdata
          put_in_outbox  = 'X'
          commit_work    = 'X'
        TABLES
          object_content = objcont
          receivers      = intrcvers[].
      CASE int_error.
        WHEN 0.
          MESSAGE s888(sabapdocu) with "Mail Sent Successfully...".
        WHEN OTHERS.
          MESSAGE s888(sabapdocu) with "Mail Not Sent...".
      ENDCASE
    I hope this will solve your problem.
    Gothrough the following link,
    https://forums.sdn.sap.com/click.jspa?searchID=14853082&messageID=5409233
    Regards,
    Harish

  • Data alignment

    Which is the data alignment of Labwindows CVI compiler? Byte, word,
    double word or quad word? Is there a way to change it?
    thanks.

    I found the BOOL type occupies 4bytes instead of one BYTE. Hence declare BYTE in place of BOOL. Other date types does not have any influence.
    Chcek the structure size with BYTE instead of BOOL.... You will get what you want 
    #pragma pack(push,PLC_TO_HMI,1)//pop,1)//,MyPackedData,1) 
     typedef struct
                    INT16 ifMachineMode;
                    char sMessage[101];
                    char sAlaram[101];
                    BYTE bfAutoOn;
                    BYTE bfAutoDone;
                    float LoadArray[10000];
                    double DistanceArray[10000];
                    float TorqueArray[10000];
                    double AngleArray[10000];
                    float rfUnlockLoadResult;
                    double rfUnlockAngleResult;
                    INT16 ifUnlockPlotPoints;
                    INT16 ifTiltPlotPoints;
                    INT16 ifLockPlotPoints;
                    float rfLockLoadResult;
                    double rfLockAngleResult;
                    double rfSlipDistanceResult;
                    float rfTiltLoadResult;
                    INT32 ifAdLoad;
                    INT32 ifAdTorque;
                    BYTE bfPassMsg;
                    BYTE bfFailMsg;
                    INT16 ifCycleDone;
                    INT16 ifOkCount;
                    INT16 ifNgCount;
                    float rfCycleTime;
                    float rfCurrentLoad;
                    double rfCurrentDistance;
                    float rfCurrentTorque;
                    double rfCurrentAngle;
                    BYTE Blinker500;
    } PLC_TO_HMI;
    PLC_TO_HMI Plc2Hmi;

  • UWL Iview giving in proper data alignment

    Hi Friends,
    I have created new uwl iview that iview data coming form back end system.If we go to backend system and checking that woklist is giving the one proper alignment.That work list coming from the Portal side its given defferent data alignment its not look like back end system.So any body help me how trigger the same alignment in EP UWL also.
    Regards,
    Sai

    Hi Sai,
    There have been some changes to the UWL in the workitem description in the newer versions.  This is just plain text now.
    Please see note number: 1416050
    6. In a previous release the textEdit Web Dynpro component was changed
    to FormattedTextEdit in UWL user interface in order to support formatted
    html texts. The change would affect all text that is sent to backend as
    scenarios do not expect html but plain text. This fix changes the
    FormattedTextEdit to textEdit for UWL configured to work with
    WebFlowConnector so that the text sent is plain text as expected. Note
    that memos entered prior to the fix  will not be affected. They will
    continue to be displayed along with the html tags at both backend and
    UWL side. A workaround is to recreate these memos. All text entered
    after the fix will be sent to backend in plain text and will be
    displayed in both backend and UWL user interface in plain text.
    In NW04 this was a text editor and supported html.  However this has changed in 700 and now only supports plain text.
    I'm sorry I don't have a more positive response for you.
    If I can be of any further assistance, please do not hesitate to ask.
    I look forward to awaiting your reply.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Keeping SharePoint Query Data and Excel Manual Entry Data Aligned

    Greetings!
    I've been trying to find the best place to ask this question, so I'm hoping this is close enough to on-topic for this forum.
    I have an Excel 2010 workbook that includes a table linked to my SharePoint 2013 site by a data connection. The SharePoint list feeds the table standard information that's managed on the SharePoint site, but I need the user of the Excel workbook to be able
    to enter text manually in the workbook to associate local information with the line-items coming from the SharePoint list. To do this, I've added extra columns to the end of the table. This is not just text entered into columns to the right of the data table,
    but rather the data table is extended to encompass the adjacent columns, so my expectation was that the rows of the table should hold some level of "identity" to associate the manually entered text with the corresponding data coming from the SharePoint
    site.
    The user can enter information in the appropriate cells in the "extra" columns at the end of the table, but when I refresh the data connection, the addition of a new list item on the SharePoint side results in the user's manually entered text getting
    out of alignment with the row it's supposed to be associated with.
    Example
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    Item 2
    Text entered for Item 2
    Row 3
    Item 3
    Then, if I add a new item to the list in SharePoint, for example, something that would appear between the original items 1 & 2, after refreshing the table, I get the following:
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    New Item 1.5
    Text entered for Item 2
    Row 3
    Item 2
    Row 4
    Item 3
    The table's data connection is set to insert rows for new items, and I could swear I had this working properly once upon a time...but I can't seem to make it work now.
    Any thoughts on what would cause this?
    Thanks in advance!

    Hi,
    Thanks for visiting our forum.
    I'm glad to find you have get the explain from MSDN forum. I'll put the link here and it'll benefit for other communicators.
    http://social.msdn.microsoft.com/Forums/office/en-US/b3bbe00c-94c0-48d4-bed9-fbd08d707b1d/excel-table-with-sharepoint-data-connection-manual-text-entry-misaligned-after-refresh?forum=exceldev
    Have a good time.
    Regards,
    George Zhao
    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.

  • Problems With Data Alignment when spooling to a CSV file

    Dear members,
    I am spooling data to a csv file. My data contains 3 columns
    For example :
    col1 col2 col3
    USD,10000033020000000000000,-1144206.34
    The 2nd column is alphanumeric, it contains some rows which have only numbers and some which have numbers and alphabets.
    The 3rd column contains only numbers with positive or negative values.
    I am facing problem with alignment. when i open the spooled csv file then i find that the 3rd column is aligned to right .
    In the 2nd column, rows which have only numbers are right justified and rows which have alpha numeric data are left justified.
    I tried using the JUSTIFY function in sql plus but still it is not working for me.
    Can any body give your opinion on how to control the alignment in spooled csv files.
    Your responce is highly appreciated.
    Here is my code :
    WHENEVER SQLERROR CONTINUE
    SET TIMING off
    set feedback off
    set heading off
    set termout OFF
    set pagesize 0
    set linesize 200
    set verify off
    set trimspool ON
    SET NEWPAGE NONE
    col to_char(glcd.segment1||glcd.segment2||glcd.segment3||glcd.segment4||glcd.segment5||glcd.segment6) ALIAS CONCATENATED_SEGMENTS
    col CONCATENATED_SEGMENTS justify left
    col to_char(decode(glbal.currency_code,glsob.currency_code,
    (begin_balance_dr - begin_balance_cr) + (period_net_dr -period_net_cr),
    (begin_balance_dr_beq - begin_balance_cr_beq) + (period_net_dr_beq -period_net_cr_beq))) alias Total_Functional_Currency
    col Total_Functional_Currency justify left
    COlUMN V_INSTANCE NEW_VALUE V_inst noprint
    select trim(lower(instance_name)) V_INSTANCE
    from v$instance;
    column clogname new_value logname
    select '/d01/oracle/'|| '&&V_inst' ||'out/outbound/KEMET_BALANCE_FILE_EXTRACT' clogname from dual;
    spool &&logname..csv
    SELECT glsob.currency_code ||','||
    to_char(glcd.segment1||glcd.segment2||glcd.segment3||glcd.segment4||glcd.segment5||glcd.segment6) ||','||
    to_char(decode(glbal.currency_code,glsob.currency_code,
    (begin_balance_dr - begin_balance_cr) + (period_net_dr -period_net_cr),
    (begin_balance_dr_beq - begin_balance_cr_beq) + (period_net_dr_beq -period_net_cr_beq)))
    from gl_balances glbal , gl_code_combinations glcd , gl_sets_of_books glsob
    where      period_name = '&1' /* Period Name */
    and      glbal.translated_flag IS NULL
    and      glbal.code_combination_id = glcd.code_combination_id
    and      glbal.set_of_books_id = glsob.set_of_books_id
    and      glbal.actual_flag = 'A'
    and      glsob.short_name in ('KEC-BOOKS' , 'KUE' , 'KEU','KEMS', 'KEAL' , 'KEAL-TW' , 'KEAL-SZ' , 'KEAM')
    and glcd.segment1 != '05'
    and decode(glbal.currency_code , glsob.currency_code , (begin_balance_dr - begin_balance_cr) + (period_net_dr -period_net_cr) ,
    (begin_balance_dr_beq - begin_balance_cr_beq) + (period_net_dr_beq -period_net_cr_beq)) != 0
    and glbal.template_id IS NULL
    ORDER BY glcd.segment1 || glcd.segment2 || glcd.segment3 || glcd.segment4 || glcd.segment5 || glcd.segment6
    spool off
    SET TIMING on
    set termout on
    set feedback on
    set heading on
    set pagesize 35
    set linesize 100
    set echo on
    set verify on
    Thanks
    Sandeep

    i think you do not have to worry about your code when you say that the plain texts created are ok when opened on the notepad. it is on the excel that you will need some adjustments. not sure about this but you might want to read about the applying styles in the excel by going through it's help menu.

  • Drawing Table & Displaying Data in SAP Script : Data Alignment probelm

    Hi Experts,
    I am Developing An SAP Script in Which Had to Display Data in a Table with Three column & multiple rows, i had created the Table using BOX Command in SAP SCRIPT & assigned a TEXT Element to it & calling this text element while Looping in WRITE_FORM FM.but while displaying DATA in One column the data in another columns shift to the right & if the data in 1st column is less the data in the second column shift to the left. i know these issues had been covered in the past but i am not getting any concrete results from searching in the forum.
    Also On more problem when ever i am declaring a text element in some other window & also giving the Command BOX inside it to draw outline the BOX is not drawn.
    This seem to be an alignment issue . Experts Please provide me with some alternative.
    Thanks & Regards
    Priyesh Shah

    Hi ,
    To stop columns going left and right.Use number of position in the variable .Like fix the lenght &name(10)&.Here name can print 10 characters.
    For box not appearing in other window check the box command parameters .It will draw.Not a alignment problum.

  • JTable cell data alignment ..Emergency

    Hello,
    I have created a table using a JTable. I want to align some columns data right, and some left and some columns center. How do I go about to do this. If i add textfields on this table ..then all the stuff goes smooth but in case of simple TableColumns alighnment dont work
    for(int index=0;index<columnNames.length;index++)
    TableColumn column = table.getColumnModel().getColumn(index);
    Component component =table.getDefaultRenderer(table.getColumnClass(index)). getTableCellRendererComponent( table, data[index],false, false, 0, index);
    if i cast component to textField then i found Method name textField.setHorizontalAlignment(SwingConstants.RIGHT);
    but if i hav simple JTable then i dont found any method setHorizontalAlignment(SwingConstants.RIGHT);
    Can you please help me.
    Thanks in advance

    Overrider getColumnClass() in your table model such that you return the class of the data in that column. For java.lang.Number derivatives, JTable will right justify those for you.

  • Report 6i Arabic Date alignment problem in Windows 7

    Hi
    We have 6i Forms and Report and wanna run in windows 7. But we found arabic Date disaplay problem in reports. As you know arabic writting from right. But date display like 21/10/1431 and I wanna like 1431/10//21.
    I tried from regional setting and change date format from report. but this is problem from system it self,
    not accept right alignment. Even I install left to right patch (KB979643-x86).
    Please Help
    Thanks

    Like others have said you need to run the bootcamp installer to install the drivers.
    The time issue was a constant annoyance rebooting with OSX and my old XP bootcamp setup but it's gone with Windows 7 once you set your time to UTC format in the date and time properties instead of local time which OSX uses and XP couldn't support.

  • Table data alignment

    Hello Every one.
    In Adobe form I created table, if the data exceed to second page the alignment is not proper like I have 3 item details those are printed in right hand side, if the data exceeds second page those 3 item details are printed in right hand side. Please suggest me how it will move to right hand side in second page.
    Thanks in advance.
    ........Krish....

    Hi Pavan Prabhu,
    I uncheck the option you suggested, but its not working. I created another subform for the data table now the data displayed center. Please suggest me for right alignment. For more information I inserted screen shots.

  • DataGrid Column/Data alignment

    I have an issue with a DataGrid where I'm trying to align the
    header differently from the data underneath. I would like the
    header to be center-aligned, and the data to be right-aligned, but
    it seems to be all or nothing with textAlign. Has anyone run into
    this and found a way to do it?

    If you have different align values for each column, then I
    think you will need to use a custom headerRenderer as Tracy
    suggested. Here is a sample:
    <mx:DataGridColumn dataField="full_name" width="175"
    textAlign="left">
    <mx:headerRenderer>
    <mx:Component>
    <mx:Label text="Name" textAlign="center"/>
    </mx:Component>
    </mx:headerRenderer>
    </mx:DataGridColumn>
    In this sample, the column textAlign is set to left and the
    header textAlign is set to center in the Label component of the
    headerRenderer.
    I hope this helps.
    Vygo

  • Table Data Alignment issue in DW CS4

    Hi,
    I'm creating a web site in DW CS4. I'm trying to align my table that I created for my contact form. I got it like I want it except for one slight issue: my submit button is not aligning with the rest of the form elements. I'm not sure how to add my HTML code here. If you guys can tell me I'll add it. Thanks so much!
    FYI:
    I figured if I add <td align="right"> and then alternate the next element with <td align="left"> and insert it under the <tr> tag that it would position the elements slightly right of left justified.
    ashmic19

    Validate your code.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ftesting0123.weebly.com%2Fcontact- form.html
    It looks like you have 2 web documents on your page.  Starting on line 56, your code contains multiple <DOC TYPES>, <HTML>, <HEAD> <STYLE> and <BODY> tags.  In addition, you have content after a closing </BODY> tag.   Not sure if this is caused by you or Weebly.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • SEM-BCS on SAP-BW master data alignment

    We are implementing SEM-BCS rel 3.2 on SAP-BW 3.2
    In the SEM infoproviders some standard BW info-objects are used such as 0CO_AREA, 0COMPANY etc.
    These info objects are also used in BW infoproviders.
    In SEM-BCS the masterdata that is already available in these infoobjects is not visible. The documentation describes that the SEM system is leading concerning the master data.
    When we create masterdata in SEM for these infoobjects, with te same key as used in BW (the same company number), it creates new records in the BW masterdata table and so deleting the attribute values in the BW tables.
    Note 689229 describes some synchronization programs that can be used to synchronize master data from SEM into BW. It is also possible to use these programs to initially synchronize the BW masterdata to SEM so you don't have to create the master data in SEM but only have to enhance it.
    Has anyone have experience with this issue and can you provide me with information what to do and what not to do.
    Thanks, Wil Heijmans
    Trespa International

    Hi Wil,
    it's right you'll have to synchronize the master data. When we implemented SEM-BCS 3.1 we had some problems with the reports so we used the following routine.
    1. Upload attributes into SEM-BCS.
    2. Put them into the hierarchies if needed.
    3. Synchronize attributes to BW.
    4. Do attribute change run in BW.
    Synchronizing hierarchies was a bit painful so we decided to use different hierarchies (it helped at some other points too because we needed additional features in BW hierarchies like other InfoObjects).
    Synchronizing BW attributes into SEM-BCS attributes was even worse because the standard BCS attributes could not be filled this way.
    We worked on early SEM 3.1 as one of the ramp-up customers. The programs may have changed in the meantime but the one above has worked for us.
    Best regards
       Dirk

  • Column to row data alignment

    Hi ,
    I am having data in emp table as below.
    empno,ename,salary,deptno,deptname (<---- columns name in emp table)
    1,PC ARYA,50000,10,ITDEV
    2,ASIT,55000,20,TESTING
    3,PANKAJ,45000,20,TESTING
    4,ALEN,60000,10,ITDEV
    5,MANISH,58000,20,TESTING
    if i query lik below..
    SELECT DEPTNO,COUNT(EMPNO) FROM EMP
    GROUP BY DEPTNO ORDER BY 1
    result is-
    deptno,count(EMPNO)
    10 ,2
    20 ,3
    now i want that my result should be like below for reporting purpose.
    deptno 10 , 20
    count(EMPNO) 2 , 3
    How i can do this.I tried a lot but cdnt get solution...plz help me...!
    rgds,
    pc

    To start with:
    SQL> ed
    Wrote file afiedt.buf
      1  select 'DeptNo  :'|| SUBSTR(MAX(SYS_CONNECT_BY_PATH(deptno,',')),2) Data from
      2  (select deptno,rownum cnt, rownum - 1 prev from dept)
      3  connect by cnt = prior prev
      4  UNION
      5  SELECT 'EmpCount:'||MIN(TO_CHAR(SUBSTR(SYS_CONNECT_BY_PATH(cnt,','),2)))
      6          KEEP (DENSE_RANK LAST ORDER BY cnt) FROM
      7  (select deptno,cnt,rownum crn,rownum - 1 prev FROM
      8  (SELECT deptno,NVL(SUM(CASE WHEN deptno = dptno THEN 1 ELSE NULL END),0) cnt FROM
      9  (select d.deptno deptno,e.deptno dptno from emp e,dept d where e.deptno(+) = d.deptno)
    10  group by deptno))
    11* connect by crn = prior prev
    SQL> /
    DATA
    DeptNo  :40,30,20,10
    EmpCount:0,0,3,4
    SQL> select empid,deptno from emp;
         EMPID     DEPTNO
             1         10
             2         10
             3         10
             4         10
             5         20
             6         20
             7         20
    7 rows selected.

Maybe you are looking for

  • ? Photoshop Elements 8 Organizer won't open on Windows Vista ?

    I installed Photoshop Elements 8 onto a Windows Vista computer and registered. The Organizer opened with broken thumbnails throughout and I could not update the thumbnails. Therefore, I closed the Organizer and opened it again, hoping it would clear

  • Translation of an InDesign document

    The newsletter I put out for work requires publishing in both English and Portuguese. I do not speak Portuguese and we use a translator. Prior to my arrival in this position, the newsletter was designed in Microsoft Publisher and was sent to the tran

  • Problem Using JSQL level 4 driver for SQL Server 2000

    I am having problem , connecting to my Sql Server 2000 ( deployed on Windows 2000 Professional) using Microsoft JSQL level 4 Deriver . I am doing it with following code, Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");      Connection c

  • Are there any other flash players that you can use on Safari other than Adobe

    Are there any other flash players that you can use on Safari other than Adobe?

  • What is bad with this bind variable.

    i get a error bad bind variables. i dunno what is bad here. FUNCTION DisturbrLoops(i_currTerm IN NUMBER,                           i_Termoutofloop IN Merc.T_NUMLIST,                           i_currentTermonloop IN Merc.T_NUMLIST)