Query Using Send a alert at once not continuously
Hi,
How to control the Alert using Query ?.
if i add a Purchase order alert is sent to assigned
user i write a query and set the query in
alert mananagement window. remainder is set for
one minute alert is working fine but is repeating
every minutes i want alert to be send only once
based on conditions.
I created a UDF and update the values
YES/NO. If the alert send once my
UDF field value should be UPDATE to YES.
when my udf value - Empty or NO then
only alert is send
pl send a Ex query it contains
select statement and Update statement
1.Alert sent for assigned user.
2.UDF Value UPDATE - YES
Both are in one query
Regards
Jambu
Hi Jumbulingam,
Here is the simply query SELECT T0.DocNum, T0.CardName, T0.BaseAmnt FROM OPOR T0, which will generate the list of purchase orders and sends an alert to the concerned user.
How to manage Alerts:-
For the first question - you to first wirte a query. for this log on to Query Generator select the table from which you want to generate a report or otherwise.
Now go to Admn/Alert Management - in the window - change to add mode and give some name to your alert program and from "Open saved Query" select the query which you had write for this process. After this you can check box the users who should get this message/mail etc.,
For the second question - while writing query, you can specify conditions that should be considered while generating query reports. This can again be fowarded to users thru alert management.
Hope this clarifies your doubt.
Thanks,
Srikanth
Similar Messages
-
How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help
What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
http://www.adobe.com/support/connect/connecthostedsupport.html -
when i use send to trash it does not go into trash but brings up a message to delete and if I do it is gone forever?
is there a cure for this?Have a look here: https://discussions.apple.com/message/11291053?messageID=11291053&
Thomas A Reed's tip seems to fix the problem. -
How to obtain the transformed SQL query using SEM_MATCH
Dear all,
Is it possible to get the transformed relational SQL query when using the SEM_MATCH prefix, by querying directly on the database. We are able to obtain the relational SQL query using Joseki/Jena, however this is not the way to go for us. We would like (if possible) to get it straight from the oracle database by logging or something.
Kind regards.
MaxHi Max,
Just to clarify. What SEM_MATCH prefix are you talking about?
A SEM_MATCH based query is indeed a SQL query as SEM_MATCH is a SQL table function. So if you don't want to go through Java APIs or web service endpoint, then running SEM_MATCH directly should give you what you need. Or maybe you just want to see the underlying generated (from SEM_MATCH) SQL query. If that is true, can you please tell us why?
Thanks,
Zhe Wu -
How to notify in case SQL query(JDBC sender adapter) does not fetch records
hi,
How can we notify(by alerts or something) in case SQL query(JDBC sender adapter) does not fetch records? In channels logs it only says processing started & finished(no message is created for same).
Thanks,
MayankHi,
1 ) What is exact audit log message ?
2) Try fetching the count in SQL statement if there are any valid records it will give the count.
May for testing you can use <TEST> in update statement.
3) Have you used taskTimeout parameter ?
4) Are multiple channels polling on same table ?
regards
Ganga -
We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS. Once users subscribe to the alerts using the list "alert me"
function they received the customized email as intended.
We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
Import-Csv D:\Temp\filename.csv | ForEach-Object{
$webUrl=$_.WebUrl
$listTitle=$_.List
$alertTitle=$_.AlertTitle
$subscribedUser=$_.SubscribedUser
$alertType=$_.AlertType
$deliveryChannel=$_.DeliveryChannel
$eventType=$_.EventType
$frequency=$_.Frequency
$oldAlertID=$_.ID
$web=Get-SPWeb $webUrl
$testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
IF ($testAlert) {
$web.Alerts.Delete([GUID]$oldAlertID)
Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
$list=$web.Lists.TryGetList($listTitle)
$user = $web.EnsureUser($subscribedUser)
$newAlert = $user.Alerts.Add()
$newAlert.Title = $alertTitle
$newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
$newAlert.List = $list
$newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
$newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
$newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
if($frequency -ne "Immediate"){
$AlertTime=$_.AlertTime
$newAlert.AlertTime=$AlertTime
$newAlert.Update()
Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
} ELSE {
Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template. All users who manually subscribed on their
own to the list using the "Alert Me" function would get the customized email.
Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?Hi ,
According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
generic email template.
For your issue, you can set the new alert ‘s alert template:
http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
Here is a good blog you can have a look:
http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Eric Tao
TechNet Community Support -
Send an alert with search query word if nothing return on search result??
Hi All,
is it possible to send an alerts to specific person, when end-users will not find any results on specific query? i know sharepoint has Search alerts, but i am looking to send an alert, if they dont find anything in search results.
Thanks in advanced!Not possible out-of-the-box.
There are search usage reports for reviewing and optimizing the results... but nothing like what you're asking for... Nor do I think such a feature would ever be added... too much potential for misuse (no results found for "JaneDoe should be fired") or overwhelming
amounts of useless information (2000 emails indicating that "NotARealWord" returned no results).
As a developer, it is POSSIBLE with custom development... but I'd still advise against it.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
How to send email alert to users from the query output ?
Hi all,
I intend to write a pl/sql to send email alert to user based on the following query output :-
Item_______Qty_on_hand________Min_qty______email
[email protected]
[email protected]
[email protected]
once run, I will like to distribute to those email id. How should I code that in pl/sql ? or any other better idea is welcome. Thanks.
Rgds
Limhttp://asktom.oracle.com/pls/ask/f?p=4950:8:3439330610438686683::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:255615160805,
-
ABAP query using logical database KDF is not populating custom fields
Hi Experts ,
I created two following queries
1. VENDORCATKDF – uses KDF logical database
2. VENDORCATLFA1 – uses table = LFA1
I’m pulling the same information in both queries:
· Vendor Number
· Country
· Vendor Name
· Vendor Category (custom fields added to LFA1)
The results for the query that uses the logical database KDF is incorrect. It doesn’t pull in the flag on the custom field LFA1-ZMRO. Even though the logical database KDF is made up of the table LFA1 and has these fields.
Is there something that can be done – so that all of these “custom” category fields under LFA1 (such as LFA1-ZZMRO) – get pulled into queries – when we use the logical database KDF ?Hi,
I have got the error removed by ensuring that fields from one table are a part of one line ( taking help of ruler) only. But the underlying problem remains, the output is not ALV but List output.
I do not think having additional fields in the query is reason for this.
Is it bcoz iI am adjusting the output length of columns to ensure no hierarchical error ?
Can we not have a query using LDB which is shown as SAP List?
Regards,
Garima. -
Use sender from payload: Sender not in payload
Hi,
I am currently facing problems with a IDoc -> XI -> Proxy(XI) sceanrio.
The Idoc is received by XI without any problems. No message mapping is required for this scenario. However, the message keeps getting stuck in the Inbound queue (SMQ2). The status text says "Use sender from payload: Sender not in payload".
Can anyone help me out on this?
Thanks,
KrishneelCheck this related problem:
ATTRIBUTE_IDOC_METADATA : Sender not in payload
Regards,
Abhishek. -
Use sender in Payload: Sender not in Payload.
Hi,
When R3 sends ORDRSP to XI , the BPM in XI sends a Status ( SYSTAT01 IDoc ) back to R3 without any problem. Whereas when R3 sends DELVRY03 to XI, the BPM in XI is not able to send the Status back to R3 and gets stuck in XI Queue. The reason: Use sender in Payload: Sender not in Payload.
Both ORDRSP and DELVRY03 are using the same IDOC Receiver Channel with Take Sender from Payload checked.
Any idea what is causing the message to get stuck in the queue.
Thanks,
SreekanthThe reason: Use sender in Payload: Sender not in Payload.
Check below link:
Error: Sender Not in Payload
also there are other threads...but ultimately it is Michal's reply which everyone is refering to.
Regards,
Abhishek -
I have started to get this error message: "5.1.3 bad address syntax" in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice? My email account is through Optimum online and I am using Airpost Express.
P.S. The error sound "bong" is driving us nuts!Please post on the Office for Mac product forums that Microsoft hosts. It's their product and they can best troubleshoot the issue.
-
Hi,
I have a requirement wher the client wants BizTalk to alert users somehow when a file is not received at specific time. I am using a FILE receive adapter, the requirement is, if the FILE adapter does not receive a file on time then BizTalk should alert the
users somehow. The client wants to use ESB toolkit to do this job.
does anybody have any idea ?
PLEASE HELP
Thanks & Regards
VikramDuplicate Thread.
Follow here:
https://social.msdn.microsoft.com/Forums/en-US/3e314d17-8b0c-451c-921a-65dbab0612a8/how-to-alert-user-using-biztalk-if-a-file-is-not-dropped-in-a-folder-during-a-specified-time-using?forum=biztalkgeneral -
I have problem sending a email ..spool not created using custom FM
Hi experts,
i have problem sending a email ..spool not created using custom FM...this the custom FM
* Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
Source code
this is the source code for this FM
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
PERFORM convert_spool_to_pdf.
IF sy-subrc IS NOT INITIAL.
MESSAGE e040(zhrcd) RAISING spool_not_created.
ENDIF.
PERFORM process_email USING email1
email2
email3
subject
attachment_name.
WAIT UP TO 5 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.....
Please let me know
Edited by: Thomas Zloch on Nov 16, 2010 5:53 PM - please use code tagsHi srinivas ,
Could you please Check
FORM summary_report .
DATA: lv_success TYPE i,
lv_error TYPE i,
lv_total TYPE i.
DESCRIBE TABLE gt_data LINES lv_success.
DESCRIBE TABLE gt_error LINES lv_error.
DESCRIBE TABLE gt_message LINES lv_error.
lv_total = lv_success + lv_error.
lv_total = lv_success.
gwa_summary-record = text-008."Number of Successful records.
gwa_summary-number = lv_success.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-009."Number of error records'.
gwa_summary-number = lv_error.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-010."Total number of records processed.
gwa_summary-number = lv_total.
APPEND gwa_summary TO gt_summary.
CLEAR gt_fieldcat.
gwa_fieldcat_summ-col_pos = 1 .
gwa_fieldcat_summ-fieldname = 'RECORD'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-011."Records
gwa_fieldcat_summ-outputlen = '70'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
gwa_fieldcat_summ-col_pos = 2 .
gwa_fieldcat_summ-fieldname = 'NUMBER'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-012."Number
gwa_fieldcat_summ-outputlen = '10'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
ENDFORM. " SUMMARY_REPORT
*& Form ERROR_REPORT
FORM error_report .
gt_fieldcat_err[] = gt_fieldcat[].
gv_fieldcat_err-col_pos = 1.
gv_fieldcat_err-fieldname = 'PERNR'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-070."Employee Number
gv_fieldcat_err-outputlen = '20'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
gv_fieldcat_err-col_pos = 2.
gv_fieldcat_err-fieldname = 'MESSAGE'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-071."Error Message
gv_fieldcat_err-outputlen = '80'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
ENDFORM. " ERROR_REPORT
*& Form FINAL_REPORT
FORM final_report .
DATA:lv_layout TYPE slis_layout_alv,
lt_events_summ TYPE slis_t_event,
lv_events_summ LIKE LINE OF lt_events_summ,
lt_events_det TYPE slis_t_event,
lv_events_det LIKE LINE OF lt_events_det,
lt_events_err TYPE slis_t_event,
lv_events_err LIKE LINE OF lt_events_det,
lt_events_msg TYPE slis_t_event,
lv_events_msg LIKE LINE OF lt_events_det.
lv_events_summ-name = 'TOP_OF_PAGE'.
lv_events_summ-form = 'TOP_OF_PAGE1'.
APPEND lv_events_summ TO lt_events_summ.
lv_events_det-name = 'TOP_OF_PAGE'.
lv_events_det-form = 'TOP_OF_PAGE2'.
APPEND lv_events_det TO lt_events_det.
lv_events_err-name = 'TOP_OF_PAGE'.
lv_events_err-form = 'TOP_OF_PAGE3'.
APPEND lv_events_err TO lt_events_err.
lv_events_msg-name = 'TOP_OF_PAGE'.
lv_events_msg-form = 'TOP_OF_PAGE4'.
APPEND lv_events_msg TO lt_events_msg.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_summ
i_tabname = 'IT_SUMMARY'
it_events = lt_events_summ
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_summary
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF CHK_DTL IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat
i_tabname = 'gt_data'
it_events = lt_events_det
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_data
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_error'
it_events = lt_events_err
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_message'
it_events = lt_events_err
TABLES
t_outtab = gt_message.
IF GT_MESSAGE[] IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_message.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
IS_PRINT =
i_screen_start_column = 0
i_screen_start_line = 0
i_screen_end_column = 0
i_screen_end_line = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " FINAL_REPORT
*& Form top_of_page
text
FORM top_of_page1. "#EC CALLED
WRITE text-013."SUMMARY REPORT.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2. "#EC CALLED
WRITE text-014."DETAIL REPORT.
ENDFORM. "top_of_page
*& Form top_of_page3
text
FORM top_of_page3. "#EC CALLED
WRITE text-015."ERROR REPORT
ENDFORM. "top_of_page
*& Form EMAIL_NOTIFICATION
FORM email_notification .
DATA: lv_email1 TYPE somlreci1-receiver,
lv_email2 TYPE somlreci1-receiver,
lv_email3 TYPE somlreci1-receiver,
lv_subject TYPE char200,
c_flag TYPE c VALUE 'X',
lv_attachment TYPE char50.
CLEAR: lv_email1,
lv_email2,
lv_email3,
lv_subject,
lv_attachment.
SELECT SINGLE email1
email2
email3
FROM zhr_interface_pr
INTO (lv_email1,lv_email2,lv_email3)
WHERE zinterfaceid EQ gc_objectid.
IF sy-subrc EQ 0.
IF sy-batch EQ 'X'.
Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "
Edited by: katewinslate@SAP on Nov 17, 2010 12:50 PM -
E-mail via Workflow task is not send they say aprox once a month
Hi there
I am asked to check one system with a workflow running 2+ years. It is actually an task with method which sends an e-mail when Purchase requisition is created.
It istriggered by event in user exit(via function).
The version is IS oil 4.6C.
The problem is that e-mail is not send they say aprox once a month (which I personaly do not believe). However I have to do something (and explain what could be the reason).
What would be your idea to do?
I have in mind to subtye BUS2081 to e.g zz BUS2081 and then delegate bus2081 system wide(which is not done (but I think this will not solve the problem).
In addition all technical details:
I created event ZCREATED for object ZABUS2105 (done as copy of BUS2105) in user exit MEREQ001 (EXIT_SAPLMEREQ_008) while creating purchase requisition via z transaction me51n and my colleague added this function in MV45AFZZ(while creating purchase order from sales order).
CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
i_banfn = IM_BANFN_NEW.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = 'ZABUS2105'
OBJKEY = i_banfn
EVENT = 'ZCREATED'
creator = sy-uname
TABLES
EVENT_CONTAINER = EVENT_CONTAINER
This event triggers workflow task TS92000018
Task TS92000018 is a background task and has atribute »general task« . Metoda (program) is:
BEGIN_METHOD ZWF_SEND CHANGING CONTAINER.
call function 'ZWF_SEND_MAIL7XX'
Exporting
banfn = OBJECT-KEY-NUMBER.
END_METHOD.
Function Z_SEND_MAIL7XX:
FUNCTION ZWF_SEND_MAIL7XX.
""Local interface:
*" IMPORTING
*" REFERENCE(BANFN) TYPE BANFN OPTIONAL
*" REFERENCE(STATUS) DEFAULT 1
DATA: reclist TYPE STANDARD TABLE OF somlreci1 WITH HEADER LINE,
objtxt TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
objpack TYPE STANDARD TABLE OF sopcklsti1 WITH HEADER LINE.
DATA: doc_chng TYPE sodocchgi1,
tab_lines TYPE sy-index,
subject TYPE so_obj_des,
email like zwf_emailko7XX,
menge(17) TYPE c,
I_Zwf_obdelan7xx like zwf_obdelan7xx,
I_eban like eban occurs 10 with header line.
SELECT SINGLE * FROM Zwf_obdeLAN7xx into i_zWF_obdelan7xx WHERE
BANFN
EQ
BANFN.
IF sy-subrc NE 0.
KONCNEMU
SELECT single * FROM eban where banfn = banfn.
SELECT single * FROM zwf_emailko7XX into email
WHERE ekgrp = eban-ekgrp.
refresh reclist.
reclist-receiver = email-SMTP_ADDR.
reclist-rec_type = 'U'.
APPEND reclist.
CONCATENATE text-015 banfn INTO subject SEPARATED BY space.
doc_chng-obj_name = 'SENDFILE'.
Mail Subject
doc_chng-obj_descr = subject."text-001.BO22.11.2005
Mail Contents
refresh i_eban.
CONCATENATE text-015 banfn text-016 sy-mandt text-017 eban-ernam INTO
objtxt
SEPARATED BY
space.
APPEND objtxt.
select * from eban into i_eban where banfn = banfn.
menge = i_eban-menge.
CONCATENATE i_eban-matnr i_eban-txz01 menge i_eban-meins INTO objtxt
SEPARATED
BY space.
APPEND objtxt.
append i_eban. clear i_eban.
endselect.
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
APPEND objpack.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
insert into zwf_obdelan7xx values banfn.
commit work.
endif.
ENDFUNCTION.There are several things you can check before starting to check the code/solution.
I would start by sending an e-mail from SAP Business Workplace - either to someone who say he/she receives e-mail only once a month, or to yourself if that is not possible. Check how long it takes from the mail is sent until it is received. Once the first mail has been received, send another mail and check the time again (to determine the sendmail process' interval). Of course you can probably just check the configuration of send processes ... but you may as well give them some hard proof.
Secondly, check the send log (transaction SOST) - and find out how often there are the type of messages you are interested in. Alternatively, test the workflow and verify that messages are sent immediately.
Maybe you are looking for
-
Enterprise Search using Sharepoint Server 2007 + SAP R/3
Hi experts, I want to achieve an enterprise search using SharePoint Server 2007 (MOSS). SharePoint includes the BDC (business data catalog) which allows you to communicate with the SAP System. I read in the Microsoft whitepapers that thereu2019s a ne
-
Application Manager Download Error - 503
When launching the Appication Manager it spins for a while and then a dialog box pops-up with Download Error - Code 503, Contact Customer Support. Retrying several times does not help.
-
How to create a VISA resource without "VISA FIND" or Serial Poll
I'm very new to LabVIEW and my experience so far with GPIB/VISA is to pass a GPIB address (from user control) to a C# function I created. The function will build the correct VISA resource string, and try to connect using a message-based session one
-
I updated my apps a couple of days back. Now I'm not even able to use my microsoft word simple documents. I can't open my lesson plans, my homework, my kids pictures....nothing. What am I missing?
-
HT201317 Problem Photostream Ipad 3
When I make a photo on my Ipad 3 it comes in my photo album, but not in my fotostream map. Pictures made with my iphone 4 goes to the photostream map, but not to the ipad photostream map via Icloud. If I open the picture app. (standard) on the ipad,