Query to Display Settlement Receivers for Maintenance Items
I am looking for a way to get a query/list display that shows me our maintenance plans, maintenance items and the settlement receiver. Looked in all the obvious spots and the actual receiver is not available. In the maintenance plan you can get the field that tells you there is a settlement rule but not the actual receiver. In the order list display you cannot get the information either.
Has anyone had this requirement and if so, what may have been the solution.
Greetings Linda,
The Settlement Rules are saved in the tables COBRA & COBRB. Get your Maintenance Plan Object Number from table MPOS and join on the field OBJNR using an SAP Query.
(SQVI or SQ00)
Also, note that these will be copied to the created Orders and the actual settlement only happens for the Orders. The settlement rule of the Maintenance Item is only a template, no actuals are involved.
Similar Messages
-
Settlement rule for Maintenance item
Hi All,
When i attempting to create a settlement rule Using a WBS element for Maintenance Item System showing
Error Message "No Object Status is available for MIT#1'.
Thanks & Kind RegardsSri Vas,
Is this specific to a particular WBS element or does it happen for ANY WBS element? The WBS element may not have been setup properly.Check the same WBS element directly by going to the WBS element change transaction.Also check the account assignment and status of the WBS element that Ramesh had suggested. If the WBS element has been defined properly,Try changing the settlement rule to a cost center and see if you still get this error.
Regards
Narasimhan -
Create settlement rule for Maintenance plan
We have a requirement to create a maintenance plan and assign a settlement rule to the same. I was able to create the maintenance plan using MPLAN_CREATE. I created the settlement rule using the function module K_SRULE_SAVE_UTASK. My problem is when I go to IP03 to check if the settlement rule has been created for the maintenance item, it is not found. When I go to IP02 and click on create and go into the settlement rule maintenance screen, I'm able to see the settlement rule created using the function module.but in the MPOS table, I don't see the indicator IND_ABRVO ( settlement rule indicator ) being maintained.
Can you please help in finding out what I'm missing.
Edited by: Sujay Venkateswaran Krishnakumar on Dec 31, 2009 11:34 AMSri Vas,
Is this specific to a particular WBS element or does it happen for ANY WBS element? The WBS element may not have been setup properly.Check the same WBS element directly by going to the WBS element change transaction.Also check the account assignment and status of the WBS element that Ramesh had suggested. If the WBS element has been defined properly,Try changing the settlement rule to a cost center and see if you still get this error.
Regards
Narasimhan -
Automatic Creation of Settlement Rule for Maintenance Order
Hi,
While doing TECO for Maintenance Order, its asking for Settlement Rule. IF I click settlement rule, message is coming as Maintain Settlement Profile with options like With Default, Without Default & Cancel.
I have maintained the Cost center in Equipment Master. Also I maintained Cost Center as Default Settlement receiver.
Also I have gone through setting in Automatic Creation of Settlement Rule under Controlling Category.
But I couldnt understand that. Can you please tell what are the steps to be done?
Regards,
Maheswaran.Hi,
Please check the indicatorsin Actual cost/cost sales and Valid recevivers in settlement profile.
If for cost center : 1 settlement optional is maintained in valid recevivers and also for order
and in actual cost/ cost sales: indicator to be settled in full is selected.
Also check Allocation structure too if you have assigned the valid allocation structure.
**check if you have assigned the valid settlement profile to order types.
*****Most important after doing all these settings you need to create new order. for same order you will not get the automatic settlement rule
Hope this helps.
Regards,
PMAddi -
Display vs. For Sale items... Need help thinking this out
Hi,
Okay, here's the problem. I have created a separate catalog called Museum for joden.businesscatalyst.com
In that catalog is a sub catalog for Edwardian Jewelry.
These products are not for sale, but I want to display them.
We also have a store with items in another catalog that are for sale.
It does not appear that I can create a separate template for Online Store Modules that can be used for the Museum catalog, for when I add this catalog to a menu, it creates a product display but also has Add to shopping cart buttons and the large images also have the add to button. Since there is no inventory or price, it won't be added, but I am wondering if there is a way to keep this inventory separate from our overall store, display it on a different Module when clicked, etc. Basically what I need is a display area for not for sale items and a regular catalog for sale items.
http://joden.businesscatalyst.com/museum/edwardian-jewelry
My client says that any catalog, even though it is a separate catalog called museum, will interfere with our inventory for the store.
Not sure what to do about this. I could create static pages for sample items, but will lose our current museum of previously owned items and NFS items.
I could create a gallery of special items for each jewelry period (BTW, the fact that the photo gallery uses a complete folder rather than selected items in a folder is a real problem).
None of these solutions seems to facilitate what I need to do.
I have another client I am thinking of moving to Business Cat with the same issue. He wants to display samples of his previous jewelry creations that are not for sale, but also needs a current inventory.
I'm starting to think BC is not going to be able to serve these larger clients.
JeffIf you're wanting to remove the add to cart button from the template for products in a particular catalogues you're going to have to put something into place, BC won't do it for you in this case unfortunately.
You can use the backup list view or a custom template to remove the add to cart from them.
As for the detail view you just need to remove the '.moreoption' div - or if you don't want to show the price either then the 'prod_options' div.
You could utilise a custom field (from inside the product options) and fill it with something like 'noSale'. Then in the CSS have '.noSale .moreoption { display: none }'
Add the custom tag field into your large product template somewhere at the top inside a class.
If you fill it in, it'll hide, if you don't, it won't.
There are other options, but this seems pretty easy. This also allows items in any catalogue to be not for sale, not anything specifically - so you could have multiple that are not for sale, multiple that are.
Justin / BCTemple.com -
SQL query to display the price of an ITEM
Hi to all:
Can some one guide me which tables I have to use to display the price of specific item?
AliHi,
If you want to find out the price for that item which is included in the price list, then use the following tables.
qp_list_headers - Price List Headers details
qp_list_lines - price list line details ( link PRODUCT_ATTR_VALUE with the inventory_item_id of the item)
Regards,
Jyoti -
How to get lov display value dynamically for an item according to date pick
Hi friends,
I have a date picker item called on_date, and also one lov item course_name
If i select one date from the date picker item means, automatically the course name corresponding to the date has to populate in the course_name item lov.
suppose if i select the date (21-06-2011) from the date picker item means and if there are two courses available for the date in the table
that is *) APEX *)OAF means, then the course_name item lov should show APEX and OAF in the select list.
How to acheive it.
I tried it in the way by creating a dynamic action for the date item
True Action: set value
Sql Expression:
select course_name from xx_trg_course_detail where :P2_ON_DATE between effective_start_date and effective_end_datepage item to submit: P2_ON_DATE
Affected element: P2_COURSE_NAME
it is working if i kept the course_name item as a text field instead of LOV item.
But i need to show the corresponding courses in the lov for the course_name item soon after selecting the particular date from the date picker.
This is the LOV definition that i gave for the course_name item
select course_name r, course_name d from xx_trg_course_detail where :P2_ON_DATE between effective_start_date and effective_end_datewhat is the problem over here.
Thanks
Regards,
Mini
Edited by: Mini on Jun 22, 2011 2:45 AMHi friends,
One of my batch mate corrected this problem, by setting
cascading LOV parent item: P2_ON_DATE
page items to submit : P2_ON_DATE
By specifying the date picker item name in the above fields for the item COURSE_NAME.
Now if i select the date from the picker means, the lov item course_name is getting changed as it is showing only the courses of the respective dates.
Thanks
Regards,
Mini -
Query a Sharepoint 2010 List for an Item
I realize that this seems like a simple request however, please allow me to explain further. I have our server that hosts sharepoint able to server up php pages(as I am uncomfortable with .NET). I figured this would open up a whole new world in the way of
being able to program up simple apps that I could then interact with data stored in Sharepoint. What I am trying to do right now is just my own form of autocomplete.
On my PHP form I have a place for a number. I would like to be able to query a list in Sharepoint for that number and loads its corresponding description into a field near where the user enters the number. I have some novice-intermediate experience at this
point successfully manipulating forms in sharepoint and using jQuery that I am now trying to break out to my own PHP applications/forms. However it seems no matter how I try to query Sharepoint I get an error or my java script fails.
I believe what I am looking for is a way to query a sharepoint list on sp.domain1.com from a php page hosted on myPC.domain1.com. Both the SP server and my pc are on same domain same subnet.
Thank you in advance for all the help!
<html>
<script src="http://sharepoint.domain1.com/jQuery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="http://sharepoint.domain1.com/jQuery/jquery.SPServices-2014.02.min.js" type="text/javascript"></script>
<script type="text/javascript">
//**********This code returned an error in Status*********
$(document).ready(function() {
alert("Form Loaded");
var mySPurl = "http://sharepoint.domain1.com:80/";
var tmp = "100000218";
$.support.cors = true;
$().SPServices({
operation: "GetListItems",
crossDomain: true,
async: false,
listName: "Materials",
webURL: mySPurl,
CAMLViewFields:"<ViewFields><FieldRef Name='Title' /></ViewFields>",
completefunc: function(xData, Status){
alert(Status);
</script>
<body>
<ul id="tasksUL"/>
<?php
echo 'Hello World!'
?>
</body>
</html>
//************This code wont make it past <SP.ClientContext.get_current();>
function getSAPInfo(MatNumField) {
alert('Getting SAP Info...');
var clientContext = new SP.ClientContext.get_current();
alert("Context Retrieved.");
var oList = clientContext.get_web().get_lists().getByTitle('Materials');
var tmp = getField('input', Num).value;
//var camlQuery = new SP.CamlQuery.createAllItemsQuery();
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Title" /><Value Type="Text">'+tmp+'</Value></Eq></Where></Query></View>');
this.collListItem = oList.getItems(camlQuery);
clientContext.load(collListItem);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
function onQuerySucceeded(sender, args) {
var index = 0;
var listItemEnumerator = collListItem.getEnumerator();
var MatDescr;
alert("Query Succeeded!");
listItemEnumerator.moveNext();
oListItem = listItemEnumerator.get_current();
MatDescr = oListItem.get_item('Description');
getField('input', 'Descr').value = MatDescr;
function onQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
Again any assistance is most appreciated I have been trying to get this seemingly "simple" functinality working for 4 days straight now. {frustrated}
Thanks Guru's!
Hey Guys. Thanks for the timely responses. Unfortunately I had already visited most of the links provided, and was not able to get something working from the information provided at those links. However in the end I was able to get thybag's SharePoint API
php library to work for my needs. Please see the attached code which is working for me.
3rd party credit I must give to thybag@GitHub
https://github.com/thybag/PHP-SharePoint-Lists-API
Thank you everyone for your help. Your responses forced me to continue working on this today, and allowed me to continue to believe that there was a solution.
<?php
//These refer to the library files I downloaded from GitHub provided by thybag
use Thybag\SharePointAPI;
require_once('SharePointAPI.php');
$sp = new SharePointAPI('username','password','http://sharepoint.domain1.com/_vti_bin/Lists.asmx?WSDL','NTLM');
$listContent = $sp->read('Materials',NULL,array('Title'=>'317666879'));
$tmp = $listContent[0]["description"];
echo $tmp;
echo "<br/><br/>Finished SharePoint List Retrieval!";
?> -
Querying Exchange 2013 Mail server for email items using c# and Exchange Web Services
I am trying to upgrade an existing application that reads Exchange 2003 using WebDAV. The mail server is to be upgraded to Exchange 2013, so I am checking how I can use EWS.
I have a problem in that although I know the inbox has unread items with attachments, the query I am running against the
FindItems object is returning empty (results.totalCount=0)
Here is my code snippet:
private static void GetAttachments(ExchangeService service)
// Return a single item.
ItemView view = new ItemView(100);
ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);// .Exchange2007_SP1);
service.UseDefaultCredentials = true;
service.AutodiscoverUrl("[email protected]", RedirectionUrlValidationCallback);
ItemView view = new ItemView(1);
string querystring = "HasAttachments:true Subject:'ATTACHMENT TEST' Kind:email";
// Find the first email message in the Inbox that has attachments.
// This results in a FindItem operation call to EWS.
FindItemsResults<Item> results = service.FindItems(WellKnownFolderName.Inbox, querystring, view);
//FindItemsResults<Item> results = service.FindItems(WellKnownFolderName.Inbox, new ItemView(50));
if (results.TotalCount > 0)
// looping through all the emails
for (Int16 iDx = 0; iDx < results.TotalCount-1; iDx++)
EmailMessage email = results.Items[iDx] as EmailMessage;
if (email.IsRead == false) {
// Request all the attachments on the email message. This results in a GetItem operation call to EWS.
email.Load(new PropertySet(EmailMessageSchema.Attachments));
foreach (Attachment attachment in email.Attachments)
if (attachment is FileAttachment)
FileAttachment fileAttachment = attachment as FileAttachment;
What I am supposed to be doing is reading all the unread emails in the target inbox (only one Exchange server) and taking the attachments on disk so I can then add them as attachments as new cases on SalesForce.
Where am I going wrong?
Also, this line:
ItemView view = new ItemView(100);
was:
ItemView view = new ItemView(1);
Surely that will only look for one email item, right?thanks, do you know why I would be getting an error message like 'The specified object was not found in the store'
here is my code:
ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);// .Exchange2007_SP1);
service.Url = new Uri("https://sgexc.bocuk.local/EWS/Exchange.asmx");
//creates an object that will represent the desired mailbox
Mailbox mb = new Mailbox(@"[email protected]");
//creates a folder object that will point to inbox folder
FolderId fid = new FolderId(WellKnownFolderName.Inbox, mb);
//this will bind the mailbox you're looking for using your service instance
Folder inbox = Folder.Bind(service, fid);
FindItemsResults<Item> findResults = service.FindItems(new FolderId(WellKnownFolderName.Inbox, new Mailbox("[email protected]")),new ItemView(10));
it's happening on this line:
Folder inbox = Folder.Bind(service, fid);
and if I try to use AutoDiscoverURL then I just see my own inbox. -
CAMl Query -CSOM - Display Modified date of list Item in a required format
Hi All,
I want to display last modified date of a List Item.
I am getting the value in this format :
Tue Feb 25 23:06:57 PST 2014
How ever, I want to display it as : Tuesday 25th February 2014
Please suggest how to achieve this.
Any informative articles, links w.r.t building such queries in CSOM (jQuery) is welcome.
Thanks.I have the query :
function ReadListItem() {
siteUrl = "my site Url";
var listTitle = "NewsList";
//Get the current client context
var context = new SP.ClientContext(siteUrl);
var newsList = context.get_web().get_lists().getByTitle(listTitle);
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query><OrderBy><FieldRef Name=\'Modified\' Ascending="FALSE"/></OrderBy><RowLimit>1</RowLimit></Query></View>";')
this.listItems = newsList.getItems(camlQuery);
context.load(listItems);
context.executeQueryAsync(ReadListItemSucceeded, ReadListItemFailed);
function ReadListItemSucceeded(sender, args) {
var itemsString = '';
var enumerator = listItems.getEnumerator();
while (enumerator.moveNext()) {
var listItem = enumerator.get_current();
itemsString += 'Modified On: ' + listItem.get_item('Modified');
$("#P1").append(itemsString);
I am able to get the Modified Date using the query
But I need it in a specific format like : Tuesday 25th February 2014
Please suggest -
Is it possible to place display co-ordinate for page item
hi,
In any one of the reagion, if i want to display the label as "Name" in Row Number 15, column no 10 (assuming screen size is 25 rows and 80 characters ) and input column on specified row and column. (here row is vertically numbered and column is horizontally numbered) This will facilitate myself to place any page item in anywhere. Using Ajax, possibility may also be suggested so that i shall try to explore it.
Help is thanked in advancedr.s.raghu,
You can position elements using absolute positioning but this will not be as easy as it sounds. You may need to create a very specific theme (or at least a few templates) for this.
Have a look at this:
http://www.w3schools.com/css/pr_class_position.asp
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/apex/ -
Query not displaying updated data for planning
Hi Experts!
I've created a revaluation function in IP and tested it in the modeler, it's working fine. I have an issue when running the sequence in WAD, as it is not displaying the modified data. The message says that the records were modified, but those changes aren't being displayed in the query. The query being used isn't input ready, it just takes data from the cube and revaluates them.
I have already tried adding a refresh command in WAD, but I've found out it doesn't fit this purpose. Am I missing a configuration so it can read the delta buffer? or must I necessarily save the plan data for it to be displayed? Any ideas?
Thanks in advance for your help,
AlHi,
you are on the save side if you use an input-ready query and a button representing the revaluation function in the Web Application Designer (WAD) . Of course the function has to change data via an aggregation level A on a real-time cube C that is also contained in the InfoProvider P used to create the input-ready query. In the most straightforward case A = P.
Input-ready queries always know about the most-recent data, i.e. data in all green + yellow requests and the data in the deltabuffers.
But even a 'reporting' query e.g. on a real-time InfoCube C and the revaluation planning function on an aggregation level A on C should know about the most-recent data as defined above.
You can check the 'Requeststatus' used in the 'reporting' query. It should be 'Real-time InfoCubes up to current version'. This setting can be found - depending on the release - in transaction RSRT or the Query Designer.
You should not forget to do some simple checks: Maybe the function has changed data that are not contained in the filter of the query.
Regards,
Gregor -
Query create on Master Data for the items that has not shipped
Hi all,
Is it possible to report/query on Items on Master Data that has not inoviced or has not been shipped?
Running query on Sales overview cube will not bring the right data since that cube only captures the items that was invoiced. Please help!
Thanks in advance,
BW
P:S Points will be assigned.Hi,
if u are using BI-7 for scenarios like this they have designed info set to include 2 cubes,
as info set brings intersection data u can opt for infoset, build info set on cube and ur master data then u will get the result this will be better as per performance issue.
if u are using BW then if data flow is from ODS -> CUBE then u can build infoset on ODS and master data it will be good.
if u want replacement path then u have to use RRI that is report to report interface. build char variable on ur info object in cube query so that it will brings orders which are shipped.
then build another char variable in master data query and processing type as replacement path to char var built on first query. and exclude those values which first var brings.
assign points if it helps,
thanks,
pavan. -
Vendor Line Item Display-Default value for customer items
Is it possible in selection screen of transaction FBL1N (Vendor line item display) the default value of field "customer items" to be checked?
Thanks in advance.hi Tsiami
it's not possible. if u want check customer line items go throw this TC:FBL5N
plz assign points
regards
sivareddy. -
Query to display BOMs Header and Item
Hello SAP gurus
I am trying to create a query to display BOMs with header and item. For that I am using tables MAST, STKO and STPO.
The table join is:
MAST -> STKO -> STPO
MAST - WERKS, STLNR and STLAL
STKO - STLNR and STPOZ
The system dont show anything...
Can someone help me?
Thanks in advance.
Adelmo SilvaYes, it works but...
If I have 2 alternatives, the system show everything even if i select alternative 1 or 2.
I am missing something... because system is showing all alternatives...
System is showing something like this:
Material BOM AltBOM BOM St Item ICt Component Valid from Quantity Un
726121012 00131075 1 01 0010 L 109219 17-12-2007 0,200 KG
726121012 00131075 1 01 0020 L 109230 17-12-2007 0,003 KG
726121012 00131075 1 01 0030 L 109232 17-12-2007 1,166 M2
726121012 00131075 1 01 0040 L 726004012 17-12-2007 0,120 M3
726121012 00131075 1 01 0010 L 109526 17-12-2007 0,200 KG
726121012 00131075 1 01 0020 L 109232 17-12-2007 1,166 M2
726121012 00131075 1 01 0030 L 726004012 17-12-2007 0,120 M3
Edited by: Adelmo Silva on Jan 9, 2008 9:07 AM
Maybe you are looking for
-
My iTunes library no longer matches the music on my iPhone.
My iTunes library no longer matches the music on my iPhone. How can I sync the music and playlists from my phone onto iTunes without iTunes completely wiping all the music on my iPhone? I'm also afraid I'll lose any newer music.
-
Must have Camera features on Lenovo K3 Note
Dear manufacturer, Please have the following features updated(implemented) on Lenovo K3 Note. 1. Manual Focus support 2. Manual White Balance support, 3. Manual ISO, 4. Manual Shutter Speed 5. RAW support Please please please have features updated on
-
I have an intermittent problem with FTP on CS6 that is widely reported on the Internet. When I try to upload files CS6 hangs with a "waiting on server ..." message. How do I fix this bug?
-
My iPhone 5 screen comes off at the right side of my screen. When i push it, I can hear it comes off. I can feel this too... What can I do about this?
-
How do I edit an Image Rollover?
This is driving me nuts. I've got an Image Rollover and I just want to edit it. The second state isn't on the Properties menu. Is there no way to get back to the initial dialogue that asks you to link the two images? And I truly don't want to be a tr