How to create custom BOL object for dynamic query in CRM 7.0

Hi,
Could anyone please explain me with steps that how to create the custom BOL object for dynamic query in CRM 7.0, I did it in previous version but its throwing exception when i try to create the object of my dynamic query class. I just defined the entry of my in crmv_obj_btil to create the dynamic query BOL object. do i need to do any other thing also to make it work?
Regards,
Kamesh Bathla
Edited by: Kamesh Bathla on Jul 6, 2009 5:12 PM

Hi Justin,
First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
Thanks in Advance,
mallikj2.

Similar Messages

  • How to create new bol object  for  BT in sap crm

    HI
         I need to create new bol for BT with relationship  with out using AET ,Could you please explain step by step.
    Thanks and best regards
    Brahmaiah

    Hi Kariyath,
    I suppose its not about interest but a MUST.. sorry but.. unless u include the Logic in the program how can SAP pick these custom Z objects ?
    after u create them and assign to a Tcode in SU24 there is no logic to check these objects. Frankly i see no other chance.... unless SAP comes to us with a great easy way to input these Custom objects
    Keep looking and please Update me if u have any Inputs....on this front..
    All the Best
    Br,
    Sri
    Award points for helpful answers

  • How to create customer master data for walking customer in retail

    hi experts !!!!!!
    for retail industry e.g books trading industry
    how to create customer master data for walking customer in retail
    its dummy or one time customer
    if i create one time customer then same customer number can i use for every new order and every new customer how ?????
    thanks

    Dear Hanumant,
    As per my view,,
    You can use one time customer functionality to full fill your requirement.
    When you create sales order with one time customer system take you to the customer data maintanence screen through that you can maintain the one time customer data.
    Same one time customer number you can use for every new order through maintaining different data.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 19, 2008 6:08 AM

  • How to create new bol structure for custom ztable.

    Hi gurus,
    I am new to SAP CRM 2007. I have a requirement in which I need to create a view which will retreive data from my custom z table. But when you create a view , the wizard ask for Model nodes and, Bol entity, Bol relation etc. Kindly let me know what data I need to enter here so that I can relate to my custom table. I think I need to create a bol structure for my ztable. Kindly guide me in this regard.
    Thanks & Regards,
      Sanjay

    I would recommend to rather use an encapsulation of the ztable into BOL than just trying to work with value nodes because it heavily simplifies building of the UI and code to load, edit and save.
    In order to achieve this you would either have to build a genIL component and assign it to the BOL component set addressed in the runtime repository of the UI component to make it available on the UI layer.
    If your table is very simple and does not require relations etc. you might save some work using the approach via "Simple Objects" concept of BOL which provides a pretty generic impelmentation that requires much less code and deep understanding of the BOL/ genIL.
    Pleasse refer to the respective IMG node under
    Customer Relationship Management -> CRM Cross-Application Components -> Generic Interaction Layer/ Business Object Layer -> Component-specific Settings
    Hope this helps.
    Peter

  • Creating custom BOL object model for adding Search Parameter

    Hi friends
    Can any one guide me the steps through which i can add the new field in the search criteria by using the creation of custom BOL object model in Interaction Center Web Client.
    That will be a grate help for me.
    Regards
    Pulkit
    Message was edited by:
            Pulkit Agrawal

    Hi!
    For maintaining CRMC_OBJECTS table you should use view CRMV_OBJECTS. (in transaction SM30).
    Regards,
    Alejandro.

  • How to create new authorisation object for Transactions?

    Hi,
    How to create new authorisaton object and how to assign that object on a transaction code?
    Case ->
    The transaction code VL01N have the object called V_LIKP_VST under Class "LE_V" that have two auth. fields. one is 'Activity' and other one is "Shipping Point/Receiving Point".
    Here I want to add "Storage location" also. I have created one object called "Z_LIKP_VST" under same calass "LE_V". and added "Activity", "Shipping Poing/Receiving Poing" and "Storage Location". After that I added that object ("Z_LIKP_VST") for particular transaction through "SU24". I maintained the "Display check indicator" for VL01N.
    I created one new role and assigend the particular transacation for a user. but still SAP taking  V_LIKP_VST insted of Z_LIKP_VST.
    How can I change my Z_LIKP_VST on profile.
    Please help
    Thanks in Advance
    Lal

    Hi Kariyath,
    I suppose its not about interest but a MUST.. sorry but.. unless u include the Logic in the program how can SAP pick these custom Z objects ?
    after u create them and assign to a Tcode in SU24 there is no logic to check these objects. Frankly i see no other chance.... unless SAP comes to us with a great easy way to input these Custom objects
    Keep looking and please Update me if u have any Inputs....on this front..
    All the Best
    Br,
    Sri
    Award points for helpful answers

  • How to create a Type Object with Dynamic select query columns in a Function

    Hi Every One,
    I'm trying to figure out how to write a piplined function that executes a dynamic select query and construct a Type Object in order to assigned it to the pipe row.
    I have tried by
    SELECT a.DB_QUERY INTO actual_query FROM mytable a WHERE a.country_code = 'US';
    c :=DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(c,actual_query,DBMS_SQL.NATIVE);
    l_status := DBMS_SQL.EXECUTE(c);
    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.DEFINE_COLUMN(c,j,v_val,2000);
    END LOOP;
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.COLUMN_VALUE(c,j,v_val);
    END LOOP;
    But got stuck, how to iterate the values and assign to a Type Object from the cursor. Can any one guide me how to do the process.
    Thanks,
    mallikj2

    Hi Justin,
    First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
    In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
    Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
    Thanks in Advance,
    mallikj2.

  • How to create a new object for a particular class?

    Hi,
      Can anybody please tell  the steps for creating a new object for a particular class.
    Thanks,
    Sreeja

    Declare the object as TYPE REF TO the class and use the CREATE OBJECT statement to create an object.
    DATA <obj_name> TYPE REF TO <class_name>.
    CREATE OBJECT <obj_name>.
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • How to create a file object for a file on Remote Server? UNIX

    Hi all,
    I am working on two servers A and B. BOTH ARE UNIX MACHINES. My java class exist on server A and executes on same server. The file that I need to process resides on server B. (Lets call it test.txt in MYTEST directory. So path will be /MYTEST/test.txt on server B) I need to do few things before I can process it:
    1) Check if file exist
    2) If it does FTP it to Server A. (I already know how to.)
    For both of these tasks, I need a File object for that file.
    My problem is that I am unable to set it up.
    \\B\MYTEST\test.txt will not work on UNIX. I already tried that. (It only works on Windows)
    I tried:
    /B/MYTEST/test.txt ---- Does not work
    B:/MYTEST/test.txt ---- Does not work
    :B/MYTEST/test.txt ---- Does not work
    B:MYTEST/test.txt ---- Does not work
    All of these instances say the same thing: "File does not exist."
    Any ideas? Please help!!!
    -Chirag

    I by no means want to sound belittling... so don't take me that way..
    You need to understand the basics of files, and networks. You can't check if a file exists on another machine if you don't have a network protocol to communicate with. The reason \\ works under windows is because you are using an invisible (to you) network protocol. You probably know it as windows sharing. If your file were not shared under it's own name, that method wouldn't work (I'm assuming your entire drive is shared without a password... a horrible security flaw...but one thing at a time)
    You can use FTP protocol to check if a file exists. You can either send the raw text FTP commands through a socket connection in java, or you can use a freely available FTP java API to make it a bit more simple. You could also write a small java server on the other machine, and have it tell you what you need to know with a socket connection. In this way, you have created your very own network protocol.

  • HOW TO CREATE A SINGLE CONTRACT FOR MULTIPLE CUSTOMERS IN CRM

    Hi ,
    I am working in CRM contract management. my requirement is to create a sigle contract for multiple business partners. can anyone help in providing the steps.
    thanks!
    chandra.

    Hi,
    I tried this solution earlier by adding  multiple BPs in the partner tab of the contract having this partner function.
    for ex: the partner function 000001 for sold-to-party in partner tab. i tried to select the same partner function for multiple BPs but system gives an error  "too many sold-to-party entered Remove an entry". can you help me here. thanks!
    Regards,
    chandra.

  • How to create custom profile provider for fba user

    Hello Every One
      I have one SharePoint 2010 web application and on this FBA is configured. With help of code how can I get and set custom property for a user in
     “aspnet_Profile” table in Database.
    I have also try this config setting in web.config but not able to set or get profile property.
    <anonymousIdentification enabled="true" />
    <profile defaultProvider="AspNetSqlProfileProvider">
    <providers>
    <clear />
    <!--<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="fbaSQL" applicationName="/"/>-->
    <add name="Demo_ProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <properties>
    <add name="ThemeName" type="String" allowAnonymous="true" />
    <add name="NoOfVisits" type="int" allowAnonymous="true" />
    </properties>
    </profile>
    </system.web>
    thanks
    navaratan
    Navaratan Sharma

    Solution for this problem is
    do following entry in web.config
    <anonymousIdentification enabled="true" />
    <profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
    <providers>
    <clear />
    <!--<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="fbaSQL" applicationName="/"/>-->
    <!--<add name="Demo_ProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />-->
    <add name="AspNetSqlProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <properties>
    <add name="ThemeName" type="String" allowAnonymous="true" />
    <add name="NoOfVisits" type="int" allowAnonymous="true" />
    </properties>
    </profile>
    </system.web>
    code for get and set Profile property is
    protected void OnClickbtn(object sender, EventArgs e)
    try
    ProfileBase profile = System.Web.Profile.ProfileBase.Create(HttpContext.Current.User.Identity.Name);
    profile["ThemeName"] = txtTheme.Text;
    profile["NoOfVisits"] = int.Parse( txtNoOfVisits.Text);
    profile.Save();
    catch (Exception ex)
    protected void OnClickbtnGet(object sender, EventArgs e)
    try
    ProfileInfoCollection profiles = ProfileManager.GetAllProfiles(ProfileAuthenticationOption.All);
    foreach (ProfileInfo profileInfo in profiles)
    ProfileBase profile = ProfileBase.Create(profileInfo.UserName);
    // add condition for user
    txtTheme.Text = (string)profile.GetPropertyValue("ThemeName");
    txtNoOfVisits.Text = Convert.ToString((int)profile.GetPropertyValue("NoOfVisits"));
    SPUser user = SPContext.Current.Web.CurrentUser;
    catch (Exception ex)
    thanks
    navaratan
    Navaratan Sharma

  • How to create Custom LabVIEW Node with Dynamic Pins?

    I am trying to create a new set of LabVIEW nodes that will communicate with a new protocol.
    If it's at all possible, I'd like to make the new nodes similar to other connnectivity nodes (i.e. ActiveX, .NET, etc...). There would be an Open Reference node that pops up a custom dialog when created, a Close Reference node, a Property node that dynamically changes when the reference pin changes, and an Invoke node that dynamically changes when the reference pin changes.
    Is it possible to create such nodes as sub-VI's? If so, then how? If not, then what is the prefered method of doing this?
    Thanks in advance for any help
    VRMan

    The technique to do exactly this is called XNode. It's very difficult, not
    supported or documented, and although they work in >7.1, you have to use
    scripting a lot, and that is not supported in 8.x. The technique used in 7.1
    is also preceded. I would really not recommend it. Search LAVA if you need
    to know more.
    You could do this with XControls. These technique might not do 100% what you
    want, but at least they are supported. Haven't used LabVOOP (search class or
    classes in the LV help, there are instruction tutorials and videos), but I
    think you can't make property nodes and methods. I'm sure XControls can do
    that. Both are advanced stuff...
    A third option is to make an express VI, that is configurable by double
    clicking on it. Don't like to use them myself, and therefore haven't make
    any. I think you need a toolkit to make them.
    Regards,
    Wiebe.

  • How to create custom attributes & object classes through ldif files in OID

    Hi,
    I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
    I tried creating an attribute through this command
    ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
    this ldif file contains inf. for creating a new attributes:
    dn: cn=subschemasubentry
    changetype: add
    add: attributetypes
    attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
    SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
    I am getting error: Object class violation
    Failed to find add in mandatory or optional attribute list.
    Please help to find where I am going wrong...
    Thanks.

    Hi Ajay,
    Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
    I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
    # X below is the enterprise number assigned by IANA
    1.3.6.1.4.1.X.1 - assign to SNMP objects
    1.3.6.1.4.1.X.2 - assign to LDAP objects
    1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
    1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
    1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
    1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
    1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
    1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
    1.3.6.1.4.1.X.2.10 - assign to LDAP controls
    1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
    By using these conventions for attributes and object class, I did got any error and they were created in OID.
    Thanks a zillion.
    Kalpana.

  • How to Create a Cost object for a Rental object in RE-FX

    Dear Friends,
    We have created one Building and it has been assigned with an Asset Master.When depreciation is posted it is debiting to the Cost Center attached to the asset master.
    Here the requirement is to allocate the Cost from the Cost Center to the Rental objects Created under the Building based on the Floor area of the rental Contracts/Rental objects.
    Can you please suggest how to resolve the issue & how to distribute the Cost from Cost Center to Rental objects.
    Thanks and Regards
    Gyanendra
    +919963062333

    hi.........
    When you to create rental unit all the relevant details as rent, floor area etc are mentioned in master itself in different tabs check whether it is being maintained or not. Further on right hand side on the top there is one button for co settlement rule click on it and maintain settlement rule give sender as rental unit & receiver as cost centres you want. Thereafter execute the settlement. Apportionment will be done as required.
    Hope this will solve your problem.
    Regards
    Manish Jain
    Pls assign points if your problem get solved.

  • How to create custom BOL

    Hi,
    I need to create the custom search and result BOL entity in CRM 2007. Could anyone please explain me the steps on how to do this?
    Regards,
    Kamesh Bathla

    Hi Kamlesh,
    How did you resolve it?

Maybe you are looking for

  • Adding namespace prefix to the XMLa root element

    I am facing a problem in our application. I am assigning an XML content to a XSD variable. While assignment operation is performed the prefix of the XML root element alone is getting replaced with default namespace, though the source XML has the pref

  • SQL query throwing Exception.

    Hi, i am facing a problem while using the date as search criteria. In the JDO class the field type is of java.util.Date. The search is working in the local environment whose local date settings as M/d/YYYY(windows 2003 , english version).The search i

  • How to store data while Labview can overwrite the unwanted data

    Hi,            My name is Panakalu. Currently I am doing a project using Labview. I need a help from anyone of you. I am in desperate need of help. Here is my problem. I want to acquire data from a arbitrary generator. Actually I have to store transi

  • Flash in Mac OSX dashboard widgets

    We're at a dead-end! We've successfully integrated remote flash into a dashboard widget. Actualy, making the flash remote, and changing all click events to onRollOver is the only way to do it (that we've found). And this works *great* for navigation

  • When I try to update ITunes to 11.2, I get error 2324 - any ideas to fix this?

    I tried to update ITunes to 11.2 on a Windows 7 computer. It failed several times. I tried downloading only and installing manually and I get an error 2324 message. Any ideas on what this is and how to fix it? Right now, I can't open ITunes at all on