Add ECC Custom Fields in CRM Web UI ERP Order item

hi all,
i have to Add ECC Custom Fields in CRM Web UI ERP Order item .
I have :
-  add the field on Web UI Screen.
-  add the field on structure  TDS_item_COMV  and  TDS_item_COMC in ecc
-  insert record for field on LORD_MAPPING table
-  implemented badi BADI_LORD_DO_PA BADI_LORD_GET_INPUT_MODE.
-  implemented method GET_I_S_STRUCT on crm with  :
CASE COMPONENT.
    WHEN 'ZZSPOND'.
      RV_DISABLED = ABAP_False.
endcase.
- on method  do_prepare_output i have change value of fields with code :
lr_loop = typed_context->erpadmini->collection_wrapper->get_first( ).
WHILE lr_loop IS BOUND.
posnr = lr_loop->get_property_as_string( iv_attr_name = 'POSNR' ).
Does the current item has to be set for "Sponda Idraulica"?
READ TABLE Z5CL_GSA_TOOL0001=>GT_ITEMS_SPOND INTO ls_spond
                              WITH KEY posnr = posnr.
IF sy-subrc = 0.
lr_loop->set_property_as_string( iv_attr_name = 'ZZSPOND' iv_value = 'X' ).
DATA : V_X TYPE STRING.
V_X = lr_loop->get_property_as_string( iv_attr_name = 'ZZSPOND' ).
ENDIF.
lr_loop = typed_context->erpadmini->collection_wrapper->get_next( ).
ENDWHILE.
I can't change the field  value  because it is "not changeble"  .
Can you help me ?
Thanks in advance.

Hi Celi,
I have created some fields at header level of ERP Order, and the user is available to change them, replicating the information to SAP ECC (using interface LORD II). 
All sales item information is treated using RFC ERP_LORD_GET_ITEM_MULTI, available in SAP ECC. 
Please check the following point:
If those structures below were expanded with your custom fields:
SAP CRM:
CRMST_L2_ITEM_COMV
CRMST_L2_ITEM_COMC
CRMTT_ADMINI_ERPIL
CRMTT_ADMINI_I_ERPIL
SAP ECC:
TDS_RFC_ITEM_COMV
TDS_RFC_ITEM_COMC
Please check if for your scenario is necessary to implement the enhancement BADI_LORD_DO_PAI method ADD_SUPPLY_LIST. The code below works for header level.
  DATA: ls_supply TYPE tds_field_supply.
  IF iv_object_id EQ 'HEAD'.
    IF iv_module EQ 'VBAK_BEARBEITEN'.
      ls_supply-field = 'ZZCCINS'.
      APPEND ls_supply TO ct_supply.
      ls_supply-field = 'ZZCCNUM'.
      APPEND ls_supply TO ct_supply.
      ls_supply-field = 'ZZCCNAME'.
      APPEND ls_supply TO ct_supply.
      ls_supply-field = 'ZZAUNUM'.
      APPEND ls_supply TO ct_supply.
    ENDIF.
  ENDIF.
I hope it helps!
Kind Regards!

Similar Messages

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • How to add an input field in the web UI of CRM 2007

    Hi everybody.
    I want add an Input field in the Web UI Screen. How it is possible.
    I want get the information with detailed descriptions if possible with screen shorts.
    What type of methods it will be generated and what are the code we entered in those methods.
    Take according to any example. But with detailed description.
    I am new for the CRM 2007. So, please give the screen shorts with proper data.
    Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
    So, Can anybody please send a proper information according to this.
    Here another one How to Add our own table (Ztable) field in the Web UI Screen.
    How to add the same field in the BOL.
    Please expalin about those concepts with full of screen shorts messages.
    Thank You.
    Regards,
    Krishna.

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • Enhance Standard Info Structure SAP_CRM_ACT to add custom fields in CRM Activity archive Search

    Hi All,
    We have a requirement where we need to enhance CRM UI archive search with custom fields for CRM activity Object CRM_ACT_ON. As per my analysis Standard Archive Search for activity Uses info structure SAP_CRM_ACT for searching archived data.
    But when we are trying to add custom fields into above field catalog, it is treated as modification. But Modification is not allowed in our landscape.
    Standard infostructure is harcoded in SAP standard method ARCHIVING_READ of class CL_CRM_REPORT_ACC_DYNAMIC which is called as part of the process. So we are not able to go ahead with custom info structure.
    Can you please le me know if there are any alternative way to meet above requirement or I have missed any steps.
    Thanks & Regards,
         Sujit

    Hello Thomas,
    Maybe this link can help.
    add new field to search criteria and result.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0747ac2-ffd9-2910-de9a-8a3dc44da8b4?QuickLink=index&overridelayout=true&12966506314316
    Search Options - Knowledge Management - SAP Library
    regards,
    Grace

  • Replication of Custom Fields from CRM to ISU and Vice versa

    Hi Experts,
    We are working on adding Z fields on BP level. For this how does the replication of the values takes place from CRM to ISU or vice versa. What are the middleware enhancement we need to do in CRM side or in the ISU side. We would add the fields on web UI crm side by AET but at ISU side how we need to do that and how would the field values replicate in both the system.
    A approach for adding BP custom fields in CRM and its interaction with ISU and vice versa would be appriciated.
    Thanks,
    Mayur

    Excuse, you may enter more in detail?
    I have created a custom field on BP using the AET would now like to replicate this custom field in BP also in ISU.
    I can do all this using the EEWB, but I would avoid it, since, in ISU we already have custom fields on BP, I just can not link them with CRM.

  • Enhancement of component ERP_H with a custom field in the Web UI

    Hi,
    I'm facing an error when enhancing the component ERP_H with a custom field in the web UI.
    I've followed the steps mentioned in the pdf document called "Enhancement Options for the Lean Order Interface" (Note
    1224179):
    I´ve done a enhacement on ERP_H component.
    I added a field to the view Headerdetail called "ZZCCTYPE1", but when I set a value in UI, I haven´t read this field in abap code.
    The SET method (SET_ZZCCTYPR1) in the context node is ok, in debug I see that the method current->set_property, is working fine.
    I've tried to read the atribute with lr_entity->get_property_as_string ( 'ZZCCTYPR1' ), but doesn´t work. When I read other "standard field", the statement is ok and it has value.
    When I set the value of the field from ECC (VA01/VA02), it is kept by the system.
    Could anybody help me?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi,
    To add a new field, you have to first create it through T-Code EEWB where in you create a project, create extension  which is assigned to a business object and create the new field through wizard - specifying the field name , type and length.
    Once this is done, you can check the new field coming up in available fields for the relevant component's view in Tcode BSP_WD_CMPWB.
    Hope this helps you out.
    Cheers
    Ravindra Valy
    "Award Points if it is helpfull"

  • Add a Customer Field Tcode FS00 - G/L Account

    Hi All,
    We need add a customer field to the tcode FS00.
    Anyone have a sugestion for this.
    We searched an exit or enhancement for this but we d'ont find anything.
    Thanks,
    Carlos Duarte

    hI,
    Just check these following links.It may helps...
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    https://wiki.sdn.sap.com/wiki/display/HOME/Enhancement
    Regards
    Kiran

  • Enhancing the component ERP_H with a custom field in the web UI

    Hi,
    I'm facing an error when enhancing the component ERP_H with a custom field in the web UI.
    I've followed the steps mentioned in the pdf document called "Enhancement Options for the Lean Order Interface" (Note
    1224179):
    I´ve done a enhacement on ERP_H component.
    I added a field to the view Headerdetail called "ZZCCTYPE1", but when I set a value in UI, I haven´t read this field in abap code.
    The SET method (SET_ZZCCTYPR1) in the context node is ok, in debug I see that the method current->set_property, is working fine.
    I've tried to read the atribute with lr_entity->get_property_as_string ( 'ZZCCTYPR1' ), but doesn´t work. When I read other "standard field", the statement is ok and it has value.
    When I set the value of the field from ECC (VA01/VA02), it is kept by the system.
    Could anybody help me?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi Pooja,
    When you created your custom views, did you bind the view context nodes to the corresponding context nodes of your component controller?
    From the exceptions you reported it seems that this binding is missing.
    To create this binding, you can right click on your view context node , choose "Create Binding" and bind it to the context nodes of your Component Controller.
    Hope this helps.
    Regards,
    Nisha

  • Custom field in CRM ISA order header

    Hi,
    I was able to add a custom field in our CRM ISA B2B website order entry header following the instruction on the ISA_30..modification guide.
    Right now I am able to store that custom header field data in a table in CRM called CRM_ISA_ADD_DATA which is also specified in the guide.
    My question is how do I transfer this field to the actual CRM ISA Order Header text field so that it can be replicated to R/3? 
    Any suggestions would be appreciated.
    Thanks,
    Prasoon

    Hi Hitesh,
    I am also looking for the solution for the same problem.
    I hope you have found the solution.
    If you have found the solution please let me know and help me how to do it.
    I really appreciate your help on this and I will assign you points for this.
    Thanks for your help.
    Ashish.

  • How to add a customer field or extn coll in the tab1&2&3..of a UDO doc?

    Hi Experts,
    Does anybody know how to add a customer field or extn collection in the unused  tabs like tab1&2...in a UDO document?
    Thanks for your reply in advance.
    Thanks & Regards,
    David

    Hi Subhasini - <br><br>
    It seems you have discovered that adding an extension field to the Project Suppliers collection is not possible; many of the collections in E-Sourcing do not support extensions and, even when they do, typically, the table view of the data cannot be changed to show the extension value (it would only show on a "details" page, for example.<br><br>
    The solution that you have proposed may work, although I think there is a slight mistake in your logic. I believe you are saying that the script would take data from the newly created extension collection and populate data in the out-of-the-box vendor collection. <br><br>
    In thinking about your solution, I believe the benefit is that any logic and reporting based on the standard collection continues to function correctly (e.g., creating an RFx from the Project will use the out-of-the-box vendor collection).<br><br>
    That being said, I generally am reluctant to do a "replace" of a standard collection with an extension collection as you propose. My recommendation is that you challenge the customer on the importance of this requirement. For example, could the code be maintained on the vendor record? Why is it maintained in Projects? If it is maintained in the vendor record, could you just populate a read only collection the Projects that shows the vendor and code? Could a report be written that can be launched from within the Project to show the values? How does the customer intend to use this field? Could the display name of the vendor object be the right place for it?<br><br>
    I hope these ideas are helpful.<br><br>
    Regards,<br><br>
    Rob<br><br>

  • Error when add a custom field to source 2LIS_12_VCHDR

    Hi Experts,
    I'm trying add a custom field to source 2LIS_12_VCHDR. The fields are in LIKP table's append. That are
    zz fields. I can see the fields in MCLIKP structure, but I can't see these fields in LBWE transacction when I try update the structure MCLIKP. I don't know if this last is important because when I replicate of the source the fields, they are visible in BW.
    The problem is when I try activate the transfer structure. I Can add the fields from the data source to the transfer structure but If try activate the source the error is:
    "Error when creating transfer structure /BIC/CCBA2LIS_12_VCHDR in source system XXXX"
    I'm forgetting some step?
    somebody know other way for do it?
    thanks for your help.
    Manuel.

    Hi
    May be the datasource is not active, do the following obviously in development
    goto LBWE and click on your datasource; system will ask you for a transport request number give it a name. now save the datasource.
    replicate and activate your t/r
    hope this helps
    Regards

  • In SD i am looking to add some custom fields to the delivery document.

    In SD i am looking to add some custom fields to the delivery document. can any one help me out.

    hi,
    u have get the access key for the program with respective to the delivery document & user exit has has to done.
    This is job of abaper
    regards,
    Arun prasad

  • How to add a custom field to Ship-to address screen

    Hi all,
    I have to add a custom field for Plant in the Ship-To address subscreen(BBPSC01).
    I have added the field in the program saplbbp_sc_ui_its in screen 310.
    But I think need to write the HTML code/Java script in HTML template to trigger the code from module pool.
    As I am new to HTML/Java script, Can any one please let me know the procedure to follow.
    Thanks,
    Rakesh.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • Add a custom-field in the table MARC and manage it in MM01/MM02/MM03

    Good day to all of you!
    I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows:
    In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say the field is MATNR OBSOLETE.
    I have searched and implemented the things in customizing: Made a copy of function group MGD1, added the field on the screen.
    MY PROBLEM! How to manage it??? When the user enters MM01/MM02/MM03 and update this field, the field should be updated in MARC.
    1. I am not sure that this custom-field should be on Basic Data1 or Basic Data2.They want it at plant level.
    2. How to manage the data transfer from SAP Standard Program and my Custom Function Group.
    PLs: Do not paste me link to sap technical site with that example, because there takes the custom fields and UPDATE a CUSTOM TABLE. I need to update MARC!
    All the documentations i have read until now tell you how to add the field, ONLY the first part of the SOLUTION.
    Any help, pls?
    Good day and thank you!

    Hi Alex,
    In which way you are trying to update that custom filed. Have you written any logic in EXITS/BADIS?
    http://pavelgk.pbworks.com/f/6729224-Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen.pdf
    and
    Just read the OSS note mentioned earlier.
    Symptom
    You want to integrate customer-specific fields in material master maintenance.
    Other terms
    SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001 
    Solution
    To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
          1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
          2. Enhancing online maintenance in customized material master maintenance:
          Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
          In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
          If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F): 
          Application examples for standard field selection:
          The field is mandatory and is to be flagged with a "?".
          The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
          The following data is required for each field:
                a) Field name        (T130F-FNAME)
                b) Field selection group (T130F-FGRUP)
                Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
                You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
                Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
                c) Maintenance status (T130F-PSTAT)
                List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
                d) Reference        (T130F-KZREF)
                This indicator must be set if the field from the reference material should be proposed during creation with reference.
    Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
    You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
    In addition, you must not add new standard fields to table T130F.
          3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
          Add the fields to central field table T130F (see above).
          Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
          Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
          For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
          If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
          Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
          As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
                a) Add the customer-specific fields to include CI_MMH1.
                The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
                Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
                b) Activate include CI_MMH1.
                c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
                d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
    Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
    In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
    Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
    If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
    If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
    To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
    check this link. It may helps you to solve your issue.
    Thanks
    Sravan

Maybe you are looking for

  • How do I initialize an array after getting xml data via httpservice?

    I am having a problem trying to initialize an array with data from an external xml file obtained via httpservice.  Any help/direction would be much appreciated.  I am using Flex 4 (Flash Builder 4). Here is my xml file (partial): <?xml version="1.0"

  • Adobe Acrobat 8

    I have a new computer. How do I aktivat Adobe Acrobat 8 on it. I have not the old one

  • Where can I download the driver for ZEN 8G

    Have been looking on CREATIVE website, internet, tucows, etc.... Can't find the missing driver so that my Advent laptop (Windows XP S2, WMP ) recognises the player when connected. Anybody can help ? Tom

  • SOMEONE MUST KNOW about missing MPG2 Playback component!!!

    OK! Just a few months ago, i was able to Mpegstreamclip to preview VOB and MPEG2 files... Now, the program says as some have experienced.... Mpeg2 playback component missing.... Mpeg2 playback component supposedly came w/ FCP studio... Now it's missi

  • Where i can  Download Oracle DataBase 9i.

    hi everyone, i need download the database oracle 9i (9.2.0), but i cant find the link to obtain the software, i can find somewhere ?? or can not be find.... thanks.