SendMail -'Add Message to action log' on as default ?
Hi
Is it possible and how, to set the 'Add Message to action log' checkbox, checked, as default in the form?
Thanks.
/Peter
Also, the Send Email source code can now be found at Codeplex for you to "play around" with if you would like to add new features or functionallity.
https://scsmsendemail.codeplex.com/
Regards
//Anders
Anders Asp | Lumagate | www.lumagate.com | Sweden | My blog: www.scsm.se
Similar Messages
-
Add message to Processing Log for an action
Hello experts!
I wanted to know, if it is possible to add a custom message to the Processing Log.
Background:
I have an action, which is defined as a method call. In this method, I send a mail to multiple recipients. Now I want to show these recipients in the log.
Does anybody know how I can solve this problem?
Greetings,
littlesamCALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = gc_object_name-orderadm_i
iv_ref_object = is_orderadm_i_wrk-guid.
ELSEIF ls_set_maintain-data-zz0010 EQ 'B'.
MESSAGE ID 'ZMSG_CRM_ORDER' TYPE 'E' NUMBER '012' WITH
is_orderadm_i_wrk-ordered_prod
INTO lv_save_message. -
To add message in Application Log in Me2xn
Hello Experts,
This is my requirement.
During creation of PO item it is required to put a check if the Vendor is one among the Vendors in the table: ZTABLE.
If yes, it means that the PO is an internal order. Then you should check if the flag: GR Non-valuated is set for the newly added items.
If not, send out an error into the application log when the document is saved, so that the user is notified and it has to be checked to make the document complete for further processing.
I have implemented is check in the exit <b>EXIT_SAPMM06E_012</b>. But I don't know how to update the application log.
Could you please send some sample code to update the application log saying that <b>the PO is inetrnal Order</b>
Thanks in Advance.
Regards,
VasanthHi Vasanth,
in this case u have to USE BADI only ,
path-.Se18->f4--.SAP Application and check under ME package.
Regards
Prabhu -
VIMp: Writing to Action Log
Hi gurus,o
I want to write en error message to action log based on someion in myy program condit.Please suggest FM to be used in my code.
I tried using code
g_protocol = cl_log_ppf=>create_log( ip_object = 'PPF' ).
MESSAGE s030(sppf_media) INTO g_dummy.
cl_log_ppf=>add_message( ip_problemclass = sppf_pclass_1
ip_handle = g_protocol ).
The above code didnt gernerate my message in action log.
Also i tried using FM BAL_LOG_MSG_ADD and 'CRM_MESSAGE_COLLECT.
Still no solution.I think some parameters are missing in the above FM.Can anyone of you who have worked on the same provide me a sample code.
Or is there any otehr FM to be used..
Please reply,
Points will be rewarded.LGWR writes synchronously to the active mirrored group of redo log files.If one of the files in the group is damaged or unavailable, LGWR continues writing to other files in the group and logs an error in the LGWR trace file and in the system alert file.
See the follwoing fro more detail:
http://stanford.edu/dept/itss/docs/oracle/10g/server.101/b10743/process.htm -
How to ADD a contact from log for messaging
Hello,
I am a new user of Nokia E72. I just want to know that how can i add the number from log. I mean i want to send a message and contact is not in my contact list but it is in my call log history?
Regards,
Message Edited by awanjee on 02-Dec-2009 09:38 AMawanjee wrote:
Hello,
I am a new user of Nokia E72. I just want to know that how can i add the number from log. I mean i want to send a message and contact is not in my contact list but it is in my call log history?
Regards,
Message Edited by awanjee on 02-Dec-2009 09:38 AM
Open the log and the specific number-> options-> save to contacts
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
How to stop Add or Update action using StatusBar message ?
Hi all ,
I want to add validation using StatusbarMessage and validation will be stop Add/Update Action .I have use
1) B1Connections.theAppl.SetStatusBarMessage("Please select Product Type ! ", BoMessageTime.bmt_Medium, true);
2) B1Connections.theAppl.StatusBar.SetText("Please select Product Type ! ", BoMessageTime.bmt_Medium, BoStatusBarMessageType.smt_Error);
3) B1Connections.theAppl.StatusBar.CreateProgressBar("Please specify the SKU ! ", 0, true);
all process are show error message but Add/Update Action successfully . i want to stop add or update action .please help any one how it is possible using statusbar message?
thanks & regards
SurajitHi,
You Can set BubbleEvent=false
Try This.....
If pVal.FormType = "65211" And pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = True Then
Try
Dim oedit As SAPbouiCOM.EditText
oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
oedit = oform.Items.Item("12").Specific
If oedit.Value = "" Then
sbo_application.MessageBox("Field Should Not Be Blank")
BubbleEvent = False
Exit Try
End If
Catch ex As Exception
sbo_application.MessageBox(ex.Message)
End Try
End If
Thanks
Shafi -
Exchange Connector doesn't add incoming mail to Action Log
Hi,
I'm using a Incident form customized with a class extension.
I already installed the fix SCSM2012_OD_KB2866545_AMD64_14.0.650.7.exe following the procedure.
When there is an incoming email where end user replies with key words as Closed or Resolved, anything occurs on incident as seeing new status or item in action log.
any idea ?
Grazie mille AlexSolved with Microsoft Support.
below detail:
http://blogs.technet.com/b/servicemanager/archive/2014/02/25/manual-and-review-activities-applied-via-a-template-to-an-existing-work-item-are-created-without-prefix.aspx
Grazie mille Alex -
Equipment action log and display changes nnot updating
Hello Guys,
it is little strange but for some of the equipments action log and display changes are not being updated.
The records are there only till 2007 but since 2008 whatever changes we make now they are not being recorded in action log or changes.
But strange thing here is usage list is being updated as it is supposed to be.
i have checked most of the config. but really not helpful.
i am clueless here.
Can anyone help?
Thanks & Regards,
vaibhavHi,
Please see attached code for your review:
Appreciate your valuable comments.
INCLUDE ZXEQMU02
*By: Ralph McKnight/AC Date: Mar061998.
*Description: Additional fields to be saved on append structures
during equipment add/change - This development was
Undertaken as a core modification - The exporting
function parameters were changes to pass back the
structures with the new user values.
*Sir4726 - Disable equipment popup box for equipment type 'E'
*Sartd42467-Add kokrs & kostl to auto maint
*By Ralph McKnight Apr161998.
*SARTD 75148 - 4.6C Upgrade, CH4K902173, Import/Export parameters can no
longer have the same names, added a Changing parameter to
return the changed values of EQUI and EQUZ to save the
append structure fields ZAEQUI and ZAEQUZ for Job
Resource Scheduling.
- Also set the flags to update EQUI and EQUZ.
by: HBAY342
*SARTD 92504 - Save new maintenance plant into ABAP memory. Needed for
9/26/02 E.Krenz
*SARTD 109167 - AMI Foreign Trade REquirement. - Validations against
- AMI Foreign Trade Synchronization tables(ZAESYNCDIV &
(ZAESYNCMAT) before save
of the equipment.
SARTD 111318 - CHLK9A0I4A Check Equipment Acquisition Date, Value and
currency to avoid dump by SAP Standard system
SARTD 113133 AMI project: Added function call to prevent users from
manually changing equipments when it is on a AMI transfer
form.
KR 140649 AMI: Added parameter to FM call
for Z_AMI_CHCK_IE02_UPDATE_ALLOWED. E.Krenz 12/23/03
03/02/2004 HBB8705 CHLK9A0WYR EQUZ Append field rename
Modification Log
Date User Transport KR Description
06/29/2005 HBAK946 CHLK9A1N05 169999 RA Equipment Lockdown
If equip is RA, check authority
If no auth., then issue a mess
06/30/2005 HBAK946 CHLK9A1N29 169999 RA Equipment Lockdown
Only process RA check if in
t-code IE01, IE02 will be
handled in user-exit
Begin of CH4K902173 - 4.6C upgrade - Changed import/export/changing
parameters
Old way follows:
*This is how the call to this routine should look with our mods.
*Note: the changes to the std are labeled with "DS Part 6 - RGM1
call customer-function '001'
exporting
data_equi = equi
data_eqkt = eqkt
data_equz = equz
data_iloa = iloa
importing
own_msg = own_msg
data_equi = equi "DS Part 6 - RGM1
data_eqkt = eqkt "DS Part 6 - RGM1
data_equz = equz "DS Part 6 - RGM1
data_iloa = iloa "DS Part 6 - RGM1
exceptions
posting_not_allowed = 1
others = 2.
New way follows:
CALL CUSTOMER-FUNCTION '001'
EXPORTING
ACTIVITY_TYPE = ACTIVITY_TYPE
DATA_EQUI = EQUI
DATA_EQKT = EQKT
DATA_EQUZ = EQUZ
DATA_ILOA = ILOA
MAIN_CLASS = RM63E-KLASSE
DATA_RM63E = RM63E
IMPORTING
UPDATE_DATA_EQ = UPDATE_DATA_EQ
UPDATE_FLAGS_EQ = UPDATE_FLAGS_EQ
UPDATE_DATA_EZ = UPDATE_DATA_EZ
UPDATE_FLAGS_EZ = UPDATE_FLAGS_EZ
CHANGING
CHGD_EQUI = EQUI
CHGD_EQUZ = EQUZ
EXCEPTIONS
POSTING_NOT_ALLOWED = 1
POSTING_NOT_ALLOWED_EXT = 2
OTHERS = 3.
End of CH4K902173 - 4.6C upgrade - Changed import/export/changing
Changes for SARTD 111318 to check Acquisition Date, Value and currency
Commented By Nikhil. Function Module looks to be specific for US.
*data: v_retval like sy-subrc.
"CHLK9A0I4A
*call function 'Z_VERIFY_ACQUISITION_DATA'
"CHLK9A0I4A
exporting
"CHLK9A0I4A
p_equi = data_equi
"CHLK9A0I4A
importing
"CHLK9A0I4A
retval = v_retval.
"CHLK9A0I4A
*if v_retval ne 0.
"CHLK9A0I4A
raise posting_not_allowed.
"CHLK9A0I4A
*endif.
"CHLK9A0I4A
End of changes for SARTD 111318
*======================================================================
Begin of AMI
*======================================================================
Begin of insert SARTD 113133
read calling AMI program
DATA: z_ami_program(30) TYPE c.
CALL FUNCTION 'Z_AMI_CHECK_AMI_PRG_ACTIVE'
IMPORTING
p_ami_program = z_ami_program.
AMI validations if Equipment Update is allowed
For checking Equipment Check permission.
CALL FUNCTION 'Z_AMI_CHCK_IE02_UPDATE_ALLOWED'
EXPORTING
active_ami_program = z_ami_program
data_equz = data_equz
data_equi = data_equi
data_iloa = data_iloa
main_class = main_class
data_rm63e = data_rm63e
EXCEPTIONS
update_not_allowed = 8.
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
Commented By Nikhil. Function Module looks to be specific for US.
checks for equipment ring fencing (only for manual IE02)
*if z_ami_program is initial.
call function 'Z_AMI_IE02_EXIT_RING_FENCING'
exporting
data_equz = data_equz
data_rm63e = data_rm63e
exceptions
update_not_allowed = 8.
if sy-subrc ne 0.
raise posting_not_allowed.
endif.
*endif.
End of INSERT SARTD 113133
*======================================================================
End of AMI
*======================================================================
*======================================================================
Begin of RA Equipment Lockdown >> CHLK9A1N05
*======================================================================
check if equipment is Radio Active
DATA: i_matnr_tab LIKE zhazind OCCURS 0 WITH HEADER LINE.
DATA: v_land1(3) TYPE c.
DATA: v_ra_flag(1) TYPE c.
*Begin of code insertion by pavan on 02 June, 2008.
DATA: zeqpnr_eccn-zeccn TYPE zeqpnr_eccn-zeccn,
wa_zeqpnr_eccn TYPE zeqpnr_eccn.
break pkumar.
IF sy-ucomm = 'BU'.
IMPORT zeqpnr_eccn-zeccn FROM MEMORY ID 'ZECCNUM'.
MOVE: data_equi-equnr TO wa_zeqpnr_eccn-zeqnr,
zeqpnr_eccn-zeccn TO wa_zeqpnr_eccn-zeccn.
MODIFY zeqpnr_eccn FROM wa_zeqpnr_eccn.
CLEAR wa_zeqpnr_eccn.
ENDIF.
*End of code insertion by pavan on 02 June, 2008.
IF sy-tcode = 'IE01'.
IF NOT data_equi-matnr IS INITIAL AND
NOT data_equz-zzswerk IS INITIAL.
SELECT SINGLE land1 FROM t001w
INTO v_land1
WHERE werks = data_equz-zzswerk.
CLEAR: i_matnr_tab.
REFRESH: i_matnr_tab.
i_matnr_tab-matnr = data_equi-matnr.
APPEND i_matnr_tab TO i_matnr_tab.
CALL FUNCTION 'Z_MATERIAL_HAZARD'
EXPORTING
pland1 = v_land1
TABLES
matnr_tab = i_matnr_tab.
check if radio active
READ TABLE i_matnr_tab INDEX 1.
IF sy-subrc = 0.
IF i_matnr_tab-ramat = 'X'.
check if user has Radio Active access
AUTHORITY-CHECK OBJECT 'S_TCODE'
ID 'TCD' FIELD 'ZIE02_RA'.
IF sy-subrc NE 0.
MESSAGE w000(z5) WITH 'No access to create RA equipment'.
RAISE posting_not_allowed.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*======================================================================
End of RA Equipment Lockdown << CHLK9A1N05
*======================================================================
*CHECK NOT data_equi-eqtyp = 'E'.
*CHECK NOT data_equi-eqtyp = 'F'.
DATA: v_stor_ucomm LIKE sy-ucomm.
DATA: v_equnr LIKE data_equz-equnr.
*Save the system user command field
v_stor_ucomm = sy-ucomm.
v_equnr = data_equz-equnr.
*Get the additional information
CALL FUNCTION 'Z_GET_MORE_EQUIPMENT_INFO'
CHANGING
s_equi = data_equi
s_equz = data_equz
s_rm63e = data_rm63e
EXCEPTIONS
cancelled = 1.
*Begin of changes for SARTD 113691
IF sy-subrc NE 0. "CHLK9A0KY9
RAISE posting_not_allowed. "CHLK9A0KY9
ENDIF. "CHLK9A0KY9
End of changes for SARTD 113691
*Restore the equip number
data_equz-equnr = v_equnr.
data_equz-zzkokrs = data_iloa-kokrs. "CHLK9A0WYR
data_equz-zzkostl = data_iloa-kostl. "CHLK9A0WYR
data_equz-zzswerk = data_iloa-swerk. "CHLK9A0WYR
*****SARTD 109167
*vALIDATE VALUES PER ami fOREIGN TRADE SYNCHRONIZATION RULES
*set screen 0101.
CALL FUNCTION 'Z_AMIFT_VALIDATE_EQUIP_MATNR'
TABLES
P_MESSAGES =
CHANGING
p_equi = data_equi
p_equz = data_equz.
*****SARTD 109167
CH4K902173 - Should update EQUI and EQUZ, set flag to TRUE.
chgd_equi = data_equi. "CH4K902173
chgd_equz = data_equz. "CH4K902173
*Begin of Changes - CHLK980219 data not retained when creating record
*UPDATE_FLAGS_EQ = 'X'. "CH4K902173
*UPDATE_FLAGS_EZ = 'X'. "CH4K902173
*End of Changes
*If cancel was hit then back out of save
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
*Restore the system user command field
sy-ucomm = v_stor_ucomm.
Begin of insert SARTD 92504, AMI 9/26/02, E.Krenz
Store new maintenance plant in memory to be used by ZAEQASBR for
immediate ransfer of maintenance items.
EXPORT data_equz TO MEMORY ID 'ZAEQASBR'.
End of insert
>> CHLK9A1N29
clear transaction varient before going to IE02 or IE01 main screen
CALL FUNCTION 'RS_HDSYS_SET_TC_VARIANT'
EXPORTING
variant = ' '
flag_client_independent = 'X'
overwrite_variant = 'X'.
<< CHLK9A1N29
Regards,
vaibhav. -
I keep get an "Error (-50)" message when I log into iTunes on my MAC
I didn't have this as a problem before, but all of a sudden I cannot log into my iTunes account on my MAC. When I try to go into Store and then Sign in, I get an "Error (-50)" message. I have tried going in and changing the parental controls (something I saw elsewhere), but that didn't work.
I updated both my Mac OS and itunes, but that didn't change anything. I have restarted my computer and even done a hard reset by turning it off. When I opened iTunes again, before I even did anything, it gave me and "Error (-49)" message.
Also, I have some program called Safe-Eyes on my computer as a parental control, and went in and added all the different websites associated with iTunes (per another help page), but that hasn't worked either.
Because of this, I cannot get any of my songs from iTunes Match, except those that had already been downloaded onto the computer (1/16 of my music library). Sure I can access them on my iPhone, but now I can't transfer that music onto my Nano.
One additional note: I saw on the communities the recommendation to delete your iTunes Download file, but I don't appear to have one in my iTunes Media folder.
Thanks!Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting. -
Hi Experts,
I want to send a warning message to the order log , for this I used
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDER'
iv_ref_object = iv_guid
iv_msgno = 002
iv_msgid = 'ZMSG'
iv_msgty = 'W'
iv_cumulate = 'X'
EXCEPTIONS
not_found = 1
appl_log_error = 2
OTHERS = 3.
MESSAGE ID 'ZMSG' TYPE 'W' NUMBER '002' .
But the problem is order is not saving at all, I want order to be saved and the warning message to be in the log.
Please help me out in this.
Thanks in Advance,
PraveenI am using it in the BADI_ORDER_SAVE, when I do not add this message to the log the pop up message is coming out fine.
In this FM if I send E to iv_msgty ,its working fine too.The problem is coming only for warning messages.
Your time in replying to this thread will be appreciated.
Thanks in Advnace,
Praveen -
Notification Action Log missing fields
Hello,
We are working with Quality Notifications in SAP and have found the following issue:
Some of the changes made on a quality notification do not get recorded in the action log. Examples are: Additional batch field, Subject long text, adding or deleting attachments, deleting a task, creating a defect, etc.
How do I check which fields are relevant to be shown in the action log? can we add more fields to be relevant to the action log ? Have you found any workaround for this problem?
Any input will be appreciated...
Thanks,
JoseHi Jose,
Did you find the solution to your problem?
I'm also trying add some fields to check for the Action Log and unable to find it in the Config.
Thanks,
Arthi -
Hi,
May i know how to write my application messages into system log(sm21)
using "c_write_syslog_entry". Any explanation regarding the Type. ID, Data
will be useful with examples. Incase of any other FM's or C functions does
the same Please let me know.
Thanks
PrasathHello Prasanth
I agree with Kareem that you should prefer the application log. If interface IF_RECA_MESSAGE_LIST is available on your SAP system this is the first choice for collecting messages AND storing them as application log.
For an example you may have a look at my Wiki posting [Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]
Not shown in this example is the storage of the application log. However, if you look at method CF_RECA_MESSAGE_LIST=>CREATE you see that you can add the application log references here.
Regards
Uwe -
Hopefully a straight forward yes or no question.
Is it possible to add action logs to a report? either a report from a cube or a report from SQL Report Builder?
My understanding is that the action log information is not transferred to the database, therefore I presume you cannot get this into a cube report of SQL report - is my understnading correct?
tamrepHi,
Rob Ford made a contribution
here for a similar task.
Cheers,
Marat
Site: www.scutils.com Twitter:
LinkedIn:
Graveyard: -
How to set/add message to the FacesMessage?
My code looks as follow:
<h:commandButton id="submit" value="Submit" action="#{myBean.doSearch}"/>
<h:messages layout="table" showDetail="true"/>
What I want is: I will do some check in the doSearch(). If something wrong, I will add message to the FacesMessage so it will be printed out by <h:messages.../>
How shold I do in the doSearch()?Isn't this what you want in your doSearch()(???):
FacesContext facesContext = FacesContext.getCurrentInstance();
FacesMessage facesMessage = new FacesMessage(errorMsg);
facesContext.addMessage("nameOfForm", facesMessage);/Birna -
Appraisal Document: Wrong entries in action log
Hi Gurus,
For some appraisal documents, the action log is getting wrong entries.
For example, it appears several entries. Those entries identify persons that have seen the document. I have an example that several employees have seen the same document at the same day the same time, which has not happened.
I am using standard implementation for action log.
I cannot find a pattern for that...
Have you faced the same situation? Can you help me, please?
Many thanks,
Vasco BrandãHi Vasco,
Another customer had some problems with the log and it was solved with note 1476829 (it corrected a different issue but it made changes on the log fucntionality as well).
Try this note and if you still have problem after that then I suggest you open a message for this as it might be a bug.
Cheers
Sarah
Maybe you are looking for
-
hi folks, i'm new to flash and need some help finding a dynamic count-up clock. it would work opposite to the coundown time clocks that are popular in various websites. i need count up from a past date and time and continue indefinetely. i found a fi
-
Setting session variable names based on variables in a loop
I am trying to set up a loop that sets up a list of variables based upon a list, by looping over the list and setting the session.NAME: <CFLOOP list="#fieldnames#" index="fieldname"> <cfset session.#fieldname# = "1"> </CFLOOP> It does not seem to lik
-
Managing warranties for equipment components
Hi! I have the following issue: I need to implement a solution where user can manage warranties for equipment's components besides the equipment warranty. User requires that when a new component is assigned to an equipment, like bill of materials or
-
PLEASE HELP!... I am seriously freaking out... I use my Toolbar all the time!... and ALL OF MY BOOKMARKS ARE GONE ALSO!
-
Safari Locking Up Every Time I Upload a File
Can anyone offer me any advice? I have been trying to attach files to emails and upload them to my schools printer network, but every time I chose the file to upload (I click the button to chose the document, hit upload) it gives me the spinning pinw