Enquiry in BOL entity

Hi all,
I need to create a new BOL entity in CRM 2007?? How will I implement this??
Its urgent.Plz help.
Regards,
Nithu

Hi Rajesh,
go to SPRO>CRM>CRM Cross-component Application -->Generic Intraction Layer
Bellow this tab different options are available .Please read the provided help to create new BOL Entity and assign this BOL Entity to related Component.
Follow bellow thread for refrence
How to Create New BOL Object
Regards
Gaurav

Similar Messages

  • ZBOL entry is not coming in BOL Entity

    Hi All,
    I have created 1 Z Component in SPRO-> Customer Relationship Management-> CRM Cross-Application Components-> Generic Interaction Layer/Object Layer-> Basic Settings. In the Object table and Model table i have created the entries for the Z BOL. I redefined the methods of the implementation class and tested the Component in genil_bol_browser, it is working fine.
    Now i have to link it to Web UI, so i am creating a new view in BSP Component, while creating new view, in Add Model Node step, in BOL Entity my Z BOL entry is not coming.
    How it will come over there in the BOL Entity list ?
    Thanks & Regards
    Raman.

    HI, ramana,
    see this link it will help to you.
    [http://wiki.sdn.sap.com/wiki/display/CRM/CreateaZBOLObjectPart1|http://wiki.sdn.sap.com/wiki/display/CRM/CreateaZBOLObjectPart1]
    Regards,
    sam.

  • Method which fills bol entity?

    hi Experts,
                    I have created many interaction record which are linked to1 service ticket.I fetch the guid values of these interaction records,now i want to set a field in the interacton record for all tehse guids.Is there any method available which will take the guid and give me its entire record (ie all fields) in some BOL entity or  any other way with which i can set the filed value of the IR's when i have only their guids available.
    Answers will be rewarded.

    Hi,
        Interation record BOL node is part of BT BOL model and it only has a result object
    BTQResCuHist
    The attribute structure of BTQResCuHist is
    CRMST_QRESCUSTHIST_BTIL
    . You can call
    get_attributes
    method in
    modify_objects or maintain_attributes
    method for your objective to get details of each IR as follows -
      CALL METHOD ir_object->get_attributes
        IMPORTING
          es_attributes = ls_changed_attr.
    where ls_changed_attr is of type CRMST_QRESCUSTHIST_BTIL.
    Similarly,
    You can call set_attributes method to set the required value as follows -
            CALL METHOD ir_object->set_attributes
              EXPORTING
                is_attributes = ls_new_attr.
    I hope this will solve your issue. Reward if helpful!
    Thanks,
    Sudipta.

  • Locking Bol entity in Simple object

    Hi,
    I have created a Simple Object with a structure and have assigned the BOL entity to my custom view. Now if I want to lock the structure in event handing method, the locking fails. how can I lock the custom structure?
    Thanks,
    Nandini

    Dear Chicon,
    I made thread to sleep for checking the "Object Locking" functionality of OpenJPAEntityManager. My intention was to block the second thread when the first thread being locked when a concurrent access occurs. But it doesn't happened and code execution passed to thread sleep.
    I mean when 2 client access the same entity at same time (in same milliseconds) , and what happens to 2nd thread when 1st thread locks the entity object.
    I guarantee you that i started the 2nd thread before the 4sec time stamp given to the object locking. I tested it with a bigger timestamp, still it given concurrent blocking of the same entity bean.
    My question is why the object locking is not working with concurrent access to same entity bean from more than one thread???
    I think you get the correct question what i intended ????
    Regards,
    Raj...

  • BP relationship and BOL entity

    Hi,
      I have a doubt on the BP relationship. I created an account in tcode BP, and i have relationship such as <b>"primary CP"</b> for this account.
      For example: account 123 has 2 relationships => a contact person and Primary CP.
      Now, in SAPGUI, i add <phone number> for this primary CP. I wonder where does this <phone number> store?
      As in debugging mode, I navigate to "BuilContactPersonAddressRel", but the field for <phone number> - "TEL1_NUMBR" is blank.
      So, I manually navigate the GENIL_BOL_BROWSER > BuilHeaderSearch, Find Partner as "123" (account BP) > navigate to children "BuilContactPersonRel" > choose my primary CP > navigate to children "BuilContactPersonAddressRel", but there is no entity for this.
      I wonder why I can navigate to "BuilContactPersonAddressRel" while debugging, but in Bol, there is not such "BuilContactPersonAddressRel" exist.
      And where does the <phone number> store to?
      Could this be my relationship problem?
      Kindly advise.
    regards,
    Ginnie

    Hi ginnie,
    The following are the relationship tables
    BUT000 : BP: General data - Contains Business Partner Number, Partner Category, Partner Type, First Name, Last Name etc.
    BUT020 BP: Addresses
    BUT050 BP relationships/role definitions: General data - Contains Relationship, Partner Number (PARTNER1), Relationship Category
    BUT051 BP Relationship: Contact Person Relationship Similar to
    BUT050 additionally contains Contact Person's Address data
    BUT0BK Business Partner: Bank Data & Details BP Number, Bank Key, Bank Country Key, Bank Account Number
    BNKA Bank Master Data
    BUT100 BP: Roles
    ADR2 Telephone Numbers (Business Address Services)
    ADR6 SMTP Numbers (Business Address Services) - Contains Email – Id of the BP.
    ADRC Addresses (Business Address Services) - BP's Complete Address Details- City, Country, Post Code, District,
    Street, Title No Etc
    TSAD3T Table containing the Title text against a Title No.
    COMM_PRODUCT Master Table for Product
    CRMM_BUAG Master table for Business Agreement
    CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU
    CRMD_OPPORT_H OPPORTUNITY HEADER DATA
    CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
    Note:
    CRMD_OPPORT_H OPPORTUNITY HEADER DATA
    CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
    CRMC_PROC_TYPE Master table Business Transaction Type
    CRMC_PARTNER_FCT Definition of Partner Functions
    SCPRIOT Priorities for Activities with priority text.
    CRMC_PROC_TYPE_T Text for a transaction type
    CRMC_ACT_OBJ_T Objective Number and Text for Activities
    TJ30T All the status code and text
    CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
    IBIB : Installed Base/Ibase
    IBIN : Installed Base Components
    Please reward if this helps.
    regards,
    Muralidhar Prasad.C

  • Extending the Search Object of a BOL Entity  with custom fields

    Hi All,
    I have to enhance the structure of the BOL search object 'BuilHeaderSearch' with custom fields!.
    i went to the transaction genil_bol_browser and find out the structure of the object as, 'CRMST_HEADER_SEARCH_BUIL'
    how can i insert custom fields into this structure, so that i can display these custom fields at the Front end ( Web IC ).
    Thanks in advance,
    sudeep v d.

    Hi Sudeep!
    First of all it should be mentioned that: it is NOT possible to change list of <b>SEARCH</b> criteria in IC!
    So, in other words, you can search BP ONLY by params listed in native structure 'CRMST_HEADER_SEARCH_BUIL'.
    BUT: You can <b>FILTER</b> search results!
    For example: you get the list of BP with MC_NAME1 (lastname) search criteria (only by SAP class!)and THEN you can filter (delete from list) by YOUR criteria (in your class!).
    Is it clear?
    So how to add your own criteria?
    1. Transaction GENIL_MODEL_BROWSER - Model Browser forGen.IL Applications
    2. Component Set - ALL
    3. Search Objects -> BuilHeaderSearch -> Attribute Structure ->CRMST_HEADER_SEARCH_BUIL (Dbl Click)
    4. Append Structure (or F5)
    5. Name the new sub-structure and provide all new fields
    So now you can use this new fields in IC Z-classes.
    I had the same task and nobody in SDN could help - so I had bought new SAP_book: <a href="http://www.sappress.com/product.cfm?account=&product=H1909">mySAP CRM Interaction Center</a> because in Contents there were:
    <b>"Extending the Business Partner Search in IC WebClient by New Search Fields"</b>.
    So in fact it is not truth: it is not possible to <i>extend search</i>. You can only filter results!
    <b>BUT</b>!
    It is not the end of my post! I hope that SAP people will see this post. I found a BUG in SAP classes and methods: it is not possible to navigate to first position in collection wraper!
    exactly:
    lr_current ?= entity_col->if_bol_bo_col~get_first( ).
    doesn't work.
    So position of cursor puts on second record in structure!
    In other words it is not possible to filter the first record in search result! And so new search is not efficient
    I think that is is bug and wait for comments of SAP.
    <b>Reward points if it helps.</b>
    Regards,
    Alexander

  • How I can Instance a entity bol that corresponds to a  contract by GUID?

    Hello, and thanks.
    I would like to instance an object bol entity from a contract by OBJECT_ID or GUID,
    someone can help me???
    thanks in advance

    Hi,
    if it is a root object you can get it easily using the BOL Core. Class CL_CRM_BOL_CORE has a method GET_ROOT_ENTITY(). Just make sure the correct BOL Component Set is loaded, give the object name and object guid.
    cheers Carsten

  • Custom field added by AET is not editable - not added to BOL structure

    Hi ,
    We had created a new field using AET in Products Assignment Block of Campaigns as a line item.This is a drop down field.
    But in WEB UI,this field is being displayed as non-editable dropdown.
    In AET, we opted Business Object as MKT_CPG and subobject as PRD.
    But the issue is that the Dependent objects CPGProducts and CPTProducts BOL Entity Structures are not getting enhanced with this new field and i guess , so the field is appearing as non-editable in WEB UI.
    PRODUCTS context node is using the structure CRMS_MKTPL_IB_CPG_PROD(BOL object CPGProducts).
    All other related object structures(Structure of that of Dependent Objects AGRProduct ,DLMProduct etc) are being appended with the newly created field.
    Component : CPGOE_ABLOCKS
    View : CPGOE_ABLOCKS/OVELProducts
    Context Node : PRODUCTS
    Attribute structure that needs to be enhanced for our requirement : CRMS_MKTPL_IB_CPG_PROD.
    We are not using Genil Shared memory in our dev system.
    Any pointers to solving this problem is highly appreciated.
    Thanks
    Swapna.

    Hi Sherwin,
    Please follow the corrections in note : 1472567
    I only raised an OSS message back in July 2010 with SAP when I had similar requirement.
    Regards,
    Naresh

  • Issue in updation of related entities in a BOL

    Hi,
    I am trying to update a related entities using BOL entity method. 
    But somehow the data is not updated in entity. It creates an entity but sets the default data.
    CREATE_RELATED_ENTITY( IV_RELATION_NAME = 'XXXXX")
    LR_PROPERTY->SET_PROPERTIES( LS_PRoperty ).
    Is there any method we need to call after setting this property ?.
    Regards,
    Ch Deepthi.

    Hi Deepthi,
    The creation of dependent or child objects normally does not trigger the API call. Therefore, it
    is necessary to explicitly trigger the API call by using the MODIFY method of the BOL core,
    which sends changes to the underlying generic interaction layer. Without this call, the created
    child objects will only exist in the BOL buffer and never get saved.
    lv_bol_core->modify( ).
    DATA: lv_transaction TYPE REF TO if_bol_transaction_context
    lv_transaction = lr_entity_parent->get_transaction( ).
    lv_transaction->save( ).
    lv_transaction->commit( ).
    Regards,
    Nithish

  • IC WebClient extending the BOL for BTOrder

    Hello out there,
    we will soon start a project for service with implementing the ICWC. But in a very early review we find out that some special information of the service order is neither in ICWC nor in PCUI accessible.
    The data i mean is "Account Assignment" wich you can find on the tabstrip with the same name of the service-order in the sap-gui. But there nothing about it in PCUI or ICWC. I checked out the complete BOL-structure for ICWC with transaction CRMV_GENIL but can not find a relation to BTOrder wich holds the data. A link to displaying the service order in PCUI isn't a solution because the data is missing here too.I read the IC-Consultant Cookbook a few times but can't find a good answer.
    How can i create the BOL-Entity wich holds the needed information ? I found the Method DERIVE_RUNCLASS_FROM_OBJ in class CL_CRM_OBJ_FACTORY_BTIL wich build the runtime class of the BOL-Object with a hard-coded pattern: CL_CRM_<bol-entity>_RUN_BTIL. If i cretae a BOL-entity BTACAssign and a class ZCL_CRM_ACASSIGN_RUN_BTIL in the customer-namespace the method could never create the runtimeclass.
    has anyone an idea to solve that problem ????
    Kindly regards,
    André Borrmann
    Message was edited by: André Borrmann

    Hello specialists,
    is there now one who can help. Where are the sap-gurus ?
    The Accountingdata is impossible to see and fill in in the PC-UI in the CRM-SI ADDON, too.
    Please help. Because if there is some data and functinality is missing in the PCUI, we have no arguments to our customer to start a project to change from classic gui to pcui......
    Best regards,
    André Borrmann

  • Update custom value in service ticket  page ICWC through BOL

    Hi
    I want to add a new custom field "Product" in service ticket as a dropdown and update this value in the service ticket when save button is entered.
    From GENIL_BOL_BROWSER,I can naviagte from BTOrderHeader
    and with related entities links I can reach BTHEADERITEMSEXT,BTORDERITEMALL,BTADMINI and find the ORDERED_PROD which is the attribute I need to populate.
    how I go about creating context ,Context node and populate this value when service ticket is saved in the database?
    thanks
    John

    You should understand first the CREATE_CONTEXT_NODE Method of the Context Node Class and the ON_BEW_FOCUS Method of the Individual Contect Node Class . If you look into these method they you can make out what is the Current BOL entity each of the Context Node is pointing too .  This will help you to make a decision that
    Option 1 -> Shall I extend a Current Context Node Class to add a New Attribute ORDERED_PROD   
    OR
    Option 2 --> Should create a new Context Node
    Both can be done using the Wizard in BSP_WD_WORKBENCH . Browse to the View , then Context Node . Option 1 , Right Click on 'Context Node' and 'Create' .Option 2 , go to the particular 'Context Node' , 'Attributes'  and 'Create'
    In most case , even if the Context Node doesn't point to the BOL Entity you are looking for i.e BTAdminI  , then in the GET_XXXX and SET_XXXX method of the
    Context Node Class , you can do some manual coding (BOL Programming ) to browse to the right BOl Entity to set/get the Value.
    Let me know if this helps.

  • Where to create root BOL in custom component - best practice

    Hi Experts,
    I have created a BOL class to insert values into a ZTable.
    I have created a custom component/views for the BOL. Now how will the create method in the BOL will be called. In which method of the component controller or view controller do I create the BOL root..
    I want to use the following code.
    CALL METHOD SUPER->WD_CREATE_CONTEXT
    DATA:
      lref_substitute           TYPE REF TO if_bol_bo_property_access,
      lv_index                  TYPE i,
      lref_bol_entity           TYPE REF TO cl_crm_bol_entity,
      lrf_cuco                  TYPE REF TO cl_gs_mcat_mcat_impl,
      lref_bol_core             TYPE REF TO cl_crm_bol_core,
      lv_object_name            TYPE crmt_ext_obj_name VALUE cl_crm_catego_genil=>gc_ob_schema,
      lv_create_param               TYPE crmt_name_value_pair_tab,
      lv_number                     TYPE int4 VALUE 1,
      lref_new_substitute       TYPE REF TO if_bol_entity_col,
      lr_tx                     TYPE REF TO if_bol_transaction_context
    lref_bol_core = cl_crm_bol_core=>Get_instance( abap_true ).
    lv_object_name = 'ZHRUS_D2'.
    TRY.
        CALL METHOD lref_bol_core->root_create
          EXPORTING
            iv_object_name  = lv_object_name
            iv_create_param = lv_create_param
            iv_number       = lv_number
          RECEIVING
            rv_result       = lref_new_substitute.
      CATCH cx_crm_unsupported_object .
    ENDTRY.
    CHECK lref_new_substitute IS BOUND.
    lref_substitute ?= lref_new_substitute->get_first( ).
    CHECK lref_substitute IS BOUND.
    me->typed_context->zhrus->collection_wrapper->clear( ).
    me->typed_context->zhrus->collection_wrapper->add( iv_entity = lref_substitute ).
    I give the code in various methods and it all works fine. But what is the best way to create the root node.
    Regards,
    Abdullah Ismail

    Hi Abdullah,
    I use something like this to create a root entity in the BOL Core. In this case, a standard entity: BTOrder.
    *- Data dictionary
    DATA lr_core         TYPE REF TO cl_crm_bol_core.
    DATA lr_fac          TYPE REF TO cl_crm_bol_entity_factory.
    DATA lt_params       TYPE crmt_name_value_pair_tab.
    DATA lr_ent          TYPE REF TO cl_crm_bol_entity.
    FIELD-SYMBOLS <line> TYPE crmt_name_value_pair.
    *- Get the core instance and factory
    lr_core = cl_crm_bol_core=>get_instance( ).
    lr_fac = lr_core->get_entity_factory( 'BTOrder' ).
    *- get supported parameters for this object
    lt_params = lr_fac->get_parameter_table( ).
    *- Set the process Type
    READ TABLE lt_params ASSIGNING <line> WITH KEY name = 'PROCESS_TYPE'.
    <line>-value = '0010'.
    *- Create the BOL entity, based on parameters
    lr_ent = lr_fac->create( lt_params ).
    lr_ent = lr_ent->get_related_entity( 'BTOrderHeader' ).
    *- Lock order
    CHECK lr_ent->lock( ) = abap_true.
    It is an alternative way. Check if it helps you creating your Z-Object in the BOL root
    Kind regards,
    Garcia
    Edited by: Bruno Garcia on May 12, 2011 12:15 PM

  • Mapping to BOL layer

    Hi,
    I am trying to map the field  STRUCT.E_MAILSMT in component BP_CONT view:ContactDetails to the BOL layer.
    How do i go about?
    Regards
    Shilpi

    Hi Shilpi,
    The easiest way to find out is:
    a) Open the CN02 class of WorkAddress context node.
    b) Go to attribites tab.There you will see the Base_Entity_Name.This is the original name of BOL entity-BuilContactStandardAddress.
    c)Now go to genil_model_browser.Open the Component Set BP_APPL.Search for BuilContactStandardAddress under dependent objects.
    Hope this helps!
    Thanks and Regards,
    Rohit

  • Create and save a BuilMktAttribute entity in a report?

    Hi all,
    I've to do a mass import of marketing attributes from a flatfile to some business partners.
    I try to do this using the BOL (see test coding below).
    All values are submitted to the BOL entity and corresponding to the values of the tables KLAH, CABN and CAWN.
    But when saving the table GT_MKTBP_GLOB in FM CRM_MKTBP_SAVE_AND_CHECK_OB contains no values in column ATWRT and so no attribute will be saved. Anyhow, the success flag is set to TRUE.
    Any idea, whats my mistake?
    Regards Martin
    PARAMETERS: pa_part   TYPE bu_partner OBLIGATORY
              , pa_klass  TYPE klasse
              , pa_merk   TYPE atinn
              , pa_wert   TYPE atwrt
    CALL METHOD cl_crm_bol_core=>get_instance
    *  EXPORTING
    *    iv_display_mode_support = ABAP_FALSE
      RECEIVING
        rv_core                 = gr_core
    SELECT SINGLE * FROM but000
                    INTO ls_but000
                    WHERE partner = pa_part.
    CHECK sy-subrc EQ 0.
    lv_object_id = ls_but000-partner_guid.
    TRY.
        CALL METHOD gr_core->start_up
          EXPORTING
            iv_appl_name            = 'BP_APPL'
    *    iv_display_mode_support = ABAP_FALSE
        lv_query_name = 'BuilHeaderAdvancedSearch'.
        ls_selection_parameters-attr_name = 'PARTNER'.
        ls_selection_parameters-sign = 'I'.
        ls_selection_parameters-option = 'EQ'.
        ls_selection_parameters-low = pa_part.
        ls_selection_parameters-high = ''.
        APPEND ls_selection_parameters TO lt_selection_parameters.
        CALL METHOD gr_core->dquery
          EXPORTING
            iv_query_name           = lv_query_name
            is_query_parameters     = ls_query_parameters
            it_selection_parameters = lt_selection_parameters
    *    iv_view_name            = lv_view_name
          RECEIVING
            rv_result               = lr_result
        CALL METHOD lr_result->get_first
          RECEIVING
            rv_result = gr_entity.
        CALL METHOD gr_core->reread_entity
          EXPORTING
            iv_entity = gr_entity.
      CATCH cx_crm_genil_general_error .
    ENDTRY.
    CLEAR: ls_marketing
    TRY.
        CALL METHOD gr_entity->create_related_entity
          EXPORTING
            iv_relation_name = 'BuilMktAttributeRel'
          RECEIVING
            rv_result        = lr_entity.
      CATCH cx_crm_genil_duplicate_rel .
      CATCH cx_crm_genil_model_error .
    ENDTRY.
    IF NOT lr_entity IS BOUND.
      MESSAGE e900(z_mk_messages).
    *   Es konnte keine Entität erzeugt werden!
    ENDIF.
    CALL METHOD gr_core->modify
    ls_marketing-attribute_set = pa_klass.
    ls_marketing-attribute     = pa_merk.
    ls_marketing-language_int  = sy-langu.
    ls_marketing-value         = pa_wert.
    CALL METHOD lr_entity->if_bol_bo_property_access~set_properties
      EXPORTING
        is_attributes = ls_marketing.
    CALL METHOD gr_core->modify
    CALL METHOD gr_core->get_transaction
      EXPORTING
        iv_entity = gr_entity
      RECEIVING
        rv_result = lr_transaction.
    CALL METHOD lr_transaction->save
    *  EXPORTING
    *    iv_force_save = ABAP_FALSE
      RECEIVING
        rv_success    = lv_success
    IF lv_success = abap_true.
      CALL METHOD lr_transaction->commit
    *  EXPORTING
    *    iv_keep_locks = ABAP_FALSE
    ELSE.
      CALL METHOD lr_transaction->rollback
    ENDIF.
    WRITE:/ lv_success
    Edited by: Martin Knittel on Apr 19, 2010 10:14 AM

    How did u solve this issue?

  • BOL object for a field

    I have a field in the UI needs to be mapped to a field of a particular table in the back-end. How can I determine which BOL object I should use. Also, what if the field is not standard.
    Thanks, Dave

    hi Dave,
    If you want to find the BOL object for a particular field, follow the steps below:-
    1 Press F2 on the field and note down Component / View / Context ndoe
    2 Open the Component / View in BSP_WD_CMPWB
    3 Goto the Context node class (...._CN01, _CN02, _CNXX)
    4 Goto the attributes tab and check the value of attribute - BASE_ENTITY_NAME
       This is the name of the BOL entity
    (In the above step, if you dont find the attribute, then navigate to its super class. You will find it there)
    If you want to find the structure for the BOL entity, then Open the same in  GENIL_MODEL_BROWSER.
    Thanks,
    Ashish

Maybe you are looking for

  • Delta load to ODS taking too much time

    Hi, I have one delta load running everyday to ODS .its getting data from R3 & its taking too 3-4 hours daily.due to this data is not getting updated in cube on time and there arises issue with data in Reports Please let me know what are possible solu

  • Moving from non-unicode to unicode system

    Hi all. We are moving from non-unicode system to a unicode system. I guess there is some utility to check possible errors prior to doing so. Any idea what's that utility? How can I ensure a smooth transition? Thanks in adv. Samant

  • Can't enable root user in single user mode

    hey, im having a problem. I cant enable the root user in single user mode. This is what I do: 1.boot in single user mode 2.I run the command /sbin/fsck -fy 3.I run the command /sbin/mount -uw / 4.I run the command passwd 5.I type the password and the

  • Release code error

    hi while executing the workflow i am getting following error . error in setting release code 00. please help for resolving this error. thanks a lot. regards, pandi.

  • Inputting and XREF'ing Data

    Hi All, I have a little conundrum here, looking for some direction. I think I posted on this earlier but here goes again. I have a salary account that is calculated in Workforce. I have another plan type, IndirectOH, that has an XREF on the salary me