Addition of new column in standard ALV

Hi,
Can somebody help on
How to add new col in the ALV and also addition of a custom button.

Check this..
for adding column
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_alv1( ). " alv1 is my alv component name
    if lo_cmp_usage->has_active_component( ) is initial.
      lo_cmp_usage->create_component( ).
    endif.
    data lo_interfacecontroller type ref to iwci_salv_wd_table .
    lo_interfacecontroller =   wd_this->wd_cpifc_alv1( ).
    data lo_value type ref to cl_salv_wd_config_table.
    lo_value = lo_interfacecontroller->get_model(
    data: lo_column1 type ref to cl_salv_wd_column.
    lo_column1 = lo_value->if_salv_wd_column_settings~create_column( 'ATTRIBUTE NAME IN CAPITAL ).
Regards
Srinivas

Similar Messages

  • New column in the ALV output of transaction phap_admin_pa

    Hello All,
    I want to display a new column in the ALV output of transaction phap_admin_pa. Is this possible? If so, could anyone please give some guidance how to proceed. The new column willl contain the elements from appraisal catalog. Do u think there will be any BADi's to achieve this or I am not sure if a custom program need to be created?
    Thank you very much,
    Rush

    Hi
    I had same problem of adding felds from additional data into the ALV and when I asked SAP they told me to implement BADI HRHAP00_REPORTING.
    I am still trying to get some info on how to implement it if you find any documentation of someone who has implemented appreciate you tell me.
    regards
    Pravin

  • New column in Standard Report

    HI all!
    Can i create new column in standard report of B1.
    Thanks!

    Hi Tien,
    What do you mean by standard report? such as the aging report?
    Kindly be noted that it is not possible to change System Matrix.
    If you mean the print layout of report, you can modify the report template with PLD
    Regards, Yatsea

  • Addition of New Column name "Qty" in user defined layout for CJR2

    Hi Friends,
    I am going thorugh variurs posts but could not a fetch correct answer. If that was available and missed, sorry about that.
    My requirement is, wanted to have new user defined layout which would be copied from 1-701 (CJR2). The layout should have new column which would be named as "Qty".
    Note that I tried to change name after pulling new fileds from left side to right hand side but these fields are grayed out in change layout.
    What is the work around solution to have new column and tthis wouold be named as "Qty". Let me ask one question is it possible to add new fields name to standard layout like 1-702 other than what it has been delivered by SAP????.
    Looking forward to hear from and thanks for your efforts.
    Regards,
    Sudhakar

    Have you tried MENU > Edit > Columns > Append additional fields?
    I think you can not choose any other characteristics other than SAP has provided which is mentioned in SAP Help.
    Regards,
    Mahendra

  • Addition of new column /field PO number in list of shopping carts

    Hi All,
    We are working on SRM 6.0
    We want to add new column (field) PO number in list of  shopping carts on the Shopping Carts tab
    Can anyone give me some pointers as to how to achieve this.
    Thanks in Advance
    Snehal

    Hi,
    Please be clear .. where you are going to add column ?
    Standard report BBP_BW_SC2  available in that we can see the shopping cart status and follow on document (PO) information
    Thanks & Regards,
    prasad.s

  • Addition of new column in Transaction VL10G

    Hello Experts.
    My requirement is that USER want to add new column in Transaction  VL10G
    There two plant in which Ware house management is activated. while creating delivery from Transaction VL10G from these two plants, Storage type column should be added in layout in delivery creation screen.
    Storage type column should be appear after executing VL10G for Ware house managed plant only.
    please help me in that ,is there any configuration or USER Exist which can fulfilled my requirement. ?
    waiting for reply.....its quite Urgent
    Regards
    Pash@SD

    Hi
    Go to report V50R_USEREXITS and see these includes
    * 1. Add field to list-display
    * Userexits for additional fields on list display
    * use append-structure in DDIC at structure SHP_VL10_ITEM
    * and ad field value in one of these routines
    *INCLUDE LV50R_VIEWG02.       "POS_ITEM_FILL_USER:       SD/MM-orders
    *INCLUDE LV50R_VIEWG03.       "POSTAB_VEPVG_FILL_USER    SD-Index
    *INCLUDE LV50R_VIEWG06.       "POSTAB_VETVG_FILL_USER    MM-Index
    *INCLUDE LV50R_VIEWG07.       "POSTAB_DELIVERY_FILL_USER Delivery item
    See also SAP Note 421791 - VL10: Including new fields in the shipping due date list
    Regards
    Eduardo

  • Urgent..Unable to add new columns to Standard region.

    Hi all,
    Requirement :
    Create new columns (DFF columns) in a region(display-only) on the confirmation page of iExpenses.
    Options Tried:
    Personalize the Region:
    - The VO object did not have the DFF columns, so modified the standard VO. I was able to see the new fields through "About this page"
    - But the region does not have "Create Item" Link.
    Why am I not getting this link? How do I enable it?
    Modifying the Region:
    Modified the standard Region and did an XML Import. But the new fields are not showing up. Even when I do a jdr_util.PrintDocument, the new fields are not showing up in the XML definition.
    Has anybody faced a similar situation/have an idea to solve this issue, please advice. Any new approach is also welcome.
    Your help on this would be highly appreciated.
    Thanks,
    Ashok.

    Why am I not getting this link? How do I enable it?
    Create item is enabled only for Site and Function level personalizations. Once you navigate in to personalization tool choose the context to Site and you should get Create Item Icon against the regions. Also make sure to click on Complete View button to enable all the regions.
    Modified the standard Region and did an XML Import. But the new fields are not showing up. Even when I do a jdr_util.PrintDocument, the new fields are not showing up in the XML definition.
    You should not be doing this, you should use personalization to add new items. Why the items not showing up even if you modify the standard region, you might have imported the file in a wrong package structure.

  • Addition of New Column

    I would like to know is it possible to add a new column/Drop an existing column from a existing table with huge data in Oracle 8i.
    Thanx in ADV
    GSR

    Yes you can do both operations. Use the following commands
    ALTER TABLE <tablename> ADD for adding cols
    ALTER TABLE <tablename> DROP COLUMN for dropping columns.

  • Addition of new column into SAP query program

    Hi freinds,
    There is a query program(joins EKKO,EKPO) which contains columns like vendor,purchase doc,item,material and material description etc..
    I need to insert a new column 'Supplying plant' in 2nd position after vendor column...When I try to add a field into internal table,am getting short dump error...
    Kindly suggest on this problem...
    Thanks in advance...
    Bharat.

    Hi,
    the program you got is it a copy from a SAP QUERY created on TCode SQ01 ?
    If yes got to Tcode SQ01 draw a new one and see the report generated
    Best Regards
    Jaime

  • SAP SRM UWL Addition of new columns

    Hello All,
            i am having a requirement where in i need to add new columns in the SAP UWL tasks list.Please let me know the procedure for this.
    Thanks,
    Kiran.

    Hi,
    Check this document to add or remove columns in UWL;
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45?QuickLink=index&overridelayout=true
    Hope this helps.
    Cheers,
    Vinoth.M

  • Addition of new column in MC.1 Report

    Dear experts,
    MC.1 report displays stock in transit value but does not displays stock in transit quantity, is it possible that we can display additional column for stock in. transit.
    A detailed reply on how additional tables can be joined in MC series reports will be appreciated.
    Thanks & regards
    Anand Tripathi

    hi,
    In MC.1 only in the second screen select the Switch Drill down and select MRP type or Material you get the quantity also
    Hope it helps u..
    Regards,
    Sravanthi

  • Regarding addition of new column in existing  appraisal templates

    hi gurus,
    i m working on the existing appraisal templates in which i have to add one more column named "Avereage Rating"
           in which the average of "MID YEAR ACHIEVEMENT COLUMN TOTAL VALUE" & "FINAL APPRAISAL RATING COLUMN TOTAL VALUE"
           for eg:"(3.5+4.0)/2 = 3.75" i.e the value 3.75 will come in the average rating column,plz help me to sort out
           this column,for this,no doubt i have added the column for this but for the  value "3.75" what "value list",
           "value class" & "value determination" sud i use against this column plz help me....

    solved

  • How to add new fields to standard alv report

    Hi,
    Tcode(VL10G) .ie.out put list will not showing one new field.I want to add one more field to output list. append the field(VIKP-SDABW) In the SHP_VL10_ITEM structure .And write the logic in the exit LV50R_VIEWG05----
    >USEREXIT_PREPARE_LAYOUT_FILL.Please expain what is the process?
    Why i have write the code?what logic i will write?
    Thanks & Regards,
    sairam

    FORM ZI004_FIELDCAT_MOULD .
        wa_fieldcat-fieldname = 'ZMLDCDID' .      "Mould Code ID
        wa_fieldcat-tabname   = 'IT_MLDETAILS' .
        wa_fieldcat-outputlen = 40 .
        wa_fieldcat-seltext_l = text-010 .
        APPEND wa_fieldcat TO it_fieldcat.
        CLEAR wa_fieldcat.
        wa_fieldcat-fieldname = 'ZMLDID' .        "Mould ID
        wa_fieldcat-tabname   = 'IT_MLDETAILS' .
        wa_fieldcat-outputlen = 20 .
        wa_fieldcat-seltext_l = text-011 .
        APPEND wa_fieldcat TO it_fieldcat.
        CLEAR wa_fieldcat.
        wa_fieldcat-fieldname = 'ZMLDCODE' .      "Mould Code
        wa_fieldcat-tabname   = 'IT_MLDETAILS' .
        wa_fieldcat-outputlen = 40 .
        wa_fieldcat-seltext_l = text-012 .
        APPEND wa_fieldcat TO it_fieldcat.
        CLEAR wa_fieldcat.
    endform.

  • Addition of New column to Vendor Overview on Shopping cart Source of supply

    Hi All,
    I have a requirement where I need to display Contract description,price in Vendor overview table of Shopping cart Source of Supply.
    Currently I can see the  Name ,Vendor , Contract  Item,  Pur.Info Record, In Vendor List  , but I also have to show the Contract Description and Price..
    Can anyone suggest how to handle this.
    Thanks in Advance.
    Neelima

    Hi Neelima,
    Please investigate the use of customer fields for meeting this requirement.
    Regards
    Azad

  • Impact of new column addition to existing database

    Hi,
    I have a business reqt where in the existing table, I have to add a new column. Yet it is not finalised whether the column is going to be nullalble or NOT NULL.
    But I would need a help to judge where all the addition of new column in the existing Db can cause a impact.
    I know few things but need to know the complete picture:
    1. dependent SP's would get invalidated ( specially with INSERT statement)
    2.
    3...
    ..and all those.
    Please help.
    Regards,
    Aashish S.

    As Satish pointed out the locking issue - I once saw someone lock up a whole application for hours because they added a new column with a default value on a large table because that took a DDL level lock on the table.
    Also, if people have coded their inserts properly (using column names and values) then you should not have any problems with the order of column names even though the column is added to the end, unless you use DBMS_REDEFINITION.

Maybe you are looking for

  • Inclusive of excise duty issue

    Hi, We encountered a issue in case of inclusive of excise duty procurement. I will try to explain it here. We have punched a PO with excise duty inclusive and the tax code as per the vendor's terms. The GR based IV is checked. We made GRN with refere

  • Best Drum program for logic???

    HI need help..which is the better drum program.for a non drummer..Idrum..ezdrummer..or bfd?...what i intend on using it for is for making my own beats..i need to know if these r loop sampled software or can i make my own beats...thank u..any and all

  • IPhone doesn't display iPhone is activated after restore

    I restored my phone and also when updating it doesn't display iPhone is activated

  • Number jump while post capture excise through J1IEX

    Sir, My client is facing a problem when they capture excise for captical goods through J1IEX the number is jumper over 50 number while saving they want to avoid such insident and how to solve plz give the solution is there is any possible to get back

  • Garageband 09 excessive CPU usage

    Seemingly since Snow Leopard; or perhaps the last 10.6.2 update; I can't open garageband; and when it does open; it spikes super high in CPU from 60 to 100 ; I tried a PRAM reset; no luck yet. Whats up with this? Any others have this prob? Message wa