Notification: completion date
Hi experts,
When creating a notification with IW51.
The field Date (VIQMEL-QMDAT) is automatically set to the current date.
The field Time (VIQMEL-MZEIT) is automatically set to the current time.
After having processed the notification the notification has to be marked as complete.
For that purpose, we use the completion flag.
A popup is issued which propose the creation date and time as reference date and time for closure.
We would like that the popup suggest to current date and time in the completion popup instead of the creation date and time of the Notification.
It seems that, in table QMEL, the fields used to store the creation date and time are BEZDT and BEZUR.
Has anyone an idea to achieve this ?
Of course, it would be better to use standard functionnality ... but ABAP development can be considered as well.
Thank you very much.
Regards,
Philippe
Hi,
The default notification reference date can be defined in customizing:
IMG -
Plant Maintenance and Customer Service
Maintenance and Service Processing
Maintenance and Service Notifications
Notification Creation
Notification Types
Define Notification Types
Select the relevant notification type then on detail screen the setting for Reference time field. It appears you want the value D here to specify notification completion date/time.
-Paul
Similar Messages
-
BAPI to change notification task completion date and time
Hi,
I am looking for a BAPI which will modifiy completion date and time of an existing task of a notification.
I was trying with BAPI_ALM_NOTIF_DATA_MODIFY but it doesn't have fields which can modify those fields.
Looking for your help. Can directly update QMSM table
should be a way?
Thanks,
MainakHi,
Use the Method ISUSMORDER.technicalcompletion.
Hope it helps.
KR,
AAL! -
Completion date for manually created maintenance notification
Hi All,
When closing maintenance notification created manually by t-code- IW21,there is no field to enter completion date & time. System is proposing the current date as completion date by default. However , as I have flagged u201Ccompletion datau201D in maintenance plan category for notification ,system is asking/proposing completion date/time during NOCO of preventive maintenance.
Where I can do settings in configuration so that system will ask/propose to enter completion date/time during NOCO of manually created notification by t-code IW21?
rgds
rajibIn notification type views you have option to set Reference date & time- if you set it to A- Malfunction start date & time will
be proposed, if you set it to B- Notification receipt date & time will be proposed, if you set it to C- Malfunction end time will
be proposed, & in case of D - current date & time of completion of notification will be proposed while completing notification.
Better set it to B & make the field malfunction start date & time mandatory so that your history will be with reference to malfunction start. Or you can set it to A, C or D as per your requirement
Shakti
Edited by: SHAKTI BEHERA on Aug 14, 2010 10:09 AM -
Completion date for notification, IW22
when i tried to set the completion date for a notification through IW22 am not able to view the completion date and completion time inputs in the popup screen, only reference date and reference time is showing
can this be due any status set to that notificationsince am a technical person am not that much aware of the entire process.since i dont have internet in our office i cant send u the screen shots also
the process i try to do is
1.when i go to iw22 try to set the complete status by clickin on the flag for some cases it is showin the completion date and for some case it is not, we are asked to check for it
can you jst explain the process of the maintenance plan like as you said there might be the process of auto generating notification liket that -
During Notification completion, i want end date as a reference date
Hi All,
During maintenance notification completion (when we click 'complete' flag), system would automatically show one dialog box with 'complete' header.. In that dialog box, i need malfunction End date & time as reference date & time respectively(Presently my system shows malfunction start date & time is reference date & time)...Can you please let me know how to configure this setting??Dear BOND AP
Please follow the following path.
SPRO > Plant Maintenance and Customer Service>Maintenance and Service Processing> Maintenance and Service Notifications-> Notification Creation -> Notification Types-> Define Notification Types
In that you have to select the notification type & click on detailed button. Then there select the Refrence time field & select the value "C-Malfunction End" for refrence time.
I hope this will resolve your quary.
Regards -
Technically Completion Date in Future
Hi All,
Any idea why SAP has provided an option to enter/allow the technically completion date for maintenance orders and notifications in future.
How to restict this?
Thanks in advance.
Best Regards
KalyanHi Kalyan,
After replying as above, I spent some time to search for solutions, to convey to you.
Without detailing much I'll convey my observations so far.
System message in this area (IM) I could not have a control. (Configuration)
Even I tried via User-Exit too, here also things could not work, with several other observations.
So i thought I should update you. In case any outcome I'll update.
Secondly, I'll give how my system has it presently.
In Notification I am unable to Save in future date (24hrs after current time) throwing IM464 error.
But in Order it is successfully TECOed.
Strange thing is both field names (Reference Date) are same (RIW01-BEZDT).
So at present I consider this area is not properly lined-up.
Few SAP notes are also available on message no. IM464.
Best of Luck
Jogeswara Rao K -
Hi All,
Iam working on SLA. I have configured the SLA to my knowledge.
The problem now it the comopletion date is not getting calculated for the tickets that is created.
Where exactly is the configuration that i have to for the compeltion date and time calculation.
It will be useful if any documentation is available for SLA configuration other than additional information.
Kindly forward any documents related to SLA or where can do the configuration for the completion date calculation.
Regards,
Subhashini.Hi,
I am mentioning the points reg SLA or individual steps needed to use and monitor SLAs:
· If necessary, define a new availability schema and reaction schema (Menu: Master data
Product Edit availability and reaction schema (transaction: COMMPR01 u2013 Edit
Products).
· Product "Supportu201C may contain default values for availability schema and reaction
schema (however, this is not mandatory.)
· Contract determination for the transaction type of the Support Desk notification (SLFN)
must be allowed. (SAP-Customizing CRM Transactions Basic settings Define
transaction type)
· Depending on the item type for the product Support (SOL4), assign the action profile
SERVICE_ORDER_ITEM_SLA (SAP Customizing CRM Transactions Basic
settings Define item type).
· Use the Action Monitor (CRMC_ACTION_JOB) to create variant (SMSD0001 is shipped
with the Support Desk).
· Create a background job (transaction SM36) using program RSPPFPROCESS and
variant SMSD0001, and schedule it.
· Create a contract and release it using transaction CRMD_ORDER.
· Create and process Support notifications (the contract must be determined correctly).
· If the times in the Support Desk notification are exceeded, actions in the action profile
will be triggered by the background job, and appropriate users will be notified by e-mail.
Also check my replies in this thread,
hope it wil clarifies ur doubt
Regards
Prakhar -
Not able to get complete data in Heading of the smarform
Dear Friends,
I am devloping a smartform for my requiremnt, i am not able to get complete data jin Header Window ( i.e the Title Name of the company is not getting fully) when i execute the Smartform ,
Iam able to see only the last few words of the Text. Please help me what i should do in this regard
regards
madhuriHi
Also, check where the window is placed in the Form Painter...may be it is not on the page properly..and also check the size of the window..
Further, check the paragraph format that is used.
Regards,
Vishwa.
Edited by: Vishwa Sri Hari on Oct 15, 2008 1:21 PM -
Hello All,
I searched quite a number of forums before posting and all that I have come to know is that some have mentioned it to be related to COM. I do not have experience dealing with COM and no idea how I can sort this out. I hope someone can provide guidance on
these:
Question 1: Server (2008 R2 Standard) is having 4 websites. Default - Running, WS2 - Stopped, WS3 - Running and WS4 - Running. When I run the command "invoke-command -computername Server1 -Credential domain\User -ScriptBlock
{import-module 'webAdministration'; get-website}"
I get this output and then an error:
name : Default Web Site
id : 1
serverAutoStart : False
state : Stopped
bindings : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
PSComputerName : Server1
RunspaceId : ca8bbb00-4631-4c92-a7c7-3bec8039eaee
Attributes : {Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute}
ChildElements : {Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement...}
ElementTagName : site
Methods : {Microsoft.IIs.PowerShell.Framework.ConfigurationMethod,
Microsoft.IIs.PowerShell.Framework.ConfigurationMethod}
Schema : Microsoft.IIs.PowerShell.Framework.ConfigurationElementSchema
The data is invalid. (Exception from HRESULT: 0x8007000D)
+ CategoryInfo : NotSpecified: (:) [Get-Website], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.GetWebsite
Command
What I have been able to figure out is that it returns complete data for the Default Website and then throws the error. Tried the same command on another server running 2 websites (both in started state) and same results :(
Question 2: When the same command "Get-Website" is run locally on the server then only 5 columns show by default; Name, ID, State, Physical Path & Bindings. Why then the command when run remotely returns slightly
more data?
PS: I have Win7 x64 on my desktop. Tried the commands from x86 as well as x64 shells and same results.Hi Yan,
When I use Enter-PSSession, it works in the same manner as if the command is run locally. Hence the same output as local.
I am not sure of the exact way to use [Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll')
I tried this and get an error:
invoke-command -Session $session -ScriptBlock invoke-command -Session $session -ScriptBlock {[Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll'); get-website}
Output:
GAC Version Location PSComputerName
True v2.0.50727 C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administrati... Server1
The term 'get-website' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
+ CategoryInfo : ObjectNotFound: (get-website:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : Server1
The version of the dll on the server is 6.1.7601.17514
Thanks -
Complete data is not getting downloaded in XL
We have developed one Z report to take the status of open purchase order for projects. While downloading it to XL (ofiice 2007 installed on PC), complete data is not getting downloaded.
I would like to know whether it is XL problem or it is some bug in the report itself.
Pl. help.While downloading the data to excel , try the following option
List -- > Export -- > Spreadsheet -- > Excel(in MHTML Format).
The download will authormatically open in excel window. Save it as excel file -
Hi all,
We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
Any standard report to see the sale orders completed date
ie order closed date wise report.
Regards,
T.MuruguHi
You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
Hope you find it useful.
Reward points if you do.
Regards
Ravi -
How to get the complete data from Webdynpro using a RFC
hi guys,
A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
FUNCTION ZSEND_MAIL_ATTACHMENT.
""Local Interface:
*" IMPORTING
*" VALUE(OUT_PLACE_LEVEL) TYPE XSTRING OPTIONAL
*" VALUE(BIN_DATA) TYPE INDX_CLUST OPTIONAL
*" TABLES
*" IT_MESSAGE STRUCTURE SOLISTI1
Data Declaration
DATA: gd_cnt TYPE i,
gd_sent_all(1) TYPE c,
gd_error TYPE sy-subrc,
tab_lines LIKE sy-tabix.
Structure Declaration
DATA : BEGIN OF it_file OCCURS 0,
row(255),
END OF it_file.
DATA : BEGIN OF i_split OCCURS 0,
row(50),
END OF i_split.
Internal Table Declaration
data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
data : wa_receiver like table of SOMLRECI1 with header line.
data : it_receiver like table of SOMLRECI1 with header line.
data : v_bin_data like SOLISTI1 occurs 0 with header line.
DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
*data bin_data1 like table of solix with header line.
REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
CLEAR : objbin, it_packing_list, wa_receiver, it_receivers.
DATA V_SUBJECT(255) VALUE 'HI'.
gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SENDFILE'.
gd_doc_data-obj_descr = v_subject.
gd_doc_data-sensitivty = 'O'.
APPEND GD_DOC_DATA.
Appending The Internal Table it_packing_list
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'RAW'.
it_packing_list-body_num = tab_lines.
APPEND it_packing_list.
*CALL FUNCTION 'GUI_UPLOAD'
*EXPORTING
*filename = V_FILE_PATH
*filetype = 'BIN'
*TABLES
*data_tab = BIN_DATA.
move bin_data to v_bin_data.
append v_bin_data.
*move soli to bin_data.
LOOP AT V_BIN_DATA into objbin.
MOVE v_bin_data TO objbin-line.
APPEND objbin.
ENDLOOP.
CLEAR it_packing_list.
DESCRIBE TABLE objbin LINES tab_lines.
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'PDF'.
it_packing_list-body_num = tab_lines.
it_packing_list-doc_size = tab_lines * 255.
APPEND it_packing_list.
data file(255) value '/tmp/bali.txt'.
*Appending The Internal Table it_receivers
close dataset '/tmp/bali.txt'.
open dataset '/tmp/bali.txt' for output in text mode encoding default.
if sy-subrc = 0.
loop at objbin.
transfer objbin to '/tmp/bali.txt'.
endloop.
else.
write 'hi'.
close dataset '/tmp/bali.txt'.
endif.
it_receiver-receiver = '[email protected]'.
it_receiver-rec_type = 'U'.
it_receiver-com_type = 'INT'.
APPEND wa_receiver.
move wa_receiver[] to it_receiver[].
append it_receiver.
*Move wa_receiver[] to it_receivers[].
Clear it_receivers.
if i_OUT_PLACE_LEVEL NE 0.
loop at it_receivers into wa_receiver.
loop at it_receivers into wa_receiver.
**Function Module To Post The Message To Externa Mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_packing_list
CONTENTS_TXT = objbin
receivers = it_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
clear wa_receiver.
ENDFUNCTION.You have to convert your long string to a table of shorter strings.
There may be other ways, but one possibility is to use a loop to process you string.
while (there is something left)
put the next e.g. 1024 characters in a new row of your table
endwhile
If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right -
Reschedule strategy plan based on last actual order completion date
Dear all,
Hope you can help me with this one.
We use strategybased maintenance plans. We want to achieve that the next scheduled call date is calculated taking into account the actual completion date of the last (previous) call.
For example :
strategy = 1 maintenance order every 52 weeks.
start of cycle = 01.01.2009
First call created a mainenance order for 01.01.2010
This order did however only get actually completed on 20.02.2010 (so actual completion date of last call = 20.02.2010 ).
Now we want that the next call is rescheduled to 20.02.2011 ( so the last actual date + the 52 weeks from the strategy)
This we can achieve for one maintenance plan at a time by using transaction IP10 and than the funtion "start in cycle' .
However we want to achieve this for a mass selection of maintenance plans in one go.We cannot find a suitable transaction that does do this.
For example IP30 simply keeps rescheduling using the "startdate of the cycle" instead of the "last actual date".
Does anyone have a suggestion how we can solve this?
Many thanks in advance!
Kind Regards,
ArjanHi,
Please follow as suggsted by BroermanG . In Addition to that please ensure that the positive & Negative Tolarance is maintained as zero value in the Scheduling Paramters of the Plan.
Then the system will take care of your requirements. You need not use IP10 and reschedule to get the desired schedule.
You can run the IP30 normally.
Regards,
MLN Prasad -
Calc of VAT in ext system: how to get complete data in BSET/RFUMSV00
Hello
We have a system that posts into SAP FI GL via BAPI BAPI_ACC_DOCUMENT_POST . The external system does not contain tax codes but it does calculate tax amounts and has GL account determination. How do I get the complete data in BSET so that I can use RFUMSV00 as the sole report on VAT for the client? Other formulation: how do I post an invoice from a vendor without using a tax code or should I use a dummy tax code VST without percentage number?
regards
ArjanHi Deepa,
I tend to develop a substitution (OBB)that adds a tax code to the interface posting so that in SAP I have for every VAT amount/document a tax code. Otherwise I cannot use RFUMSV00... -
Report Completion date and Report start date in BI Publisher
Guys
We have a requirement to get the Report Completion date and start date without Scheduling the report. Can any one give me an idea to get in the BIP Reports
RegardsWhat is the requirement ?
When the user run report from BIP EE, you want to display how long the report run ?
or
Where you want to display these info >?
If you expecting these info, on click of viewbutton then i dont think it is possible, unless you write the query to fetch the time and in the template processing, subtract that from the current sys-time to get the time it took to run.
if you can schedule then
Simplest would be is , taking these info from the tables, directly for the report you are running.
or
use Public WS provided by BIP to get the report info
but in order to get these, first of all the reports should be run in scheduled mode.
if you don't want the report to be scheduled then, i don't think, you can get these kind of report completion status info.
otherwise , you can run the query by yourself to get the data and the time it took to complete from database and do some sort of custom calculation by urself
Maybe you are looking for
-
Is it possible to change the distributions on an Unearned Revenue line?
We have a product who's accounting segment was updated after an order was placed. This item is a class product so revenue is not recognized until Day 1 of the class. The original Unearned Revenue line is incorrect and I believe it is causing problems
-
Adding more fields to a CMP EJB
I'm using Sun's ONE studio 5, Sun ONE AS, and PointBase-db. I use the CMP EJB wizard to generate the skeleton for a CMP EJB, and specify to use a database-table from PointBase as the CMP-persistant fields. The problem arises when i want to add futher
-
Space designer causes crash - any suggestions??
Hello people I just started running logic 8 on a new imac and I have a big problem with space designer. Everything will be going sweet (well kinda). I open SD and things are still fine, but if I try to open any preset then it crashes. Complete freeze
-
HTML-Code displayed instead of value
To color cells of a report column I entered some code code in "HTML Expression" of a column. e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A", then - depending on the value of INT_DATE and TAGDAT - the cell v
-
Auto accept script reports -1708 error on startup
Hey everyone, I was just wondering if I was the only one experiencing a -1708 error when using the Auto accept apple script. I'm tired of always accepting chat invitations / messages, so I turned on the script. Now it's reporting a -1708 error. I tri