Adding Customer Fields - Note 672960

Hi All,
Forgive me for this but I am new to BAdI programming and need a bit of help.
I have been given a spec to add customer fields to a screen. The Analyst has given me the list of fields and reference to SAP Note 672960.
I have appended the fields to structure INCL_EEW_PD_ITEM_CSF_SC and everything seems to be fine.
In the BAdI BBP_CUF_BADI_2, method MODIFY_SCREEN what code do I have to put in so the fields now appear on the screen for the user?
Many Thanks for any help,
Colm
P.S. The fields I have appended to the structure are:
ZZSTAWN
ZZBRGEW
ZZMEINS
ZZXFELD
ZZTAXID

From another thread I found this code and implemented it into my MODIFY_SCREEN method. Should this be sufficient to display the items or is there anything else I need to do?
DATA: wa_fields TYPE bbps_cuf_display,
  p_index TYPE sy-tabix,
  p_return.
*IMPORT P_RETURN TO P_RETURN FROM MEMORY ID 'RETURN'.
  IF NOT et_fields[] IS INITIAL.
    CLEAR: wa_fields, p_index.
    LOOP AT et_fields INTO wa_fields.
      p_index = sy-tabix.
      IF wa_fields-fieldname = 'ZZSTAWN' AND
      wa_fields-structure_type EQ 'ITEM' .
        wa_fields-xdisplay = 'X'.
        wa_fields-xinput = 'X'.
      ENDIF.
      IF wa_fields-fieldname = 'ZZBRGEW' AND
      wa_fields-structure_type EQ 'ITEM'.
        wa_fields-xdisplay = 'X'.
        wa_fields-xinput = ''.
      ENDIF.
      IF wa_fields-fieldname = 'ZZMEINS' AND
      wa_fields-structure_type EQ 'ITEM'.
        wa_fields-xdisplay = 'X'.
        wa_fields-xinput = ''.
      ENDIF.
      IF wa_fields-fieldname = 'ZZXFELD' AND
      wa_fields-structure_type EQ 'ITEM'.
        wa_fields-xdisplay = 'X'.
        wa_fields-xinput = ''.
      ENDIF.
      IF wa_fields-fieldname = 'ZZTAXID' AND
      wa_fields-structure_type EQ 'ITEM'.
        wa_fields-xdisplay = 'X'.
        wa_fields-xinput = ''.
      ENDIF.
      MODIFY et_fields INDEX p_index FROM wa_fields.
    ENDLOOP.
  ENDIF.

Similar Messages

  • While adding custom field in urgent change-Create new field button in AET is not coming

    Dear All,
    we have requirement to add some custom fields in urgent change document. while adding custom fields using AET, create new field button is not coming.
    Thanks in advance. points will be awarded.
    Rahul

    Hi Jignesh,
    Thanks for your valueble inputs, it really helped me to understand the process.
    I checked in Web UI configuration for urgent change document as you mentioned but still that button is not coming.
    In transaction BSP_WD_CMPWB, i have created enh. set: Z_ENHANCEMENT_SET.
    Can you tell what to selelect in application and page popup which comes after selecting Enhance component button. Actually i tried but i am not able to add new record in conf.
    Thanks in advance.

  • Adding custom field in shopping cart transaction

    Hello,
    I have done the following things apart from enhancing the INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC structures.
    1) Executed BBP_DYNPROS_GENERATE for SAPLBBP_PDH_SEARCH and SAPLBBP_PDH_CUF
    2) As I realised later that CI_BBP_ITEM_SC and CI_BBP_ITEM were present in the system locally I tried one by one both the methods as follows.
    -Deleting the EEW includes and adding the tracking number in the above CI structures and activating the modify_screen badi with dispaly and input fields as X
    -As this didnt work, I deleted the CI structures and again created EEW inputs so that only EEW structures are present for the customer fields.
    but even then it didnt work. furthermore, I am not able to debug the implementation of badi BBP_CUF_BADI_2 at all from the bbpsc03 transaction.
    2) Carefully followed the notes
    sapnote458591 User defined fields preparation and use
    sapnote672960 User defined fields2
    3) Checked the notes (but didnt apply these as they dont precisely pertain to the item fields of bbpsc03)
    sapnote1016297 Header customer fields are not displayed in bbpsc02
    sapnote1034079 customer fields not visible in shopping wizard
    4) Additionally checking the notes  
    sapnote537392 CUF Cust Filds on the 'Default value for items'
    sapnote710474 CUF.User-defined fields on search screen
    Could you please guide me with any more inputs?
    thank you very much
    rita

    Hi,
    How about note 954391 - Customer fields are not displayed?
    Also check whether you haev extended the proper sructures in note 672960.You need to extend INCL_EEW_PD_ITEM_CSF_SC & INCL_EEW_PD_SEARCH_ITM_CSF_SC for customer fields on item overview .
    You can also use the BADI to BBP_CUF_BADI_2, method MODIFY_SCREEN, table ET_FIELDS, XINPUT = 'X' and XDISPLAY = 'X'. to control the display of the custom fields.
    Also after running the BBP_DYNPROS_GENERATE program,you can restart the SRM server and check.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Adding Custom fields to standard  SAP-EBP application

    Hi,
    A functionality requires some custom fields to be added to the standard SAP-SRM EBP ( Manage business partners) application.
    If I copy the whole BBP_VENDOR_CREATE program into a Z-program, and the BBPMAININT internet service to a Z-application, then would it be feasible??
    Which is the best way to add custom fields in a SAP standard EBP application--in the 'Manage business partners' section.
    Regards,
    Goutam

    Hi
    I don't think it's easily possible to add custom fields to the existing transaction - BBPMAININT.
    For adding customer fields you can refer the SAP OSS not - 672960, but I don't think it will be of much help here.
    <b>Since SAP has not upgraded this transaction - BBPMAININT for a quite long time, you need to do all the logic and validation from your end.</b>
    <u>Better to go for you own Z (custom program) and make your logic accordingly.</u>
    Regards
    - Atul

  • Adding custom fields to Embedded Search

    Hi All,
    I have read the post [here|How to add custom fields to Embedded Search; about adding custom fields to Embedded Search. I am looking to add Employee Subgroup for use in Talent Management (specifically the STVN SuccessionPlanning component) and wanted to know if anyone can expand on the instructions in the link to add this field.
    It appears to be part of the HRTMC_PERSON search object connector already and while I've done some IMG configuration the field is showing in SuccessionPlanning, but not displaying any data.
    Additionally, I'd be interested in any tips to add information that is not from PA0002 should it be required in the future.
    Many thanks,
    Luke

    Hi Luke,
    I am assuming here that your search request fields are based on HRTCM_CENTRALPERSON search template. To enable your search to work on employee subgroup please do the following
    1) Check if the HRTMC_PERSON Template extracts the data from Infotype 0001 via SPRO node 'Define Search Models and Change Pointer' Extraction Class is 'CL_HRTMC_SEARCH_READ_PA_INFTY'.
    2) Via ESH_COCKPIT, goto Template Modeler and select your custom Software Component and press Edit. Goto roadmap step 5 - Define Requests - where all search request fields are defined. Its using these fields Talent search works.
    3) Select the search request e.g. 'SAP_TALENT_NAKISA', it would then show list searchable attributes in below table. Using 'Add' button select path for PERSK so that it can searched.
    It would look like this once selected
    OBJID(REL_CP_P)->HRTMC_REL_CP_P_209.REL_CP_P(REL_CP)->HRTMC_PERSON.OBJID->HRTMC_PERSON.ORG_ASSIGNMENT
    4) In step SPRO 'Define Search Requests and Search Field Names' , define Employee subgroup field with AliasSearchField = PERSK since thats what is defined in roadmap step 5.
    Hope it helps!
    Regards,
    Ricky Shah

  • Adding custom fields  through SE51

    Hi All!
    This is with regards to adding custom fields through Se51 to standard screens.I had added custom field KNVV-ZZKVGR6 to the screen.
    After drawing the text and I/O buttons.When I activate I am getting an syntax error saying Field KNVV-ZZKVGR6 is defined differently in screen (ABAP/4 field,Dictionary field).
    What does this mean.
    Also if i activate with a SAP standard field instead of the custom it is getting activated.
    But for both the ways I could not able to see the output on the actual transaction.Also the new drawings which i am drawing are in brown color(different form the existing one)
    Please advise.
    regards
    Praneeth

    hi Praneeth,
    what is the program name,screen number you are trying to modify..,and after appending the field <b>ZZKVGR6 to KNVV</b> , now go to table and choose menu <b>Utilities->Data base Utility-></b> now click on  <b>Activate and Adjust the Data base</b>, then try to add the field.
    and are you adding the field from Dictionary (i.e you have option Get From Dictionary in that give KNVV table name it will list the fields, choose zzkvgr6 from it, and place it in your screen.)
    the exit which you are adding should be appropriate one
    or else you won't get the desired results. what is the exit..
    Regards
    vijay

  • 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 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 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 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 in IW41/42/43.

    Hi All,
    I have a requirement of adding custom fields in the order confiramtion screen i.e IW41/42/43.
    i found this user exit CMFU0001: Determine customer-specific screen layout.
    but i am not able to figure out a way to use it.
    has anyone done such an developemnt .
    Kindly help
    Regards,
    Johnson George.

    Hi,
    Try this:
    Userexit:CONF0001
    Go to tcode:CMOD
    Give a name for project,press Create.
    Click on the   enhancement assignments button and add the selected enhancement there and enter and save it. 
    Click on 'Components' button.Double click on EXIT_SAPLCORU_001, double click on 'INCUDE ZXCOCU01'. Write code here.

  • Adding Custom Fields to XD99

    Hey All,
        I am trying to figure out a way to Mass maintain Custom fields(Z fields) in KNA1 using transaction XD99. I did find some material which discussed about adding custom fields to MM17 transaction, but couldnt get any usefull information on XD99.
    Any inputs or suggestions are highly appreciated.

    Hi,
    Please check the following oss note
    Note 414020 - MASS: Customer fields are not mass-maintainable
    Thanks
    Naren

  • 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

  • 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 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

Maybe you are looking for

  • Where did the 'sending mail' bar go?

    I remember at some point, when I sent a msg with an attachment, there used to be a bar which would fill on the bottom lefthand side of the window showing how much of the message had been sent. Once it would fill (indicating that 100% of the msg was s

  • Need new HDD for Satellite L300-1BD

    Hey, the HDD in my Toshiba Satellite laptop isn't working anymore. So I'm going to buy a new one today but which one do i need? Like how many inch? And is it a SATA connection or something? Could someone please tell me to what i have to look when I b

  • How to use Parameter from file in window env

    hi All, Please tell me the how I can get Parameter from Saved file and can use in other file. EX: I want to use Password file for each instance like ORCL-manager ORCL_1-tiger ORCL_2-***** how to call this file in other file. using pasword for instanc

  • How do I get my iPad to print to a wireless printer

    How do I get my iPad to be able to print to my brothers DL-2270DW

  • Setup of invoice match control

    Hi, Our auditor wants a screendump from the IMG of the setup of invoice match control. With this I mean the setup of how incoming invoices is matched against the PO and how mismatch is handled. Where in the IMG is this set up? Best regards, Thor-Egil