Hi Team,
Thank you very much.
Kind Regards,
Suresh.
Hi Team,
Thank you very much.
Kind Regards,
Suresh.
Hello Experts,
I am using SAP UI5 for creating a Table and CHART namely TABLE1 and CHART1, Using the values (Selection)of the Dropdown(DD1) in the dashboard. And Source code is also given below
Selection of values from DD1 results is filling of related values in TABLE1 and CHART1. We are using CHANGE event of dropdowns to execute the corresponding .xsodata file (with filter parameter) for TAble filling FROM DD1.
When I make a selection from dropdown, TABLE is filling as well as my Chart is also generating with the correct values, screenshot for this is given below,
But When I select a value 2nd time, 3rd time and so on from the Dropdown DD1, event is triggering and Table is not refreshing (nothing is happening to the table); But the CHART1 is changing for every Alternate selection from DD1. Screenshot for this is given below,
Please guide me on this as it is a very essential for all my dashboards.
The source code is also given below
<!DOCTYPEhtml>
<html>
<head>
<metahttp-equiv="X-UA-Compatible"content="IE=edge"/>
<metahttp-equiv="Content-Type"content="text/html; charset=UTF-8">
<title>LOCATION INFORMATION</title>
<scriptid="sap-ui-bootstrap"type="text/javascript"
src="http://54.169.54.210:8000/sap/ui5/1/resources/sap-ui-core.js"
data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.viz"
data-sap-ui-theme="sap_bluecrystal">
</script>
<script>
var model = new sap.ui.model.odata.ODataModel('http://54.169.54.210:8000/AC_ANALYTICS_IN_UI5/Location_details.xsodata/',true);
var DD1 = new sap.ui.commons.DropdownBox("DD1id",{
change : function(oEvent)
{
Location_value=DD1.getLiveValue();
var url= "http://54.169.54.210:8000/AC_ANALYTICS_IN_UI5/Location_details.xsodata/Location_details?$select=LM_LOCATION_ID_PK,LM_TOTAL_TONNAGE_AC_TR,LM_ROOM_VOL_IN_CUB_FT,LM_NO_OF_DOORS,LM_NO_OF_PEOPLE,LM_HEAT_SRC,LM_AC_OPERATIONS&$filter=LM_LOCATION_ID_PK eq '"+Location_value+"'&$format=json";
var oModel = new sap.ui.model.json.JSONModel();
oModel.loadData(url);
var oControl;
oTable=new sap.ui.table.Table("LOCATION",{
tableID : "TABLE1",
visibleRowCount : 2
});
oTable.setTitle("LOCATIONS DETAILS");
//sap.ui.getCore().byId("LOCATION DETAILS").oTable().refresh(true);
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_LOCATION_ID_PK");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "LOCATION_ID"}),
template: oControl, sortProperty: "LOCATION_ID_PK" , filterProperty: "LOCATION_ID_PK" , width : "125px" }));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_TOTAL_TONNAGE_AC_TR");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "AC_TONNAGE"}),
template: oControl, filterProperty: "LM_TOTAL_TONNAGE_AC_TR",width : "125px" }));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_ROOM_VOL_IN_CUB_FT");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "Room_Dimension"}),
template: oControl, filterProperty: "LM_ROOM_VOL_IN_CUB_FT", width : "125px" }));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_NO_OF_DOORS");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "No OF Doors"}),
template: oControl, filterProperty: "LM_NO_OF_DOORS",width : "125px" }));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_NO_OF_PEOPLE");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "No OF Peoples"}),
template: oControl, filterProperty: "LM_NO_OF_PEOPLE", width : "125px"}));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_HEAT_SRC");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "Heat generator"}),
template: oControl, filterProperty: "LM_HEAT_SRC", width : "125px" }));
oControl = new sap.ui.commons.TextField().bindProperty("value","LM_AC_OPERATIONS");
oTable.addColumn(new sap.ui.table.Column({label:new sap.ui.commons.Label({text: "Usage Pattern"}),
template: oControl, filterProperty: "LM_AC_OPERATIONS",width : "125px"}));
//var sort1=new sap.ui.model.Sorter("LM_LOCATION_ID_PK");
oTable.bindRows("/d/results");
oTable.placeAt("id2");
//?$select=LM_LOCATION_ID_PK&$filter=LM_LOCATION_ID_PK eq '"+Location_value+"'
oTable.setModel(oModel);
oTable.removeRow(0);
var dataset2 = new sap.viz.ui5.data.FlattenedDataset({
dimensions : [
{
axis : 1, name : 'LOCATION_ID', value : "{LM_LOCATION_ID_PK}"
}
],
measures :[
{
name : 'TOTAL_TONNAGE', value : '{LM_TOTAL_TONNAGE_AC_TR}'
}
],
data : { path : "/d/results" }
});
var topSalesCustomerBarChart2 = new sap.viz.ui5.Column("CHART1",
{
width : "100%",
height : "400px",
title :
{
visible : true, text : ''
},
dataset : dataset2
}).placeAt("id6");
var url2 = "http://54.169.54.210:8000/AC_ANALYTICS_IN_UI5/Location_details.xsodata/Location_details?$select=LM_LOCATION_ID_PK,LM_TOTAL_TONNAGE_AC_TR&$filter=LM_LOCATION_ID_PK eq '"+Location_value+"'&$format=json";
var salesModel2 = new sap.ui.model.json.JSONModel();
salesModel2.loadData(url2);
topSalesCustomerBarChart2.setModel(salesModel2);
}
});
DD1.setModel(model);
var itemTemplate = new sap.ui.core.ListItem();
itemTemplate.bindProperty('text', 'LM_LOCATION_ID_PK');
DD1.bindItems('/Location_details?$select=LM_LOCATION_ID_PK&$groupby=LM_LOCATION_ID_PK', itemTemplate);
DD1.placeAt('id1');
</script>
<bodyclass="sapUiBody">
<h1>SELECT LOCATION HERE</h1>
<h1></h1>
<divid="id1"></div>
<h1></h1>
<divid="id2"></div>
<divid="id6"></div>
</body>
Thanks and Regards,
Bharath
Hi Amar
"I want to know what setting should be done so that MRP in plant B should consider the demand qty from Plant A i.e 100 nos.And PR created in plant B should have linkage wrt to PR Qty from plant A"
There is no setting in plant B as such. In my experience you need to run MRP regularly in Plant A with an standard MRP type (PD) so you have stock transport requisitions representing the demand from plant A in the stock requirements list for plant B. Note reorder point planning in plant A doesn't really work.
Creating a link between the requirements at different levels in the supply chain doesn't really work either. Things will change down in plant A which will result in changes to the stock transport requisitions which will make a mess of any relationships to purchase orders raised by plant B.
Regards
Robyn
Hello Experts,
I have a requirement in SAP Work Manager-6.0 to remove completed Work Order from Agentry ClientDevice and after deletion a notification should be sent to all client device who logged in Work manager 6.0 like "work order deleted".
I guess, It needs to be handled by using Removal step of GetWorkOrders fetch.
Could you please help me to achieve this functionality?
Thanks In Advance!!
Regards:
Sumit
Hi Karthik,
If you see the Note and follow you will find something like :
xxxxxx objects at 275 topological level....
it measn total objects to be activated are xxxxxx at 275 level.
now these xxxxxx objects are distributed on different level and number of objects on each level can be different.
So at the moment activation at level 156 is running and after that 119 level remaining . Please
note its level and not number of objects.
You may seach the log with "activate objects at" and see how many objects are already activated in 156 level and could get a rough idea how many objects are remaining as you already know the total objects is xxxxxxx. This will give a idea how long ACT_UPG will run from this point.
I hope it helps.
BR,
Gaurav
Hi Anila,
I checked this option #,##0.0 also but it shows values like 1.0, 2.0 etc. I want to show whole number, if value is whole number like if value is 1 then it show 1 instead of 1.0. And if value is 0.44 then it should show 0.4 (with leading zero) .
Also, in when we export this to Excel sheet it should not show dot (.) after whole number. Now after applying #,##0.# it is showing 1. (dot), 2. , 3. etc in excel sheet.
Thanks,
Thx it works.
You have to save layout via SE38 not via ME3N transaction
Hi vimal,
simply call your script in degault logic.
*include script name
hope this will solve your problem
Hi vimal,
simply call your script in degault logic.
*include script name
hope this will solve your problem
Hi Kushi,
Your doubt regarding performance is correct ... But I think, 30 IF .. ENDIFs and 30 times DO will not have much difference .. May be its a nested loop but both does the same right! .. DO might have very small performance than IFs .. For example if you have 100 fields you can't imagine how many lines we should write for that ...
As MATTHEW suggested, it is better to keep SY-SUBRC check and populate the number for DO statement dynamically ..
I think you can close the thread, this will be the best optimised and good code for your requirement ...
Thanks & Regards,
Arun.
if the material is planned and the master data is accurate (delivery times, safety stock) and the processes are well clocked then you shouldn't actually get into this situation.
MRP of plant B will create its requisition to plant A, and MRP in plant A to the vendor, always.
Only in case of rush orders, unplanned withdrawals you get in trouble and this requires interaction by the user, which is a manual activity
Usually you have a special procurement key 40 in the material master of plant B that controls that a purchase requisition for a STO will be created during the planning run.
The MRP run of plant B will not check the availability of stock in plant A. It will just create a requisition to get material from A. While creating the STO the user can do a ATP check and see if there is enough stock in A and can react on that.
Dear,
You need to follow the cut over strategy for MM and FI to achieve this.
Asset:
Use transaction AS81 to transfer Group assets
Use transaction AS91 to transfer the ASSETS.
Use transaction AS94 to transfer the SUB-ASSETS.
Rule:Here Consider If you wish to carry out a transfer within the fiscal year, the date of the legacy data transfer has to be in the year following the closed fiscal year.
in these transactions we have "Take over values" to update the asset values.Click on this and proceed with all other parameters including depreciation.
Finally use FB50 to update asset G/L values.
G/L Master: Use LSMW or BDC to create G/L master.Transaction:FS00
Cost elements: Use Transaction KA01 (LSWM OR BDC)
G/L balances: Use transaction F-02
Use transaction MR21 fro price changes of material master.At this point of time kindly check the posting periods in MM and FI.
Materail stock values: Use transaction MB1C.Before performing this kindly check OBYC settings of GBB for assignment of initial upload G/L in general modification - BSA
And also BSX- Inventory posting for assignment of inventory G/Ls.
Use separate G/Ls for initial stock uploading.Once stock is uploaded block these G.Ls.
You can use LSMW for uploading all master in this cut-over activity.
Kindly refer some useful doc for cut over strategy
Hope these inputs may help you little bit.
Regards
Pardhu
Hi Raymond ,
Please suggest me the tables sequence for extracting the data for the TCODE : ABUMN .
I have to capture the document number generated through ABUMN and display that document number in my smart form .
Any ideas please suggest ......
Dear Experts,
We are updating the ztable by scheduling background job for a customized program on daily basis. We used modify statement in the program to update it.
But the problem is, up to 1,11,000+ records are getting updated and remaining records are not updated. We checked the technical settings of the ztable. The following are the details
Data class APPL1 Transaction data, transparent tables
Size category 9 Data records expected: 1,200,000 to 48,000,000
We are unable to find the reason because, the program will take more time to execute.
Please suggest.....
Thanks
Chaitanya M
Hi Priti,
Thanks for the reply. But the scenario differes from org to org right.
consider a org whihc have so many departments and so many materails.
The process of arriving to a "UD"...will be tedious then.
user may need to take and plae the matearial or machninary at a specific location to do the testing. In that case. there will not be any way to issue this material to user...even though its for inspection
Hi,
we need fallow the some process while transporting data source form dev to qas.
i written the document how to transport data source form dev to qas.
http://scn.sap.com/community/data-warehousing/bw/blog/2014/01/09/ecc-data-sources-transportation
Thanks,
Phani.
Thanks dear..In your case user vists the stores and do inspection ,,,for us not in all case that be possible.
Thanks JM
can you advise more how system behavior of WSLIPS03?
Regards,
Jun