OVS - Maintain the amount of the table column

Hello all,
when implementing the OVS for a field, it does display for every output element of my model node a column in the OVS table. How can i alter the amount of shown table columns?
E.g. The model node which displays the table of the OVS has 20 columns (20 attributes). Now i want the OVS table not to have 20 columns but just 5.
How can i achive this?
cheers,
Markus

Hi Markus,
You can do something like this,
In the OVS custom controller, have a value node like Output_data which has only those attributes which you need to display in the ovs list.
When you execute the BAPI/RFC, copy the model output data to this output node.
From the view ,when you implement the OVS for field using method addOVSExtension, pass this new output value node, instead of using the model node(Also replace the model node with this node whereever appropriate - eg: in applyResult())
Hope that helps,
Thanks,
L Menon
Message was edited by: LM
        L Menon

Similar Messages

  • Summ up the amount of two tables with their +/- sign

    Hi All
    I am stuck up in logic,
    Scenerio is .
    I have to fetch amount(BSID-WRBTR) field from BSID as well as from BSAD(BSAD-WRBTR) on the input of ( company customer , year period & countyr) it can be with positive or negative value as functional says and it would be recognised on the basis of their debit and credit indicator(BSID-SHKZG), now
    My question is If  i have to sum the amount of both tables.
    first i have to associate the plus or minus sign with them on the basis of their debit and credit indicator     (BSID-SHKZG). now how to do it.
    please let me know any sample program or logic to sum the amount on the basis of their +/- sign.
    points will be Rewarded.

    Hi....
        Here you hav to go for COLLECT statement in the loop....
    loop at it_final1.
        read table it_final with key bukrs = it_final1-bukrs
                                     hkont = it_final1-racct.
      if sy-subrc = 0.
        it_final1-CrAmt =  it_final-CrAmt - it_final1-CrAmt  .
         it_final1-DeAmt = it_final1-DeAmt + it_final-DeAmt  .
         append it_final1 to it_final2.
        else .
           append it_final1 to it_final2.
           clear it_final1.
        endif.
        endloop.
        loop at it_final .
          read TABLE it_final1 with key bukrs = it_final-bukrs
                                        racct = it_final-hkont.
          if sy-subrc <> 0.
            it_final2-bukrs =  it_final-bukrs.
            it_final2-racct =  it_final-hkont.
            it_final2-DeAmt =  it_final-DeAmt.
            it_final2-CrAmt =  it_final-CrAmt.
            append it_final2.
            clear:it_final2.
            endif.
            endloop.
        write:/ a, (9)it_final2-bukrs  ,
                a, (15)it_final2-racct,
                a, (15)it_final2-deAmt,
                a, (15)it_final2-CrAmt,
                a.
      endloop.
    write:/(67) sy-uline.
    ENDFORM.                    " display_output
    *&      Form  sub_get_glt0
    FORM sub_get_glt0 .
      select bukrs ryear racct drcrk tslvt hslvt
                                  from glt0 into table t_glt0
                                 where bukrs = 'code'
                                 and ryear = '2007'.
    ENDFORM.                    " sub_get_glt0
    *&      Form  it_final1
    FORM it_final1 .
        loop at t_glt0.
        if t_glt0-drcrk = 'S'.
          move t_glt0-tslvt to it_final1-DeAmt.
        else.
          move t_glt0-tslvt to it_final1-crAmt.
        endif.
        move t_glt0-bukrs to it_final1-bukrs.
        move t_glt0-racct to it_final1-racct.
        collect it_final1.
        clear:it_final1.
        clear:t_glt0.
      ENDLOOP.
    ENDFORM.                    " it_final1
    Thanks,
    Naveen.I
    Edited by: Naveen Inuganti on Jun 18, 2008 10:49 AM

  • The amount field in table GLPCT Activity RFBU is reaching max limit of

    Hi Experts,
    Need your help on below issue.
    The amount filed in table GLPCT, company code 123, account 110000, Activity
    RFBU and SD00 is increasing every year, and now the sum is close to the
    limit of 9,999,999,999,999.99- .
    this amount field is continue to increase, if depend on data when
    performing year-end closing and balance carry-forward.
    So, Each field contains 15 places, which leads to a maximum amount of
    999,999,999,999,999 When the value reaches the maximum amount, an
    additional update of an amount is not possible anymore.
    System cannot update the Balance Carry-forward amount for 2012.

    Have you communicated with SAP about a possible solution?

  • [SOLVED]problem about wc to check the amount of the processes through

    #problem about wc to check the amount of the processes through ps
    hi.this is the processes current
    $ps
    PID TTY TIME CMD
    2674 tty3 00:00:00 bash
    2689 tty3 00:00:00 mocp
    2746 tty3 00:00:00 ps
    $ps | wc -l
    5
    The problem:since there are 4 lines of ps output here,why wc -l shows the number "5"?
    And if i redirect ps to a file and then check the lines number with "wc -l",it's "4".
    $ps > out
    $cat out
    PID TTY TIME CMD
    2674 tty3 00:00:00 bash
    2689 tty3 00:00:00 mocp
    2753 tty3 00:00:00 ps
    $cat out | wc -l
    4
    Any idea?Thanks.
    Last edited by wanghonglou82 (2011-10-07 06:49:44)

    falconindy wrote:Working as intended. wc is running when you pipe ps to it.
    hi.thank you.
    The clue you bring here sounds reasonable.But a little more confusion to me comes around.I will check the bash rules for digest commands.thanks.

  • HOW CAN I PUT THE AMOUNT WITH THE SIGN OF DOLLAR?

    HI!
    HOW CAN I PUT THE AMOUNT WITH THE SIGN OF DOLLAR?
    BECAUSE WHEN I WRITE THE DATA THE AMOUNT OVERWRITE THE SIGN.
    THANKS PEOPLE

    THIS IS THE WRITE PART:
    [code]
    WRITE:
              /97 t_bsid-dmbtr,          "Invoice Amount
              104 '$',
              104 t_bsid-fecha,          "Payment Date
              114 t_bsid-pago,           "Payment Amount
              116 '$'.
    [/code]

  • How can I tell how many licenses are included in a volume license?  I can login, but am unable to see the number included, just says purchased "1", but not the amount in the volume.

    How can I tell how many licenses are included in a volume license?  I can login, but am unable to see the number included, just says purchased "1", but not the amount in the volume.

    Hi networka,
    Please see this page for links to the resources you can use to manage a volume license: Customer resources | Adobe Buying Programs. You should be able to find this information by logging in to the Licensing Website.
    Best,
    Sara

  • I had an Apple Id then changed to another , how can I retrive the amount from the old Id account.?

    I had an Apple Id then changed to another , how can I retrive the amount from the old Id account.?  Can I link one Id with another ?

    Apple IDs can't be "linked" or merged.  However, if you are trying to transfer a credit balance from one account to another iTunes store support may be able to help you with that: http://www.apple.com/emea/support/itunes/contact.html.

  • To change the width of a Table Column

    Hai Developers..................
    I have problem with the Table Column Width.
    When am on search state.
    The search results are showing in a table.
    At that time i want to change the width of the each column with respect to the column content.
    Like the jsp table.......
    Pls replay with example......
    Thanks.

    And that is why Swing related questions should be posted in the Swing forum so we don't spend time guessing what you are talking about.
    Darn, the [Table Column Adjuster|http://www.camick.com/java/blog.html?name=table-column-adjuster] didn't show up in that Google search.

  • Increasing the width of Pivot table Columns

    Hi Gurus,
    Small pivot table --> ( ie having less no of columns which generally can be seen in a single page without scrolling to the right)
    If i have a small pivot table , then in the column properties through additional formatting options i can increase the width of an individual column.
    However if the pivot table is Big,I am not able to increase the width of the individual column .
    I tried setting width in the additional formatting options in the Content Properties( just above Rows and below Section there is a small grey box containing finger).
    Now the Content Properties indeed increases the width of the column, but it also increase the width of the whole Pivot Table.
    See...If i have a fixed number of columns in a PIVOT Table that do not change with prompt, then this solution work fine...
    but the problem comes when the no of columns in pivot Table reduces based on the prompt selected.
    In this case the less no of columns tries to occupy the whole width set in the content properties.
    In short, with Content Properties the width of the PIVOT Table becomes fixed, irrespective of the no of columns coming.
    Also after setting content properties, I am not able to print the report to PDF.
    So the Question is... Can we increase the width of a Big Pivot Table whose no of columns keeps on changing based on the prompt....
    Big pivot table -->
    (ie table having no of columns which exceeds a single window frame and have to scroll to right to see the rest of the columns)
    I hope i have not made things messy...
    Thanks
    Ashish

    Ashish,
    Yes, you can set a fixed size for these. I'm sure you are fixing these because of PDF issue which might be irregular in sizes. Just play arnd with Custom CSS options.

  • How to fix the table column header and resize the width of a table column?

    Hi all,
    I have the following two requirements,
    1) I need to wrap the table column header into two rows. I mean the header must be displayed in two rows.
    2) I need to to able to resize the width of the column. i.e The user should be able to drag the column width according to his requirement.
    Is this possible. Any help would be appreciated!
    Regards
    Kishan

    Hi Kishan,
    Refer to these links.They may ne useful for you.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80d81237-b780-2a10-d398-cc33af6bd75c
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30291df2-b980-2a10-0884-839c4f7f147e
    Regards,
    Sumangala

  • Show the presentation variable on table column header

    hi, experts,
    is it possible to show the presentation variable on the table column header.
    I have created a edit box with presentation variable on the prompt.
    I would like to show the value the user entered on the column header because the values under that column are driven by the presentation variable.
    Thank you very much!

    You cannot put variables in the column headers, as they get considered as text and the same shows in the reports.
    However, you can use the session or repository variables in the alias field in the presentation layer.
    You should make sure, that in this case, all the calculations are done in the BMM layer and not in answers, for the columns where you will be using the variables.

  • How make display only the amount field in table control(infotype 0008)

    Dear Freinds,
    have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
    i have tried the below coding it is not working in PBO & PAI of the user exit
    ZXPADU01 and ZXPADU02. For the table control is there any othe method??
           loop at screen.
               screen-name  = 'WA_P0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    i have tried like this as well
           loop at screen.
               screen-name  = 'Q0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
    regards
    syamla

    Dear Freinds,
    have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
    i have tried the below coding it is not working in PBO & PAI of the user exit
    ZXPADU01 and ZXPADU02. For the table control is there any othe method??
           loop at screen.
               screen-name  = 'WA_P0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    i have tried like this as well
           loop at screen.
               screen-name  = 'Q0008-BET01'.
              screen-input = 0.
              screen-output = 1.
              modify screen.
          endloop.
    in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
    regards
    syamla

  • How to get the F4 help for table columns ..

    Dear All,
    Here I have created table with cell editors of INPUT FIELD .
    And I would like to provide the f4 help for those columns .
    Here I have checked the node , which i have binded to the table, there input help mode is set to Automatic and search helps are also attached for that node .
    But in the table I am not getting the F4 help . Where as if i create the input fields invidually i am able to see the F4 help .
    But for table column I am unable to find..
    Help me regard this...
    Thanks & regards,
    Veerednra Nath

    Hi,
    In debugging , the I have seen the node info attributes list ( VALUE_HELP_ID and VALUE_HELP_MODE ) .
    For you understanding, Here I am giving the values which contains ,
    VALUE_HELP_ID contains the AUTO:VBUK
                                                    AUTO:VBUP
                                                    AUTO:MAT1
                                                    AUTO:H_T023
    and
    VALUE_HELP_MODE contains the  all Zeros for all the four attributes .
    Hope I have given correct inputs .
    Thanks & Regards,
    Veerendra Nath

  • AP Invoice interfaced to Projects shows the amount in the quantity field

    We are noticing that AP Invoices interfaced to Projects show the invoice amount in the quantity field, e.g. in projects quantity and cost both show the invoice amount. The actual quantity is different. Anybody experienced that or has a solution?

    Hi User,
    This is intended functionality of Oracle projects:
    For AP invoices the QUANTITY = ACTUAL AMOUNT (eg 1000) of the AP invoice at the distribution level and UOM = word "CURRENCY".
    Incase of labor expenditures the quantity = the number of hours and UOM = HOURS.
    Please revert incase more information is required on this issue.
    Thanks & Regards,
    Neeta

  • How to truncate the text in a table column

    Hi all,
    I have a text column in a table RN. the column length is varchar2(240). When the text is too long I want to only display 20 text and followed by '...'
    So I change the xmlfile of tableRN maximumLength="240" columns="80"
    but the text is still long and let the page very wide. I notice the standard page have this functionality while I don't find any control either in the xml file or in the CO class.
    Can anyone show me the method to implement this? I really don't want to modify the VO to decode the column to contain '...'
    Thanks & Regards,
    Scott
    Edited by: Typhoon on Aug 5, 2009 1:07 PM
    Edited by: Typhoon on Aug 5, 2009 1:25 PM

    I have resolve it, by adding these code in VOimpl.java
    super.executeQuery();
    oracle.jbo.RowSetIterator rowsetiterator = OIEUtil.getNoValIterator(this);
    Object obj = null;
    TrackExpenseReportsVORowImpl trackexpensereportsvorowimpl;
    for(; rowsetiterator.hasNext(); trackexpensereportsvorowimpl.setPurpose(OIEUtil.trimString(trackexpensereportsvorowimpl.getPurpose())))
    trackexpensereportsvorowimpl = (TrackExpenseReportsVORowImpl)rowsetiterator.next();
    ---------------------------------------------------------------OIEUtil.class-----------------------------------------------------------------------------------------
    public static RowSetIterator getNoValIterator(ViewObject viewobject)
    RowSetIterator rowsetiterator = viewobject.findRowSetIterator("noValidationIterator");
    if(rowsetiterator == null)
    rowsetiterator = viewobject.createRowSetIterator("noValidationIterator");
    rowsetiterator.setRangeSize(-1);
    rowsetiterator.setRowValidation(false);
    rowsetiterator.reset();
    return rowsetiterator;
    public static String trimString(String s)
    if(s == null)
    return s;
    if(s.length() < 20)
    return s;
    else
    return s.substring(0, 20) + "...";
    }

Maybe you are looking for

  • Oracle Application server  10.1.2.0.2 Installation error

    Please I am installing OAS on a oracle linux 5 when i get to 86 % of the installation process where it shift to the link page i get an error and to continue i have to ignore several erros any idea thank you

  • Can't print from Windows to Mac

    I've always had trouble printing to a printer attached to my Mac from Windows. Bonjour used to see the printer, but I could only occasionally actually print. For a while everything but PDFs worked, then even text stopped. As a last resort I tried the

  • Picture on new 80gb ipod video, but no sound

    When i tried to put some video's on my new ipod i first of all couldnt get any on but then once i did get one on (MIRACLE!) it had no sound?????????? HELP! it's my first ipod ive never used itunes before and i just wanna kill sumptin it's so frustrat

  • Using FIRST and LAST

    Hi everyone, I'm extracing some Sales Volumes per Account out of our database. I need to calculate the total Volume per Account, except the FIRST volume in the set...if I use the FIRST() SQL function in the column formula though, I get an error. Is i

  • Please, let me know if there is an equivalent on Apple Ipad of AdobeReader Pdf. Windows!

    Please, let me know if there is any equivalent in Apple Ipad of AdobeReader pdf.