Implementing Badi for additional tab page & creating views in cProjects 3.1

Hi,
I am implementing DPR_ADD_SAP_TAB_I for adding new tab page in Cprojects 3.1.
Please tell me whether we have to create any veiw?
if it is please tell me the procedure & steps

Hi...
Implement the BAdI DPR_ADD_SAP_TAB_I
and write following code in its method GET_ADD_TAB_DATA
method IF_EX_DPR_ADD_SAP_TAB_I~GET_ADD_TAB_DATA .
  field-symbols: <tab_data> type DPR_TS_SAP_TAB_CTRL.
  data: lt_tab_data type DPR_TT_SAP_TAB_CTRL.
  constants: lc_pre_ctrl   type string value 'CTRL_TAB_',
                     lc_suff_ctrl  type string value '.DO'.
  lt_tab_data = ct_comp_ctrl.
  loop at lt_tab_data assigning <tab_data>.
    case <tab_data>-obj_type.
   project definition
      when CL_DPR_CO=>SC_OT_PROJECT.
        <tab_data>-tab_title = 'otr(zotr_cust_txt/proj_txt)'.
        concatenate lc_pre_ctrl CL_DPR_CO=>SC_OT_PROJECT lc_suff_ctrl
into <tab_data>-controller.
    endcase.
  endloop.
  ct_comp_ctrl = lt_tab_data.
  EV_BSP_APPL = 'CST_ADD'.
endmethod.
Regards,
Reema.

Similar Messages

  • Reg: additional tab page in cProjects

    Hi all,
         My requirement is to add a new tab in the cProjects screen .How can I have this. Either I have to use user exit or  any other code in Se80. Could any one reply me.
    Thanks in advance,
    Regards,
    S.Jenibalet.

    Hi,
      All you have to do is first
       1) Go to spro and under collaboration projects-> Additional tab page
       2) Give the object type ie for example if you want to have an additional tab page in phase of cprojects or checklist etc..
       3) Then give the project type for example deveopment project or consulting project etc
        4) Then check field tab active so that the additional tab page will be displayed
         5)Give a title eg. additional tab page for phase in tab page title
              These will be enough to get a additional tab page in cprojects screen But if you want to design the layout then you have to create a webdynpro component and give the name of the webdynpro component in the webdynpro component field.
      Buy strictly following all these steps will definitely get the additional tab page in cprojects 4.0 version.
    In cprojects version 3.0 you have to implement the badi for additional tab page with the method GET_ADD_TAB_DATA

  • I have implemted badi  for adding tab vl01 t.code?

    Hi abapers,
    I have implemented badi  for adding tab vl01 t.code?But additional tab is not appearing in vl01?

    Hi,
    I found something similar.hope it helps.
    lets say u have to add fields to standard table  EKPO.
    U can add a customer field in a standard table only for those standard table which has given the provision for adding fields .
    Go to se11 and check out the table. there u will have CI_EKPODB  . "CI " stands for custom include.
    i u can add my field.
    Read the following----
    To add the customer field :
    Go to SE11 --> EKPO -->Display --> then doube click the data element "CI_EKPODB"... it will ask whether u want to create a field ...press YES and then continue with adding the field.. "ZZPAYMENT" in that ...
    Creating the field in the table:
    Give the name of the componenet "ZZPAYMENT" and the related data element (if the field "ZZPAYMENT" is of type CHAR give the data element as "CHAR" and give the needed length of the field say (15)...... then save and activate ur table........ it will show some warnings .... (ignore that) now ur table with the customer field will be ready
    Hope this helps u out.
    regards,
    Hari Kiran

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • CProjects 4.0  Show Additional Tab Page in cProjects

    Requirement:
    1, Enhance CI_DPR_CHECKLIST_I (Checklist ITem - ITO) with customer fields
    2, create Customer Long texts which appear on the customer tab page.
    3, Achieve the above in an additional tab page on checklist item level.
    Summary:
    Using “Show Additional Tab Page in cProjects” node in SPRO  I checked the example Webdynpro ABAP this does not have any relevance to the CI structures for Customer fields and simply retrieves/updates the field value DATA1 in table DPR_DEMO.  This will work fine for the data captured outside of the CI structures (in my case longtexts), it is not clear on how the customer fields in the CI structure will be updated?
    Question
    1, I have made a copy of "DPR_CUST_EXT_INTF_DEMO" now  -  How can I save custom fields in CI_DPR_CHECKLIST_I using a Web dynpro component?

    Hi,
    Can you guide me to add a new tab in the C projects, I tried creating a new wda component with DPR_CUST_EXT_INTF as implemented interface.
    The view in this component has a tabstrip having a single tab in it, Then i went to spro as mentioned:Collaboration Projects->Global Enhancements to Project Elements->Show Additional Tab Page in cProjects.
    I added a new entry here
    Project Elements: Project Definition
    Proj Type : Blank
    Tab Page Active: checked
    Tab Page title: Additional Tab
    Web Dynpro Component: zcomponent
    Still The tab is not displayed, Can you let me know if I am missing something?
    Regards,
    Shitanshu Sahai

  • Problem in additional tab page in cprojects

    hi all,
    i have created one additional tab page through spro settings in cprojects application.
    trasaction : spro
    collaboration projects -> global enhancements -> Define field groups for customer fields.
    here it is giving me option to apply this field group to a particular object (like project, phase, task) only where as i need to apply it only to a particular phase and not to all the phases in the cproject(like i want to show that customised tab page only when i click on the first phase of the project and i dont want to show it in the rest of the phases.) right now it is not giving me the option for that.
    plz have a look into the problem and reply me.
    it is urgently needed.
    thank you very much.

    Hi Hetal,
    maybe I have a dirty modification idea.
    Maintain the customer fields like described in customizing.
    Then in CL_DPR_CUST_INCL_REPOSITORY in method GET_GROUPS it determined the fields to be shown on customer fields tab.
    If you make there samll modification and remove the fields, if you are not on the first phase, then it could work too.
    Or in CL_DPR_BSP_S_PRO_TYPE METHOD show_ci_fields you can control the rv_show_ci_fgroups variable !!!!
    Problem here is the ls_show_ci_fgroups table, which is buffered.
    But there is anothe possibility.
    make a copy of the PHADETAIL.BSP See details in note to add customer own fields to BSP views.
    In the BSP logic of the PHADETAIL.BSP you will find a position where the system determines if the TAB will be shown or not.
    In variable controller->mr_phase you have all your necessary information about the phase
    I guess whis will be modification free too. See note 859551
    Regards
    Björn

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • Implementing BADI for PO

    Dear All,
    <b>In the PO creation badi, in create/change/save methods, i need to clear the purchase info record defaulted by SAP.
    Also in create method, PO price needs to be defaulted as the same as PR price, if the reference PR is found. User should be able to change this default price and save the PO.</b>  Hence, I have to restrict this logic only to create method.
    Now i am trying to implement BADI for PO def (ME_PROCESS_PO_CUST) with (impl name: ZMM_POCREATE). For clearing the purchase info record i put the code in 2 different methods
    1. PROCESS_ITEM
      DATA: ls_mepoitem TYPE mepoitem.
      break LAKSHMIS.
    Get the PO item Details
      ls_mepoitem = im_item->get_data( ).
      ls_mepoitem-INFNR = space.
    Set the item data
      CALL METHOD im_item->set_data
        EXPORTING
          im_data = ls_mepoitem.
    2. OPEN
      DATA:
      ls_header   TYPE mepoheader,
      ls_mepoitem TYPE mepoitem.
      break lakshmis.
      CALL METHOD im_header->get_data
        RECEIVING
          re_data = ls_header.
    Get the items for the PO using get items method and change the purch info record to SPACE and set the values using SET_DATA on item.
    <b>However, in both the cases the value doesnot get changed (as i dont see any changing parameters provided). However the documentation of BADI says that we can change the HEADER as well as ITEM information in this BADI.</b>
    Can anyone please suggest, where i am going wrong and what needs to be done in order to achieve the above two requirements.
    Thanks in advance.
    Regards,
    Lakshmi

    BADI
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-serieshttps [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40921dd7-d5cf-2910-1894-bb62316afbd1
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    Rewards if useful.........
    Minal

  • About tab page:not all tab page can view when have many tab page

    It has 12 tab page in a tab canvas,when it is running ,
    not all tab page can view.
    the tab canvas's Tab Attachment Edge is Top.
    How can it view all tab page?
    Pleae help me!
    Thanks.
    Daniel Liang
    2007.3.20
    Message was edited by:
    DanielLiang

    The number of tabs that you can show at once is limited by the size of the canvas. If you have too many tabs, then you can set up one tab to be a 'MORE'. When the user clicks on it, it hides the current set of tabs and displays the set of tabs that were not shown. By having a MORE for each set of tabs, you can toggle between the sets of tabs. The Help documentation describes how to show and hide tabs, and how to set focus to a particular tab.

  • Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

    Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

    Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

  • Adding field in Additional Tab page in CRMD_order

    hi all,
            i want to add a field in the additional tab page in crmd_order Tcode,
    i did it by modifing the screen the strucutures are filled ex CRMT_SALES_BADI,
    CRMT_SALES_COM
    in the CRMC_MAP Tcode i have seen the field is added .
    wat are the further steps do i need to do to get saved and poped in the field value when reterive.
    regards

    As standard the field is set to 1 decimal place.
    You cannot change this value without modifying your system (not recommended)
    I think you can enter more decimal places in the confirmation documents e.g. IW41
    PeteA

  • How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    You can use an extension to set which page to open in a new tab:
    *NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    *My Homepage: https://addons.mozilla.org/firefox/addon/my-homepage/

  • I have tried for new tab page, also done the process from about:config n all, i successfully got the newtab but once i restart firefox i get blank newtab

    i have tried for new tab page, also done the process from about:config n all, i successfully got the newtab but once i restart firefox i get blank newtab not the most visited sites type new tab... plz help

    In case you are using "Clear history when Firefox closes":
    *do not clear the Cache because Firefox will disable the disk cache in such a case
    *do not clear the Browsing History
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    See also:
    *https://support.mozilla.org/kb/thumbnails-on-new-tab-page-are-missing
    The thumbnails on the about:newtab page are generated from the cache, so if the page is not in the cache or otherwise can't or won't (secure pages) be rendered as a PNG image then you will get an empty box.
    *Do not use Clear Recent History to clear data like the cache and the history when you close Firefox
    If there is no history then you get an about:newtab page with empty boxes (no URLs).

  • Additional Tab Page in cProjects

    Hello,
    I just read this post http://forums.sdn.sap.com/thread.jspa?threadID=1646098 which is closed that's why I'm opening a new thread.
    I use the feature to add Additional Tab using custom component because I need drop down list, alv and input field some in my CI include some in a specific table.
    Therefore, I created the class according to the documentation for the non CI fields and it's working fine. But as the thread mentioned at first, I got the same problem and can't figure out how to save automatically CI fields into database.
    Any help will be appreciated
    Regards,
    Kevin

    Hi,
    I think I found a way to make things work.
    in method ON_REPORT_CHANGES I call the get_data_ext, get data from my node and then call set_data_ext. But I specify on each object to call change method is there a way to do that at the change of tab ?
    It's not very dynamic though, because I add a case/when on the node_name because I manage DPO, CTO and ITO object.
    Anyway, I'm good now to continue If you have a better way to do things let me know
    Regards,
    Kevin

  • Copying control for Adress Tab Page

    Hello All ,
    We trying to implement CRM_copy_badi for copying fields. We succeeded to copy customer_h fields.
    Now we are trying to copy fields from Adress tab page of activity .We use Method Activity_h.In structure CS_activity_h we tried to use : name and address field.
    But nothing copyied. Have Smb expirience with copying Address Tab page fields?
    Thank you very much.
    Rika

    Hi,
         Though it is very old post, I am posting some sample code for the reference of others.
    method if_ex_crm_copy_badi~activity_h.
    data : li_input_field_names type crmt_input_field_names.
        cs_activity_h-priority = is_ref_activity_h-priority.
        clear li_input_field_names.
        li_input_field_names-fieldname = 'PRIORITY'.
        li_input_field_names-changeable = ''.
        li_input_field_names-inactive = ''.
        insert li_input_field_names into table ct_inputs_field_names.
    endmethod.

Maybe you are looking for

  • I cannot open quicktime

    Why can't i open "Quick Time" on my laptop?

  • Archive Logs - Relocating

    Good evening to all. A little about my environment: E-Business R12 Oracle Enterprise DB 10.2.0.4.0 Split Tiers Architecture: Server 1 / DB Node (Redhat 5.5 32bit) Server 2 / Apps Node My PROD database resides on a server that roughly has the followin

  • Upgraded from XI 3.0 to Pi.711 - greyed object

    Hi, we just upgraded from XI 3.0 to PI 7.11, in the scenario view i have now some greyed out object, when do a double click on them i'm getting the information that this object is not present. Why do these non-existant objects are now shown, and how

  • SQL Server Unit Tests

    Hi SQL Server Experts, About SQL Server Unit Tests (vide http://msdn.microsoft.com/en-us/library/jj851203(v=vs.103).aspx), please help with inputs on pros and cons of SQL Server Unit Tests. Any ideal recommendation? Thanks

  • Why can't I edit this Numbers spreadsheet?

    I have a Numbers spreadsheet which I created on my Mac. My problem is that when I open it, it will not allow me to make any edits. I can see all the rows, columns, etc. including the content of each cell.... but I cannot select any of these cells. Al