Defaulting a customer field (added through EEW) while bus. obj creation.

Hi All,
There a customer field added through EEW.
Now suppose when we are creating an object (BUS2000170, in my case) this customer filed value should be set the a default value. Under GENIL_MODEL_BROWSER i can see this filed in 'BTitemcustext'.
I am trying to do it through EVENTS (by calling a FM after AFTER_CREATE event) but i could not find 'BTitemcustext' in the table type CRMT_EXTENSION_COMT.
Now i dont know where to set this value.
Can anyobe please help on how we can set default value for fields developed through EEW.
Thanx,
Abhi.
Edited by: abhishek ranjan on Jan 7, 2011 10:11 AM

Hi Rajni,
This BADI will only be called when i will save the order.
I want to set the default value the moment the object is created. Thats why i wanted to do it through events(CRMV_EVENT).
The reason being suppose the order is not saved , till then this default value will not be visible in the UI side(Even after the object creation).
Also where i can set this default value??
I mean this field is available under the model 'BTITEMCUSTEXT'. Also the filed is not visible in the table type for extensions (CRMT_EXTENSION_COMT).
Please let me know i am wrong.

Similar Messages

  • Search help for custom fields added through BADI_FDCB_SUBBAS04

    Hi guys
    I have two cutom fields on basic data screen that i have added using an implementation of the BADI
    BADI_FDCB_SUBBAS04
    I want to use the value entered in one of the fields as a import parameter in another fiields search help.  On value request the structure INVFO contains the other data entered on screen in the basic data screen however my custom fields appear empty. 
    However if i press enter and request values again the search help will pop up correctly.  Is there a way i can avoid having to press enter before i can get my values??
    regards
    Isaac Prince

    Hi guys
    I have not found any notes/texts regarding my issue however i think with some user training/re-orientation the small issue will go away.
    regards
    Isaac Prince

  • How to handle Custom field added in BP : Role Bill Account

    Hi Friends,
    I am working on an interface which creates Bill Account role for a BP but the problem is there are about 15 Custom fields added to standard BP transaction in BA role.
    As I am using BAPI_BUPA_FS_CREATE_FROM_DATA2 for creating the BP and
    BAPI_BUPA_CENTRAL_CHANGE for changing the BP role Bill Account?
    Can anyone tell me how to handle those custom fields in the existing BAPIs or there is some other way of doing it?
    Thanks in advance,
    Pradeep
    Note : Helpful answers will be rewarded.

    Hi,
    I have seen these BAPIs but are they used with normal BAPIs for BP creation and change.
    For example : I create the BP using BAPI_BUPA_FS_CREATE_FROM_DATA2 and for the Custom fields I should use these BAPIs as suggested by you alongwith the create BAPI.
    And will it work for Changing the BP also.
    Kindly clarify.
    Regards,
    Pradeep

  • Sending custom field added in Standard infotype through idoc

    Hello All,
    We have a requirement where custom field of a standard infotype 0002 needs to be sent through idoc only to a desired destination system.
    My Approach:
    I have created a custom segment having custom field from IT 0002 & mapped this segment in T777D table.
    But the problem with above, is all the system who are receiving IT0002 will be receiving this custom segment also including desired system.
    How can it be filtered?

    Hi,
    Create the new segment and message types of the idoc with cutom field.
    Then map the new mesage type and corresponding receiver( SM59).

  • Sending custom field added in Standard table through idoc

    Hello Folks,
    We have a requirement where custom field of a standard table PA0002 needs to be sent through idoc only to a desired destination system.
    My Approach:
    I have created a custom segment having custom field from PA0002 & mapped this segment in T777D table.
    But the problem with above, is all the system who are receiving PA0002 will be receiving this custom segment also including desired system.
    How can it be filtered?

    Hi,
       In BD64 you can do the segment level filtering. Go to BD64, search for your distribution model there drill down to "filter settings" the make the required segment filtering.
    Thanks,
    Asit Purbey.

  • SAP MM Purchase Order custom field pulling through to FI

    Hi
    I have no idea where to start.  I need to create a custom field in the Purchase order which has to pull through to FI.  I've created an Account Assignment category I - Insurance and need to have a field on the Purchase order where the users can fill in the Claim Number. (Reference field).
    I thought I could maybe use the Unloading point field as we don't use it currently, but it doesn't pull through to reports on FI.
    Secondly I would like to link my Account assignment category to a specific General Ledger account (when the user choses Aac I, I would like a G/L to automatically populate and be grey (no changes possible)
    Thanks so much!
    Carina

    I Actually think I found the answer here - http://www.bluemarlinsys.com/ns/0603-03.asp
    1) How to default a General Ledger account on a Purchase Order account assignment for an inventory item?
    When you create a standard Purchase Order using ‘K’ account assignment to expense an inventory item with GL account and cost center, the system expects you to key in GL account number and the cost center. In case you don’t want to use the account modification ‘VBR’ assigned GL account number, it is possible to default a separate GL account with standard configuration steps.
    a) Transaction: OME9 (Maintain account assignment categories)
    Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’.  Change account modification to ‘ZBR’.
    b) Transaction: OMGO (Define combination of item categories/account assignment categories)
    Assign account assignment category created in previous step to an item category blank or space.
    Note:
    This is an optional step, if you don’t want to touch the standard ‘K’ cost center account assignment.
    c) Transaction: OBYC (Automatic account assignment configuration)
    Choose account transaction key ‘GBB’ by double clicking the existing entry and choose the appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘RAW’ (use appropriate valuation class set-up in your company).
    d) Transaction: ME21N to create a purchase order to test the configuration.
    When you create a PO with account assignment ‘Z’ for an inventory item, the system should default the above-configured GL account.
    2) How to default a GL account for a material group when a purchase order is created without a material master?
    If you want to create a purchase order without a material master (service/expense items), the standard SAP R/3 4.x and higher releases, offer functionality to assign a valuation class to a material group. This way automatic MM account assignment can be set-up to drive the appropriate GL account for a material group/valuation class in your company.
    a) Transaction: OMSK (Define valuation class):
    b) Transaction: OMQM (Entry aids for items without a material master):
    Assign the appropriate valuation class for a material group.
    c) Transaction: OME9 (Maintain account assignment categories)
    Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’.  Change account modification to ‘ZBR’.
    d) Transaction: OMGO (Define the combination of item categories/account assignment categories)
    Assign the account assignment category created in previous step to an item category blank or space.
    Note:
    This is an optional step if you don’t want to touch the standard ‘K’ cost center account assignment.
    e) Transaction: OBYC:  (Automatic account assignment configuration)
    Choose account transaction key ‘GBB’ by double clicking the existing entry and choose appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘TRF’ (use the appropriate valuation class set-up in your company).
    f) Transaction: ME21N to create a purchase order to test the configuration.
    Standard order type, Account assignment category ‘Z’ and Material Group ‘TRAFFIC’.
    Account assignment screen:
    Note:
    Before configuring account assignment, please discuss this with your SAP FI/CO functional contact and Accounting department key user for mapping valuation class to General ledger account numbers etc.
    Some of my colleagues in MM Purchasing liked this configuration and I thought your company might also benefit from this in case you want to default the GL account in purchasing to avoid wrong account coding.  

  • FM for CUSTOM FIELDS added in BP transaction

    Hi all,
      We have added few custom fields in the BP transaction.
      Now the thing is we need to update those using Function module.
      Could any one please help me like in which Function Module can i found those
      fields once i add in the BP transaction?
    Thanks and Regards,
    Gopinath A

    Hi Gopi,
    Have you used EEW to add these fields?
    There should be a function module(s) generated for this new fields which you can use to update this fields?  Probably something  like
    'BUPA_CENTRAL_CI_CHANGE'
    Hope this helps.
    Surendar

  • 'BuilHeader not bound' error for custom field added by AET

    Hi,
    We created a Custom field through AET in IC Web UI Screen
    The field is in the Accont Identification screen
    But the field is showing 'Buiheader nto bound error' on loading of the screen.
    We generated the GETTER and the SETTER Methods for the corresponding field in the context node CONTACT PERSONS of the ICCMP_BP_SEARCH Component.
    While Debugging its seen that the
        DATA: current TYPE REF TO if_bol_bo_property_access.
    if iterator is bound.
          current = iterator->get_current( ).
        else.
          current = collection_wrapper->get_current( ).
        endif.
    current  is not getting populated and thats reason why its giving the 'Buiheader not bound error'
    Any suggestions on this will be highly appreciated.
    Regards,
    Sijo
    Edited by: sijokjohn85 on Oct 21, 2009 3:01 PM

    Hi Masood,
    I checked the method create_contactpersons but I couldnt find anything unusual there.
    The code below is present in the  CREATE_CONTACTPERSONS Mehtod of the context class
    model = owner->create_model(
            class_name     = 'ZL_CRMCMP_B_BUPASEARCHB2B_CN01'
            model_id       = 'ContactPersons' ). "#EC NOTEXT
        ContactPersons ?= model.
        CLEAR model.
    * bind to custom controller
      owner->do_context_node_binding(
               iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_CUSTOM
               iv_name =
               'ICCMP_BP_SEARCH/CuCoSearch' "#EC NOTEXT
               iv_target_node_name = 'CONTACTPERSONS'
               iv_node_2_bind = CONTACTPERSONS ).
    Any suggestions like how to fix this issue.
    Regards,
    Sijo

  • Sample code for a custom field added to LIS Communication structure for Del

    We appended a new custome field into extraction structure of the LO Cookpit datasource 2LIS_02_ITM through RSA6.  And then run CMOD to write the exit code to populate the value and it works fine.  But after we read Roberto's Weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Find the enhancement we did can't make the Delta mechanism works if only this new field gets changed in a record, and the change cannot be reflected on BW.  I know we can run SMOD on the enhancement LEINS001 to write the code for LIS Communication structure customer exit.  But we have never writen such a code for LIS Communication Structure enhancement and also don't know on how to make the Delta mechanism works in the code.  We would be very appreciated if some expert here can provide the sample code!
    Thanks

    hi AHP,
    Have you tried Sanyam's code listed in this article you recommended?
    Now our R3 team has added a custom field called ZZZ to EKKO table and I modify the code to suit our need and the code would be as following:
    *& Include ZXM06U16 *
    DATA: i_t_ekko LIKE ekko OCCURS 1 WITH HEADER LINE.
    DATA: ebeln LIKE ekpo-ebeln,
    it_ekko TYPE TABLE OF ekko WITH HEADER LINE,
    old_val(50) TYPE c. "For storing the value from the Field Symbol
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    CASE zeitp.
    WHEN 'MA'. "When creating a purchase order
    MOVE '(SAPLEINS)T_EKKO[]' TO old_val.
    ASSIGN (old_val) TO <fs>.
    i_t_ekko[] = <fs>.
    LOOP AT xmcekko.
    ebeln = xmcekko-ebeln.
    IF xmcekko-supkz = '1'. "Old Value ?
    SELECT SINGLE * FROM ekko INTO it_ekko WHERE ebeln = ebeln.
    xmcekko-ZZZ = it_ekko-ZZZ.
    ELSE. "New Value ?
    READ TABLE i_t_ekko WITH KEY ebeln = ebeln.
    xmcekko-ZZZ = i_t_ekko-ZZZ.
    ENDIF.
    MODIFY xmcekko.
    ENDLOOP.
    EndCase.
    The compile of the above code works fine and we activated everywhere including project level. Then we set debug points in this code, and run RSA3 on 2LIS_02_ITM, but find the extraction program never reaches this code or call this user exit function EXIT_SAPLEINS_001 of this enhancement LEINS001. Any reason?
    Thanks
    Kevin
    Message was edited by: Kevin Smith

  • Custom Fields added to Project Definitions transaction (CN42N)

    In the Project Definitions Overview transaction (CN42N), it was requested that we add custom fields to table PROJ.  The fields added were Responsible Analyst Name/Analyst No. and Responsible Accountant Name/Accountant No.  We have created two Z tables, one for the Responsible Accountant info, and one for the Responsible Analyst info.  These Z tables have been populated with the necessary data, no problems.  The Issue is that in table PROJ, only the Responsible Account No., and Responsible Analyst No. is displayed, and not their respective Names.  Why are they populated in the Z table but not in table PROJ?

    Hi,
    First thing is when your are saving number are you also saving description from your Ztable to proj table zfields for description?  For this I assume you have also added description field in  PROJ table.
    Also I am wondering why you want to store description in PROJ table. You have number in PROJ table  and when ever or where ever you want you can pick description from Ztable. This will help to maintain consistency in logng term.
    Say  for example today you have description  ABC PQR XYZ in Ztable and while saving this description will be saved in PROJ. Later due to some reaosn you changed description to ABC UVW PQR in Ztable. Now you see the description will be different in PROJ and Ztable. Hence I would just maintain number in Proj and get description always from Ztable. Hope this makes sense.
    Enjoy SAP.
    Pankaj

  • 0CO_OM_OPA_6: Custom fields added, Data - available in RSA3, but not in PSA

    Hi Friends,
    I have added some custom fields to the 0CO_OM_OPA_6 data source. Following are the details.
    1) Custom fields: ZZEBELN (Purchasing Doc), ZZUSNAM (Username)
    2) Code populated in SE19 (BADI for this Datasource)
    3) RSA3: Test extraction pulls the records for both the custom fields correctly.
    4) RSA5, and RSA6 - Fields are unchecked for hidden and field only. They are made available.
    5) Extract Structure replicated into BW and its pulled over from extract structure into Transfer structure.
    6) Mapped to corresponding fields in BW update rule and transfer rules. (No routines or formulas exist)/
    7) When load extracted into BW, data is blank for both the fields in PSA itself.
    Our BW is 7.3 but we still use this datasource as 3.x transfer rules and datasource. In BW, it is connected to the Cube 0OPA_C11 via update rules and 3.x transfer rules only.
    Is there any reason for the data being populated into the RSA3, where as not into PSA. Please consider the above points, and let me know if I have done or missing anything here in my steps. I have gone thru several forums and havent got any specific replies for such issues. Have you come across such issues, please share your thoughts and views.
    Any of your replies will definitely help. Really appreciate your inputs.
    Thanks!!
    Prasith

    Hi Prasith ,
    After reading all the answers , what i feel we are  missing a major step ie  Re-initialization of the cube .
    As you changed the extract structure and added new fields and for this Data source i assume that deltas were  running already  , the BW  system cannot pull these new fields directly from ECC unless you have not done a  re-INit again .
    The Re-init is pretty simple and not as complex as LO.
    I would advise you to re-init for 01.2014 till 016.9999  , run full load and then delatas  will flow in later on . Check during the full load if you are able to see these fields in BW in (PSA/ Cube) .
    But be careful you need to do Re-init only on week ends when there are no transactions happening else you might end up in duplicate data .
    Hope this helps !
    Let me know how it goes .
    Regards
    Zeenath

  • SRM 7.0 New custom fields added to view do not appear in the component conf

    Hi
    I added two custom fields to the view V_QTE_DOFC_I_DESC of the WD componenet /SAPSRM/WDC_DODC_QTE_I_DS. This view gets called when bidder is trying to create a bid and clicks on add Substitute Item in the Item tab. This view is simply a popup window where we can enter ther substitute item.
    I added two custom fields to the context of the above view and placed on the layout of the view as input fields. Then I tried to modify the component configuration /SAPSRM/WDCC_DODC_QTE_I_DS_SUB. When I look in t he web dynrpo built-in for the view V_QTE_DOFC_I_DESC, I don't see the custom fields that I just added. As a result, these custom fields are not displayed when I try to substitute an item. Could anyone tell me how to brining in these two custom fields into the component configuration.
    Any help is greatly appreciated.

    Hi Prasuna,
    Sorry ..You are right..I was looking at some other WDC related to contract data..It you map the CUFs to /SAPSRM/S_CLL_CTR_ITEM which has the include structure INCL_EEW_PD_ITEM_CSF_CTR then it should work fine.
    If you do this, are you able to view the new fields on the screen?
    you mentioned that you are not able to save the data to the table.
    Include your fields in INCL_EEW_PD_ITEM_CSF as well because if you add CUF to any of those doc types, you also have to add those CUF to the global structure for CUF documents.
    Also Check if you fields are there in structures BBPS_CTR_CUF_ITEM,BBPS_CTR_UI_ITEM and BBPS_CTR_ITEM.
    Check whether you have implemented the BADI's like BBP_DOC_CHECK_BADI ,BBP_DOC_CHANGE_BADI and BBP_DOC_SAVE_BADI . check out the structures (whether they having the CUFS) used in those if you have implemented any of them .
    Regards
    Lavanya
    Edited by: LAVANYA CHAVA on Aug 25, 2010 10:10 AM

  • Mass maintenance and BDC Recodring of custom fields added in PO header.

    Hello Experts,
    I have created a custom fields in PO header and used  Structure for BADI implementation to update the header with values enterd in custom table.
    My requirement is for some selected PO i want to fix the value of one of my custom field at header level.
    I have tried both the options Mass maintenance and BDC recording but the issue i'm facing is when i go for mass maintenance it is giving me the ERROR and it seems that we can only do the mass maintenance for sap-standard fields only.
    When i go for BDC recording i'm facing the issue that when i do SHDB and start recording  for ME22N my custom field is coming  grayed out and i'm not able to input the desired value in custom field and complete my recording.
    Let me know your valuable inputs .
    Thanks,
    Naveen

    Hello,
    Instead of BDC i'm doing it through the BAPI   "BAPI_PO_CHANGE" by populating the structure extensionin but here i'm facing the error as below:-
    W     ME     887     Error transferring ExtensionIn data for enhancement CI_EKKODB
    E     BAPI     003     Instance 4500001544 of object type PurchaseOrder could not be changed
    below is my code:-
    ls_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+14(3) = no.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        ls_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+10(1) = 'X'.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        call function 'BAPI_PO_CHANGE'
            exporting
              purchaseorder                = wa_po-ebeln
            tables
              return                       = it_bapireturn
              extensionin                  = lt_extensionin
        if it_bapireturn[] is initial.
          call function 'BAPI_TRANSACTION_COMMIT'
            exporting
              wait   = ' '
            importing
              return = it_bapireturn.
        endif.
        refresh lt_extensionin[].
      endloop.
    Please let me know if there is any way to achieve this.
    Thanks,
    naveen

  • How do you get the custom fields added to a address book to show up on Pages 09 when merging fields?

    I created some custom fields in the address book and want to get them merged into a Pages 09 document.  When using the merge fields feature in Pages, only the standard fields are displayed.  I am looking for a way to have the custom fields from the address book inserted into the document.

    I believe you will find them if you go to table - unhide all columns.  When you drag and drop card(s) into pages, it automatically shows default fields.  The others are there but hidden.  I hope this works for you!

  • How to change the Tab name for a custom field added in IC Winclient

    I have successfully added a field using eewb and it is appearing on my transaction in CIC0 but it is on a tab that says Customer Fields.  In EEWB a BADI called ZEEW_CUSTOMER_H01 was generated and it has a methods called  CRM_CUSTOMER_H_SET_TITLE.  It indicates you should be able to use this to rename the tab but the method is empty.  Anyone have an example of the code you pass in to rename the tab screen.  Thanks, Lisa

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

Maybe you are looking for

  • Calculate Month-to-Date in Obiee11g

    Hi, I'm using OBIEE11g, im facing a problem- Problem : Month-to-date  results of this month vs. Month-to-date results of previous month example: if Im in 12th February the calculation is *1st February to 12 February* also *1st January to 12 January*

  • Many  db  objects error after Upgrate EBS 12.1.1 to EBS 12.1.2(7303033)

    many db objects error after apply patch 7303033 Error db objects APPS.ENGECOBO APPS.OKL_REVERSE_CONTRACT_PVT APPS.OKL_GENERATE_ACCRUALS_PUB APPS.OKL_PROCESS_TMPT_SET_PVT_W APPS.OKL_TRANS_CONTRACTS_PVT_W APPS.OKL_TRANSACTION_PVT_W APPS.OKL_CONTRACT_PV

  • Editing in Photoshop Elements 6 - not a choice in Preferences

    I have both PSE6 and onOne Essentials for iPhoto. When I go to Preferences - General - Edit Photo, only Essentials is listed as an option for editing in an external editor. How do I either add Photoshop Elements to the list or replace Essentials with

  • Error in external tax system: Line: 0##### - Unknown tax calculation (MIRO)

    Hi Friends, We have an issue while doing the MIRO Scenario : - Company code in USD Currency, we have a purchase order in EUR currency which had GR and IR in EUR only last year..this year when we are trying to process IR ( MIRO) for residual amount in

  • Running apple mail on windows system

    Hey all, Is there anyway that I can download and run apple mail on a windows based system? I just recently got a mac (first one!!) and am switching all my contacts to mail. But when I'm at work I'd like to have mail running on my windows based comput