Interaction History in BP identification page.
Hi,
Will you please help me with the config for the Interaction History on BP identification page.
For one of the business role, the Interaction History link is there, but it is not opening any history page.
I am using CRM 6.0.
Will any one help please.
Thanks in advance.......
Hello,
I closed this because I got a note from SAP.
thanks for reading.
Similar Messages
-
Total record display in resultlist (interaction history)
Hi all,
May I know how can I add the total search data so that it can display in the interaction history page to show the total record found?
In most cases, like in Activity, it will show the total record found in resultlist. But not in interaction history page.
Can anyone advise?
ThanksI am using version 5.2 so I am not really sure if it is exactly the same in 6.0 (aka 2007). Try searching the IMG. Or wait for someone else to reply to this tread
/Anders -
Interaction history - to show up activities
Dear Experts,
In the CRM UI, I could see certain business activities in the Interaction history but not all. Where do we have the settings for this? I need to see the completed activities in the Interaction history how can I achieve this?
Thanks,
KanthimathiMake sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
*https://support.mozilla.org/kb/Private+Browsing
*Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history"
*Deselect: [ ] "Always use private browsing mode"
You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
*Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location bar
*Click "More Information" to open "Tools > Page Info" with the Security tab selected
*Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
*https://support.mozilla.org/kb/how-do-i-manage-website-permissions -
How to enhance Interaction History Search in CRM 2007?
Hi experts,
Is there any BADI available to enhance the existing Interaction History Search in IC Agent Profile?
Thanks and Regards,
RohitDear Rohit,
Using the below steps you can quickly find out the BADIs related to any transaction.
1) Put a breakpoint in the FM SXV_GET_CLIF_BY_NAME
2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above FM.
3) Chekc the value of the Fm parameter name. This will contain the BADI names.
Alternatively you can get the BADI names the following way
1)Go to the method GET_INSTANCE of the class CL_EXITHANDLER and put a break point there.
2) Run your transaction(e.g. Interaction History Search). It will stop at the breakpoint you have in the above method.
3) Chekc the value of the filed exit_name. This will contain the BADI names.
Hope this helps.
Regards
Anupam
Edited by: Anupam Koley on Aug 11, 2008 11:55 AM
Edited by: Anupam Koley on Aug 11, 2008 11:57 AM -
How to make the ERP orders visible in the interaction history????
Hi All
I am working on CRM 7.0, I am not able to find the ERP Orders created for business partners under the interaction history assignment block. How to make it visible
Regards
Jacopo FrancoiseCheck class CL_CRM_IC_IHISTSEARCH_IMPL (the view controller's class), method SET_ALLOWED_BT_OBJECT_TYPES, you'll see these values hard-coded.
Allowed Business object types:
gc_object_type-businessactivity TO me->gt_object_type, " BUS2000126
gc_object_type-service TO me->gt_object_type, " BUS2000116
gc_object_type-lead TO me->gt_object_type, " BUS2000108
gc_object_type-sales TO me->gt_object_type, " BUS2000115
gc_object_type-complaint TO me->gt_object_type, " BUS2000120
gc_object_type-task TO me->gt_object_type, " BUS2000125
New from CRM 7.0
gc_object_type-opportunity TO me->gt_object_type, " BUS2000111
gc_object_type-incident TO me->gt_object_type, " BUS2000223
gc_object_type-problem TO me->gt_object_type, " BUS2000224
gc_object_type-contract_sales TO me->gt_object_type, " BUS2000121
gc_object_type-contract_service TO me->gt_object_type. " BUS2000112
Rupesh -
Interaction History in Account assignment block
HI,
We are creating the Activity for the accounts and it is visible in the planned activity of my accounts screen. when the document is closed it disappears. i am not able to find any documents in the interaction history assignment block in account. do i need to do any config to make the documents visible.
with regards,
selvam tHi Selvam,
I assume that you are using CRM 7.0 Ehp1 or above.(If not please update your question with your CRM Version)
As suggested by Jothivenkatesh, you can check your configurable data retrieval parameter in the view BP_BPBT/AccountInterHistOV.
Adding to that check the following SAP Notes 1836225,1798771 and makes sure your business function 'CRM_INF_1' is active.
Consider this SAP note 1913254,if you had implemented any authority check BADI's in CRM. -
Interaction history in ICWC not showing dates
Hi,
The interaction history in ICWC(CRM 5.0,SP8) is not showing the date of the interactions viz., service ticket, interaction record. Is there any setting to be done for this? Please guide.
Shridharhi,
try this
IMG>CRM>Master data >BP>Accounts and Contact Persons in the Portal-->Specify Display Options for Interaction History/Activities/Opportunities
Select the area as -
SAP_CRM_CUST_INTERACT_CENTER or your relevant area
and make the settings for interaction history. you should be able to se the Fact sheet details with dates
Cheers!
Please reward if helpful
Raj -
Where the INTERACTION HISTORY for the BP are stored in SAP CRM
Hi all,
We are using CRM 7.0 EHP1.
In the WEBUI, under Accounts, we are seeing the Interaction history as seperate assignment block. Like wise we are seeing the same assignment block with details for Contact, Employee etc.
Where these Interaction history is located in BP transaction for the same Account or Contact or Employee. If not, pl suggeest in which tables these info are stored in CRM.
Regards
ISWARI.Thanks Stephen for your response.
Indeed we are not deleting entries in any environment, except for the sandbox, would be preposterous . This was just to know the dependencies on tables as we needed a quick answer and which is why we thought lets see if CRMD_PARTNER is the only table from where it comes from or is there another one.
Is there a quick way to know about the table that a particular BOL object interacts with instead of checking the code in its handler class, which could be time consuming.
Cheers
Nikunj -
In IC WebClient Date and time not displaying in Interaction History
Hi All,
In IC webclient, Date and time is not displaying for some activities in Interaction History.
Thanks
HemalathaHI HEMA,
I AM ALSO CHECKING THAT 1. I AM NOT GETTING ANY SOLUTION. CAN U TELL ME AFTER GETTING THE SOLUTION.
THANX
CHINMAYA
Edited by: Chinmaya Parida on Feb 7, 2008 3:38 PM
Edited by: Chinmaya Parida on Feb 7, 2008 3:42 PM -
Can't access my banking site past the identification page,
Can't access my banking site past the identification page. I was getting a message in Firefox, that said "your security settings have changed.... (no they have not), and something about "resetting, Yes or No. I pressed yes, but still could not get in. I pressed NO, and the message has gone, but still can't access the bank. I can access through "Explorer, but not Firefox.
Nevermind, I figured it out myself
-
How to add interactive feature in top of page in ALV .
Hi All ,
There is immediate requirement , I have to add interactive feature in top of page in ALV grid .
Can anyone sort this out ?
Reward points will be given.hi,
check this example:
REPORT ZSR_ALV_INTERACTIVE2.
TYPE-POOLS: SLIS.
*DATA DECLARATION.
TYPES: BEGIN OF I_VBAK,
VBELN TYPE VBELN_VA,
AUGRU TYPE AUGRU,
END OF I_VBAK.
TYPES: BEGIN OF I_VBAP,
VBELN TYPE VBELN_VA,
AUGRU TYPE AUGRU,
POSNR TYPE POSNR_VA,
MATNR TYPE MATNR,
ZMENG TYPE DZMENG,
END OF I_VBAP.
TYPES: BEGIN OF I_MAKT,
MATNR TYPE MATNR,
MAKTX TYPE MAKTX,
END OF I_MAKT.
TYPES: BEGIN OF I_LIPS,
POSNR TYPE POSNR_VL,
MATNR TYPE MATNR,
LFIMG TYPE LFIMG,
END OF I_LIPS.
TYPES: BEGIN OF I_REASON,
SPRAS TYPE SPRAS,
AUGRU TYPE AUGRU,
BEZEI TYPE BEZEI40,
END OF I_REASON.
TYPES: BEGIN OF I_VBPA,
VBELN TYPE VBELN,
PARVW TYPE PARVW,
KUNNR TYPE KUNNR,
END OF I_VBPA.
TYPES: BEGIN OF I_KNA1,
KUNNR TYPE KUNNR,
NAME1 TYPE NAME1_GP,
END OF I_KNA1.
TYPES: BEGIN OF I_FINAL,
VBELN TYPE VBELN_VA,
POSNR TYPE POSNR_VA,
MATNR TYPE MATNR,
ZMENG TYPE DZMENG,
MAKTX TYPE MAKTX,
LFIMG TYPE LFIMG,
SPRAS TYPE SPRAS,
AUGRU TYPE AUGRU,
BEZEI TYPE BEZEI40,
PARVW TYPE PARVW,
KUNNR TYPE KUNNR,
NAME1 TYPE NAME1_GP,
END OF I_FINAL.
*INTERNAL TABLES
DATA: IT_VBAK TYPE STANDARD TABLE OF I_VBAK.
DATA: IT_VBAP TYPE STANDARD TABLE OF I_VBAP.
DATA: IT_MAKT TYPE STANDARD TABLE OF I_MAKT.
DATA: IT_LIPS TYPE STANDARD TABLE OF I_LIPS.
DATA: IT_VBPA TYPE STANDARD TABLE OF I_VBPA.
DATA: IT_KNA1 TYPE STANDARD TABLE OF I_KNA1.
DATA: IT_FINAL TYPE STANDARD TABLE OF I_FINAL.
DATA: IT_REASON TYPE STANDARD TABLE OF I_REASON.
DATA : V_FLAG.
*WORK AREA
DATA: WA_VBAK TYPE I_VBAK.
DATA: WA_VBAP TYPE I_VBAP.
DATA: WA_MAKT TYPE I_MAKT.
DATA: WA_LIPS TYPE I_LIPS.
DATA: WA_VBPA TYPE I_VBPA.
DATA: WA_KNA1 TYPE I_KNA1.
DATA: WA_FINAL TYPE I_FINAL.
DATA: WA_REASON TYPE I_REASON.
*DATA DECLARATION.
DATA: V_PROGNAME TYPE SY-REPID.
DATA: V_VBELN TYPE VBAK-VBELN.
DATA: V_GRIDTITLE TYPE LVC_TITLE.
***PARAMETERS: D_VARI LIKE DISVARIANT-VARIANT.
*DATA: I_VARIANT LIKE DISVARIANT.
*DATA: P_VARI LIKE DISVARIANT-VARIANT.
*DATA DECLARATION FOR CATALOGS LAYOUT SORT EVENTCATALOG TOPOFPAGE.
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: I_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: I_SORTINFO TYPE SLIS_T_SORTINFO_ALV.
DATA: I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: I_EVENTCAT TYPE SLIS_T_EVENT.
INITIALIZATION.
V_PROGNAME = SY-REPID.
V_FLAG = SPACE.
*SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS: S_VBELN FOR V_VBELN.
SELECTION-SCREEN END OF BLOCK BLK1.
*AT SLECTION-SCREEN.
AT SELECTION-SCREEN.
PERFORM Z_VALIDATIONS.
*START OF SELECTION.
START-OF-SELECTION.
PERFORM Z_SELECT.
PERFORM CHECK_VALIDATION_FLAG.
PERFORM Z_FIELDCAT USING I_FIELDCAT.
PERFORM Z_LAYOUT.
PERFORM Z_SORTINFO USING I_SORTINFO.
PERFORM Z_EVENTCAT USING I_EVENTCAT.
PERFORM Z_GRIDTITLE.
PERFORM Z_LISTHEADER USING I_LISTHEADER.
PERFORM Z_DISPLAY.
*& Form Z_VALIDATIONS
FORM Z_VALIDATIONS .
SELECT VBELN INTO V_VBELN
UP TO 1 ROWS
FROM VBAK
WHERE VBELN IN S_VBELN.
ENDSELECT.
IF SY-SUBRC <> 0.
MESSAGE I002(SY) WITH 'No Records'.
V_FLAG = 'X'.
ENDIF.
ENDFORM. " Z_VALIDATIONS
*& Form Z_FIELDCAT
FORM Z_FIELDCAT USING P_I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: I_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
*VBAK-VELN
I_FIELDCAT-COL_POS = '1'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'VBELN'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-KEY = 'X'. " SO THAT THIS FIELD IS NOT SCROLLABLE AND
*HIDDABLE.
I_FIELDCAT-JUST = 'C'. " FOR JUSTIFICATION.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'SALES ORDER'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 15. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBAK'. " FOR F1 & F4 HELP AS REFERNCED TO
*THE DDIC TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-SPRAS
I_FIELDCAT-COL_POS = '2'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'SPRAS'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'LANGUAGE'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 5. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'TVAUT'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-AUGRU
I_FIELDCAT-COL_POS = '3'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'AUGRU'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'REASON'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 5. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBAK'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-bezei
I_FIELDCAT-COL_POS = '4'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'BEZEI'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'DESCRIPTION'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 20. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'TVAUT'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-POSNR
I_FIELDCAT-COL_POS = '5'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'POSNR'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'ITEM'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 8. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-MATNR.
I_FIELDCAT-COL_POS = '6'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'MATNR'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'MATERIAL'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 10. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*VBAP-ZMENG
I_FIELDCAT-COL_POS = '7'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'ZMENG'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'QUANT'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 10. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBAP'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*MAKT-MAKTX
I_FIELDCAT-COL_POS = '8'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'MAKTX'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'DESCRIPTION'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 20. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'MAKT'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*LIPS-VBELN
I_FIELDCAT-COL_POS = '9'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'VBELN'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'DELIVERY'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 15. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'LIPS'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*LIPS-LFIMG
I_FIELDCAT-COL_POS = '10'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'LFIMG'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-DO_SUM = 'X'.
I_FIELDCAT-SELTEXT_L = 'LFIMG'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 18. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'LIPS'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*parvw
I_FIELDCAT-COL_POS = '11'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'PARVW'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'PARTNER FUN'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 18. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBPA'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*KUNNR
I_FIELDCAT-COL_POS = '12'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'KUNNR'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'SHIP'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 18. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'VBPA'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
*NAME1
I_FIELDCAT-COL_POS = '13'. " POSITION OF THE COLUMN.
I_FIELDCAT-FIELDNAME = 'NAME1'. " FIELD FOR WHICH CATALOG ID FILLED.
I_FIELDCAT-TABNAME = 'IT_FINAL'. " INTERNAL TABLE TO WHICH THE FIELD
*BELONGS TO.
I_FIELDCAT-LZERO = 'X'. " OUTPUT WITH LEADING ZEROS.
I_FIELDCAT-SELTEXT_L = 'NAME'. " LONG TEXT FOR HEADER.
I_FIELDCAT-OUTPUTLEN = 18. " SET THE OUTPUT LENGTH.
I_FIELDCAT-REF_TABNAME = 'KNA1'. " FOR F1 & F4 HELP AS REFERNCED TO
*TABLE.
APPEND I_FIELDCAT TO P_I_FIELDCAT.
ENDFORM. " Z_FIELDCAT
*& Form Z_SELECT
FORM Z_SELECT .
SELECT VBELN
AUGRU INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
FROM VBAK
WHERE VBELN IN S_VBELN.
IF SY-SUBRC = 0.
SELECT VBELN
POSNR
MATNR
ZMENG INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
FROM VBAP
FOR ALL ENTRIES IN IT_VBAK
WHERE VBELN = IT_VBAK-VBELN.
IF SY-SUBRC = 0.
SELECT SPRAS
AUGRU
BEZEI INTO CORRESPONDING FIELDS OF TABLE IT_REASON
FROM TVAUT
FOR ALL ENTRIES IN IT_VBAK
WHERE AUGRU = IT_VBAK-AUGRU.
IF SY-SUBRC = 0.
SELECT VBELN
PARVW
KUNNR INTO CORRESPONDING FIELDS OF TABLE IT_VBPA
FROM VBPA
FOR ALL ENTRIES IN IT_VBAK
WHERE VBELN = IT_VBAK-VBELN.
IF SY-SUBRC = 0.
SELECT KUNNR
NAME1 INTO CORRESPONDING FIELDS OF TABLE IT_KNA1
FROM KNA1
FOR ALL ENTRIES IN IT_VBPA
WHERE KUNNR = IT_VBPA-KUNNR.
IF SY-SUBRC = 0.
SELECT POSNR
MATNR
LFIMG INTO CORRESPONDING FIELDS OF TABLE IT_LIPS
FROM LIPS
FOR ALL ENTRIES IN IT_VBAP
WHERE POSNR = IT_VBAP-POSNR.
IF SY-SUBRC = 0.
SELECT MATNR
MAKTX INTO CORRESPONDING FIELDS OF TABLE IT_MAKT
FROM MAKT
FOR ALL ENTRIES IN IT_VBAP
WHERE MATNR = IT_VBAP-MATNR.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ELSE.
MESSAGE I002(SY) WITH 'No Data found'.
LEAVE LIST-PROCESSING.
ENDIF.
IF SY-SUBRC = 0.
LOOP AT IT_VBAP INTO WA_VBAP.
READ TABLE IT_VBAK INTO WA_VBAK WITH KEY VBELN = WA_VBAP-VBELN
BINARY SEARCH.
IF SY-SUBRC = 0.
*MOVE DATA INTO IT_FINAL.
MOVE: WA_VBAK-VBELN TO WA_FINAL-VBELN,
WA_VBAK-AUGRU TO WA_FINAL-AUGRU,
WA_VBAP-POSNR TO WA_FINAL-POSNR,
WA_VBAP-MATNR TO WA_FINAL-MATNR,
WA_VBAP-ZMENG TO WA_FINAL-ZMENG.
ENDIF.
READ TABLE IT_LIPS INTO WA_LIPS WITH KEY POSNR = WA_FINAL-POSNR
BINARY SEARCH.
IF SY-SUBRC = 0.
MOVE: WA_LIPS-LFIMG TO WA_FINAL-LFIMG.
ENDIF.
READ TABLE IT_REASON INTO WA_REASON WITH KEY AUGRU =
WA_FINAL-AUGRU BINARY SEARCH.
IF SY-SUBRC = 0.
MOVE: WA_REASON-SPRAS TO WA_FINAL-SPRAS,
WA_REASON-BEZEI TO WA_FINAL-BEZEI.
ENDIF.
READ TABLE IT_MAKT INTO WA_MAKT WITH KEY MATNR = WA_FINAL-MATNR
BINARY SEARCH.
IF SY-SUBRC = 0.
MOVE: WA_MAKT-MAKTX TO WA_FINAL-MAKTX.
ENDIF.
READ TABLE IT_VBPA INTO WA_VBPA WITH KEY VBELN = WA_FINAL-VBELN
BINARY SEARCH.
IF SY-SUBRC = 0.
MOVE: WA_VBPA-PARVW TO WA_FINAL-PARVW,
WA_VBPA-KUNNR TO WA_FINAL-KUNNR.
ENDIF.
READ TABLE IT_KNA1 INTO WA_KNA1 WITH KEY KUNNR = WA_FINAL-KUNNR
BINARY SEARCH.
IF SY-SUBRC = 0.
MOVE: WA_KNA1-NAME1 TO WA_FINAL-NAME1.
ENDIF.
APPEND WA_FINAL TO IT_FINAL.
CLEAR WA_FINAL.
ENDLOOP.
ENDIF.
ENDFORM. " Z_SELECT
*& Form Z_LAYOUT
FORM Z_LAYOUT .
I_LAYOUT-ZEBRA = 'X'.
I_LAYOUT-TOTALS_TEXT = 'Total'(A00).
I_LAYOUT-SUBTOTALS_TEXT = 'SubTotal'(A01).
I_LAYOUT-BOX_TABNAME = 'IT_FINAL'.
ENDFORM. " Z_LAYOUT
*& Form Z_SORTINFO
FORM Z_SORTINFO USING P_I_SORTINFO TYPE SLIS_T_SORTINFO_ALV.
DATA: I_SORTINFO TYPE SLIS_SORTINFO_ALV.
CLEAR I_SORTINFO.
I_SORTINFO-SPOS = '1'.
I_SORTINFO-FIELDNAME = 'VBELN'.
I_SORTINFO-TABNAME = 'IT_FINAL'.
I_SORTINFO-UP = 'X'.
I_SORTINFO-GROUP = 'UL'. " I.E UNDERLINE AFTER EVERY GROUP
I_SORTINFO-SUBTOT = 'X'.
APPEND I_SORTINFO TO P_I_SORTINFO.
ENDFORM. " Z_SORTINFO
*& Form Z_EVENTCAT
FORM Z_EVENTCAT USING P_I_EVENTCAT TYPE SLIS_T_EVENT.
DATA: I_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_I_EVENTCAT
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR I_EVENT.
READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_TOP_OF_PAGE INTO
I_EVENT.
IF SY-SUBRC = 0.
MOVE 'TOP_OF_PAGE' TO I_EVENT-FORM.
APPEND I_EVENT TO P_I_EVENTCAT.
ENDIF.
READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_PF_STATUS_SET INTO
I_EVENT.
IF SY-SUBRC = 0.
MOVE 'SET_PF_STATUS' TO I_EVENT-FORM.
APPEND I_EVENT TO P_I_EVENTCAT.
ENDIF.
CLEAR I_EVENT.
READ TABLE P_I_EVENTCAT INTO I_EVENT WITH KEY NAME =
SLIS_EV_USER_COMMAND .
IF SY-SUBRC = 0.
MOVE 'USER_COMMAND' TO I_EVENT-FORM.
APPEND I_EVENT TO P_I_EVENTCAT.
ENDIF.
ENDFORM. " Z_EVENTCAT
*& Form Z_DISPLAY
FORM Z_DISPLAY .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_PROGNAME
*I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_GRID_TITLE = V_GRIDTITLE
I_SAVE = 'A'
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = I_FIELDCAT[]
IT_SORT = I_SORTINFO
IT_EVENTS = I_EVENTCAT
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_FINAL
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " Z_DISPLAY
*& Form Z_GRIDTITLE
FORM Z_GRIDTITLE .
V_GRIDTITLE = 'ALV FOR SALES ORDER DISPLAY'.
ENDFORM. " Z_GRIDTITLE
*TOP OF PAGE.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = I_LISTHEADER.
ENDFORM. "TOP_OF_PAGE
*MENU SETTINGS.
FORM SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'ALV_MENU'.
ENDFORM. "SET_PF_STATUS
*USER-COMMAND
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
DATA : VBELN TYPE VBELN_VA.
CASE P_UCOMM.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN '&IC1'.
CLEAR : VBELN.
VBELN = RS_SELFIELD-VALUE.
SET PARAMETER ID: 'AUN' FIELD VBELN.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. " USER_COMMAND
*& Form Z_LISTHEADER
FORM Z_LISTHEADER USING P_I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: L_LISTHEADER TYPE SLIS_LISTHEADER.
REFRESH P_I_LISTHEADER.
CLEAR L_LISTHEADER.
L_LISTHEADER-TYP = 'H'.
L_LISTHEADER-INFO = TEXT-001.
APPEND L_LISTHEADER TO P_I_LISTHEADER.
CLEAR L_LISTHEADER.
L_LISTHEADER-TYP = 'H'.
L_LISTHEADER-INFO = TEXT-002.
APPEND L_LISTHEADER TO P_I_LISTHEADER.
ENDFORM. " Z_LISTHEADER
*& Form check_validation_flag
text
--> p1 text
<-- p2 text
FORM CHECK_VALIDATION_FLAG .
IF NOT V_FLAG IS INITIAL.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " check_validation_flag -
Interaction history under Account Management not showing all quotes
We just noticed that when you look at a customer's account in the PCUI and look at the interaction history tab, not all quotes for this specific account show up.
Has anyone experienced this before and if so, what is the issue??
Thanks.I also noticed that this occurs in the CRM GUI as well. If you search for all business transactions for a specific soldto and the amount is greater than 100, it only returns the first 100. I assume this is what the PCUI does by default.
Is there a way to return all the transactions? -
Dynamic Navigation in Interaction History
Hi,
When I navigate to Interaction History in CRM 2007, I am able to fetch various interaction records. Where as I am not able to open an individual interaction record from the result window. When I double click to oepn the record I am getting the error message "Dynamic Navigation to this object is not supported".
Please let me know the settings to be done to overcome this.
With kind regards,
Shankar
Edited by: Shankar Nagarajan on Aug 27, 2008 11:43 AM
Edited by: Shankar Nagarajan on Sep 9, 2008 3:51 PMPlease read this 2 topics:
Recent Items
Dynamic Navigation Is Not Supported By This Object Error
May be this help you. -
Add custom fields to Interaction History Search.
Hi,
My requirement is to add two new attributes to the interaction history search screen.
1) Process Type
2) Creatyed By
I have added these two fields to the Search Query Structure through Append Structure.
Now problem is to do the backend logic.Means two restrict the records based on these values.
Are there any BADI's available for this?
Please advice.
Version : CRM 2007.
Thanks,
Adi.Hi,
Go through the following blog may be useful to you
/people/stephen.johannes/blog/2008/01/25/crm-40-to-52-customerh-fields
Regards,
Deepak -
Add Custom field of a Z Table in Search structure of Interaction History
Hi,
I am trying to add a field in the IC Interaction History. I have enhanced the BOL structure for BTQuery10 and displayed the field in the Web UI. I have implemented the BADI CRM_RF_SEARCH_EEW, Added entry to CRMC_REPDY for the field.
But when i enter any value in the Field it is not executing the BADI. I tried with the Break Point but it has not executed the BADI.
Please help how to add a Custom field of a Z Table in the Search structure of Interaction History.
Regards,
RajenderHi Rajendra,
You can try this approach.
You can redefine the genil CL_CRM_BTIL->get_query_dynamic_result method (oneorder) and write the logic only for required object else all the one order objects will be affected.
Inside the genil modify the search parameters to include additional object id's which corresponds to custom search parameter.
Check the below logic which is used for activity search based on custom field, in your case modify it with the interaction history object details. Logic is to fetch all the one order object guids based on custom search( via select on custom table) and pass it as input parameter in search.
DATA : it_selection_parameters1 LIKE it_selection_parameters,
ls_selection_parameters LIKE LINE OF it_selection_parameters,
ls_selection_param LIKE LINE OF it_selection_parameters1,
lv_attr TYPE name_komp.
DATA: lt_orderadm_h TYPE crmt_orderadm_h_wrkt,
it_act_guids TYPE crmt_object_guid_tab,
lt_requested_obj TYPE crmt_object_name_tab,
srch_str TYPE c LENGTH 40,
gv_activity_h TYPE crmt_object_name VALUE 'ACTIVITY_H',
ls_orderadm_h LIKE LINE OF lt_orderadm_h.
it_selection_parameters1[] = it_selection_parameters[].
IF iv_query_name EQ 'BTQuery1O'.
LOOP AT it_selection_parameters INTO ls_selection_parameters.
CASE ls_selection_parameters-attr_name.
REPLACE ALL OCCURRENCES OF '*' IN srch_str WITH '%'.
srch_str = ls_selection_parameters-low .
IF srch_str CA '%'.
SELECT ref_guid
FROM "Ztable"
INTO TABLE it_act_guids
WHERE order_typeg LIKE srch_str .
ELSE.
SELECT ref_guid
FROM "Ztable"
INTO TABLE it_act_guids
WHERE order_typeg = srch_str.
ENDIF.
INSERT gv_activity_h INTO TABLE lt_requested_obj.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = it_act_guids
it_requested_objects = lt_requested_obj
IMPORTING
et_orderadm_h = lt_orderadm_h
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
OTHERS = 7.
IF sy-subrc NE 0.
ENDIF.
IF lt_orderadm_h IS NOT INITIAL.
LOOP AT lt_orderadm_h INTO ls_orderadm_h.
ls_selection_param-attr_name = 'OBJECT_ID'.
ls_selection_param-sign = 'I'.
ls_selection_param-option = 'EQ'.
ls_selection_param-low = ls_orderadm_h-object_id.
ls_selection_param-high = ''.
IF sy-tabix = 1.
DELETE it_selection_parameters1 WHERE attr_name = 'Zttarname'.
ENDIF.
APPEND ls_selection_param TO it_selection_parameters1.
CLEAR: ls_orderadm_h.
ENDLOOP.
ELSE.
RETURN.
ENDIF.
ENDCASE.
ENDLOOP.
ENDIF.
CALL METHOD super->if_genil_appl_intlay~get_dynamic_query_result
EXPORTING
iv_query_name = iv_query_name
is_query_parameters = is_query_parameters
it_selection_parameters = it_selection_parameters1
iv_root_list = iv_root_list.
Hope this helps.
Cheers,
Sumit Mittal
Maybe you are looking for
-
How do I use the same Apple ID from iTunes for iCloud?
Ok, I know this is probably a really stupid question, but I recently (like, 2 weeks ago) got a MacBook Pro after my older MacBook from 07 decided to get a mind of its own and start going on the fritz. Anyway, I had an older OS on my MacBook and there
-
How can I call a public function in one component from another component?
I have two components: Form and Confirmation. Form is a Canvas and Confirmation is a TitleWindow. Form contains several controls and a submit button. Confirmation contains an OK button. When the user clicks the submit button, the Confirmation appe
-
Error Message when importing songs from CD
I am a newbie with a 30gb iPod video. I have been able to import multiple cd's to the iPod without any problem. I am now receiving the message "Some of the songs in the Itunes music library including the song "xxxx" were not copied to the iPod becaus
-
How to get Surround Sound to work With Itunes 7 and Stop Skipping
A common problem for surround sound with itunes 7 appears to come from Creative sound cards. The way to fix this problem is to right click on the volume icon in the taskbar and open the EAX Console. Open the CMSS 3D tab and check the box that says En
-
Macbook Air won't play HD movies at all due to HDCP content
I'm not sure when this started happening, but it's probably been a month or two. I cannot play any HD content on my Macbook. I get the warning that "This movie can be played only on displays that support HDCP (High-bandwidth Digital Content Protect