Printing units with different decimals separator "in column"/ smartforms

Hi.
I want to print in SMARTFROMS different amounts under each other and the amounts are having different decimals places (depending on unit) - the printing should be, that the decimal separator is "in a column" and the units are in a "column"
E.g.
123,23 meters
10,00   meters
12,567 kg
67 PCE
should be printed as:
123,23__meters
10,00_meters
12,567kg
67____PCE
How can I do this?
Thanks a lot in advance

Hi,
Use a paragraph with tabstops. Define your tabs with align with decimal character.
That defining can be done in smartstyles.  (tabstops are not alone in sapscript but also in smartforms)
Gr., Frank

Similar Messages

  • Not able to color different rows with different colors in a column of table

    Hi,
    I am trying to to display different rows with different colors in a column of the table based on some decode condition.
    I have gone through the following threads :
    Can we colour the rows in the column of a table
    Changing Color of a value in a column
    This is what i have done :
    1.Added the following code to custom.xss(changed the name to Custom.xss as suggested in one of the above threads) --- in path ---- jdev\myhtml\OA_HTML\cabo\styles
    <style selector=".1">
    <includeStyle name="DefaultFontFamily"/>
    <property name="font-size">11pt</property>
    <property name="font-weight">Bolder</property>
    <property name="color">#008000</property>
    <property name="text-indent">3px</property>
    </style>
    <style selector=".2">
    <includeStyle name="DefaultFontFamily"/>
    <property name="font-size">11pt</property>
    <property name="font-weight">Bolder</property>
    <property name="color">#FFFF00</property>
    <property name="text-indent">3px</property>
    </style>
    2. Sql query of the VO is :
    select comments,role ,decode(role,'REQUESTER','1','2') Colorattr from xxat_sars_action_history where request_id = :1 and event_name = :2 and action_code <> 'PENDING'
    order by sequence_num desc
    3. Coded the following in the process request of the controller:
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("CommentsTB");
    OAMessageStyledTextBean roleBN = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("role");
    OADataBoundValueViewObject cssjob = new OADataBoundValueViewObject(roleBN,"Colorattr");
    roleBN.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, cssjob);
    where 1 and 2 form the colors ( i have even tried with 'Red' and 'Yellow'...as it was not working replaced with 1 and 2)
    4.The query returns data fine with corresponding 1 and 2 values.
    But different colors are not getting reflecting on to the UI.
    I am testing this on my local jdev.
    Please do let me know if i am missing something.
    Thanks ,
    Sushma.

    Any Clues please.....
    Thanks,
    Sushma.

  • Duplicate qty with Different Price after discount column in Inventory Posit

    Hi,
    I am getting Inventory duplicate qty with Different Price after discount column in Inventory Positing List Reports   When I make A/R credit memo thru DI API.
    With regards,
    Venki .A

    hi
    you can just see the above given data there is a filed total_qty there are two rows showing 0 why it happens i dont understand because i wrote same as for others. all were showng what my input but when the prod_id repeats then it was not taken the total_qty it wll show me 0
    Please Guide
    Thanks And Regards
    Vikas Snghal

  • MAM Order - Two items having Booking Units with Different Company Code

    MAM order created with 2 Line Items
    Booking Unit in each Line Item belongs to different Company Code .( Internal Order within each Booking Unit has different Co. Code )
    After billing individual Line Items ,Two separate Billing doc. will be created for this Order
    Each Billing document should be posted to different Co. Code depending upon Co. Code in Internal Order of respective Booking Unit
    TS - 9350801900

    Dear Chandramohan ,
    Thanks for the reply .
    But the solution given by you will just change the message class .I wanted to post Two different Line Items within a single MAM Order to different Co Codes after billing . 
    Scenario is that SOrg1 assigned to CCode1 & SOrg2 assigned to CCode2 .
           Booking Unit  BU1 has Internal Order belonging to CCode1 & BU2 has Internal Order belonging to CCode2
    Now MAM Order1 created with SOrg1 having Two Line Items with BU1 & BU2
                    After Billing ,Two Billing Docs will be created for each Line Item .
                     Both Billing Doc will be posted to CCode1
    Now MAM Order2 created with SOrg2 having Two Line Items with BU1 & BU2
                    After Billing ,Two Billing Docs will be created for each Line Item .
                     Both Billing Doc will be posted to CCode2
    Means even if Two Line Items are created within a single MAM Order having BU of different Co Codes ,after billing both Billing Docs will be posted to Co Code of Sales Org at Header level .
    As per the requirement ,irrespective of header Sales org , Line Items needs to be posted to respective Co Code of Booking Units .
    Tds ,
    TS

  • Matrix with different dimensions for each column

    Hi,
    I would like to have a matrix with different dimensions (rows) for each
    column, for example, I want the first column has 3 rows, the second one
    5 rows, the third one 10 rows, and so on.....
    With a simple array it is not possible, and then I make an array (for
    my columns) of clusters and each cluster has another array (rows for
    that column). Is it the best way to do it? Is it correct?
    Thanks,
    ToNi.

    Yes, everything we told you in this old thread  is still true!
    LabVIEW Champion . Do more with less code and in less time .

  • Print copies with different languages

    Hello Experts,
    I would like to know if it's possible to print 2 copies of a Smartform with the first exemplar print in English and the second one in Spanish?
    Thanks for your advices,
    Tipiah

    Thank you Tamas for your reply,
    In your solution, we need to call twice the FM from the program.
    This involves to have 2 spools... do you know if there is a way to use the number of copies when we're calling the smartforms, yo avoid to call twice the FM?
    Thanks

  • Sync units with different Apple ID?

    Our family's iPad is linked to my AppleID, and our MacBook Air is linked to my my wife's Apple ID. Is it at all possible that GarageBand on both units could sync through the same iCloud (mine)?

    No, if you want to sync using iCloud, you need to use the same AppleID on both devices. Ask your wife to create a sec on user account on the MacBook Air for you, so you can download to the MacBook Air from your iCloud account. Then you can copy the projects from iCloud to shared folder on the MacBook Air.

  • How to combine update stmts with different filters and multi-columns?

    Hi,
    I found these following update stmts in one of our long running jobs. I'd like to see if it is possible to combine it in one update or merge stmt so I can reduce the scan time on the same table from 4 times to 1 time. But I'd need some expert suggestions for how to do that. Here are the stmts:
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'A'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=c.seq# AND
    v.vehnum=c.veh#)
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'B'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=c.seq# AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'C'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=c.ren# AND
    v.polseq=0 AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    UPDATE table1 c
    SET (polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,valid)=(SELECT DISTINCT polnum,polren,polseq,vehnum,
    compgrp,prodgrp,uwsys,comp,
    state,prod,rrdate,brand,
    agycode,AGYCLASS,'D'
    FROM table2 v
    WHERE v.polnum=c.pol# AND
    v.polren=0 AND
    v.polseq=0 AND
    v.mainveh='Y')
    WHERE c.polnum IS NULL;
    Table1 has 800000 rows, Table2 has 200 million rows. In table1, about 12.5% rows has a null polnum, so 12.5% data will be updated.
    Thank you in advance with all your suggestions!

    the reason I never specified the joins is because I thought the joins were there to derive the Valid indicator, in which case they are not required if you are using the CASE statement. The join, "V.Polnum = C.Pol#" is still required as this is across all rows! If that is the case, then it can be simplified even more so;
    update   Table1 C
    set      (Polnum,Polren,Polseq,Vehnum,Compgrp,Prodgrp,Uwsys,Comp,State,Prod,Rrdate,Brand,Agycode,Agyclass,Valid) =
                ( select   distinct Polnum
                                   ,Polren
                                   ,Polseq
                                   ,Vehnum
                                   ,Compgrp
                                   ,Prodgrp
                                   ,Uwsys
                                   ,Comp
                                   ,State
                                   ,Prod
                                   ,Rrdate
                                   ,Brand
                                   ,Agycode
                                   ,Agyclass
                                   ,case
                                      when (Polren + Polseq=0) and (Mainveh='Y') then
                                            'D'
                                      when (Polren=0) and (Polseq>0) and (Mainveh='Y') then
                                            'C'
                                      when (Polren>0) and (Polseq>0) and (Mainveh='Y') then
                                            'B'
                                      when (Polren>0) and (Polseq>0) and (Mainveh!='Y') then
                                            'A'
                                    end as Valid
                 from      Table2 V
                 where     V.Polnum = C.Pol#
    where    C.Polnum is null;However if you are returning more rows than what you are expecting from the above update statement because the joins are being used to limit the data as well, then this might be more appropriate:
    update   Table1 C
    set      (Polnum,Polren,Polseq,Vehnum,Compgrp,Prodgrp,Uwsys,Comp,State,Prod,Rrdate,Brand,Agycode,Agyclass,Valid) =
             ( select v2.PolNum
                   ,v2.Polren
                   ,v2.Polseq
                   ,v2.Vehnum
                   ,v2.Compgrp
                   ,v2.Prodgrp
                   ,v2.Uwsys
                   ,v2.Comp
                   ,v2.State
                   ,v2.Prod
                   ,v2.Rrdate
                   ,v2.Brand
                   ,v2.Agycode
                   ,v2.Agyclass
                   ,case
                      when (v2.Polren + v2.Polseq=0) and (v2.Mainveh='Y') then
                            'D'
                      when (v2.Polren=0) and (v2.Polseq>0) and (v2.Mainveh='Y') then
                            'C'
                      when (v2.Polren>0) and (v2.Polseq>0) and (v2.Mainveh='Y') then
                            'B'
                      when (v2.Polren>0) and (v2.Polseq>0) and (v2.Mainveh!='Y') then
                            'A'
                    end as Valid_Flag
                ( select   distinct Polnum
                                   ,Polren
                                   ,Polseq
                                   ,Vehnum
                                   ,Compgrp
                                   ,Prodgrp
                                   ,Uwsys
                                   ,Comp
                                   ,State
                                   ,Prod
                                   ,Rrdate
                                   ,Brand
                                   ,Agycode
                                   ,Agyclass
                                   ,Mainveh
                 from      Table2 V
                 where     V.Polnum = C.Pol#
                 ) v2
             where (v2.Polren = C.Pol# or v2.Polren = 0)
             and   (v2.Polseq = C.Seq# or v2.Polseq = 0)
    where    C.Polnum is null;As before, both remain UNTESTED!

  • How to retrieve different data separated by comma into one column

    Hi all,
    We have a Custom View.In that some of the customer's Bill-To address is different remaining all columns contain same data.In that case if we query with that customer_number it displays more than one row with different Bill-to addresses,it is fine.But our requirement is we need to display only one row for that customer_number and Bill-to address column shows all Bill-to addresses corresponding to that customer separated by comma.
    Could anyone give us any idea to solve this.
    Thanks in Advance,
    Dhana

    i do not a concatenated data
    i have a data in a table with columns A & B of same size
    A B
    1 2
    2
    3 1
    4 2
    5 3
    6 5
    7 1
    8 4
    9
    10 8
    if my where condition is 'where A=2'
    my output should be
    1
    2
    3
    4
    5
    6
    8
    10
    i want my query to search as loop so that it keeps on searching
    for related data as in my case it is
    2 is linked to 1
    1 is linked to 3
    3 is linked to 4
    my query should keep on seaching for linked numbers till
    it does not find any mathing linked numbers
    and the resulted output should come in one single column

  • BI Answers - need 2 compound layouts with tables with different columns

    Hi,
    I need 2 tables in the same report with different columns displaying. Is this possible?
    I wanted to put them in their own compound layout and call each one with a view selector,
    but it seems impossible to create a 2nd table with different columns in the one report.
    Each time I try and replace one of the columns in the 2nd table with a different column,
    a message appears saying the deleted column will be deleted from all views.
    Many thanks for anyone's help.
    - Jenny

    As per my knowledge - your requirement can be done with Pivot view but not with regular table view.
    We dont have exclude column - functionality in table view.
    Else, instead of creating in same report create the req. with 2 separ. reports but place them on single dashboard in 2 sep. sections.

  • Follow up material with different base unit of measure

    Hi all,
    I have the BOM with material Mat1 as a component. The base unit of measure of Mat1 is KG.
    Is it possible to replace Mat1 with Mat 2 material in MRP once the Mat1 warehouse stock is depleted.
    The base unit of measure of Mat 2 is KGK.
    The required quantity of MAT1 should be recalculated from KG to KGK accordanly unit ratio.
    Please, expain, where does it maintain?
    Thanks,
    Peter

    Hello Peter,
    You can use follow-up setting (set Mat2 as follow-up of Mat1 in MRP 4 view of material master if this follow-up scenario is valid for all BOM) with discontinuation indicator '1', w/o effective-out date. In this case Mat1's stock will run out (no PldOrd, PR, etc) will be created, and from the date, when Mat1's stock runs out, MRP will calculate with Mat2.
    As I told you, according to my best knowledge, you cannot realize this with different base unit of measures. (you have to change the buom of one of the related material masters or create a new material master if you cannot cope with buom-change).
    Follow-up group scenario can also be used but I guess different buoms will be a problem in that case as well.
    Maybe there are better solution but I'm not aware of it...
    BR
    Csaba

  • XML PO PRINT REPORT for different Operating Units

    Hi all,
    We are stuck at a point, hope someone helps us out.
    Requirement : We need to generate PO print report in pdf format for US and Mexico , both having different layout.
    Things done : We customized standard PO Print report to fetch XML output from it, and attached rtf(developed) to it.
    Things working fine : For US , report is perfectly fine and looks good.
    Issue : We need to generate for Mexico as well with different format.
    We have value in xml tags which can distinguish between US and Mexico OU's and we can simple use if else condition in the template itself .
    Here limitation is we have made MS word header as the PO header so we are not able to create different header for Mexico in the same rtf.
    We dont want to complicate the rtf much with more loops by removing it from Header and then page break and all.
    Can someone suggest something like use one rtf which handles both the format OR two different rtf registered for same concurrent program and which are called on the base OU.
    We are totally fine if we can do something while registering to Apps.
    Please let me know if any one wants more information.
    Hoping for a positive reply.
    Thanks in advance.

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • One Key FIgure in more than one column with different restrictions

    Hi,
      I am using a key figure in more than one column with different restrictions, but restriction in one column is affecting the result in other column. What shall i do to make it independent from one another??

    Hi Pravender Chauhan,
        If you want in Single column different value for different Rows based on same Key Figure, you can create Structure where you can define different logic for each row but using same key figure.
    If you want to use different Key figures then you should have to Restricted Key Figure and for any calculation you can use calculated Key figure.
    Assign points if Useful.
    Regards,
    Rajdeep.

  • How to add round image inside the table column? with different background color, column value should appear in the middle of the round portion.

    Hi
    This question is related to table component implementation.
    I want to display the column values inside the small round image with different colors and value should appear in the middle.

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for