How to Retrive Planned Maintenance Notification from server
Hi Experts
I have database where Plant Maintenance Notification is already created. Now I want to retrieve Notification from the server. How we can do this.
In other work how to use BAPI_ALM_NOTIF_GET_DETAIL.
Thanks
SIddhartha P
Hi,
Did you check here??
/people/musarrat.husain2/blog/2007/10/23/a-beginners-guide-to-call-an-rfc-in-bls
Similar Messages
-
Planned maintenance notifications to MEB
Good Morning Guys
I have been having problems processing planned maintenance notifications when creating revisiom and creating orders from revised revisions.
Am getting two errors
1.Task list A ENG 01: no conversion rule found for work center MA00/1000
2.Error creating order for task list 02000038 4000290 A ENG 01 in revisions
This is what i got from perfomace assistance
Task list A ENG 01: no conversion rule found for work center MA00/1000
Message no. WPSOR004
Diagnosis
The system tried to create an order for main work center MA00/1000 from task
list A ENG 01. No conversion was found for work center MA00/1000 (valid from
15.04.2014).
System Response
The system cannot convert the work center. The order creation process was
canceled.
Kind regards
husseinHi Hussein,
Seems like issue of validity date of Maint. Work Center . If it is, correct it in IR02. and retry.
Jogeswara Rao K -
How do u get the data from server? if server send by bytes?
how do u get the data from server? if server send by bytes?
i have tried using bufferedinputstream to get the data n getting the bytes but there is some data missing.i couldnt all data.so my image cant be displayIf you don't get helpful replies, I suggest you try to improve your question style a bit. There are many non native English speakers around here and the ability to phrase slick sentences varies. But for a start you could try to adhere to minimal English language standards like starting a sentence with an uppercase letter, and ending a sentence with a dot and a blank to separate it from the next sentence. Don't use ellipses (...) all over the place suggesting that the reader knows what you want to say. Rather please say it.
Its is good style to only post the necessary code to understand the problem. However, the code you posted seems to be cut off too early to even get a grasp at what you are trying to achieve.
Harald.
BioMed Information Extraction: http://www.ebi.ac.uk/Rebholz-srv/whatizit -
Can you please how to retrive the new netprice from the new validity period
Hi,
When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
and each period will have different netprice in it.
One will be old date before the PO was created and the other new one which has validity till 31.12.999..We want to fetch the netprice for the new validity date but currently the program is fetching this data from the table EKPO which is having the netprice of the old date only..
Can you please how to retrive the new netprice from the new validity periodThank you so much.
But I need more help specific to my problem.
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the netprice from the validity period which always matches with the PO creatio date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
<u>what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date</u>..
Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
p_c_k_bstyp TYPE ebstyp
p_p_bukrs TYPE bukrs
p_p_ekorg TYPE ekorg
p_p_ekgrp TYPE bkgrp
*Begin of Mod-004
fp_p_cernam type ty_r_ernam
p_p_cernam TYPE ernam
*End of Mod-004
p_s_werks LIKE s_werks[]
p_s_matnr LIKE s_matnr[]
p_s_lifnr LIKE s_lifnr[]
p_s_val_dt LIKE s_val_dt[].
*mod-002
data : l_amount type BAPICURR_D, " Net price
l_waers TYPE waers, " Currency Key
l_eff_amount type BAPICURR_D. " Effective value
data: l_v_netpr type bprei.
*mod-002
SELECT ebeln
bukrs
bstyp
aedat
ernam
lifnr
zterm
ekorg
ekgrp
waers
wkurs
<b>kdatb
kdate</b>
inco1
INTO TABLE i_ekko
FROM ekko
WHERE ebeln IN p_s_cebeln
AND bstyp EQ p_c_k_bstyp
AND bukrs EQ p_p_bukrs
AND ekorg EQ p_p_ekorg
AND ekgrp EQ p_p_ekgrp
*Begin of Mod-004
AND ernam EQ p_p_cernam
AND ernam IN fp_p_cernam
*End of Mod-004
AND lifnr IN p_s_lifnr
AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
IF sy-subrc EQ 0.
Populates internal table i_ekpo using EKPO table.
SELECT ebeln
ebelp
loekz
txz01
matnr
werks
ktmng
menge
meins
bprme
netpr
peinh
webaz
mwskz
uebto
untto
erekz
pstyp
knttp
repos
webre
konnr
ktpnr
ean11
effwr
xersy
aedat
prdat
INTO TABLE i_ekpo
FROM ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln
and aedat = i_ekko-aedat
AND werks IN p_s_werks
AND matnr IN p_s_matnr.
LOOP AT i_ekpo INTO rec_ekpo.
MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
MOVE rec_ekpo-loekz TO rec_contr-loekz.
MOVE rec_ekpo-txz01 TO rec_contr-txz01.
MOVE rec_ekpo-matnr TO rec_contr-matnr.
MOVE rec_ekpo-werks TO rec_contr-werks.
MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
MOVE rec_ekpo-menge TO rec_contr-menge.
MOVE rec_ekpo-meins TO rec_contr-meins.
MOVE rec_ekpo-bprme TO rec_contr-bprme.
MOVE rec_ekpo-netpr TO rec_contr-netpr.
move l_v_netpr TO rec_contr-netpr.
mod-002
read table i_ekko into rec_ekko with key
ebeln = rec_ekpo-ebeln.
l_waers = rec_ekko-waers.
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-netpr
IMPORTING
AMOUNT_EXTERNAL = l_amount.
rec_contr-netpr = l_amount.
mod-002
MOVE rec_ekpo-peinh TO rec_contr-peinh.
MOVE rec_ekpo-webaz TO rec_contr-webaz.
MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
MOVE rec_ekpo-uebto TO rec_contr-uebto.
MOVE rec_ekpo-untto TO rec_contr-untto.
MOVE rec_ekpo-erekz TO rec_contr-erekz.
MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
MOVE rec_ekpo-knttp TO rec_contr-knttp.
MOVE rec_ekpo-repos TO rec_contr-repos.
MOVE rec_ekpo-webre TO rec_contr-webre.
MOVE rec_ekpo-konnr TO rec_contr-konnr.
MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
MOVE rec_ekpo-ean11 TO rec_contr-ean11.
MOVE rec_ekpo-effwr TO rec_contr-effwr.
mod-002
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-effwr
IMPORTING
AMOUNT_EXTERNAL = l_eff_amount.
rec_contr-effwr = l_eff_amount.
*mod-002
MOVE rec_ekpo-xersy TO rec_contr-xersy.
APPEND rec_contr TO i_contr.
CLEAR: rec_ekpo,rec_contr.
mod-002
CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
mod-002
ENDLOOP.
Modifying i_contr using i_ekko.
SORT i_ekko BY ebeln.
LOOP AT i_contr INTO rec_contr.
READ TABLE i_ekko INTO rec_ekko WITH KEY
ebeln = rec_contr-ebeln
BINARY SEARCH.
MOVE rec_ekko-bukrs TO rec_contr-bukrs.
MOVE rec_ekko-bstyp TO rec_contr-bstyp.
MOVE rec_ekko-aedat TO rec_contr-aedat.
MOVE rec_ekko-ernam TO rec_contr-ernam.
MOVE rec_ekko-lifnr TO rec_contr-lifnr.
MOVE rec_ekko-zterm TO rec_contr-zterm.
MOVE rec_ekko-ekorg TO rec_contr-ekorg.
MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
MOVE rec_ekko-waers TO rec_contr-waers.
MOVE rec_ekko-wkurs TO rec_contr-wkurs.
MOVE rec_ekko-kdatb TO rec_contr-kdatb.
MOVE rec_ekko-kdate TO rec_contr-kdate.
MOVE rec_ekko-inco1 TO rec_contr-inco1.
MODIFY i_contr FROM rec_contr.
ENDLOOP.
ENDIF.
REFRESH: i_ekko,
i_ekpo.
CLEAR : rec_ekko,
rec_ekpo,
rec_contr.
ENDFORM. "select_contracts
Thanks. -
How to call a maintenance view from a program
Hello Abapers,
Can anybody explain with some examples. How to call a mainetenance view from a program.
Thanks
Ranjith.Use FM 'VIEW_MAINTENANCE_CALL'.
REPORT zmaintaintest.
VARIABLES / CONSTANTS
CONSTANTS:
c_action(1) TYPE c VALUE 'U', "Update
c_viewname TYPE tabname value 'ZEMP_EXAMPLE', "View Name
c_field(6) TYPE c VALUE 'EMPNO'. "Field Name
INTERNAL TABLES
DATA: itab_rangetab TYPE STANDARD TABLE OF vimsellist,
v_empno TYPE zempno,
wa_rangetab TYPE vimsellist.
SELECTION SCREEN
PARAMETERS: p_empno TYPE zempno OBLIGATORY. "Emplyee ID
AT SELECTION-SCREEN
AT SELECTION-SCREEN.
Chcking the existence of the user in EMPLOYEE table
PERFORM validate_employee.
START_OF_SELECTION
START-OF-SELECTION.
This will restrict the user view so that user can only view/change
Table data corresponding to his/her Employee ID
PERFORM define_limited_data_area.
Displaying table maintenance view for a particular employee ID
PERFORM call_view_maintenance.
*& Form validate_employee
Validate plant entered in the selection screen
FORM validate_employee.
SELECT SINGLE empno u201CEmployee ID
FROM zemp_example u201CEmployee Table
INTO v_empno
WHERE empno = p_empno.
IF sy-subrc <> 0.
MESSAGE 'Not an Valid User' TYPE 'I'.
ENDIF.
ENDFORM. "validate_employee
*& Form DEFINE_LIMITED_DATA_AREA
To restrict the user view so that user can see/change table data
corresponding to his employee ID. Here one internal table is
getting populated with field name as u201CEMPNOu201D (Key field of the table)
And value as given by user in Selection Screen and this is passed as
Parameter in function module 'VIEW_MAINTENANCE_CALL'
FORM define_limited_data_area.
CLEAR wa_rangetab.
wa_rangetab-viewfield = c_field.
wa_rangetab-operator = 'EQ'.
wa_rangetab-value = p_empno.
APPEND wa_rangetab TO itab_rangetab.
ENDFORM. "define_limited_data_area
*& Form CALL_VIEW_MAINTENANCE.
Displaying table maintenance view for a particular employee ID
FORM call_view_maintenance.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = c_action
view_name = c_viewname
TABLES
dba_sellist = itab_rangetab.
ENDFORM. "call_view_maintenance
Regards,
Joy. -
How to read a PDF file from server
Hi All,
I am strucked while creating new file instance .
Here i know the URL.
How to create the File instance by using this URL.
I tried the following way:
URI uri = url.toURI();
File f = new File(uri);
Here i got the following exception :
<code>
Exception in thread "main" java.lang.IllegalArgumentException: URI scheme is not "file"
</code>
Can any one help me?
Thanks in advance......Can any one help me how can i down load a file
from server by using URL?RTFAPI. Url.openStream(). -
How to retrive dynamic directory structure from data base and show it
i want to display a directory structur on jsp my problem is that i want to read it from a database how i can read
a tree structure i found a function to read directry structur but if i use this function i am not able to find who the parent is ? this is the function i found cna any one help me ?
public void iterate(File someDirectory) {
Vector allFiles = new Vector();
File[] dirContents = someDirectory.listFiles();
for (File f : dirContents) {
allFiles.add(f);
for (int i = 0; i < allFiles.size(); i++) {
File file = (File) allFiles.get(i);
if (file.isDirectory()) {
dirContents = file.listFiles();
for (File f : dirContents) {
allFiles.add(f);
// Process 'file' or do whatever
}Thanks for reply i am not actualy deling with files i am creating a web application in which i am having organize functionality
user creat folders and put there document in that like out look user can creat folder inside folder
i am storing tham in a database table my problem is how to retrive them so i can show them as a tree structur
i am using this code to show on jsp
{color:#808000}<table>
<tr>
<td >
<ul class="flipMenu">
<li><span class="menu">Folder</span>
<ul>
<c:forEach var="folderList1" items="${folderList}" >
{color}
{color:#808000}<li ><a class="submenu25" id='<c:out value="${folderList1.id}"/>' href="folderAgreement.htm?folderid=<c:out value="${folderList1.id}"/>" onmouseup="a('<c:out value="${folderList1.id}"/>');" ><span ><c:out value="${folderList1.name}" /> T</span></a>
<ul>
<li> <a href="# onclick="window.open('createSubFolder.htm?folderid=<c:out value="${folderList1.id"/>&agreetitle=<c:out value="${agreements.title}"/>', 'invite_wnd', 'height=700, width=800, status=no, menubar=no, toolbar=nu, location=400'); return false;">Add Folder
</li>
<li> <a href="folderDetail.htm?folderid=<c:out value=${folderList1.id"/>&flag=folder"><span class="submenu2">Detail</span>
</li>
<li> <a id="<c:out value="${folderList1.id}"/>" href="folderDelete.htm?folderid=<c:out value="${folderList1.id}"/>&flag=folder" onclick="conformDelete('<c:out value="${folderList1.id}"/>')" ><span class="submenu2">Delete Folder</span></a>
</li>
</ul>
</li>
</c:forEach>
{color}
{color:#808000}</ul>
</li>
</ul>
</td>
</tr>
</table>{color} -
How can we trigger the notification from SAP backend system to SMP3.0.
Hi All,
Can any one help me to know is there any standard approaches available to get notification from SAP backend system to SMP3.O server after any event that has been triggered.
Any of suggestion related to above will be helpful.
Thanks,
AnjaliHi Ekansh,
I have few more question regarding push notification from backend.
Refferd Link:-http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ab6d83-b7b8-3010-65bc-d7a08f0f35f3?QuickLink=index&…
Pushing Notifications Made Easy!!! : Push a Notification
Have perform all the steps till creating RFC Destination to mobile platform by creating a new push service.
I just wanted to have a clarity on target host that we are specifying should also have SMP3.0 server installed???
Actually I am using http listener downloaded from membrane site which is running on that target host machine.
But I am unable to get any response in my listener.
Even wanted to know the necessity of exchange of certificate for SSL Connection.
SMP server Certificate exchange with SAP Backend and SMP server certificate exchange with HTTP Listener????
Because currently I am trying to have a notification from SAP Backend directly to HTTP Listener without having SMP server.
Can u please correct me where I am going wrong.
Thanks & regards,
Anjali Agrawal -
How can i view old notifications from apple?
I accidentally tapped ok on a notification I thought was for my battery percentage going down, but as I saw it, it turned out to be a longer notification from apple. I tried viewing it on my other iPod touch but sadly I did the same thing. I also tried to view it on my iphone but nothing appeared. i was wondering if i could veiw this notification on my mac or through email?
I don't believe you can view it again, sorry for the inconvience.
-
How to read LARGE .TXT FILES from server
i m unable to read large .txt (>100kb) files from server.
also is there any way to store the content in mobile phone.
PLEASE HELP as iam in dire need and only few days are left.
thanksHi
> i m unable to read large .txt (>100kb) files from server.
What do you mean by that? Are you trying to display that amount of text and you get an error. Are you trying to read from the server and you get there an error?
> also is there any way to store the content in mobile phone.
Using RMS. But be aware of the size limit specific to every phone.
Mihai -
How to fix message not downloaded from server
Hello everyone,
My name is Joshua Kahley, and I am an IT technician in charge of handeling email related issues in my company. We host our own web and email server and since the I-OS 7 update we have had a problem where many messages cannot be retrieved from our email server. I confirmed with my own phone that this issue did not exist prior to I-OS 7, messages that displayed fine before were no longer be readable on I-OS 7 when i upgraded.
The error message I recieve is "This message has not been downloaded from the server"
I'm not sure if this is a problem that can be solved on the phone itself as I have tried changing numerous settings. Has anything changed with the way I-OS 7 handles IMAP messages that my require us to change settings on our server? No other email provider has this issue as far as I can tell; in addition, all of our customers have the same issue (they all have their email through our servers)
If anyone has any insight into this I would greatly appriciate it.
~Joshua KahleyNo fix, but I found a work-around for a single message that iOS email refuses to download at http://www.bitcraft.com.au/iphone-mail-app-says-this-message-has-not-been-downlo aded-from-server/
that reads:
...here’s a quick fix… Forward the message. Just click Forward and it will ask you “Download rest of message first?”. Say yes and then you will see the old message quoted in the forward. Now if only Apple would make than an option without having to ‘fake’ forward it…
The above worked for me when I encountered "This message has not been downloaded from server” on my iPad 3 running iOS 7.1.1. -
How to retrive ship to number from bill to number
Hi ,
I have to retrive ship-to-number from bill-to-no,
Could you plz give me the idea.
Thanks & Regards
Suresh.Simple logic would be
Take the sales order number from VBRP based on billing document..
select single * from vbrp into vbrp
where vbeln = your billing number.
if sy-subrc eq 0.
here sales order number is VBRP-AUBEL
now get the data from VBPA Table
select single * from VBPA into vbpa
where vbeln = vbrp-aubel
and parvw = 'SH' or 'WE' .
if sy-subrc eq 0.
vbpa-kunnr is Ship to number..
endif.
Thanks
Seshu -
How to call BS Browser Script from Server Script
I have a req. where a confirmation message need to be displayed to the user from Server Script.
I have followed the steps described in bookshelf http://download.oracle.com/docs/cd/E05553_01/books/CommSrvAdm/CommSrvAdm_AdvConfig40.html
and the same is not working. I am invoking the BS from Applet Server script.
Please let me know if the above steps can be used in our context as it is not at all related to CTI.
For the above config I have selected one of the existing Profiles in our system and am not sure about the role played by the same.
Thanks in advance.You create a Business Service, then deploy the BS as described in the bookshelf and finally call it through Browser Scripts.
You can't interact with the browser session from the server the way you describe your requirement. -
How to calculate Planned % Complete of project server data?
Hi All,
I have got project server data in SQL server Analysis service. We have one Time Phased Assignment cube there.
This cube gives budget cost, baseline cost, baseline work etc, but it does not contain % complete or planned % complete.
Actually I need to create a time series schedule variance report, for that only I'm trying to find % complete or planned % complete.
I got some formula from net for the same.
SV=EV-PV
EV= Budget at completion * % Complete
PV= Budget at completion * Planned % Complete
% Complete= (Actual Duration/Duration)* 100
We don't have these values directly, so we used
% Complete=(Actual work/Baseline work) * 100
I have used baseline cost instead of Budget at completion.
So, I could find value of EV. But, for finding PV, I need to Planned % complete. How can I find it? Can anyone please suggest.
Regards,
JulieAlternatively, you could use the approach outlined here. Somwhat simpler than using EV.
Will require making sure the Status Date is accurate within projects.
http://niksprojects.com/blog/?p=126
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
-
How read word document in form from server's filesystem?
I want develope an application using client/server framework:
In server's filesystem hold a variety of files,for example, .doc,.xls,.pdf,information about these files(for example,file type,file name,file summary) hold in a table,as well as file pointer hold in the table by BFILE datatype.How user open these file from client use client's program design by oracle forms?
thanks for your help!
my email :[email protected]TLF doesn't have a generic HTML importer. There is one that works with the html used by TextField. To use it, try something like this:
var htmlString:String = '<p>Paragraph here</p>';
var textFlow:TextFlow = TextConverter.importToFlow(htmlString, TextConverter.TEXT_FIELD_HTML_FORMAT);
- robin
Maybe you are looking for
-
hi masters, i m working on alv report where i have to change the data. after changing the data i have to do the refresh for that i m using the method below wa_STBL-ROW = 'X'. wa_STBL-COL = 'X'. CALL METHOD grid_obj->refresh_table_display EXPORTIN
-
Using Jabra EASYCALL Bluetooth headset, but connection is working unreliable: Sometimes in the middle of the talk party is unable to hear me, I still could hear party. In this case party usually ends conversation, and then we do call again, and after
-
Trouble hooking my Mac up to my Kodak printer dock... help!!!
Oh boy, do I ever need help! I'm not even sure where else to turn or what to do next, so any and all suggestions are MORE than welcome!!!!! I guess the best way to do this would be to copy and paste the email I sent to both Kodak and Apple. Then you
-
Digital camera not recognised on iMac
Hi Yesterday I connected my canon digital ixus camera to my iMac and copied over some photos, via usb, no problem. Today I am trying to do exactly the same but the camera is not seen at all. Nothing has changed, and I have used the same procedure as
-
Dear All, Scenario Poxy to File. Client is using AS400 FTP server. there is a connectivity establish between Xi and AS400 FTP,Even in RWB component monitoring the File adapter log is successful with no error. But when I login into the AS400 system th