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

Similar Messages

  • Adding custom fields to the condition table in CRM

    Hi all,
    Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
    For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
    Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
    Please help in this.
    Thanks & Regards,
    Raghuram.

    Hello Raghuram,
    I feel that your issue is similar what i have faced, refer to my post:
    Link: [Issue in customer specific price;
    For solving this you can refer to detailed steps in,  Note 514952 - Download of customer-specific tables.
    Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
    If not solved then let me know the relevant message in SLG1
    Regards

  • Creation of Customized field for  Pricing Condition tables

    Hi Friends
    I have a requirement to create a  Pricing condition table with Customized field starts with 'Z'  and
    Field length should be more than 80.
    After creating New Customized Field, system  is not allowing to create Pricing Condition table and giving error 'Too Many fields selected (larger than 100 bytes)'.
    Could you please advice how to over come this error and Maximum field to create Pricing  condition table .
    Thanks
    Ravi

    Hi there,
    Table & table attributes are defined by the ABAPers. Not by finctional consultants.
    You need to have an access key to define new tables & access sequence.
    Check with your ABAPer. He will be able to help you with that.
    Regards,
    Sivanand

  • Adding Custom Fields to FAGLFLEXP Table

    Hello,
    We have a requirement to update WBS Element for Planning related Data. So have added custom field(WBS Element)  in structure CI_FAGLFLEX04.
    The field is visible when I open FAGLFLEXP table, but when I post data The custom field (WBS Element) is not being updated. Could you please let me know the process to update this field?
    Thank you in advance.

    Hi.
    The procedure isn't so simple. There are several posts on the subject SCN. I suggest research before you start developing.
    Start here:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    However, the most important is: a) Is it really necessary to change the standard? b) There could be a Z table containing the new information and referencing FAGLFLEXP? c) What is the transaction that will keep the data? It has Exit´s for what you need?
    As Vadamalai said below,
    Actually your approach may be wrong, first as an ABAPer should ask to functional team, which transaction and where to insert the fields, it could be header or item level(I am saying example)
    Based on tcode, you need to enhance the table level as well as the screen exit/BADI we need to pass screen to internal programming structure. the structure type will be table type of FAGLFLEXP.
    Regards.
    Douglas

  • Adding custom fields to FPE1/2/3 transactions

    Hi guys,
    My first thread here on SDN!
    I need to add custom fields (Document Locator Number - ZDLN, and Post Mark Date - ZPMD) from table DFKKOP to transactions FPE1/2/3 under ADDITIONAL DATA area while manually entering NEW BUSINESS PARTNER ITEM.
    The transaction is not BDT enabled and does not have a screen exit. The user exit and BaDI dont seem helpful to me.
    The screenshot below shows the user exits and BaDI for the transaction.
    Link: [Exits|http://img440.imageshack.us/img440/9319/1123201061827pm.png]
    What are my options to add fields to the transaction screen now?
    Thanks!!

    Hi,
    Yea i got the functional guys to configure it. Was a unique issue!.....But I know how they did it.
    You can add it through SPRO transaction. Go to the below mentioned path.
    Go to SAP Reference IMG
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Posting and Documents > Document >
    Screen Preparartions > Include Own Fields in Detail Screens.
    Here you need to enter the details from FPE1 transaction screen.
    Activity Documentation:
    Include Own Fields in Detail Screens
    In this activity you can, if you have added customer fields to the document structures, include these customer fields in the entry screens of the transaction for posting documents.
    For the detail screens (business partner item and G/L account item) you can create a screen that contains your own fields. You must create this screen as a subscreen using the Screen Painter. In addition you have to create modules for the intialization and for data transfer (PBO and PAI).
    Activities
    If you have extended the document strutures to includes customer fields, and you need these fields in the entry screens for posting documents, you must create the screen using the Screen Painter.
    Carry out this step to create the screen and the modules that go with it in the system. You do not have to activate these afterwards.
    Further notes
    Read the field help for each field in the table. This describes the exact procedure.

  • Adding custom fields to FPE1/2/3 transaction screen

    Hi guys,
    I need to add custom fields from table DFKKOP to transactions FPE1/2/3 under ADDITIONAL DATA area while manually entering NEW BUSINESS PARTNER ITEM.
    The transaction is not BDT enabled and does not have a screen exit. The user exit and BaDI dont seem helpful to me.
    The screenshot below shows the user exits and BaDI for the transaction.
    Link: Exits
    What are my options to add fields to the transaction screen now?
    Please help out!

    Hi,
    Yea i got the functional guys to configure it. Was a unique issue!.....But I know how they did it.
    You can add it through SPRO transaction. Go to the below mentioned path.
    Go to SAP Reference IMG
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Posting and Documents > Document >
    Screen Preparartions > Include Own Fields in Detail Screens.
    Here you need to enter the details from FPE1 transaction screen.
    Activity Documentation:
    Include Own Fields in Detail Screens
    In this activity you can, if you have added customer fields to the document structures, include these customer fields in the entry screens of the transaction for posting documents.
    For the detail screens (business partner item and G/L account item) you can create a screen that contains your own fields. You must create this screen as a subscreen using the Screen Painter. In addition you have to create modules for the intialization and for data transfer (PBO and PAI).
    Activities
    If you have extended the document strutures to includes customer fields, and you need these fields in the entry screens for posting documents, you must create the screen using the Screen Painter.
    Carry out this step to create the screen and the modules that go with it in the system. You do not have to activate these afterwards.
    Further notes
    Read the field help for each field in the table. This describes the exact procedure.

  • Adding custom fields to Article Master (MM41/MM42)

    Hi  ,
    I have a requirement of adding custom fields to Basic data of Article creation in MM41 . I appended the fields to
    MARA table using Append structure . I followed the steps given in note 44410 . But i am unable to find an EXIT/BADI
    /ENHANCEMENT to populate the values of custom fields which get triggered during MM41/MM42 .
    But the Exit EXIT_SAPLMGMU_001 gets triggered only during MM01/MM02 . Kindly guide me to solve this .
    Thanks and Regards,
    S.Sivakumar

    Hi,
    Business Requirement:
    As per the client Business critical requirements, additional fields are
    required in the Article Master. This is because the existing fields in
    the Article master are not adequate to capture the data.
    We have referred the SAP Note 925424 (Table MAW1) and 44410 (MARA) for
    this.
    Based on the above note 44410, we have added fields in MARA table,
    since Manufacturing
    activities are envisaged in future instead of proceeding with 925424.
    Whether, MAW1 (925424) also to be considered?  
    Since this is very critical requirement from client, we cannot avoid
    and do not have any
    alternate solution.
    These fields will be used in reports and pricing in sales &
    distribution.
    Apart from this, are there any other SAP notes to be referred?
    Is there any restrictions there in length for fields to be used in MARA table .
    By referring note 44410 , i added 20 fields in MARA table, in which some 4 fields are more than 40 characters .
    All custom fields are updated in MM41 and MM42 .
    Shall i proceed by this approach .Kindly guide me on this .
    Thanks and Regards,
    S.Sivakumar

  • Adding custom fields to shopping cart in SRM 7.0

    Hi My dear Experts,
    I am having big doubt also a lot of confussion as per my understanding regarding adding custom fields to SC.
    I believe,
    i) It can be achieved by configuration in spro with respect to Meta data frame.
    i,e  Configure field control->configure control for fields on Header/Item level
    after that
    configure customer fields->Define cistomer fields on Header/Item level.
    ii) I also doubt fields can be added through Webdynpro enhancement of standard component.
    Pls clarify my doubt with little detail which is the best way to achieve my requirement ??
    Is Webdynpro Enhancement  really needed ??

    Hi ,
       Example for  Adding fields in SC accounting Tab ...follow the below example
    1. Add custom field ZZTESTACCT  in   structure   INCL_EEW_PD_ACC_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management u2192 SRM Server u2192 Cross application basic settings u2192 Extensions and field controls (personalization) u2192 Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"
    add the below entry
    Bus. Object Set Type  : 31
    Structure Field Name  : ZZTESTACCT
    Bus. Object Type       : BUS2121
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    if you create the above entry then you can see ZZTESTACCT field in the accounting tab.
    Second point :
    WD_BADI_DOMODIFYVIEW  is a Badi you can implement this badi for the WD component and View to handle the UI elements.
    regards,
    Devi

  • Adding custom fields to FD32

    Hi All,
    I need to add 4 new fields to "Status" screen of FD32 transaction. I cannot use the already existing standard fields so I need to add custom fields. I have searched the forum and found the following enhancement and BADI :
    RFDRRANZ
    FI_DUZI_ROUND_CML
    I tried to implement them but did not achieve the results that I wanted.
    There are so many forums on this topic but none of them had an actual solution.
    Did any had success adding custom fields to FD32? If yes, could you please let me know the solution.
    Thank You,
    Sonali.

    Hi,
    Business Requirement:
    As per the client Business critical requirements, additional fields are
    required in the Article Master. This is because the existing fields in
    the Article master are not adequate to capture the data.
    We have referred the SAP Note 925424 (Table MAW1) and 44410 (MARA) for
    this.
    Based on the above note 44410, we have added fields in MARA table,
    since Manufacturing
    activities are envisaged in future instead of proceeding with 925424.
    Whether, MAW1 (925424) also to be considered?  
    Since this is very critical requirement from client, we cannot avoid
    and do not have any
    alternate solution.
    These fields will be used in reports and pricing in sales &
    distribution.
    Apart from this, are there any other SAP notes to be referred?
    Is there any restrictions there in length for fields to be used in MARA table .
    By referring note 44410 , i added 20 fields in MARA table, in which some 4 fields are more than 40 characters .
    All custom fields are updated in MM41 and MM42 .
    Shall i proceed by this approach .Kindly guide me on this .
    Thanks and Regards,
    S.Sivakumar

  • Adding Custom Field to Shopping Cart and PO, Classic Scenario

    We are running SRM 7.0 with ECC 6.0 as the backend and using the Classic scenario. I want to add a custom field to the shopping cart and have the data transfer over to a custom field (of the same name) on the purchase order to the ECC side. I have already added the field to the shopping cart and have the data saving successfully there on the SRM side. What I am having trouble with is getting the data from the custom field to go over to ECC on the purchase order.
    I have extended the Shopping Cart and Purchase Order item structures through configuration on SRM. This has added the fields to the INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF_PO structures, as described in note 672960 (do i need to extend the PO structure on SRM if using the Classic scenario?). I have also extended the CI_EKPODB and CI_EKPODBX structures on ECC as described in note 458591. So the placeholders are there.
    I feel like there must be something I am missing. The OSS note 458591 suggests that just adding the fields to the needed structures will cause the data to transfer, but this does not appear to be the case.
    I have an implementation of BBP_CREATE_BE_PO_NEW that I can use, but do not see where to add the data in the output parameters of that BADI. Is there a BADI I need to implement on the ECC side?
    Any help in this issue would be greatly appreciated.

    Dug around a little bit more and stumbled onto this article which solved it for me: [How to transfer custom fields from SRM to ECC|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27?quicklink=index&overridelayout=true]
    In BADI BBP_CREATE_BE_PO_NEW I had to add some code to fill in the CS_PO1_DOCUMENT-EXTENSIONIN parameter table with the structure for the BAPI_TE_MEPOITEM structure on the ECC side. The tricky part is creating a string representation of that structure with the correct offset. And it isn't as easy as just counting up the number of characters in SE12. For example, looking at my BAPI_TE_MEPOITEM structure in SE12, my custom field appears to start on character 157, but in reality, I had to offset the writing of my value to character 143. I guess it depends on what types are in there.
    But once that gets figured out, it works well. As long as the custom field is added correctly to the CI_EKPODB append structure (which is appended to BAPI_TE_MEPOITEM), the data gets tranferred over in the ExtensionIn table, and SAP automatically knows what to do with the data as long as you have everything in ExtensionIn aligned correctly.
    Thanks for the help everyone!

  • CRM 7.0 / IS-U: adding custom fields to Business agreement for replication

    Hello Experts!
    We're working on replication of custom fields from IS-U to CRM 7.0.
    Can you help me with clarification of my understanding of these questions..?
    1) CRM/IS-U mapping tables for buag_main:
    Business Agreement(BUAG_MAIN) is a BO in CRM that corresponds to CRM table CRMM_BUAG and to Contract account in IS-U table FKKVKP.
    Table FKKVKP were enhanced with some z-fields,
    so we are going to enhance corresponding CRM table CRMM_BUAG (or CRMM_BUAG_H) with that new fields..
    But we see that these CRM and IS-U tables have far not the same field structures..
    So, the question: Which crm and is-u tables i should look, enhance and replicate for Business agreement?
    2) Access to Business agreement with possibility to add custom field:
    I couldn't find in Web UI where i can directly edit profile of Business Agreement..
    I've found just access to assignment block "Business agreement" on Account's profile overview page..(Role ServicePRO; Account details).
    There I used AET to add custom field..but I faced with problem when the 1st popup appeared: there was no enhanced object "Business Agreement"..
    Also in role "Utilities IC Agent" i've found "business agreement" profile but there I don't see buttons for adding custom fields..
    So, the question is: Where I can access Business agreement profile to enhance it with custom fields for replication with IS-U?
    3) CRM/IS-U data exchange functions:
    I tend to use tcode CRMC_BUT_CALL_FU:
    for CRM inbound event of BUAG object  - FM CRM_BUAG_MWX_PROCESS_EXT_STRUC..(as template).
    Question: Am I right that it fits my requirement to replicate custom fields from IS-U to CRM?
    Please tell me if you need more information..
    Looking forward to your answers.
    Thank you a lot in advance!
    Kind regards,
    Evgenia

    Hi Gobi,
    Thank you for advice. But:
    I've created fields not by using AET - I used documentation that Nicolas suggested me above.
    I've enhanced tables and structures that were mentioned there with my z-fields for both sides (CRM and ERP).
    Also I looked CRMC_BUT_CALL_FU for CRM Inbound BUAG_MAIN - corresponding standard FMs are marked for call.
    Any ideas?
    Thanks in advance.
    BR,
    Evgenia

  • Adding custom fields to standard Asset Accounting  ALV reports

    Hello,
    I have recently added some fields to the Asset Master table ANLU using the customizing include CI_ANLU.  I have also added some fields using an append structure to ANLZ.  I now need to have these fields available in the standard reports for Asset Accounting.  One example is the report generated for transaction S_ALR_87011963.  I need the new fields available in the 'Displayed Columns' list when clicking the Change Layout icon.  Any suggestions?
    Thanks,
    JR

    Hi Vignesh,
    Adding new fields is not possible, but custom subscreens can be added.
    Check enhancements QQMA0001 (subscreen for notification header) and QQMA0008 (subscreen for additional data).
    It might help you.
    Thanks & Regards,
    Swati

  • Adding custom fields to DB table

    Hi,
    I added custom fields in std DB table using CI_* , activated table using SE14. Now I want to remove the added custom fields , I deleted the CI_* using SE11. It still appears in DB table,  I mean I dont expect to disappear from DB table, when I double click it still takes to structure screen. I deleted include from SE80 also selecting Package, activated and adjusted DB table from SE14 after deletion, but it still appears and when I check the attributes it shows the same package , how to reset the CI_* , bottom line ,I want to make DB table normal as before, because of that I am getting dumps when I execute std DB table related T codes.
    It should be done in easy way but not able to get breakthrough.
    Please let me know your suggestions.
    Thanks

    Hi Sai,
    Try to assign the CI_* structure to $temp,i.e as local object and then activate it first.
    After that, try deleting the local object and adjust the table using SE14.
    If still it does not work, ask your BASIS consultant to do an "Alter table".
    May be that works!
    Thanks & Regards,
    Anshumita.

  • Adding Custom Fields to XD99, XK99

    Hi,
    I have a requirement to add custom fields to Customer and Vendor master transaction which are mass maintained.
    XD99 and XK99 are the transaction codes. I found notes on adding custom fields to mass maintain MM17, however did not find any solution as of now to add custom fields to XD99 and XK99.
    If anyone has worked on it, kindly provide me details if there is any Badi/User exit/Enhancement point to achieve this.
    Regards,
    Sneha Soni.

    This works well with standard fields, but check [Note 216596 - Include additional fields in mass maintenance|https://service.sap.com/sap/support/notes/216596] and [Note 414020 - MASS: Customer fields are not mass-maintainable|https://service.sap.com/sap/support/notes/414020]
    Regards,
    Raymond

  • Screen Exit for adding custom fields in Additional Data tab in ME21N

    I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
    I also need a similar exit for adding a filed at item level.
    Thanks in advance
    Martin

    Hello,
    1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
    please check it for VA02
    SPRO u2013 SAP Reference IMG ---  Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
    1)Screen group                                  description
            zs                                           creating badi      --- (save)
           click on (label tab pages) u2013 new entries
           number u2013 10 , function code u2013 zs10 ,  description u2013 func ---(save) u2013(back)
    2)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS
         (desc u2013 impl for cust) u2013 (save)
        interfaceu2014(check_add_on_active) double click on it
    3)the above screen appear --  write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
         -- (activate) u2013 (back)
       Business adds in customer sub screens
    4)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS1
         (description -- cust) u2013 in attribute u2013 (give screen group name)
    5)go to interfaces (GET_TAXI_SCREEN)  double click on it
       (save)  --- (activate) 
    6)(SAVE)  -- 
        Goto SE38  -- CREATE PROGRAM WITH NAME (ZQW) type module pool
         Goto SE51  -- Prog : ZQW
           Screen : 200 (Create)
          Goto layout u2013 design the screen
    7)save u2013 activate
       then goto transaction : va02
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u ,
    santhosh

Maybe you are looking for

  • ITunes doesn't open, looks impossible to fix it!

    So, i've followed the instructions about deleting the hidden SC Info... But everytime I delete the SC Info, when I restart the computer and try to open the itunes, the SC info is created again! Please, help!

  • Modifying a message in error segment of an idoc

    Hi, I want to modify the error message that is getting displayed in the error segment of an idoc. It is coming form a standard message class and while debugging it was found that the control is going into a standard function which is used for generat

  • Executing HTTP Request from ABAP

    Hi Experts, I am trying to fill & submit an http form through abap using CL_HTTP_CLIENT class methods "request". here is my code:- DATA: client TYPE REF TO if_http_client. Create Client-Object CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL   EXPORTING    

  • Account Distribution form

    Hi, I would like to add a custom field in the account distribution form. I did not see the Account Distribution form in the IPM BPEL processes. Where is this form located? Can i customize this form? Thanks, Lakshmi.

  • Hiding and unhiding

    report scenario: screen 1 --> having radio button  if we click any radio button then it should reflect to 2nd screen                           screen 2---> having back button and  accorden with sub source data in of radio checked one but in 2nd scree