2008 Jun 18 10:52 AM
Hi all,
I have a requirement which requires me to put a custom message in the error log in a transaction.
I have successfully achieved it through a Function Module 'CRM_MESSAGE_COLLECT'.
But on double clicking the Message in the error log I want the navigation to happen to a field.
Kindly tell me how to achieve the above.
Please reply immediately as this is bit urgent.
Regards,
Vijay
Hi,
could you paste the code how you have written message in transaction.?
Thanks in Advance,
venkat n
2008 Jun 18 11:57 AM
Hi,
could you paste the code how you have written message in transaction.?
Thanks in Advance,
venkat n
2008 Jun 18 12:19 PM
Hi,
I have used the follwoign code:
DATA : i_bal_r_idno TYPE bal_r_idno,
wa_bal_r_idno TYPE bal_s_idno,
lv_message TYPE char80.
break-point.
wa_bal_r_idno-sign = 'I'.
wa_bal_r_idno-option = 'EQ'.
wa_bal_r_idno-low-msgid = 'ZTEST_MESSAGE'.
wa_bal_r_idno-low-msgno = '000'.
APPEND wa_bal_r_idno TO i_bal_r_idno.
**Delete old messages
CALL FUNCTION 'CRM_MESSAGES_DELETE'
EXPORTING
it_r_msgidno = i_bal_r_idno
iv_ref_object = IV_GUID
iv_ref_kind = 'A'
iv_caller_name = 'ORDERADM_H'
EXCEPTIONS
appl_log_error = 1
OTHERS = 2.
CLEAR lv_message.
MESSAGE ID 'ZTEST_MESSAGE' TYPE 'E' NUMBER '000' INTO lv_message.
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDERADM_H'
iv_ref_object = IV_GUID
iv_ref_kind = 'A'
iv_fieldname = 'CURRENCY'.
Please gide me on how to navigate to the currency field under the Prices Tab.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |