CRMD_SRV_REFOBJ
Hi Friends,
Could someone give some information about this please?
In what cases does it get updated?
what is the significance of it?
to be precise, what does the field IB_COMP_VALID signify and where does it get updated from?
Thanks,
Zid.
Hi All,
Could someone please throw some light on this?
Thanks,
Zid.
Similar Messages
-
What is the meaning of MAIN_OBJECT field in table CRMD_SRV_REFOBJ
Hi,
Please help me in understanding the meaning of MAIN_OBJECT field in table CRMD_SRV_REFOBJ
Thanks
Sudhansu-1 represent value that is not assign in SAP.
Basically 1 is for manager...but when u create Database at that time it take as NOT initialized user.
Thanks
Kevin -
Need some help over the table CRMD_SRV_REFOBJ
HI,
I want to know when does this table get filled and how do i relate it to table CRMD_ORDERADM_H.
Regards,
RishavHi Rishav,
Check the views - CRMV_SRV_REFOB_I and CRMV_SRV_REFOBJ. the first view will give you the linkage of the ref object with the Item, and the second will give you the linkage of the ref object with the header.
If you study the join conditions of the view, you will also understand the linkage.
Regards,
Siddhesh. -
Enhance BW Extractor - Transactional data ABAP CODING ERROR
i need to enhance CRM extractor with additional field.
This is transactional data so i used Exit_rs_001
Here is the extractor result -
Guid...date...........objectid...item guid
1122......1.1.10....901..........8811
1122......2.1.10....901..........8812
1123......1.1.10....902..........8813
1123......2.1.10....902..........8814
now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
itemguid...referencekey...product
8811............01.................110011
8812............02.................110012
8813............03.................110013
now i want to extract data--
Guid...date...........objectid...item guid...product
1122......1.1.10....901..........8811.........110011
1122......2.1.10....901..........8812.........110012
1123......1.1.10....902..........8813.........110013
so i appended the extractor...with field zproduct
FOLLOWING Code doesnot work:::
DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
CASE I_DATASOURCE.
FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
CASE i_datasource.
WHEN 'ziw_orderma_i.'. " Upper case
LOOP AT c_t_data ASSIGNING <PRO_01>.
SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.actually
coding doesnt give any error
but in output in rsa3 i dont see any data
it worked fine wit the same code for master data datasource in exit...2
now same code different parameters doesnt work in exit..1 for transactional data. -
Service order search based on IBASE is not working
Hi All,
I am facing one Issue in CRM web ui..when we search service order based on the referenced installed base id it's not returning the proper result..if we have multiple service orders for the IBASE id it's returning only few values some times even though if we have service order associated with IBASE id it's not returning any value..
I am guessing it's returning wrong result..
I wanted to check which logic has been written for this search result or is it using any search help table.. Could you please help me where we can find the logic written for this search criteria..
Please find the screen shot for your reference..I appreciate your help in advance..
Thanks,
Susan.Hello,
I found the following:
If you fill someting in the fields REFOBJ_IBASE, this value is being converted into a GUID internally
This happens in function CRM_BSP_OIC_1O_SEARCH_FROM_RF
So you have to make sure that the search field REFOBJ_IBASE points towards the field CRMD_SRV_REFOBJ~GUID_OBJECT ( via table CRMC_REPDY )
And even then I have the impression it only works when you only fill the Ibase in the order. When you fill the component there is a different GUID.
In my case I found out it is even more complex, so I will need to create my own search field (extend search structure )
Regards,
Erwin -
Service order creation based on counter reading assigned to the Ibase.
Hi All,
I've created a service contract (ZXXX) with the item category (ZIT1) of service plan.
In the item category (ZIT1) definition i've copied the standard item cat. of service plan (SPLA) and assigned the standard date profile SERVPLAN to the item category.
Requirement - Service order has to be created automatically if the counter reading assigned to the Ibase is greater than counter reading that is maintained in the service plan template that is assigned to the service plan product(Item) in the service contract transaction.
Master Data -
Service Interval Template - Created service plan template for counter based interval and maintained the interval as 100HR.
Assigned the template to service plan product(item) which is assigned in the service contract.
Created a counter ID and assigned the counter to the Ibase.
In the item date profile SERVPLAN , I've assigned the date rule (Planned time based on the counter reading) to 'Release date' date type.
In the item action profile ., Action is defined as it should create a service order (ZSER) with the template defined in the item if the (Release date =< today's date) as start condition.
I've maintained the complete master data.
Now Release date should be picked based on the counter reading of the Ibase assigned to the service plan item in the service contract.
If Ibase counter reading > counter reading maintained in the interval the release date = todays date.
If Ibase counter reading < counter reading maintained in the interval the release date = future date.
which is not happening now in my case. service order is getting created even the counter reading of Ibase is less than the interval.
Please let me know if further more changes to be done to map the scenario.
Thanks
SyamHello,
I found the following:
If you fill someting in the fields REFOBJ_IBASE, this value is being converted into a GUID internally
This happens in function CRM_BSP_OIC_1O_SEARCH_FROM_RF
So you have to make sure that the search field REFOBJ_IBASE points towards the field CRMD_SRV_REFOBJ~GUID_OBJECT ( via table CRMC_REPDY )
And even then I have the impression it only works when you only fill the Ibase in the order. When you fill the component there is a different GUID.
In my case I found out it is even more complex, so I will need to create my own search field (extend search structure )
Regards,
Erwin -
ABAP Coding- enhance transactional datasource
i need to bring in data from different tables and following code works for me:
DATA: l_s_ziw_orderma_i like ziw_orderma_i.
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDSELECT.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Guid...date...........objectid...item guid
1122......1.1.10....901..........z1122
1122......1.1.10....901..........z1123
1122......1.1.10....901..........z1124
using this ITEM GUID from extractor, i want to pull out data from table - CRMD_SRV_REF
guid ...............product...............Product type..........product quality
z1122.............110011..........ABC.........................GUD
z1123.............110012..........DEF..........................GUD
z1124.............110013...........DFG.........................GUD
NOW my code works for extracting PRODUCT..
what MODIFICATION I need to do so that i can bring in PRODUCT TYPE & PRODUCT QUALITYHI ,
I am not sure about the Product quality( Do you know the source table ?) , but Product type will be available in the
will not be available in CRMD_SRV_REFOBJ, you can get that from table COMM_PRODUCT ,
Change your code as below sample code to get product id and Type , find the source table for product quality and extend this code in the similar way , check for syntax error if any and fix it
TYPES : BEGIN OF PROD ,
PRODUCT_ID TYPE COMT_PRODUCT_ID ,
PRODUCT_TYPE TYPE COMT_PRODUCT_TYPE,
END OF PROD .
DATA: l_s_ziw_orderma_i like ziw_orderma_i,
i_PROD TYPE TABLE OF PROD ,
WA_PROD LIKE LINE OF i_PROD .
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_ID
FROM CRMD_SRV_REFOBJ
INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
ENDSELECT.
IF SY-SUBRC EQ 0 .
SELECT PRODUCT_ID
PRODUCT_TYPE
INTO TABLE i_PROD
FROM COMM_PRODUCT
WHERE PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
ENDIF .
IF i_PROD[] IS NOT INITIAL .
READ TABLE I_PROD INTO WA_PROD WITH KEY
PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
IF SY-SUBRC EQ 0 .
l_s_ziw_orderma_i-ZZPROD_TYPE = WA_PROD-PRODUCT_TYPE .
ENDIF.
ENDIF .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Regards,
Sathya -
Product ID doesn't have leading zeros
Hi,
In the table CRMD_SRV_REFOBJ, some of the product ID has leading zeros and some of the product doesn't have leading zeros. Any idea why it is happening like that?Hi,
Please check it the products base table COMM_PRODUCT. If you find similar set of values, then issue could be with programs creating Product IDs.
Usually Products flows from ECC, also possiblility to be created in CRM too. So, the check the Badi impli CRM_EQUI_LOAD for flow from ECC.
Hope this helps.
Satish -
Get all service order's based on Installed base?
Hi Expert,
Whats FM's or tables and their relationship for getting service order based on Ibase number?
Thnx,
AKhey,
Following are the tables:CRMD_SRV_REFOBJ, CRMD_SRV_OSSET to get Service order guid as below sample code.:
FUNCTION z_get_order_from_ibase.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IV_IBASE) TYPE IB_IBASE
*" EXPORTING
*" REFERENCE(ET_GUID_LIST) TYPE CRMT_OBJECT_GUID_TAB
TYPES: BEGIN OF ty_ibase,
guid TYPE crmt_object_guid,
END OF ty_ibase.
DATA: lv_ibguid TYPE guid_16,
lt_guid_ref TYPE STANDARD TABLE OF ty_ibase,
lt_guid_set TYPE STANDARD TABLE OF ty_ibase,
lt_guid TYPE crmt_object_guid_tab.
CHECK iv_ibase IS NOT INITIAL.
SELECT SINGLE ib_guid_16 FROM ibib INTO lv_ibguid WHERE ibase = iv_ibase.
CHECK sy-subrc EQ 0.
SELECT guid_ref FROM crmd_srv_refobj INTO TABLE lt_guid_ref WHERE ib_comp_ref_guid = lv_ibguid.
CHECK sy-subrc EQ 0.
SELECT guid_set FROM crmd_srv_osset INTO TABLE lt_guid_set FOR ALL ENTRIES IN lt_guid_ref WHERE guid = lt_guid_ref-guid.
CHECK sy-subrc EQ 0.
SELECT guid_hi FROM crmd_link INTO TABLE lt_guid FOR ALL ENTRIES IN lt_guid_set WHERE guid_set = lt_guid_set-guid.
et_guid_list = lt_guid.
ENDFUNCTION.
Hope it will help you.
Regards,
Arjun -
ABAP coding error...enhance transactional datasource
i need to enhance CRM extractor with additional field.
This is transactional data so i used Exit_rs_001
Here is the extractor result -
Guid...date...........objectid...item guid
1122......1.1.10....901..........8811
1122......2.1.10....901..........8812
1123......1.1.10....902..........8813
1123......2.1.10....902..........8814
now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
itemguid...referencekey...product
8811............01.................110011
8812............02.................110012
8813............03.................110013
now i want to extract data--
Guid...date...........objectid...item guid...product
1122......1.1.10....901..........8811.........110011
1122......2.1.10....901..........8812.........110012
1123......1.1.10....902..........8813.........110013
so i appended the extractor...with field zproduct
FOLLOWING Code doesnot work:::
DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
CASE I_DATASOURCE.
FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
CASE i_datasource.
WHEN 'ziw_orderma_i.'. " Upper case
LOOP AT c_t_data ASSIGNING <PRO_01>.
SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.Hi,
For this, you can do as below
REFER EXTRACTOR GUID --1122
Find GUID References for guid = 1122 in table CRMD_ORDERADMI (item level table)
for the guid reference in CRMD_ORDERADMI, find the Product >0 in table CRMD_SRV_REFOBJ
select that Product and write into extractor field zzproduct#
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
data: temp_guid like CRMD_ORDERADM-GUID. to create a temporary variable
SELECT single GUID FROM CRMD_ORDERADMI INTO temp_guid
WHERE GUIDREF = l_s_ziw_orderma_i-GUID.
The above statement would give you value for GUID from this table i.e. z1122
SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = temp_guid.
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDSELECT.
This would fetch your value
clear temp_guid. to clear this temporary variable
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
PS: It appears that you have corrected already so not requried any more
Edited by: Rahul K Rai on Oct 17, 2010 9:27 PM -
Link Ibase component = Ibase
Hi folks,
IBIN stores the Link between a Header Ibase and the components.
But which table holds the information what the component consists of?
I need to know which Ibase is in a component.
thanks in advance
martinHi Martin,
Here is a connection you can use..
Once you go to IBIN and find the components for the ibase you are looking for
you can use the following connection to get the info on the components
When you insert IBIN-IN_GUID to CRMD_SRV_REFOBJ-IB_COMP_REF_GUID
Field Product_ID is the component ID, GUID_OBJECT is the component GUID
You can use the ID and/or the guid to locate these components in the item/product master...
Hope it helps,
Please reward points if it helps by selecting a star..
Maybe you are looking for
-
Hi all. I am using Photoshop Elements 8 with an intuous4 tablet. I have problems with brushes. I would like to have a brush with controllably soft edges, but that is really opaque in its center. I tried a brush tool, I set opacity 100%, Hardness 100%
-
Hi, I have bought Red Hot Chili Peppers "The Videos" and made a playlist. Now I want to burn a dvd, but can not find a way on how doing this. I also have Nero 7 Premium, but the tracks have DRM and Nero can not burn it therefor Any help is welcome Th
-
Display report through List-export-spreadsheet
Hi, I am outputting a report using REUSE_ALV_GRID_DISPLAY and my reports are outputting correctly. And also when I download directly through excel also my reports are coming out correctly. But the users wanted to download it through list-export-spr
-
Powershell script set timezone and default calendar rights to NonEditingAuthor
Hi How do I make a Powershell script setting Timezone to da-dk and calendar rights on default user to NonEditingAuthor for all users? Best regards MSISOM
-
Hello, This is new to sap xi. So i want to know the roles played in sap xi. Who is responsible for SLD configuration. Who is responsible for Integration directroy and integration Repository. Who is responsible for SXMB_monitor. Thank you