Format Table Contents

Hello!
First of all, I don't know, if im right here. I've got a problem with Visual Composer but its the VC from the Sneak Preview Edition SPS07.
Well, VC itself is working. I use a webservice and show the result in a table. In every row there is a Date. So far this works. Now I want to format this date. Therfore I use the expression ' DSTR(@date,"yyyy") ' to only get the year. But in this case, I get the following error:
Error in executing a process for Flex compilation, Error 1103: There is no property with the name 'ROW1'.
Compiling works fine, the error occurs while deploying.
If I use only ' @date ' as expression, there is the same error. But why is an property named ROW1 missing if I want to format the data field? I also get this error on string fields, even if I use predefined formattings as "upper case", "lower case"...
Has anyone an idea about that?
Thanks for help,
Christian

Hi,
Even I am having a similar problem. There is a date type column. I have formatted it as DSTR(@@,'DD MON'). This works fine in VC, Preview. I am able to deploy to Portal.
But when i run the iview in Portal, error given is "Illegal expression entered in operator". But a format string as DSTR(@@,'DD.MM') works fine. Problem is with MON. Can somebody help.
Thanks
Sumant

Similar Messages

  • How to export table contents in xml file format through SQL queries

    hi,
    i need to export the table data in to xml file format. i got it through the GUI what they given.
    i'm using Oracle 10g XE.
    but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
    and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
    sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
    i get the combined data with this query,
    select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
    it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
    the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
    i need ur valuable suggestions.
    regards
    pavan.

    You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
    Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format.

  • Tranfer table content in to excel file format

    HI
    I have Created one table .and I want to download this table in to excel file format.how can i do this.

    Hi Vijay
    1) Type the t-code SE16
    2) Type the table name, for example USR02
    3) Press F7 to view the table contents
    4) If you need filter the data in the next screen you could do it.
    5) Press F8 or press the execute bottom.
    In the next screen you will find the result.
    In the menu, follow the options:
    System->List->Save->Local File->Spreadsheet
    Type the excel name, and click generate
    Hope it helps, and please reward points if helpful
    Regards

  • Replace content within an already formatted table

    Hi,
    I am hoping someone can help me with a table problem I am having.
    I currently have a formatted table in InDesign CS4 with old information inside it, and I am looking to replace the current data with updated data from a Word table without having to copy and paste the new data into each cell.
    I previously used the script PopTabFmClip when I used CS2, but apparently this is now not needed in CS4. So long as I have the right amount of rows and columns.
    Like I said, I am taking the new information from a Word table, and have had some success in doing so for smaller tables, but when I try and re-populate a larger table it seems to overflow the table and create now rows etc. Almost like a paragraph break signals it to move to the next row.
    Also, the information that does get added moves from row to row as apposed to column (I.e. the information that supposed to be inserted into the column to the right is inserted in the row below)
    Hopefully someone has experienced this problem before and can provide some help.
    Also, if this question has come up before, could you please direct me to the topic.
    Thanks in advance.

    Let me start by saying I hate working with tables, so I'm not good at it.
    The reason the script is no longer necessary is the functionality has been taken over by the use of cell and table styles, so if you define cell styles and apply them religeously, in theory they will control the formatting.

  • How to print table contents?

    hi @,
    I am having a view which is dsiplaying data fetched from the R/3 through Adaptive RFC in a table. This table need to have a print functionality to print on the client.
    How to do this I am not having any function / UI to do this.
    Any help.
    Regards

    Hi,
    Try This:
    When the user click on Print button, launch a new window as below:
    public void onActionPrint(com.sap.xyz.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionPrint(ServerEvent)
              StringBuffer strB = new StringBuffer("/webdynpro/dispatcher/xyz.com/(component name space) ab~xyz~testprint/(application name)PrintTestApp");
              IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strB.toString(), "Print");
              window.show();
        //@@end
    The above code helps to launch a new window with your Web Dynpro application. The application is sepecific to print functionality.
    ThePrintTest App should have the content with format what exactly you would like to print. (Users use the browser standard print functionality to print the table content).
    This is a kind of work around and as of NW 7.0 there is no standard print functionality available in Web Dynpro.
    Thanks
    Krishna

  • Table content alignment in SAP Scripts

    000010       MAG DX 17P           7,000                   PC     1.520,00       10.640,00
    000020       mag pa/dx  175             6,000             PX     1.599,00       9.594,00
    000030       MVC MULTI SYNC XV15      5,000      PC     2.301,00       10.155,00
    000040       MVC MULTI SYNC XV   17   1,000      PC     2.389,00        2.389,00       
    The above is the output i got...
    table i hv used is VBAP
    POSEX  -  6
    ARKTX  -  40
    KWMENG  - 15
    MEINS - 3
    NETPR - 11
    ZWERT - 13
    TABS i hv specified in paragraph format is 1,7,47,62,65,76,89....
    i hv compressed the kwmeng,netpr,zwert field as it has leading zeros....
    How to arrange the table contents in proper order?
    how to wrap the ARKTX field contents as it is too long for certain vbeln values...i think its the reason y im nt getin o/p in proper format......
    Is there any mapping need to be done for CURRENCY & QUANTITY fields as we do in smartforms....if so pls provide needful help...

    If i try these tab values am getting it as such.....
    000010 MAG DX 17P  7,000                                 PC                           1.520,00  
    10.640,00
    000020 mag pa/dx    175 6,000                            PX                           1.599,00
    9.594,00
    000030 MVC MULTI SYNC XV15     5,000           PC                            2.301,00
    10.155,00
    000040 MVC MULTI SYNC XV 17      1,000         PC                            2.389,00
    2.389,00
    i think the problem is with the field "item decription"- ARKTX.......
    In smartforms there is a tab to map with currency and quantity fields ,is there anything as such in sap scripts?

  • How to upright center the data of the smartforms' table content?

    Hello,experts,
    I find that  smartforms 's format can make the table 's data level-centered ,how to make it upright centered?
    pls help me out.thanks

    in fact ,I have such a problem:I write a print program  with smartforms ,and use A4 paper to print ,the result is good ,but when changed to stylus printer ,some line can not display.
    I changed the width of the table from CM to MM.,1CM=10MM.
    the col line that can not printed at fist now can be printed .so I wonder if I make the data of the table content upright centered ,whether it will be ok:I hope this measure can make  the row line that can not printed out previously can be printed out .
    so can you give me some  solution .I will be appreciate.

  • Formatting the content in FM:   SO_NEW_DOCUMENT_ATT_SEND_API1

    I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 , Here i am using contents_text to store the content
    to send the mail. But my requirement is to send the contents by formatting in a table or boxes. Please suggest me how can i do that with this function module.?
    Thanks in advance.

    Hi naveen
    Filling up the Body of the message (CONTENTS_TXT), we fill it up with the HTML code.
    After filling up the content, we need to tell the system that we are sending the HTML data instead of the pure text.
    Generally, we specify the DOC_TYPE in PACKING_LIST as the TEXT.
    But for this purpose, we will pass HTML since our data is in HTML.
      wa_objtxt-line = '<p> List of Test materials </p>'.
      APPEND wa_objtxt TO t_objtxt.
    *   table display
      wa_objtxt-line = '<table style="MARGIN: 10px" bordercolor="#90EE90" '.
      APPEND wa_objtxt TO t_objtxt.
      wa_objtxt-line = ' cellspacing="0" cellpadding="3" width="400"'.
      APPEND wa_objtxt TO t_objtxt.
      wa_objtxt-line = ' border="1"><tbody><tr>'.
      APPEND wa_objtxt TO t_objtxt.
    *   table header
      wa_objtxt-line = '<th bgcolor="#90EE90">Material</th>'.
      APPEND wa_objtxt TO t_objtxt.
      wa_objtxt-line = '<th bgcolor="#90EE90">Description</th></tr>'.
      APPEND wa_objtxt TO t_objtxt.
    *   table Contents
      DO 5 TIMES.
        wa_objtxt-line = '<tr style="background-color:#eeeeee;"><td>TEST</td>'.
        APPEND wa_objtxt TO t_objtxt.
        CONCATENATE '<td>' sy-abcde '</td> </tr>' INTO wa_objtxt-line.
        APPEND wa_objtxt TO t_objtxt.
      ENDDO.
    *   table close
      wa_objtxt-line = '</tbody> </table>'.
      APPEND wa_objtxt TO t_objtxt.
    regards
    Esh

  • Unable to paste table content from firefox to thunderbird mail. remain blank

    Hi,
    I am trying to copy a table content from mozila webpage to a new mail in thunderbird. Some times, it pastes normally without any fail. But server time, when I paste it, nothing comes up and the mail shows only blank space.
    I have tried to re install and re configure thunderbird but still issue persist.

    You need to understand that all the formatting available in other specialist programs like Excel may not necessariy display using exactly the same formatting in a html email.
    Plus if people use Plain Text then all formatting is stripped anyway, so you cannot guarrantee how the email will look for the recipient.
    Options:
    You could highlight the section in excel, right click select Copy.
    Then in Thunderbird new Write message. Right click in text area and select 'Paste'.
    But be aware of potential formatting issues.
    This is why emails have the facility to attach documents. So the recipient can read the data using the correct application and also be able to detach documents from emails and save separarely.
    So you could save the excel document and attach it to the email.
    When using simple tables to show data, it is best to create them using the one provided in Thunderbird via Insert > Table or Formatting Bar option.
    attach image:
    If you want to take a snapshot of the Excel page.
    Select the excel window to get focus and use the 'Alt' +'Prt scr' keys.
    Open eg: 'Paint' then Paste into 'Paint', then save as jpg.
    Then attach the saved image to the email.
    In new Write mesage:
    click on 'Attach'
    locate and select the jpg image and click on 'Open',

  • Is there a way to copy and paste excel table contents to a pdf table form?

    Is there a way to copy and paste excel table contents to a pdf table form?

    It's not something I have tried before.  Have you tried it, and what's happened?
    Basically, copy/pasting tables is a bit of a problem - anywhere.  Table formats are different in different circumstances - Excel, HTML, PDF, ...
    If you copy a HTML table and paste it into an Excel sheet, the entire table will go into one single cell.
    So most likely what you are trying to achieve will not work.

  • Extracting table contents to PC

    Hi
    I would like to know how to download or extract any table contents to an excel work sheet and also in any other format?
    For eg: SE16n, we go to any table (ZTEST); I am unable to download the contents.
    Or for Eg: TABLE USR40, how to extract the list?

    Hello KRP,
    Some of the system doesnot have SE16n and however I have used the same t-code in 4.6c, 4.7 based system and now its not showing in systems based on 7.0 atleast I dont have in CRM ..
    All you can do it goto SE16  >> Enter the table name >> Click on Table Contents >> Click on Settings >> Fields for Selections >>  Choose whatever field you need for your output.
    Now You need to click on run and you have your table contents on your screen >> Now from top menu click System >> List >> Save >>Local File >> Here you need choose Spreadsheet >> Choose the directory from you would like to save the file (desktop) >> Give the filename SIDCLNT100.xls >> Generate
    Second Option Simple one... > Once you have your contents displayed on screen >> instead of clicking System >> List >> save >> Local file .. just issue the command %pc (you will directly get the option to save the file...
    Hope this will clear any doubts ...

  • Combine Columns From Separate Arrays Into One Formatted Table

    What I'm trying to do is make two WMI queries with 2 different classes for a list of machines and then patch the columns together into one single array that is formatted as a table with columns and rows. I seem to keep banging my head against the wall and
    I can't help but feel that the answer is simple. I can certainly create an array that contains all 3 columns (such as in the commented out part) but no matter which angle I go at it, it always seems to end up as all the data in one single row in each column
    rather than a nicely formatted table. I've even tried constructing separate custom objects and adding the different objects to the array but that's obviously not working. Below is the code of the last thing I tried. I need someone to bash it to death and tell
    me the (most likely obvious) thing that I'm doing wrong. Thanks!
    $failedos = @()
    $failedcs = @()
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} | select name | sort name
    $cs = foreach ($cc in $ccs){$cc.name | % {if ($c=get-wmiobject -computername $cc.name -class win32_computersystem -ErrorAction SilentlyContinue){$c | select @{Name="Name";Expression={$_.Name}}, @{Name="Model";Expression={$_.Model}}} else {$failedcs += "$_"}}}
    $os = foreach ($cc in $ccs){$cc.name | % {if ($o=get-wmiobject -computername $cc.name -class win32_operatingsystem -ErrorAction SilentlyContinue){$o | select @{Name="OperatingSystem";Expression={$_.caption}}} else {$failedos += "$_"}}}
    #[array]$osprops = @{'Name'=$cs.Name;'Model'=$cs.Model;'OperatingSystem'=$os.OperatingSystem}
    $result = @()
    Foreach ($Line in $cs) {
    $MyCustomObject = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Name" -Value $Line.name -Force
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Model" -Value $Line.Model -Force
    $result += $MyCustomObject
    foreach ($Line2 in $os) {
    $MyCustomObject2 = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject2 -MemberType NoteProperty -Name "OperatingSystem" -Value $Line2.OperatingSystem -Force
    $result += $MyCustomObject2

    Any help?
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} |
    select -ExpandProperty name | sort
    $Result =
    Foreach ($CC in $CCs)
    $Object =
    New-Object PSObject -Property @{ Name = $CC
    Model = 'Failed'
    OperatingSystem = 'Failed'
    Try {
    $Object.Model =
    get-wmiobject -computername $CC -class win32_computersystem -ErrorAction Stop |
    select -ExpandProperty Model
    $Object.OperatingSystem =
    get-wmiobject -computername $CC -class win32_operatingsystem -ErrorAction Stop |
    select -ExpandProperty Caption
    Catch{}
    Finally { $Object }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Problem in page overflow with table contents having control level

    Hello members,
    My scenario is to display table contents from (Master Page)MP1 and then overflow to MP2 and use the MP2 for the rest of the overflowed pages too. In the form context, the table has control level grouping on a field(F1), which is set in context, because of which we can sub total for the group of records based on field F1.
    Take the scenario that the content area(CA1) of MP1 fits only 10 records and content area(CA2) of MP2 fits only 20 records.
    Test scenario 1:
    If the table contents have records upto 20, then MP1 gets filled with first 10 records and then MP2 with rest of the 10 records. This scenario works fine.
    Test scenario 2:
    If the table contents have records upto 5, then only MP1  with current 5 records gets filled. This scenario also works fine.
    Test scenario 3:( ISSUE BEING FACED)
    If the table contents have records upto 50,(which are more than the combined number of rows of MP1 and MP2) then no data is displayed on MP1 and data starts filling in next MP2 and only approx 22 records are visible where few even cross the content area of the MP2. And no over flow for the rest of the records happen.
    We use SFP Transaction in SAP to modify the layouts of the forms. Please let us know if the table having group set by control level causes any issue in this scenarion Test scenario 3.
    Thanks
    Vivek
    [email protected]

    Hi,
    master pages don't support page breaks. Those pages are only used for the background things of body pages like page numbers, company logs or letter head layouts.
    Don't use repeating objects on masterpages that may overflow its content area, this will always end up with unexpected results.
    Put all those objects on a regular page (body page) which allows page breaks.

  • Problem in creating 800 client to see table content .

    HI,
        I am new to sap .  I have ideas 4.7 in windows 2003.  i can see table content under user sap* and password 060719* . I  have created a user sapuser . through client 000 , i can create create abap program , but could not find ant table content like mara . at first time  after creating sapuser , it asked me the access key. i gave 36687663221261278694 and it has taken . but to see table content , i created a new user as partha in client 800. but at first time at the time of logging it is asking the access key. though i am giving same key it is not taking .
       1) is there any other key for that educational version ?
       2) how to crreate a user in client 800 . pls give step by step procedure .
       3) for creating a user under client 800 . should i delete my sapuser created under 000 client.

    Hi Jack,
    First of all, the client 000 is one of the standard clients that comes with any SAP R/3 installation (with client 001 and 066 (for EarlyWatch for SAP auditory purposes)). To work with the system you should always make a copy of the client 000 or 001 to a new client i.e. client 200, 400, or whatever name.
    In the case of IDES, the system always comes with the client 800, where you can find all the IDES configuration and data (for test, training, sandbox). If you want to work in the system you should work on this client (800). To check the tables you can always use transaction se12 (table structure: fields, keys) and se16 to see the table content. If you want to create users you should always do it in the client 800 or any other client you've created (not in the standard ones 000, 001, 066, try to maintain these clients clean of any custom data).
    To view the tables data you dont need any key.  The keys are requested when you want to register a developer user (to create a new abap program (all the new programs must start with Z (or X,Y) to differentiate from the standard SAP programs. The keys are also requested when you want to edit a standard program or table or any other standard SAP object.
    1) To get the keys for any SAP system (there are 2 types of keys: developer user and for editing any standard object) you must log on the OSS service (with the user and password provided by SAP when you got your SAP software) : service.sap.com/sscr. Here you use the installation number of your IDES system (the system must be registered in OSS) and then you can create your developer users or standard object keys.
    2)To create a user in any system you need to go to transaction SU01. Here you can make a copy of SAP* user for example (choosing in the trx the button copy) to create your new user. you assign a password to the user and save it. You need to login again on the system and put your new password. This is the easiest way, otherwise you can create a user from zero but you will need to add more information to the user. To start you can create a copy of SAP* or DDIC users.
    3) Yes, I suggest you delete the user you've created in client 000, try to keep it clean of any customer modifications (you could leave it there but is not a good practice).If you want to work with your IDES system and the IDES data, use the client 800.
    Good luck,

  • API or Trick to Access Decision Table Content

    Hi,
    I am modeling a BPM process which calls web services based on a BRM rule with a decision table. In the beginning I need to read the decision table content into the BPM process context (in order to get the selection condition for reading objects from an SCM system). Is there a way I can access the content of this BRM decision table (via web service, java or any other way)?
    Thanks,
    Eduard

    Hi Eduard,
    From what I understand(from the post and my brief discussion with Michael Hill few days back), there are a set of work orders in the SCM system that you want to read and see if they meet the scrap tolerance level. But the Decision Table doesnt have scrap tolerance level defined for all combinations of product type/date etc.
    So you want to
    (1)initially get the parameters for which scrap tolerance is defined (read the contents of decision table)
    (2)get only those work orders from the SCM (filter outside rules)
    (3)check if these work orders satisfy the scrap tolerance level (rule execution)
    Please correct me if I am wrong.
    Can we remove the steps (1) and (2) and instead get all the work orders from the SCM system and see if they satisfy the scrap tolerance level(only rule execution, filtering is also done in rule). For work orders whose scrap tolerance is not defined, the decision table will not return the default value. So if the default value is returned(filtering), no check is made if scrap is within tolerance.
    Please let me know your opinion.
    Regards,
    Sowmya

Maybe you are looking for