Mass update of a custom field at Product Revenue level

We are trying to update a custom field at Product Revenue level using the Opportunity Web Service. The webservice call is timing out as we have thousands of Opportunities.
I would appreciate if anybody gives input on how we can massively update a custom field using Opportunity Web Service.
OR
Is there a way to mass update a custom field at Product Revenue level other than using a web service.
Thanks for your help!
-purna

If you are not very much obsessed with Webservices, the other workaround is the Data Loader Tool. It was discussed earlier in this forum.
Pl refer-
Re: Product Revebue Updation
Hope this helps.
Rgds,
Amit Sahu

Similar Messages

  • Search on the custom field in Product doesn't work

    Hello everyone!
    Lately I was configuring additional custom field for product header and succeed. Then I wanted to add this field as a search criteria for product search and I followed help on help.sap.com and note 1026956. Here are the steps I did:
    1. I've extended structures CRMT_PRIL_QUERY_ADVSEARCH_PROD and CRMT_PRIL_QUERY_ADVSEARCH_IOBJ with my custom attribute.
    2. I went to Master Data->Products-> Basic Settings ->Add Attributes to Search Structure and added my custom attribute there.
    3. Then I found out that it's not enough and I should perform additional steps not included in note and help. I did these steps suggested by Shanthala Kudva in thread [Can't enable the extendable set type attributes in product search UI|Can't enable the extendable set type attributes in product search UI;.
    After that I was able to configure UI and see the search criteria, but when I try to search using custom field I get error message: "Search criteria PRODUCT_ANKER.ZCAT_NUMBER in scenario CL_CRM_PRSEARCHSCENARIO_GETLST not included in tool/filter"
    How to find out the reason of this behavior? Did I miss something in configuration?
    P.S. Set type called ZPRODUCT, attribute ZCATNUMBER. In structures appended component called ZCAT_NUMBER with component type ZCATNUMBER. In table CRMC_PRSEA_ATTR the record has the attributename ZCAT_NUMBER, attribute_id ZCATNUMBER. Maybe I messed up with that?
    Regards,
    Alex.

    Hi Alexander,
    I know this is an old post, but currently i am facing the same issue of not being able to see my custom fields in the BSP Component Workbench.
    I tried to follow all steps maintained in SAP Note # 10269656 & 1541480, but no luck.
    Can you please tell me what do you mean by "Should not add the extended attributes directly to Search Structure, as SAP expects the attributes to be in APPEND structure"? Can you please let me know how the values are to be maintained in the Search structure table "CRMC_PRSEA_ATTR", which is also accessed using the IMG Meanu path "Master Data -->  Products --> Basic Settings --> Add Attributes to Search Structure"
    Appreciate your help.
    Suresh Karri

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 3 .
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Adding custom field to product master general tab

    Hi All,
             i want to add a custom field in Product master creation (commpr01) ,could any one help me out on this !
    Many thanks and Regards.

    Hi
    You can create field using EEWB or follow the following simple process
    1. Create the required field as " attribute" using the tcode COMM_ATTRSET
    2. Assign it to a set type using the same tcode COMM_ATTRSET
    3. Assign this set type to the product category usign the tcode COMM_HIERARCHY in the set type tab and use the view ID as "BASIC"
    The field will then be available to you in the product master to the products with are created with the named product category
    Hope this helps
    Regards
    Rekha Dadwal
    Edited by: Rekha Dadwal on Mar 19, 2008 1:19 PM

  • Add a custom field for Product Allocation

    Hi experts,
    I have copied S140 to S501 to add a custom field for product allocation.
    I have added the custom field in MCVBAKUSR, so it is visible in MCVBAK.
    However, I don't know whether I can populate data into custom field. I searched in forum, someone said it can be done in SAP enhancement MCS10001. But it can't work. I have tried to place a break-point in the code, and seems that throughout the order creation and product allocation check, it hasn't get into the codings in enhancement MCS10001.
    Can anyone give me some idea on it? Thanks.

    You should have simply extended VBAK table. It would've taken care of extending MCVBAK, etc. Then VBAK field would have to be populated in a user exit USEREXIT_CHECK_VBAK in MV45AFZB, when a document is being created/changed.

  • Map Profit Center as custom field to product

    Hi,
    We want to map Profit Center(35 characters) to a custom field in product for some analysis. We want to map it to Custom Attribute 2 (XARLPROA2) this is a 40 character long field.
    We do not want to see this field in Reports in UI. Please let us know is this the right approach or would you suggest some other field to which wecan map Profit Center.
    Regards
    Neel

    Hi Neel
    I am assuming that you are referring to display attribute and not navigation attribute that needs to be added to product. Yes, thats the same as adding an attribute in standard BW way.
    And then, in the SPM UI you can display attributes in the contextual menu of a particular product.
    But if you do need to do analysis on it then on top of adding the attribute, you need to flag it as navigation and then bring it in the following:
    The respective cube(s) 0ASA_C*
    Add it into the multiprovider 0ASA_MP01
    Add it to the Query
    Log into SPM UI and refresh all data sources (make sure that no other users are logged in at that time), log out
    Clear browser cache and log back in
    Create report with that nav att
    Hope that helps!
    Regards
    Rajesh

  • Update ProjectResource/EnterpriseResource custom fields

    Does anyone know if it's possible to update an enterprise custom field for a ProjectResource or EnterpriseResource using CSOM or JSOM?
    Thanks,
    Roland

    Hi Roland,
    As far as I know this is not possible.
    http://parthrawal.wordpress.com/2014/02/11/update-resources-using-csom-in-project-online/
    https://social.msdn.microsoft.com/Forums/en-US/8cc94344-9462-4cee-8490-6083c35f3de1/user-resource-custom-field-update-using-csom?forum=project2010custprog
    Hope this helps

  • Update Opportunity Totals button on Opprtunity Product Revenue line items

    Hello,
    In our application, the sales process is managed at the product revenue level. Each product line item goes through various stages and could be in the intiall state or get cancelled as well. I need to exclude these product revenue line items while updating the Revenue amount at the Opprtunity Header. With the <Update Opportunity Totals> button, the total is updated at the header irespective of the product reveneue status. I think I need to build a custome webservice to do that.
    I need to find out if the <Update Opportunity Totals> button can be made read-only or removed based on roles and priveledges.
    Thanks

    Robin,
    You can't turn off the button, but OOTB functionality can help you manage this. In our case, we created a workflow for the Revenue Record Type. The workflow watches for changes to the status of any Opty Revenue record, via the "Before modifed record saved" trigger event. When a user changes the status of an Opportunity Product Line Item to a specified value, "Lost" in our case, the workflow automatically updates the Quantity value at the line item to 0, and the Revenue and Expected Revenue values at the Opty Product Line Item level are calculated to be zero accordingly. When the user updates the totals at the Opty level, the totals inlcude only the records that have revenue associated with them at the Opty Prod Line Item level.
    I assume your requirements are similar and the same approach could be used in your case.
    Good Luck,
    Thom

  • Query : Custom field at line item level in SRM 7.0 .

    I was going through a document which instructs on how to add a custom field at line item level in SRM 7.0.
    I found this code :
    CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
    EXPORTING
    I_GUID = IV_DOC_GUID
    I_WITH_ITEMDATA = 'X'
    TABLES
    E_ITEM = LT_ITEM
    E_MESSAGES = LT_MESSAGES
    E_STATUS = LT_STATUS. . 
    LOOP AT LT_STATUS INTO WA_STATUS.
    IF WA_STATUS-STAT EQ 'I1015' AND WA_STATUS-INACT IS INITIAL.
    LV_STATUS_APPROVE = 'X'.
    ENDIF.
    ENDLOOP.
    I wanted to know what is 'I1015'  and what is its significance .
    please advise .
    Ambar

    HI
    This speaks about the status of the Cart. This means that the Status of the Cart is AWAITING APPROVAL...I dont know which document you have gone through but procedure for adding a Custom Field in SRM 7.0 is:
    1. Create a Custom field in the Database in SRM. Preferrably add the field in an include and extend thta include to the table in SE11.
    2. Go to Portal Login of SRM and right click the part of the screen where you want to add the custom field. Click on More Field Help. The popup will give you the name of WebDynpro Applicaiton which controls that area.
    3. Login to SRM via GUI and display the webdynpro application using SE80. Enhance the Webdynpro application.
    4. Add the custom field to the Context of the WebDynpro Application View. You will be selecting the field from the database table while adding the custom field to the context
    5. Add the field at the specified place in Layout Tab of the WebDynpro View,
    6. Create a binding between the Layout Field and the Context
    7. Activate the changes.... you will see the field in Portal login of SRM....
    For more details , refer to the Webdynpro help of the application...
    Regards
    Virender Singh

  • Update values of custom fields in table HRPAD506-Additional Data for PAD506

    Hi Experts,
    my requirement is write a report program to upload a file with records.
    I have to capture this records into an internal table and have to update values of 5 custom fields based on ADATANR.
    Can anyone suggest me about any FM or any way of doing this.
    Urgent requirement.
    Will HRIQ_RFC_BOOKING_CHANGE help.
    thankx.
    Duttad.

    hi,
    Above mentioned that when the values are entered in the customised fields they are not updating in the to the table mara.
    so, the program name and screen number which you are configuring in the spro, in that program name and in that screen number code it as below:
    (you could find the field statements in that screen for the standard fields like FIELD MARA-MEINS.)
    for example:
    PROCESS BEFORE OUTPUT.
           PROCESS AFTER INPUT.
          FIELD MARA-zzfieldname.
    Refer the oss note : 38229
    Thanks and regards.

  • Mass updating a multi-valued field- to append the new value

    I have a question on multi-valued fields:
    I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc. 
    A store can have 4 MLBs, 2 soccer teams, and so on. 
    Say, there is a new MLB that came out called Mexico MLB team. 
    A user wanted to add this to 30 stores using a mass update.  But remember the 30 stores can have totally different sets of values in the multi-valued fields.
    How can I add this new value while still preserving the MLB team’s values of each store record?
    Does MDM not support this feature?
    I am using SAP MDM SP6
    An answer would be highly appreciated.
    Thanks
    Savi

    Savi,
    I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
    Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
    You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
    Hope this helps
    If this answers your question, please kindly reward the points.
    Regards
    Dawei

  • Introduction of additional customer fields in productive system

    Dear experts,
    in the SAP help and OSS-notes (SAP Note 891144) it is strongly recommended NOT to introduce additonal customer fields for the new General Ledger Accounting in already productive systems. I would like to know if this because of technical  reasons , e.g. field creation or assignment is technically not possible because transaction data is already in the system, or because of  the problemsfor the reporting when the fields are not correctly filled .
    Thanks a lot.

    Hello,
    In my opinion, the purpose of this OSS note 891144 is to inform about the risk when you Define Document Splitting Characteristics for General Ledger. In that customizing point, the 2 fields zero balance and mandatory field must be ticked in order to avoid any consistancies related mainly to document posting without profit center, Bus Area or Segment ...
    If document splitting is activated, means document must be posted with profit center (or Bus Area or Segment if they are activated) information in order to have correct info and correct reports
    But please contact SAP directly if you have problems regarding this
    Best regards
    Tarek
    Edited by: Tarek AYACHI on Sep 2, 2011 5:47 PM

  • Oim reconciliation not update after adding custom fields

    In Oracle Identity Manager 11.1.2 with connector
    Connector for Oracle Internet Directory Release 11.1.1
    I reconciliated users LDAP to oim, and after I add custom fields for target reconciliation, and I try to update these users with the new custom fields resend reconciliation event, this new custom fields displays in the event reconciliation page and do not in the user form for LDAP.
    I already create the new form with the news custom fields associated with the application Instance.

    Solution:
    FVC (Form Version Control Utility) comes with OIM which updates the form which are associated with existing users.
    Using the Form Version Control Utility - 11g Release 2 (11.1.2)
    OR
    Update PROCESS_FORM_TABLE set PROCESS_FORM_TABLE_VERSION =(Select SDK_ACTIVE_VERSION from SDK where SDK_NAME='PROCESS_FORM_TABLE');COMMIT;NOTE:Replace PROCESS_FORM_TABLE with actual process form i.e. "UD_XXX"

  • Unable to update MARA table custom field in Material master

    Hi all,
    I have added one custom field in MM01,Basic View 2.
    For that i have apended that field in MARA table and created one subscreen for that.
    This field is visible in MM02/MM01/MM03 in basic data view 2 .
    The issue is that we are not able to save values in MARA table which we entered in this field.
    I cheked earliar in SDN but couldn't get the proper solution.
    i cheked the below available forum discussion link but couldn't get th proper solution.
    In material master How to add a new field on Basic data 1 view
    Regards,
    Amit

    Hi,
    please trye this :
    Please make sure u implemented: methods PUT_DATA_TO_SCREEN and GET_DATA_FROM_SCREEN as they are  required for data transport. These methods are called from within the program of the application at PBO or PAI .
    See below example code:
    PBO:
    MODULE initialize OUTPUT.
    CLEAR: sflight, ok_code.
    IF exit IS INITIAL.
    CALL METHOD cl_exithandler=>get_instance
    CHANGING
    instance = exit.
    ENDIF.
    CALL METHOD cl_exithandler=>set_instance_for_subscreen
    EXPORTING
    instance = exit.
    ENDMODULE.
    The factory method is used to create an instance of the adapter class. You then declare the instance using the public static method SET_INSTANCE_FOR_SUBSCREEN to allow the data for display on the screen to be used in the function group of the user or in the module pool.
    MODULE data_for_subscreen OUTPUT.
    program = sy-repid.
    dynpro = sy-dynnr.
    CALL METHOD cl_exithandler=>get_prog_and_dynp_for_subscr
    EXPORTING
    exit_name = 'BADI_SCREEN'
    calling_program = program
    calling_dynpro = dynpro
    subscreen_area = 'SUB'
    IMPORTING
    called_program = program
    called_dynpro = dynpro.
    CALL METHOD exit->put_data_to_screen
    EXPORTING
    flight = sflight
    EXCEPTIONS
    reserved = 01.
    ENDMODULE.
    PAI:
    MODULE user_command_0200 INPUT.
    CASE save_ok.
    WHEN 'BACK'.
    SET SCREEN 100.
    WHEN 'SAVE'.
    PERFORM save_flights.
    WHEN '+EXT'.
    CALL METHOD exit->get_data_from_screen
    IMPORTING
    flight = sflight
    EXCEPTIONS
    reserved = 01.
    ENDCASE.
    ENDMODULE.
    The method GET_PROG_AND_DYNP_FOR_SUBSCR and the input/output parameters specified above are used to determine the name of the customer program and the name of the subscreen. The method PUT_DATA_TO_SCREEN which is called at PBO as well as the method GET_DATA_FROM_SCREEN which is called at PAI are used to transport the data to be displayed.
    These methods are implemented by the user:
    When you define a screen enhancement, you are strongly recommended to provide sample code for the methods PUT_DATA_TO_SCREEN and GET_DATA_FROM_SCREEN. This code is automatically copied when you create an implementation and can be added to if required. The user of the BAdI definition should not be responsible for the data transport.
    regards,
    ..Pradeep

  • Use of FM BAPI_EQUI_CHANGE to update equipement with customer fields

    Hello all
    I have extended the EQUI table with customer fields using customer include structure and append structure.
    I want to populate these customer fields with BAPI BAPI_EQUI_CHANGE Or BAPI_EQUI_CREATE.
    So I have extended the structure ITOB appending the same customer fields as in table EQUI.
    I have enhanced the function MAPXI_BAPI_ITOB_TO_ITOB which map data from structure BAPI_ITOB to internal structure ITOB.
    But the fields are not populated ?
    Has someone already the BAPI in that way ?
    Thanks
    Jerome

    Hello all
    I have extended the EQUI table with customer fields using customer include structure and append structure.
    I want to populate these customer fields with BAPI BAPI_EQUI_CHANGE Or BAPI_EQUI_CREATE.
    So I have extended the structure ITOB appending the same customer fields as in table EQUI.
    I have enhanced the function MAPXI_BAPI_ITOB_TO_ITOB which map data from structure BAPI_ITOB to internal structure ITOB.
    But the fields are not populated ?
    Has someone already the BAPI in that way ?
    Thanks
    Jerome

Maybe you are looking for

  • I have a doubt?

    i'm doing the pitagoras theorem in java, to calculate one hipotenosa. but i don't know how to calculate the root square in java. do you know it? thanks

  • Reg : material Po order

    Hi Floks, i hope it s very helpful group to findout solutions of SAP. My requirement is to transfer Purchase order from R/3 to Exteranal sytem via EDI /ALE . how is it possible .what are the various step involved in this creteria .could u help me out

  • KeyStroke Event Handler Registration

    Any idea why the two cases in the sample code below have different output??? The different key registration methods seem to work for other keystrokes like ctrl-v and ctrl-c, but not Home and End.: import javax.swing.*; import java.awt.*; import java.

  • Command line control of AppleVNC or ARD?

    I have a headless G3 running that is running the AppleVNC server and I want to shut it off via ssh. I've misplaced the password and I want to use OSXvnc instead. The problem is it seems that AppleVNC is supervised somehow, so whenever I try to kill i

  • Payload via the message interface

    Hi all, Is it possible to get the payload/log information for the XI message from the table SXMSPMAST via the message interface name ? Thanks for your help