How to add a column to the middle of a matrix?

hi all,
Can any one help me regarding storing new column in Middle of the Matrix.
when i am approching like going Tools->User defined fields->Marketing Documents  in that i am adding my fields in Row it will effect all the Modules in Matrixes like Sale/Purchase  modules i dont want that willbe  available for all modules like Sales and Purchase . I wanted only In Purchase Module will be reflected i wrote code also that coding also i kept in other Forum. Can u once check i dont want to reflect in all the Modules.I wanted Clear information Regarding asap??
Regards
ANAND

Hi ANAND,
I think DI API's FormPreferencesService should do the trick for you.
You can find sample code in the SDK Helpcenter.
HTH,
Frank

Similar Messages

  • How to add a column in the middle of the table

    hi all.
    using alter table i am able to add column at the end of the table.
    but what to be done if i want to mention the column number or order also.

    This cannot be done, without recreating the table. Of course, if it is just a nice thing, to make people feel good about the order, you can define a view in the order you want.
    Tom Best

  • How to add one column to the standard t.code : CAT2.

    Hi,
    How to add one column to the standard t.code : CAT2.
    thanks

    Hi Chinna
    see the  enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • FBL5N : how to add a column of the Account's name?

    Hi,
    the list displayed by Tcode : FBL5N contain only the number of account, please how to add a column of Account's name ?
    Please advise
    Regards.

    When you are in the FBL5N display results screen, use the menu option Settings --> Special Fields. 
    There are also the following notes which would explain you how to add special or new fields to the line items :
    - 310886     Line items: Dynamic selections ignored
    - 215798     FBL*N: Special fields are not displayed
    - 373268     Line item: new display field
    The special field has to exist in table T021S.

  • How to add one column into the t.code: cat2

    Hi
    I am userexits
    here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
    how to do this...
    thankx

    hi,
        CATS0005           
        CATS0007           
        CATS0009        
        CATS0010        
        CATS0012.
        Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements.

  • How to add customized column in the time sheet CATS (transaction CAT2) ?

    Hello,
    I need to be able to add some columns in the time sheet CAT2 containing:
    - the name and first name of the person (in addition of the number), in display mode in the CATS time sheet.
    - a  text that I will found by reading some tables and values...
    Does anyone have any idea how to do so ? and if it's possible or not?
    Thanks a lot in advance for your help.
    Best regards
    Fanny GROUX

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • How to add a column at the end of table in already designed document..?

    Hi,
    I am writing a javascript for adding a column at the end of table in Indesign document. using our plug-in we have created the Indesign document.
    Each table i want to add one extra column at the end. Is it possible..? please help me if anyone has idea regarding this.
    Thanks,
    Vimala L

    Hi Vimala,
    Please try the below JS code, This code will add the new column in every table last column after.
    var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
    for(i=0; i<myTable.length; i++){
       myTable[i].columns.add(LocationOptions.after, myTable[i].columns[-1]);
    thx,
    csm_phil

  • How to add custom columns to the list view in Finder

    Hi,
    I'm looking for a way to view additional file details in the list view in Finder, for example audio bit rate, so I don't have to do "Get Info" for each file separately. I couldn't find a way to add columns other than the ones listed on the view options dialog.
    Can anyone help me find a way to do it?
    Thanks,
    Tal

    Have you checked the Help menu for what you want to do? I found this in Apple support - List View Options
    Check the AppleScript Forums. There is probably a script that you can use.

  • How to add balance column in the PO and AP Report

    I have added amount remaining column in this report from ap payment schedules all,but it is not returning any rows,can you please look into this issue.
    select
    distinct po_vendors.segment1
    || chr(9) || po_vendors.vendor_name
    || chr(9) || po_vendor_sites.vendor_site_code
    || chr(9) || po_vendors.vendor_type_lookup_code
    || chr(9) || po_vendor_sites. attribute2
    || chr(9) || po_vendor_sites.inactive_date
    || chr(9) || po_vendor_sites.creation_date
    || chr(9) || to_char(max(ap_checks.check_date), 'DD-MON-YYYY')
    || chr(9) || ap_payment_schedules.amount_remaining
    from
    po_vendors
    ,po_vendor_sites
    ,ap_checks
    ,ap_payment_schedules
    ,ap_invoices i2
    where
    po_vendors.end_date_active is null and
    po_vendors.vendor_id = po_vendor_sites.vendor_id
    -- and po_vendors.VENDOR_ID=i2.VENDOR_ID
    and i2.invoice_id=ap_payment_schedules.invoice_id
    and po_vendor_sites.inactive_date is null
    and po_vendor_sites.creation_date < sysdate--&v_cutoff_date
    and po_vendor_sites.pay_site_flag = 'Y'
    and not exists (select vendor_site_id from ap_checks c2 where
    c2.vendor_site_id = po_vendor_sites.vendor_site_id
    and c2.check_date < sysdate)--&v_cutoff_date)
    and not exists (select vendor_site_id from ap_invoices i2 where
    i2.vendor_site_id = po_vendor_sites.vendor_site_id
    and (i2.invoice_date < sysdate or payment_status_flag in ('N', 'P') ) )
    and po_vendor_sites.vendor_site_id = ap_checks.vendor_site_id (+)
    --and ((i2.invoice_amount) - (i2.amount_paid)) <>0
    --and (i2.invoice_amount - NVL(i2.amount_paid,0))>=0
    group by
    po_vendors.segment1
    ,po_vendors.VENDOR_ID
    ,po_vendors.vendor_name
    ,po_vendor_sites.vendor_site_code
    ,po_vendors.vendor_type_lookup_code
    ,po_vendor_sites.attribute2
    ,po_vendor_sites.inactive_date
    ,po_vendor_sites.creation_date
    --,i2.invoice_amount,i2.amount_paid
    --,i2.invoice_num
    ,po_vendor_sites.VENDOR_SITE_ID
    ,ap_payment_schedules.amount_remaining
    --,(i2.invoice_amount-nvl(i2.amount_paid,0))
    --order by
    --     po_vendors.vendor_name
    ---     ,po_vendors.segment1
    --     ,po_vendor_sites.vendor_site_code

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • How to add multiple spaces to the middle of a string?

    Hi,
    I have two strings:
    str1 = 'NAME'
    str2 = 'ADDRESS'
    I want to create a third string:
    str3 = 'NAME          ADDRESS'
    These do not work:
    1)   str3 = str1 + '       ' + str2
    2)   concatenate str1 '       ' str2 into str3
    3)   concatenate str1 '       ' str2 into str3 separated by space
    4)   str3 = 'NAME&ADDRESS'
           replace '&' in str3 with '       '
    5)   str3 = 'NAME&ADDRESS'
           overlay str3 with '       ' only '&'
    Any other ideas?
    Thx.
    Andy

    >
    Andrew Jacobs wrote:
    > str1 = 'NAME'
    > str2 = 'ADDRESS'
    > Any other ideas?
    >
    > Thx.
    > Andy
    These are not strings, strings are enclosed in ` and not in apostrophes like '.
    so use this:
      concatenate str1 str2 into str3 in character mode separated by space.

  • How to add a column in a report?

    Hi,
    I have 2 columns from my tables, now i want to add a column in the middle, is there any way i can type this column for each row? or do a conditional format for this new column. see below:
    case description # of items
    01 desc_1 5
    02 desc_2 10
    03 desc_3 25
    the "description" column is the one i want to add, that is not from any table, is there any way i can add this column, and do
    if case='01', display "desc_1"
    if case='02', display "desc_2"
    if case='03', display "desc_3"
    thanx.

    If this is what you are trying to achieve...
    for example:
    select col_1, 'dec_'||rownum txtfield, col_2
    from (
          select '01' col_1, '10' col_2 from dual union all
          select '02' col_1, '15' col_2 from dual union all
          select '03' col_1, '20' col_2 from dual union all
          select '04' col_1, '25' col_2 from dual union all
          select '05' col_1, '30' col_2 from dual union all
          select '06' col_1, '35' col_2 from dual union all
          select '07' col_1, '40' col_2 from dual union all
          select '08' col_1, '45' col_2 from dual
         ) test
    result:
    COL_1 TXTFIELD   COL_2
    01    dec_1      10
    02    dec_2      15
    03    dec_3      20
    04    dec_4      25
    05    dec_5      30
    06    dec_6      35
    07    dec_7      40
    08    dec_8      45Add the txtfield column in your select statement as follows:
    select <columnName1>, 
           <columnName2>,
           'dec_'||rownum txtfield
    from   <tablename>Then in your report layout, add a new field column between the two existing field colunms and have the source in the property palette = txtfield.
    Hope this helps.
    -Marilyn

  • How to add multiple columns?

    Using designer API, how to add multiple columns to the repository tables? I want to add number of columns at a time instead of adding column by column.
    Thanks in advance.

    Can you use sqlplus?
    ALTER TABLE table_name ADD (column_name data_type), (Column_name datatype),...
    Check the SQL Reference 11-9.
    Hope this helps.
    Bill Swanson

  • How to add new columns in predefined matrix  in system form

    Hi all,
    I am new to SAP B1. I am going to add New column to Good Receipt PO matrix. I faced the one error " Matrix Line Exists " While adding new column to good receipt PO matrix".
    =========================================================
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
                 oMat = oForm.Items.Item("38").Specific
                   oCols = oMat.Columns
                    oCol = oCols.Item("U_MyCol")
            If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = True And pVal.FormType = "143" Then
                Try
                    oForm = SBO_Application.Forms.Item(pVal.FormUID)
                    oMat = oForm.Items.Item("38").Specific
                    oCols = oMat.Columns
                    'oCol = oCols.Item("U_MyCol1")
       oCol = oCols.Add("U_MyCol1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    oCol.TitleObject.Caption = "Qty Accepted"
                    oCol.Width = 40
                    oCol.Editable = True
                    oCol = oCols.Item("U_MyCol1")
                Catch ex As Exception
                    SBO_Application.MessageBox(ex.Message)
                End Try
            End If
    oDBDataSource = oForm.DataSources.DBDataSources.Add("PDN1")
            ''oEdit.DataBind.SetBound(True, "PDN1", "U_QtyAccepted")
    ============================================================
    And i also added for Datasource to Databind. what there is no result ??i wanted Clear information regarding this to add new columns in matrix in  middle of Matrix items. I wanted Clear coding& information for this to add new Columns in Matrix ?help me regarding this asap??
    Regards
    ANAND

    Anand,
    If you use the "search" feature of this forum and type "add column", you will find many posts that may help you such as this one ...
    How to add a column on sales order matrix?
    HTH,
    Eddy

  • How to add a column in table control

    Hi ,
       Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
       Can anyone help me on this please.
    Thanks in advance.
    Regards,
    Lakshmi.

    Hi,
    Ensure the following :
    1. After adjusting the database, you`ll have to use the database utility and activate the table.
    2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
    Now execute the program.
    Reward if helpful.
    Regards

  • How to add different columns in a single dashboard prompt?

    Hi
    I am new to this forum. I got a new requirement, my client is asking me to show multiple columns with multiple tables in a single dashboard prompt
    for Ex: Column name Table name
    1. Customer 1. Customer Details
    2. Market 2. Region
    3. Order 3. Order Status
    4. Product 4. Product Type
    He wants to show all these column names in a single prompt when user click on the particular column name it should appear on report. Is it Possible? if possible tell me how?

    See this thread...
    Re: How to add new columns by using Multiselect

Maybe you are looking for