Add additional Javascript code on OOTB sharepoint ribbon button.

Hello,
We have SharePoint Ent and Project Server 2010 SP-2 environment.
So the requirement is like that we have 1 OOTB "Save" ribbon button for Project Server 2010 Project Detail Pages. Which actually Saves and Publishes the project updates into Project Server database.
Here I have to execute javascript code basically to refresh the page right after user click OOTB "Save" button and Projects gets saved into database.
But here I am not getting any pointer how to add this additional Javascript code into commandaction of existing OOTB "Save" ribbon button, so that my Project gets save and publish and also I'll be able to refresh the page right after the save and
publish.
Please help me let me know how can i hook into OOTB SharePoint ribbon button actions.
Thanks !!!
Sachin Vashishth MCTS

Hi,                                                             
It will not easy to add actions to an OOTB ribbon button, there is a workaround that we can replace it with a custom button.
Here is a documentation about Replacing a Button on the Server Ribbon:
http://msdn.microsoft.com/en-us/library/ff407619.aspx
Another two links about create a custom ribbon button for your reference:
http://msdn.microsoft.com/en-us/library/office/ff407458(v=office.14).aspx
http://sharepoint.stackexchange.com/questions/20646/attach-a-javascript-function-to-an-ootb-ribbon-button
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • How to add html/javascript code to all my pages at once

    dear adobers,
    i want to add a javascript code that records my site's visitor count, but in order to do that i have to place it on every single page...so, is there a way i can do that externally like adding it in my style.css or something else that saves time ? please help

     or ⌘ key
    http://en.wikipedia.org/wiki/Command_key#The_origin_of_.22.E2.8C.98.22 - command key (Wikipedia)

  • How to add a new Line in Labeltext of Ribbon button added in runtime ?

    HI , i'm adding a new buuton ribbon to an existing Tab (Edit Tab) , i use the AliasTemplate "o1" , and this is my button :
    The text "Mettre a jour la fiche a partir de la concept Note " is very long i want to add a new line after "a partir" so i will have two lines , this is what i tried but it dosent worked :
    private string btnUpdateForm = @"<Button
    Id=""Ribbon.Tab.GRP.ButtonUpdate""
    Sequence=""17""
    Image32by32=""/_layouts/images/Aidimpact.RibbonWorkflkow/export-icon.png""
    Description=""""
    Command=""Ribbon.Tab.GRP.ButtonUpdate.Click""
    LabelText=""ValValUpdateLabel1
    ValValUpdateLabel2""
    TemplateAlias=""o1""/>";
    private void AddBtnUpdate()
    // Get the current instance of the ribbon on the page.
    Microsoft.Web.CommandUI.Ribbon ribbon = SPRibbon.GetCurrent(this.Page);
    // Prepare an XmlDocument object used to load the ribbon extensions.
    XmlDocument ribbonExtensions = new XmlDocument();
    // Load the contextual tab XML and register the ribbon extension.
    int intLCID = System.Threading.Thread.CurrentThread.CurrentUICulture.LCID;
    if (intLCID == 1036)
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel1", "Mettre à jour la fiche à partir");
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel2", "\n \r\n de la Concept Note");
    else
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel", "Update the form from Concept Note");
    ribbonExtensions.LoadXml(this.btnUpdateForm);
    ribbon.RegisterDataExtension(ribbonExtensions.FirstChild, "Ribbon.ListForm.Edit.Actions.Controls._children");
    Thanks for advance

    Hi,
       i replicated issue , and \n is not affective. So i guess what option you can try is to keep text small and use Alt to show full text. 
    Regards,
    Milan Chauhan
    LinkedIn
    |
    Twitter | Blog
    | Email

  • Security flaw-To use CSOM/Javascript code for Custom Office365(Sharepoint Online) application

    Hi,
    I've developed custom application in Office365(Sharepoint Online) using CSOM/Javascript. Security team from client side has been reported one major issue to the our application that any end user can comment our CSOM/Javascript code and bypass the validation
     or can update / insert into sharepoint list item using developer tool/ Console in Google Chrome(F12 Key).
    Also end user can write his own separate code in console of Google Chrome (Developer Tool / F12) and can update / insert  into Sharepoint List.
    Note:- End user has Add, Edit, View permission on all Sharepoint List.
    This is one major security flaw of the Sharepoint/Office365 to use CSOM /Javascript for writing code, to overcome this issue could you please provide me some solution.
    Your help would be greatly appreciated!!!  
    Looking for reply.
    Thanks,
    Mahesh Sherkar
    Web: http://Mahesh-Sherkar.com
    Email: [email protected]

    Hello Paras, 
    Did you get any solution for this? I think your website was implemented this form. Can you please tell me the way how I can achieve it? I am also facing same problem. Please reply me as early as possible.
    Thanks,
    Mihir

  • [SharePoint Ribbon] Add SplitButton needs Command="InsertImage"!!

    I am adding SplitButton to the Media Group in the Interst Tab. However, if i supply Command="InsertImage", then the SplitButton works just fine, if i remove it the SplitButton gets disabled! The problem is that i have a forced item in the menu called "From
    SharePoint", although i have two buttons only in my SplitButton, but it appears 3.
    Here is my code for the SplitButton:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <CustomAction
          Id="COB.SharePoint.Ribbon.NewGroupInExistingTab"
          Location="CommandUI.Ribbon">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.EditingTools.CPInsert.Media.Controls._children">
                  <SplitButton
                      Id="Ribbon.EditingTools.CPInsert.Video"
    Command="InsertImage"
                      CommandMenuOpen="InsertImageMenuOpen"
                      CommandMenuClose="InsertImageMenuClose"
                      Image16by16="/_layouts/images/lg_icwmd.gif"
                      Image32by32="/_layouts/images/lg_icwmd.gif"
                      LabelText="Metro Blogs Videos"
                      MenuAlt="Metro Blogs Videos"
                      Sequence="20"
                      TemplateAlias="o1"
                      ToolTipTitle="Metro Blogs Videos"
                      ToolTipDescription="Metro Blogs Videos">
                    <Menu Id="Ribbon.EditingTools.CPInsert.Media.Image.Menu">
                      <MenuSection
                        Id="Ribbon.EditingTools.CPInsert.Media.Image.Menu.Video"
                        DisplayMode="Menu"
                        Sequence="10">
                        <Controls Id="Ribbon.EditingTools.CPInsert.Media.Image.Menu.Image.Controls">
                          <Button
                            Id="Ribbon.EditingTools.CPInsert.Media.Image.Menu.Image.FromComputer"
                            Sequence="10"
                            Command="UploadVideoFromComputer"
                            LabelText="Insert ImageFrom Computer"
                            ToolTipTitle="Insert ImageFrom Computer"
                            ToolTipDescription="Insert ImageFrom Computer"/>
                          <Button
                            Id="Ribbon.EditingTools.CPInsert.Media.Image.Menu.Image.FromAddress"
                            Sequence="20"
                            Command="UploadVideoFromAddress"
                            LabelText="Insert Video From Address"
                            ToolTipTitle="Insert Video From Address"
                            ToolTipDescription="Insert Video From Address"/>
                        </Controls>
                      </MenuSection>
                    </Menu>
                  </SplitButton>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler
            Command="UploadVideoFromComputer"
            CommandAction="javascript:UploadVideoFromComputer();"/>
            <CommandUIHandler
            Command="UploadVideoFromAddress"
            CommandAction="javascript:UploadVideoFromAddress();"/>
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
      <CustomAction
        Id="UploadVideo.Script"
        Location="ScriptLink"
        ScriptSrc ="/_layouts/1033/MicrosoftServices.Social.MetroBlogs/JavaScripts/RibbonCustomActions.js"/>
    </Elements>

    hi wael
    if you don't supply command, your button cannot be handled. you most take any command name and then define command handler for that command in CommandUIHandlers part of your customaction, or use standard commands like
    InsertImage , that implemented in sharepoint.
    sample
    <SplitButton
                      Id="Ribbon.EditingTools.CPInsert.Video"
    Command="testCommand"
                      CommandMenuOpen="InsertImageMenuOpen"
    </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler
            Command="testCommand"
            CommandAction="javascript:testCommandFunc();"/>
            <CommandUIHandler
    and then define testCommandFunc in a JavaScript file and attache that file to your page.
    or use sharepoint ecma standard functions in custom action like this:
    </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler
            Command="testCommand"
            CommandAction="javascript:alert('Label handler');"/>
            <CommandUIHandler

  • How to add additional fields to zreport which contains standard report code

    Hi Experts,
    In order to add additional fields to standard report i copied the code into zreport but i am unable to  add additonal field into report because the code is looking so complex.
    standard report:AQZZ/SAPQUERY/FKF1============
         or
    sapmenu->accounting->financial accounting->accounts payable->information system->reports for accounts payable accounting->master data->S_ALR_87012087-Addresslist.
    Additional feilds to add is :Region,company code,country
    Please let me know how toidentify ALV and guide me how to solve this.
    Regards,
    naresh.

    Hello Naresh,
    First check whether these three fields are available in the text elements area.
    Please write your code in the subroutine %comp_ldesc.
    Repeat the code for your three new fields
    perform ldesc(rsaqexce) using 'G00010000X010       00  A1'
        %txt1 %txt2 %txt3 'LFA1-LIFNR' LFA1-LIFNR 'LFA1-LIFNR'.
      read table %textpool_langu into %textpool_langu_line
                                 with key ID = 'I' key = 'A01'.
      if sy-subrc is initial. %txt1 = %textpool_langu_line-entry.
      else. %txt1 = %txt_unknown.
      endif.
    So this subroutine will give you the basic list. Now Program is creating ALV with this basic list. So I think you don't need to worry about that. Please have a thorugh look at the code over this perform, and write accordingly.
    I think this is enoogh.
    Please update if you got the solution, which will be informative for others.
    regards,
    Antony Thomas
    Edited by: Antony Thomas on Jul 27, 2010 7:57 AM

  • Apple ID billing information continually adds additional digits to my zip code. This causes my credit card to be invalid, how do I fix this?

    As the title says, when I try to update my billing information the software adds additional digits to my zip code. This is all fine and dandy, it matches to where I live. But my bank only uses the standard five digits and when it adds the additional digits they will not match up correctly despite the first five being matched. This causes an endless and stupidly frustrating cycle that I cannot solve. I tried to find a phone number to call and sort this out but of course that doesn't exist. Any help would be great.

    Hi ...
    Might be something here >  iTunes Store: My credit card's security code or zip code does not match my bank's records
    And you can explain the situation to Apple here > Apple - Support - Mac App Store - Contact Support
    BTW, billing policy is the same for the iTunes and the Mac App Stores.

  • Javascript code to enable an ADD button to create duplicate tables and pages for multiple entries

    I am using Adobe XI Pro. I have created a multi-page fillable pdf questionnaire that I want to make interactive to the user. Within each page, I have multiple tables that can have ADD buttons to duplicate the table if the client wants more than one test. I would like this table to insert directly below the previous table and they may be able to add upto 5 of these table.
    I also have a couple pages in the questionnaire that require duplication for multiple samples. Eg. One page per sample, and I may have upto 10 samples. I would like the javascript to have an ADD button and then add each page behind the previous related sheet (Original and duplicates together)
    I am not a javascript coder so I would need some examples and a walk through. I did take some developer courses in engineering but it has been almost two decades
    I have search on several forums and cannot find a good resource so I appreciate the help.
    Sincerely
    Tara

    Some of what you want to do can be done using template features and a bit of JavaScript, but if your users will be using Reader, version 11 will be required. You can dynamically add new pages, but adding new tables to existing pages with reflow of content that comes after is not possible with a form created in Acrobat. If you have access to Adobe's LiveCycle Designer form creation software, you can create what's known as a dynamic XFA form that can do all of what you want. You can ask in the LiveCycle Designer forum for more information: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es?view=discussions

  • How to edit an existing page in SharePoint designer and add custom javascript

    When I edit an existing page in SharePoint Designer to add JavaScript and save, I get a dialog with message
    "Content in the embedded form field may be changed by the server to remove unsafe content. Do you want to reload you page to see the results of the save?"
    When I click OK it reverts my change. How do I add custom JavaScript to the page?

    Try not to push your changes through SharePoint Designer (SPD).
    We had severe problems with SPD saving page layouts in SharePoint, so you may use SPD to edit the page but not save it.
    To save it, check it out from browser, upload and overwrite then publish it.
    THosE wHo doN'T apPreCiATe LiFe, DOn't DeSerVe iT

  • Javascript code to add current date and time in a textfield on click of a button

    Hi,
    I have done a lot of googling .....But could not found a viable solution to populate a text field in LC Designer ES 8.2 and above at runtime with the current date/time. on click of a button. I need Javascript code and not formcalc.
    Please help .
    Thanks
    Kapil

    I have found a solution for you - 3 variants for you:
    Textfeld1.rawValue = util.printd("dd.mm.yyyy HH:MM", new Date());
    Textfeld2.rawValue = util.printd("dddd d. mmmm yyyy HH:MM ", new Date());
    Textfeld3.rawValue = util.printd("date{EEEE, D. MMMM YYYY} time(de){HH:MM:SS Z}", new Date(), true);
    I hope this is helpfull,
    Mandy

  • Adding javascript code into user actions assign task operation

    Hi all,
         I've a severe issue , i searched for a solution and nothing returned till my mind blown , i made a process and put a lot of assign task operations with user actions {"Approve","Reject"} what i want to do is when the user hits Reject action a pop-up window is opening to him to put his rejection reasons / justifications, till now i couldn't find a solution or an article writing about a solution for it, so your help is urgently required.
    Thanks in advance & have a nice day.

    Hi,                                                             
    It will not easy to add actions to an OOTB ribbon button, there is a workaround that we can replace it with a custom button.
    Here is a documentation about Replacing a Button on the Server Ribbon:
    http://msdn.microsoft.com/en-us/library/ff407619.aspx
    Another two links about create a custom ribbon button for your reference:
    http://msdn.microsoft.com/en-us/library/office/ff407458(v=office.14).aspx
    http://sharepoint.stackexchange.com/questions/20646/attach-a-javascript-function-to-an-ootb-ribbon-button
    Best regards
    Patrick Liang
    TechNet Community Support

  • How do I change multiple list items at once in a SharePoint list with ribbon button

    Hi
    I have a sharepoint list and a ribbon button that open a dialog box with buttons to set color on a row
    The problem is that i can only selecet one item at once to set the color. 
    How can i do so it could set all or a couple items att once to the color i want 
    I want to do this with javascript
    here is the code i use to get the item id and the color code is in a seperate js file
    'use strict';
    var clientContext, hostweburl, parentContext, parentWeb, selectedItem, itemId, listId;
    clientContext = new SP.ClientContext.get_current();
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    listId = decodeURIComponent(getQueryStringParameter("SPListId"));
    itemId = decodeURIComponent(getQueryStringParameter("SPListItemId"));
    parentContext = new SP.AppContextSite(clientContext, hostweburl);
    parentWeb = parentContext.get_web();
    selectedItem = parentWeb.get_lists().getById(listId).getItemById(itemId);
    $(document).ready(function () {
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(OnSuccess, OnFail);
    function OnSuccess() {
    $("#Blue").click(function () {
    selectedItem.set_item('Color', 'Blue');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Green").click(function () {
    selectedItem.set_item('Color', 'Green');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Red").click(function () {
    selectedItem.set_item('Color', 'Red');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Transparent").click(function () {
    selectedItem.set_item('Color', 'No Color');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });

    Check if below can help you
    http://sp2010batchedit.codeplex.com/
    http://sharepoint.stackexchange.com/questions/35935/use-view-ribbon-custom-action-on-multiple-list-items
    http://webcache.googleusercontent.com/search?q=cache:XqMO-PRLHQIJ:dannyjessee.com/blog/index.php/2014/06/enabling-custom-ribbon-buttons-dynamically-based-on-multiple-selected-item-values-using-refreshcommandui-and-jsom/+&cd=1&hl=en&ct=clnk&gl=in
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="DannyJessee.TestCustomAction"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="DannyJessee.MarkItemsFinishedButton"
    Command="cmdMarkItemsFinished"
    Image16by16="/_layouts/images/kpinormallarge-0.gif"
    Image32by32="/_layouts/images/kpinormallarge-0.gif"
    LabelText="Mark as Finished"
    TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="cmdMarkItemsFinished"
    CommandAction="javascript:MarkItemsFinished();"
    EnabledScript="javascript:EnableFinishedButton();">
    </CommandUIHandler>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <CustomAction Id="DannyJessee.TestScript"
    Location="ScriptLink"
    ScriptSrc="/_layouts/15/CustomRibbonButton/CustomAction.js" />
    </Elements>
    If this helped you resolve your issue, please mark it Answered

  • Javascript Code Assist Delay Time

    How can I increase the delay time before code assist pops up when editing javascript in a .cfm file?
    Under Preferences:Coldfusion:Editor Profiles:Editor:Code Assist
    there is a setting "Delay before showing Code Assist" but changing this setting does NOT alter the javascript pop up delay.
    Under Preferences:HTML:Editors:JavaScript:Code Assist
    there is no similar setting.
    So maybe I can edit this setting in a config file or something? I'm using coldfusion builder 1.0.0.271911 on snow leopard 10.6.3
    thanks.

    do I download Aptana plugin?
    OMG please NO! Aptana is a bloated pig, and is what made CFBuilder 2 so slow.
    I would suggest putting your JavaScript code in a separate file from your ColdFusion page, and using the <script> tag to load it in.  If you need to pass ColdFusion variables into JavaScript, put a small <script> block on the CFML page wrapped in <cfoutput> just to create and populate the JavaScript variables, then add a second <script> tag to load your external JavaScript file.
    By keeping your JavaScript separate from CFML code you achieve multiple benefits:
    The built-in JavaScript parser/syntax highlighter will actually work, as those CF Builder features are somewhat dependent on recognizing the file extension to know which parser to use.
    Maintenance of your application will be easier, because you don't have a mixture of CFML and JS code in the same file, and thus the files will be smaller and more targeted.
    You can run your JavaScript file through "linters" to validate syntax.
    You can minify your external JavaScript code files for better performance.
    If you use build tools such as Grunt or Gulp, you can automate 3 and 4 without potentially breaking any CFML code in the process.
    Probably additional benefits I'm not thinking of at the moment (someone will chime in I'm sure).
    HTH,
    -Carl V.

  • Override "Email a Page link" in ribbon button functionality in SharePoint 2013

    Hi,
    I want to override "Email a Page link" ribbon button functionality on the ribbon control.
      <CustomAction Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Location="CommandUI.Ribbon"                
                    Title="Custom Email this page">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.Share.EmailPageLink">
              <Group
              Id="Ribbon.WikiPageTab.Share"
              Sequence="30"
              Command="ShareGroup"
              Description=""
              Title="$Resources:core,cui_GrpShare;"
              Image32by32Popup="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32PopupTop="-137" Image32by32PopupLeft="-103"
              Template="Ribbon.Templates.Flexible2"
              >
                <Controls Id="Ribbon.WikiPageTab.Share.Controls">
                  <Button
                    Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Sequence="10"
                    Command="CustomEmailPageUrl"
                    Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-115" Image16by16Left="-19"
                    Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-137" Image32by32Left="-511"
                    LabelText="$Resources:core,cui_ButEmailLink;"
                    ToolTipTitle="$Resources:core,cui_ButEmailLink;"
                    ToolTipDescription="$Resources:core,cui_STT_ButEmailLinkPage;"
                    TemplateAlias="o1"
                   />
                </Controls>
                  </Group>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CustomEmailPageUrl" CommandAction="javascript:alert('Hello, world');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    According to your post, my understanding is that you wanted to override the “E-mail a Link” button on the Ribbon.
    I had created a simple demo to override the “E-mail a Link” button on the Ribbon, you can have a look at it.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.OverrideEmailLinkButton" Location="CommandUI.Ribbon" RegistrationId="101" RegistrationType="List" Title="Display the UniqueId for the list item.">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Library.Share.EmailLibraryLink">
    <Button Id="Ribbon.Library.Share.EmailLibraryLink.ReplacementButton" Command="ReplacementButtonCommand" Image16by16="http://s10.postimage.org/lhar0oijp/U16.png" Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png" LabelText="Replaced Button" TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ReplacementButtonCommand" CommandAction="javascript:alert('This button has been replaced.');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference:http://msdn.microsoft.com/en-us/library/office/ff407619(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • BP - Add additional Identification type as BPCCOD in Customer during replication

    Hi All,
    We have transferred all business partner from R/3 to CRM via initial load. We have Sold to party & Ship to party which are also assigned the BP role of Financial Partner and being used to create the Dispute Cases however we are unable to create the dispute cases in CRM system and also unable to search open item as Identification type BPCCOD with number as Logical system:Client is missing in the Financial Partner. As far as i know as per the SAP Standard functionality during customer download in CRM ID Type CRM002 gets added with ECC Account number by default.
    So is there any way through which i can get additional ID Type BPCCOD with Number Logical system:Client assigned to Customers during replication and also if there is any standard program to achieve this functionality?
    Thank you
    Anand Kumar

    Hi Anand,
    As per my understanding, you want to add additional Identification type and number while downloading the customer from ECC (Initial load).
    Go to tcode BUPA_CALL_FU.
    choose event CRMIN and refer BUPA_INBOUND_MAIN_CENTRAL FM as an example.
    Copy the FM and create a new FM.
    This FM has the changing parameter of structure BUS_EI_EXTERN.
    Add the code and Modify the data CENTRAL_DATA-IDENT_NUMBER as per your requirement.
    then maintain your function module in BUPA_CALL_FU in the right sequence (after standard FM call).
    I hope this will help you.
    Regards,
    Bala

Maybe you are looking for