BOL Search/Query Object for Schema Search!.
Hi All,
I have to do search for categorization schemas, as the first step I opened the standard schema search component ( GS_MCAT ) and found that the Dynamic Search Object responsible for the same is: 'MC_DynaQSchemaByAttributes'.
Now, I have 2 questions 4u
1. If I run the BOL browser by giving the component set as 'all' I couldnt see this query!. how can I find
this in BOL/MODEL browser
2. Is there any standard BOL Search/Query Object on which I can perform a search on Schema based on the product assigned at the categorization level!.
Any help/hint highly appreciated!,
Thanks in Advance, Sudeep..
Also solved.
As SAP tends to confuse people with the "ALL" component set, ...
I debugged the "CL_CRM_CATEGO_GENIL" class. Here's the component set you need to load:
lv_core->start_up( 'ONEORDER' ).
Similar Messages
-
Query Object for Displaying Portlets
Hello,
Is there any view or table where I can query the portlets from different page groups to display the portlets where I can display a list of portlets available for users to select.
Mick, could you kindly help me with this?
Thanks in advance.I posted this in the ABAP dev forum and it got answered there.
-
Hi Experts,
I am really stuck on this issue now.
I am trying to get an attribute of BuilMarketing object(Industry attribute) on my lead screen corresponding to the prospect selected.
I am using query object for this.I am writing this code in the event handler EH_ONSEL_PROSPECT(I have redefined it).I am writing such code for the first time and i m really stuck.I am getting syntax error:
Method "GET_PROPERTY_AS_VALUE" is unknown or PROTECTED or PRIVATE.
Is my approach correct.
Please help me!!!
method EH_ONSEL_PROSPECT.
CALL METHOD SUPER->EH_ONSEL_PROSPECT
EXPORTING
HTMLB_EVENT = HTMLB_EVENT
HTMLB_EVENT_EX = HTMLB_EVENT_EX
DATA : industry(4) type c,
query_service TYPE REF TO cl_crm_bol_dquery_service,
query_result TYPE REF TO if_bol_entity_col,
lr_builheader TYPE REF TO cl_crm_bol_entity,
lv_builbc TYPE REF TO if_bol_entity_col,
lr_partnerno TYPE string.
query_service = cl_crm_bol_dquery_service=>get_instance( 'BuilHeaderAdvancedSearch' ).
IF query_service IS BOUND.
CALL METHOD query_service->add_selection_param
EXPORTING
iv_attr_name = 'PARTNER'
iv_sign = 'I'
iv_option = 'EQ'
iv_low = lr_partnerno.
query_result = query_service->get_query_result( ).
lr_builheader = query_result->get_first( ).
endif.
CHECK lr_builheader IS BOUND.
lv_builbc = lr_builheader->get_related_entities( iv_relation_name = 'BuilMarketingRel').
lv_builbc->get_property_as_value( EXPORTING iv_attr_name = 'INDUSTRY'
IMPORTING ev_result = industry ).
call method lv_builbc->set_property (iv_attr_name = 'INDUSTRY' iv_value = ev_result ).
endmethod.the query object implements a lot of interfaces, including "DataSource":
So best way is retrieve the Query object is by using the MDRoot: this one has a lookup method, which can be used to "load" the query object. afterwards you can assign it to a crosstab,graph,etc...
regards,
thomas -
How to search in BI 7.1 query designer for the required key figures & chars
Hi All,
Can anyone plz tell me how to search in BI 7.1 query designer for the required key figures & characteristics. I have the query being built on a multiprovider which has many cubes.
So, i have a huge list of key figures and characteristics. I am not able to search for the required one by the name or the technical name.
How can we search and pick the required object from the enormous list of the Mutliprovider in the Bex Query Designer??
Thanks
PhaniThere is not a search feature available. You have to do an educated guess under what dimension your infoobject could be and select.
-
What is the search object for activityH?
Hello,
I need to display a list of activity with some custom filter logic from the table crmd_activity_h. I think i am enhancing the component CRM_ICM_ACT_H / HeaderEOF (or make new one by copying it). There is no search functionality here, so I will be adding logic in a new inbound plug to search activityH to retrieve data fro the context node BTACTIVITYH. However I could NOT find any query object that returns ACTIVITYH object.
I know there are components like BT126S-APPT and BT126P_appt, with query BTQACT or query BTquery10, but those query objects return BO that do not fit my requirement. I need query object that returns BO for table crmd_activity_h.
Anyone can help for this? or anyone think other component should be enhanced instead of CRM_ICM_ACT_H / HeaderEOF?
Thanks
JaysonHi Jayson,
Please have a look at Dynamic Query Object BTQAct and Query Result Object BTQRAct with Attribute Structure CRMST_QUERY_R_ACT_BTIL
It's corresponding Genil class for Query is CL_CRM_QACT_RUN_BTIL, method: IF_CRM_QUERY_RUNTIME_BTIL~GET_DYNAMIC_QUERY_RESULT
It has been implemented in Component: BT126S_APPT
View:BT126S_APPT/ApptSQ
Method: EH_ONSEARCH
I hope it helps.
Thanks,
Rohit -
Dynamic Search Object for Payment Terms
Hi,
May i know the Dynamic Search Object for Payment Terms. I have to create a Advanced Search Page with Payment terms. I could not find the dynamic search object for Payment terms. Any help is appreciated
Thank you.
-SiddharthHi,
The search help for the payment terms is not coming from the DDIC search help..
It is coded in the process on value-request event...
The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
Thanks
Naren -
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 PMHi 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 search object for T-Code?
Hi,
Is object is some short of table name in which data get store for standard transaction .
I have some transaction of SD for which we have to define object link in DMS
va01,vl01n,vf01. could you please let me know the object for these t codes if possible.
Thanks & Regards,
Aniruddha TiwariHi Aniruddha
Yes Object is some sort of table name in DMS.
Like to link WBS PRPS is object , for Asset Master AENR , for Purchase Order Item EKPO for Sale document item VBAP etc..
you can find the same in DC10 Transaction " Define object links" or Maintain object link descriptions.
If it is not available in standard then you have to go for small abap enhancement to create that object link. -
Having the connection object for the specific schema
hi
My application interacting with the database of having many no of schema's. I need to create a connection object which is pointing to the specific schema in my database. This is help me to avoid writing schema name in the query every time.
Thanks
SivaHow to specify the schema name in properties file?
Say for example, i created properties file like that,
Properties props = new Properties();
props.setProperty("user", "username");
props.setProperty("password", "password');
In which property i can set for schema? -
Exporting and Importing Statistics for Schema objects.
Hello All,
I am trying to gather stats for optimization using, gather_schema_stats for all objects under schema. The manual what i am reading says it covers both Tables and Indexes and we can also include the all partions too. For the safety reasons i was informed by a friend that we should take a back up of old stats into a table (user defined), so as in case of messing up with new stats for performance issue we can use it as an backup copy. So, i have created a user table and exported the stats from existing schema. My Question is, do i have to create one for the indexes too. Or its all in one table. I hope my question is clear.
Generally manuals don't teach all this kind of stuff until unless we learn it by ourselves by trial and error Or getting solutions from great resolvers like you people.
Hope to hear soon.
Thanks in Advance.One table for table and indexes stats is enough, a little test for you :
SCOTT@demo102> exec DBMS_STATS.CREATE_STAT_TABLE('SCOTT','MYTBL');
PL/SQL procedure successfully completed.
SCOTT@demo102> desc mytbl
Name Null? Type
STATID VARCHAR2(30)
TYPE CHAR(1)
VERSION NUMBER
FLAGS NUMBER
C1 VARCHAR2(30)
C2 VARCHAR2(30)
C3 VARCHAR2(30)
C4 VARCHAR2(30)
C5 VARCHAR2(30)
N1 NUMBER
N2 NUMBER
N3 NUMBER
N4 NUMBER
N5 NUMBER
N6 NUMBER
N7 NUMBER
N8 NUMBER
N9 NUMBER
N10 NUMBER
N11 NUMBER
N12 NUMBER
D1 DATE
R1 RAW(32)
R2 RAW(32)
CH1 VARCHAR2(1000)
SCOTT@demo102> create table mytable_obj as select * from all_objects;
Table created.
SCOTT@demo102> create index myindex on mytable_obj(object_id);
Index created.
SCOTT@demo102> exec dbms_stats.gather_table_stats(ownname=>'SCOTT',tabname=>'MYTABLE_OBJ',cascade=>true);
PL/SQL procedure successfully completed.
SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
07/06/06
SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
07/06/06
SCOTT@demo102> exec dbms_stats.export_table_stats('SCOTT','MYTABLE_OBJ',stattab=>'MYTBL')
PL/SQL procedure successfully completed.
SCOTT@demo102> exec dbms_stats.delete_table_stats('SCOTT','MYTABLE_OBJ');
PL/SQL procedure successfully completed.
SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
-->No value
SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
-->No value
SCOTT@demo102> exec dbms_stats.import_table_stats('SCOTT','MYTABLE_OBJ',stattab=>'MYTBL');
PL/SQL procedure successfully completed.
SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
07/06/06
SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
07/06/06
SCOTT@demo102> Nicolas. -
Sinlge select query in different schemas for same table(Indentical Structu)
Scenario :
Table XYZ is created in Schema A
After an year, the old data from the previous year would be moved to different schema. However in the other schema the same table name would be used.
For eg
Schema A contains table XYZ with data of 2012 yr
Schema B contains table XYZ with data of 2011 yr
Table XYZ in both the schemas have identical structure.
So can we fire a single select query to read the data from both the tables in effective way.
Eg select * from XYZ where date range between 15-Oct-2011 to 15-Mar-2012.
However the data resides in 2 different schema altogether.Thanks for the reply
Creating an view is an option.
But my problem, there is ORM layer(either Hibernate or Eclipse Top Link) between the application and the database.
So the queries would be formed by the ORM layer and are not hand generated.
So i cannot use view.
So is there any option that would allow me to use single query on different schema's ? -
Sinlge select query in diff schemas for same table(Indentical Structure)
Scenario :
Table XYZ is created in Schema A
After an year, the old data from the previous year would be moved to different schema. However in the other schema the same table name would be used.
For eg
Schema A contains table XYZ with data of 2012 yr
Schema B contains table XYZ with data of 2011 yr
Table XYZ in both the schemas have identical structure.
So can we fire a single select query to read the data from both the tables in effective way.
Eg select * from XYZ where date range between 15-Oct-2011 to 15-Mar-2012.
However the data resides in 2 different schema altogether.
Creating an view is an option.
But my problem, there is ORM layer(either Hibernate or Eclipse Top Link) between the application and the database.
So the queries would be formed by the ORM layer and are not hand generated.
So i cannot use view.
So is there any option that would allow me to use single query on different schema's ?Hi,
970773 wrote:
Scenario :
Table XYZ is created in Schema A
After an year, the old data from the previous year would be moved to different schema. However in the other schema the same table name would be used.
For eg
Schema A contains table XYZ with data of 2012 yr
Schema B contains table XYZ with data of 2011 yr
Table XYZ in both the schemas have identical structure.
So can we fire a single select query to read the data from both the tables in effective way.That depends on what you mean by "effective".
Eg select * from XYZ where date range between 15-Oct-2011 to 15-Mar-2012.
However the data resides in 2 different schema altogether.You can do a UNION, so the data from the two years appears together. The number of actual tables may make the query slower, but it won;t change the results.
Given that you have 2 tables, the fact that they are in different schemas doesn't matter. Just make sure the user running the query has SELECT privileges on both of them.
Creating an view is an option.Is it? You seem to say it is not, below.
But my problem, there is ORM layer(either Hibernate or Eclipse Top Link) between the application and the database.
So the queries would be formed by the ORM layer and are not hand generated.
So i cannot use view.So creating a view is not an option. Or is it?
So is there any option that would allow me to use single query on different schema's ?Anything that you can do with a view, you can do with sub-queries. A view is merely a convenience; it just saves a sub-query, so you don't have to re-code it every time you use it. Assuming you have privilges to query the base tables, you can always avoid using a view by repeating the query that defines the view in your own query. It will not be any slower -
Mapping and querying Custom Objects for a Contact with REST Api
Hello All,
We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
new CustomObjectField
name = "MappedEntityType",
dataType = Enum.GetName(typeof(DataType), DataType.numeric),
type = "CustomObjectField",
defaultValue = "0"
new CustomObjectField
name = "MappedEntityID",
dataType = Enum.GetName(typeof(DataType), DataType.numeric),
type = "CustomObjectField",
defaultValue = "<ContactId>"
Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
Thanks in ad.Either the MappedEntityID field is not available or I do it wrong, Eloqua is ignoring the field and does not map the custom record with the unique Contact ID
{"type":"CustomObjectData","ContactID":"8829509","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]},"MappedEntityID":"003J00000145lkBIAQ"}
Response
DEBUG|Response------{"type":"CustomObjectData","id":"81720","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]}
Eloqua:
Name: PPV-0878545
Unique Code: a0KJ000000387QvMAI
Status Registered
Created Date 12/22/2014 12:44:49 PM
Mapped NO
Any Idea how to map this to a contact
Entity Type is Contacts
Entity Field is SFDC Contact ID -
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, Davehi 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 -
TimesTen Release 11.2.1.9.6 (64 bit Linux/x86_64)
Command> dssize;
PERM_ALLOCATED_SIZE: 51200000
PERM_IN_USE_SIZE: 45996153
PERM_IN_USE_HIGH_WATER: 50033464
TEMP_ALLOCATED_SIZE: 2457600
TEMP_IN_USE_SIZE: 19680
TEMP_IN_USE_HIGH_WATER: 26760
Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?
tried to use ttsize function, but it gives some senseless results – for example, for the biggest table, tokens, it produces following output (that this table is 90GB in size – what physically cannot be true):
Command> call ttsize('tokens',null,null);
< 90885669274.0000 >
1 row found.Are you able to use the command line version of ttSize instead? This splits out how much space is being used by indexes (in the Temp section of the TT memory segment), which I think is being combined into one, whole figure in the procedure version of ttSize you're using. For example:
ttSize -tbl ia my_ttdb
Rows = 4
Total in-line row bytes = 17524
Total = 17524
Command> create index i1 on ia(a);
ttSize -tbl ia my_ttdb;
Rows = 4
Total in-line row bytes = 17524
Indexes:
Range index JSPALMER.I1 adds 5618 bytes
Total index bytes = 5618
Total = 23142
Command> call ttsize ('ia',,);
< 23142.0000000000 >
1 row found.
In 11.2.2 we added the procedure ttComputeTabSizes which populates system tables with detailed table size data, and was designed to be an alternative to ttSize. Unfortunately it still doesn't calculate index usage though, and it isn't in 11.2.1.
Maybe you are looking for
-
Is it possible to go straight from product description to payment?
Someone from BC responded about a year ago that they didn't think this was possible but: There have been a lot of changes since then I'd like to get a definitive answer Our site is actually a charity site and we would like someone to simply be able t
-
Mass upload of articles to article hierarchy
Hi, We want to use LSMW using IDOC methodology to assign articles to article hierarchy. Can anybody help us to get this done? We are wokring on SAP IS-R 620 verson. We are trying message type WMATGRP but not able to use the same. Thanks and Rgds Umes
-
Thirdparty sales order visibility
Hi, Can we view Third party sales order in MD04 Stock req list? Thanks and Regds Sridhara K N
-
Problem when connecting sql server 2005 using SQL developer
Hi, I installed Sql developer and I am trying to connect sql server 2005 using windows authentication. I had previously the SSO folder problem saying the path is missing in java.library.path. I copied the SSO folder into Sqldeveloper directory. I cha
-
Vc++ how to read column header of cursor
How to fetch the Column name or header of the stored procedure which is using a cursor as the output. P_out out sys_refcursor need to read the column name of this output. I am using Vc++ code to reterive the data, in Vc++ how to read column header o