Adding field in BADI CRM_COND_COM_BADI

Hi,
After adding a field in FIELD CATALOG of PRICING(SPRO) I have to add the field in BADI CRM_COND_COM_BADI.
Can anyone tell me how to add the field in BADI.
Thanks in Advance

Hi Ginger,
After adding the field on the field catalog, the standard structure:CRMT_ACS_I_COM is automatically updated. On BAdI:CRM_COND_COM_BADI, the changing parameter CS_ACS_I_COM is prepared and this is based by CRMT_ACS_I_COM. So you can fill the CS_ACS_I_COM on BAdI. So the field will be transfered to IPC.
Regards,
Masayuki

Similar Messages

  • Adding Field through BADI

    Hi All,
    I want to add a field using standard BADI HRHAP00_ADD_HEADER in  Performance Apprisal. I am using ECC 6.0. Can any one pls let me know how to modify the standard badi.
    Thanks,
    Raju

    Hi, I had similar questions and very little experience with the topic.
    I learnt the hard way and wrote a blog about it here: Challenge yourself (HR-PD Appraisal BADIs)
    Would be cool to know that it helps people and nobody has to reinvent the wheel again:))
    Cheers Otto

  • Adding custom field in pricing condition structure (BADI CRM_COND_COM_BADI)

    Hi,
    I need to add a custom field (ZCITY) to the structure : CRMT_ACS_H_COM and I need to populate this field in the BADI: CRM_COND_COM_BADI in the method : HEADER_COMMUNICATION_STRUCTURE.
    However, my concerns are:
    1. How to add the new field to this pricing structure? Is there any specific procedure to do that?
    2. And once the field is added and populated with the value in BADI, where the pricing calculation takes place based on this custom field?  Do we need to to implement any other BADI's or any pricing routines? I am little confused here.
    Could you please help me on this?
    Bottom line is : A custom field calles ZCITY needs to be added to the pricing structure and freight cost determination should take place based on this new field ZCITY.
    Thanks,
    Sandeep

    Hi Sandeep,
    if the field is used in the condition download from ECC please also check SAP note 514952.
    1. The field is added via the field catalogue maintenance at IMG: Customer Relationship Management -> Basic Functions -> Pricing -> Define Settings for Pricing -> Maintain Field Catalog. As you save or generate the field catalogue the structure will be updated with your field.
    2. Whether you need to implement a JAVA routine for the pricing of this particular condition is defined in the corresponding pricing procedure.
    Best Regards,
    Michael

  • CRM - Pricing User Exit in Java - BADI CRM_COND_COM_BADI

    Hi All
    I have to convert some user-exit from Abap to Java in order to work in CRM Pricing Scenario (I use VMC technology based on Web AS 7.00).
    In the manual attached to note 809820 (New userexit concept for pricing)
    I find this chapter but I don't understand how to work with BADI <b>CRM_COND_COM_BADI.</b>
    <b>My objective is to create Java user-exit using Custom Tables and Fileds.</b>
    <b>Passing additional information to pricing</b>
    To summarize, if the information used in a requirement is not depending on the current calculation result, then the information can be passed to the pricing engine. This is the best way to avoid e.g. DB or JCo calls from the user exits.
    Nearly all application scenarios using the pricing engine provide a way of filling additional attributes.
    1. Create a field catalogue entry for the additional attribute
    2. Program the filling of that attribute value
    The application calling the pricing engine and the way it is allowing customer code to fill or influence attributes is not part of this document. Here is only a short list of documentation to start with (also various notes exist):
    Application Description
    CRM Online Order Processing
    Implement BADI CRM_COND_COM_BADI. Note 850077
    Mobile Solutions Implement VBA user exit methods on SPCDOCHANDLER or SPCITEMHANDLER.Note 677314 and Note 934216
    Best regards
    Davide Ivanov
    [email protected]

    Hi davide,
    The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
    If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
    If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
    Additional fields added at catelog can be filled with the values using this BADI.
    Thanks & Regards,
    Raghuram. K.R.

  • Need info regarding BADI CRM_COND_COM_BADI.

    Hello experts,
    My requirement is to calculate the value of a specific condition type based on a custom attribute that is maintained in Item Master.
    I added a new field in Condition Field catalog for this and implemented BADI CRM_COND_COM_BADI to pass the new attribute value to Pricing. This works fine till creation of Billing Due List.
    The issue is that we are redeterming the automatic condition entries during Billing document creation. It seems that the BADI is not getting triggered beacuse of which the Condition entry is not present in Bill Doc anymore.
    Any inputs in this regard will be appreciated.
    Regards,
    Amit

    Hi davide,
    The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
    If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
    If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
    Additional fields added at catelog can be filled with the values using this BADI.
    Thanks & Regards,
    Raghuram. K.R.

  • UDM_SUPERVISOR: Adding fields and data at customer item level

    Hi
    I am having the same issue with newbie82_c; I need to populate the added fields in transaction UDM_SUPERVISOR.
    I know that the previous thread was tagged as answered already but the solution to the issue was not indicated in the thread.
    Here are the scenarios:
    - i've added fields in the item level invoice worklist of the customers by enhancing structure FDM_COLL_INVOICE_ALV (appending fields to FDM_COLL_INVOICE)
    - thru the implementation of the BADI FDM_COLL_SEND_ITEMS, i was able to retrieve the data specified by the user (Reference Keys in FB05)
    - i've populated CT_EXT_ITEMS with the retrieved data
    Now I need these data to be displayed in the added fields in UDM_SUPERVISOR.
    What ABAP object/s is/are responsible for populating the process receivable details?
    Thank you in advance for the assistance.
    Edited by: JPLCaliuag on Dec 19, 2008 8:31 AM

    Hi K.R.Reddy,
    Can you kindly provide me with a working solution for this? I'm currently facing a similar issue for a similar BAPI (in my case it's BAPI_CUSTOMERRETURN_CHANGE) and can't seem to update the custom fields in VBAK. I have put in necessary values in the EXTENSIONIN table as well as updated the UPDATEFLAG indicator to 'U' and although it says that the order is saved, it seems to overwrite the custom field with its original value.
    The custom field seems to get updated correctly when I use BAPI_CUSTOMERRETURN_CREATE but when I make changes using BAPI_CUSTOMERRETURN_CHANGE, it gets overwritten with the original value.
    Any help is appreciated.
    Thanks and regards,
    Adeline.

  • Adding fields from KOMK structure to screen painter.

    Hello Everyone,
    i have created an Extra tab(like ADDITIONAL DATA B) using BADI, i have added fields from VBAP table, its working fine. But when i add fields from KOMK structure(KOMK-STCEG) only empty field is showing. Do i need to code something in PBO or PAI?
    Thanks & Regards,
    NarsiReddy Cheruku.

    Hello NarsiReddy,
    I assume that you have linked the field KOMK-STCEG using "Get from Dictionary" option from your above screenshot.
    In PBO section, make sure to write the logic to update the value in the field. The logic which you would build, would be based on your requirement. For instance, you can use BELNR to check and its corresponding STCEG could be found in the structure KOMK.
    But if the KOMK structure itself is not filled with any value, then there is some problem with your code. Try to check your BADI and its corresponding structures which would get updated at runtime and use them appropriately.
    Thank you.
    Regards,
    Naresh

  • Collections Management - Adding Field to Customer Invoice Level View

    Hello,
    Has anyone successfully added additional fields available in FBL5N to the invoice level view of a customer when drilling into the customer invoice detail from a worklist?
    Thanks, Kevin

    Hi Kevin,
    The BadI for adding fields when displaying worklist items is UDM_WL_ITEM_DISP_C. You will need to add your fields to the customer include C_ATTRIBUTES in order to get them to display. Drill into the changing parameter of the method BEFORE_ALV_DISP to see more detail on that.
    Once you have added your new fields you will need to fill them with data within that BadI method and also add the field to the displayed ALV when you go into your worklist from the front-end.
    Any questions just let me know.
    Cheers,
    Brenton.

  • Custom fields ofr BADI

    Can any one tell me how to create custom fields in BADI ..I am using BADI ME_GUI_PO_CUST.
    Thanks

    You mean adding new field into expost & import varible to existing methods?
    You can NOT change the interface of existing methods..
    But you can create the global attribute in implementaion class.
    <i>*Reward each useful answer</i>
    Raja T

  • Adding field in Report Painter

    Hello Gurus,
    I am working in the Report Painter PR20-001.
    My requirement is to add a new column in the output of the report but even when i am able to add a new field and save it on the reports execution i am unable to view the added field in the output.
    Kindly tell me the entire procedure to add a new field in the output of the respective report painter output.
    Regards,
    Swati.

    Hi,
    Go to Global Parameters Definitaion in report painter, variable will be used only along with the field, just in global paramerters enter your desired field and click in next column, system will show you a pop up select your variable for that field...
    now its just done run the report and test it!
    If you still not make it refer to standard report of such kind, you will surely get it....
    Regards,
    Sayujya

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

  • Added fields not appearing in the DSO transformations.

    Hi,
    I have added three new info objects into data fields in the DSO then activated and not appearing added fields in the transformations.
    Please suggest me,
    regards,
    Jayapal.

    Hi Jayapal,
    i dont know whether it would help you...you can give a try on it.
    Instead of deleting the Transformation, just delete the mappings if any in the transformation.
    Goto DS->Fields Tab-->In the Column Template info Object. Try mapping corresponding IO with the Source IO.
    Then it will show a pop up give Copy . Activate the DS.
    Goto Info Provider>Select the Transformation> If it is active-->reactivate it by clicking the Pencil Icon with glass and click activate icon.
    If its not active, then reactivate it again by clicking the Pencil Icon with glass.
    Let me know if it Works... Cheers
    Regards,
    Syed
    Edited by: shameer83in on Nov 20, 2009 12:10 PM

  • Data Loading to added fields in DSO.

    Hi experts,
    I have a DSO1 with 5 fields and DSO2 with 8fields.
    I want to load data to DSO2 from DSO1 for the added fields in DSO2 also for the records in DSO1.
    thanks in advance.
    with regards,
    KPS Moorthy.

    Hi Moorthy,
    What are the Fields u want to MAP to the DSO2 from DSO1.??
    Is it that u want to derive some filed from DSO1 to DSO2.!!!
    PL provide some more info
    SVU123

  • Newly added field in the data Source not getting populated

    Hello All,
    We have added few fields in the Data Source. The Data Source is based on the InfoSet. We have included the field in the Infoset and have updated the code to fetch the value for the newly added fields.
    When we perform the test extraction for this Data Source in RSA3, the newly added fields are not getting populdated with the value. In the system generated query's selection list, the newly added fields are not selected.
    Please let mw know how to get the newly added field selected in the system generated query of the infoset.
    Regards,
    -Purnima

    Hi,
    As you said you have added the filed in Info Set. Have you included the same in data source? try if not.
    If you are trying to create a query in source system to check the data. I guess in R/3 (ECC) then you have to include the new field in slection critera (ther is an option available on top menu).
    I would suggest before creating any query go to RSO2 select the data source. Display the field structure and check if the filed is there or not. You maysee Infoset level data directly by data display from top menu. Try that optionas well to check.
    I hope it will help.
    THanks,
    S

Maybe you are looking for

  • Unable to edit the Project details from PWA in Project server 2013

    I am Migrating the project from MS Project 2007 to MS Project 2013.In that i save the project as a file first in 2007 and then open that file in  MS Project 2013 And publish it.But in some Project when i am Trying to change the projects details from

  • Syncing issues with facebook

    I've synced my phone with my facebook account so my friends will be included in my contacts.  However, the profile pictures will not transfer.  What am I doing wrong/

  • Error while logging in the BPC

    Hi All We are using BPC MS version. We have encountered the following error, while Logging into the server : ' Cannot insert duplicate key row in object ' dbo.TBLDEFAULTS' with unique index ' IX_tbldefaults'. The statement has been terminated. I have

  • Here is a function to read preview images from active catalog

    --- Get a preview image corresponding to specified photo, at the specified level, if possible. --  @param photo (LrPhoto or table of param, required)     specified photo or table of named parameters same as below including photo=lr-photo: --  @param

  • New stock ringtones for iPhone?

    Does anyone know if there is a web app. or download for new stock ringtones for the iPhone? Not sound effects(like the ones that come on new iPhones) or musical tones. Just plain old standard cell phone ringtones. Such as the ringtone heard in the fi