Globle and local Inventory
Hi:
I know there are global inventory and local inventory. the global inventory is pointed by oraInst.loc. Where is local inventory? THX
Please see these MOS docs, it should answer your question.
Global and Local Inventory explained [ID 360079.1]
How to find the location of GLOBAL Inventory and LOCAL inventory on R12.x ? Need Clarifications Oracle Inventory [ID 878717.1]
How to create, update or rebuild the Central Inventory for Applications R12 [ID 742477.1]
Thanks,
Hussein
Similar Messages
-
Scope of globle and locale variable of a Package
I have query about scope of variable declared in spec and body of a package. like
create or replace package pk_test as
v_var varchar2(50);
procedure pk_p_test;
end ;
create or replace package body pk_test as
v_var varchar2(50) := 'aaa';
procedure pk_p_test
is
--v_var varchar2(50) := 'bbbb' ;
begin
null;
--dbms_output.put_line(pk_p_test.v_var);
dbms_output.put_line(pk_test.v_var);
dbms_output.put_line(*v_var*);
end;
end;
declare
begin
pk_test.v_var := 'qqqqq';
--dbms_output.put_line(pk_test.v_var);
pk_test.pk_p_test() ;
end ;
package is allowing to declare variable having same name in spec and body.
But its not allowing to access. is it bug or .. can we access that variable using some methodsAh, I think I can see what you are saying.
Yes, it can be declared in either place, or even declared in both places, but it shouldn't be declared in both.
One is a "public" state variable and the other is a "private" state variable, so when it creates the package state, they are both marked differently within the state and therefore unique, hence it compiles.
The public one can be accessed from outside the package, because it's clear to Oracle which is being referred to...
SQL> create or replace package pk_test as
2 v_var varchar2(50);
3 procedure pk_p_test;
4 end ;
5 /
Package created.
SQL> ed
Wrote file afiedt.buf
1 create or replace package body pk_test as
2 v_var varchar2(50) := 'aaa';
3 procedure pk_p_test is
4 begin
5 null;
6 end;
7* end;
SQL> /
Package body created.
SQL> exec pk_test.v_var := 'aaa';
PL/SQL procedure successfully completed.
SQL> set serverout on
SQL> exec dbms_output.put_line(pk_test.v_var);
aaa
PL/SQL procedure successfully completed.However if you try and access the variable from inside the package, the body is able to reference both the public and private variables, so it doesn't know which one to use. Hence the compilation error previously seen.
It's not a bug, because the packages are being flexible to allow for public and private variables, but what you are experiencing just indicates poor package design and lack of understanding of package state variables. -
Performance with globle variable and local var.
hi anyone
i just have one performance question about the globle var and local. is having a globle var that is initialized with 'new' at one place better than having local var that is initialzed with 'new' in several places? for example, i have a access var that is initialzed with DB connection. should i have it as a globle var? or put it in the functions where it is needed, and initialize it with DB connection? in both cases, i need to use new operator.
thanks in advance.First , don't use the term "global variable". It is misleading and not an official part of the Java nomenclature. I think the term used should be ( and correct me if I'm wrong ) instance variable. In C and C++ globale variables really are global - they can be accessed by any and all classes which include the header file.
OK, having got that out of my system, back to the question. The value is gotten from a database, right? Whether you make it an instance variable or not depends on you design and whether the value in the database is likely to change during the lifetime of the instance.
For example, if this class is a superclass of another, and the cild needs to know the value of the variable, it is often convenient to make it an instance variable so the subclass can access it directly.
But if the value is likely to change, then you may want to have a getter method which returns the current value in the database.
The latter will clearly have more overhead associated with it since you would need to get the value each time, but it is probably safer than having an instance variable. -
Remote and local interface on same ejb 3.0 bean instance
Hi,
Is it posible to get remote and local interface on same ejb 3.0 bean instance.
For example get local interface of a bean and than pass it as remote to client.
Both interfaces must operate on same bean instance.
Thanks
Zlajayes. You can implement multiple interfaces on a single class, so you can add a local and a remote interface. One trick to avoid duplicate code is to simply make the remote interface extend the local interface; then you only have to add the @Remote annotation and you're done.
For example get local interface of a bean and than pass it as remote to client.You don't pass an instances to a client, a client looks up a remote instance of the bean through JNDI. -
let say that i access a oracle form through the web and that form access data from two distributed databases, then will there be a remote database and local database for the user or all the databases will be remote databases to the user
In my opinion.
using local databases -- access tables without DB_link
using Remote databases -- access tables through DB_link -
Remote and Local Site Sync Problems
I have a customer who is using Dreamweaver CS4 on Mac OS X. Dreamweaver is setup to have a local site as our development server(win 2k3) and the remote site as our live web server(win 2k3). The folder structure on both the development and live web server is the same. When you view the path in the manage site window of dreamweaver it shows both remote and local site listed as /Volumes/www/Data. When dreamweaver connects to both of these to sync the files nothing happens since it sees them as the same place.
I have looked in the /Volumes folder on the customers computer and two listings appear for the servers www and www-1. This is not what dreamweaver shows and if you repoint the link to the www-1 folder it just changes back to www.
I have tried to create alias' and symbolic links to distinguish one folder from the other however nothing I seem to change has any effect.
If you use finder on the machine it can distinguish between the two folders I just need to figure out how to make dreamweaver do the same.
Any assistance on this would be greatly appreciated.Unfortunately no I do not have a solution. I was not able to find out at the time and the problem went away with the migration to a content management system for our web server. Also the Develpment team changed hands and the new people all use windows machines.
Good Luck trying to find a solution. -
Opening and Closing inventory logic from MB5B
Hi Gurus,
I have a requirement to implement the logic used in transaction MB5B for opening and closing inventory.
I went through the program and searched form IMARD, BESTAND tables as some forum posts suggest, but could not figure out the complete set of logic to calculate the opening and closing inventory.
Has any one implemented the same logic and if yes if you can share that part of code that would be of great help as i dont have time to spend on R&D for the same.
Thanks all in advance.
Best Regards,
Ram.check this logic.
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=15856
Regards
Prabhu -
How to change value of instance variable and local variable at run time?
As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
Suppose I have a class, say employee like -
class employee {
public String name;
employee(String name){
this.name = name;
public int showSalary(){
int salary = 10000;
return salary;
public String showName()
return name;
i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
Can someone tell me how to change these value?
Please help
Regards,
Sujeet SharmaThis is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.
-
Transparent Tunneling and Local Lan Access via VPN Client
Remote users using Cisco VPN 4.2 connect successfully to a Cisco Pix 515 (ver. 6.3). The client is configured to allow Transparent Tunneling and Local Lan access, but once connected to the Pix, these two options are disabled. What configuration changes are required on the Pix to enable these options? Any assistance will be greatly appreciated.
Mike BowyerHi Mike,
"Transparent Tunneling" and "Local Lan Access" are two different things. "Transparent Tunneling" is dealing with establishing an IPSec Tunnel even if a NAT device is between your client and the VPN-Headend-Device. "Local LAN Access" is dealing with access to devices in the LAN your VPN-Client-Device is connected to.
What do you mean exactly with "disabled once the connection is made" ?
You can check the local LAN Access by having a look at the Route-Table of the VPN-Client:
Right Click the yellow VPN-lock Icon in System-Tray while the VPN-Connection is active and select "Statistics ...". Have a look at the second register page "route details".
Are any local LAN routes displayed when your are connected ?
And - always remember two important restrictions the Online Help of the VPN-Client is mentioning:
1: This feature works only on one NIC card, the same NIC card as the tunnel.
2: While connected, you cannot print or browse the local LAN by name; when disconnected, you can print and browse by name.
Carsten
PS: Removing Split Tunnel won't enable local LAN access as all traffic would be sent into the IPSec tunnel. -
When a certain user saves a file in Excel 2010, she gets a message: "The file <name of file> may have been changed by another user since you last saved it." She can choose to save as another file or overwrite with her changes.
This just started happening a week or so ago. She was concerned that someone else was accessing her files, but we did several tests that opened, made a change and saved in a matter of seconds, and she still gets the message. It happens on
most files, but not all – both network and local.
We already tried the QFE_Saskatchewan registry fix. I also checked the file server for Services for Macintosh.You may be confused by the error in Excel saying “another user”. Actually Excel cannot tell who (the real human) is editing the file. Based on my research the No.1 possibility of the error is KB2626998.
2626998 Connection to a network document is lost in the 2007 Office system or in Office 2010 after the computer resumes from standby
http://support.microsoft.com/kb/2626998
For Excel 2010, follow these steps:
a. Click Start , click Run , type regedit in the Open box, and then click OK .
b. Locate and then select the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Options
c. On the Edit menu, point to New , and then click Dword Value .
d. Type NetworkAvailableTimeInSeconds , and then press Enter.
e. Right-click NetworkAvailableTimeInSeconds , and then click Modify .
f. In the Value data box, click Decimal , type a number value, and then click OK .
Note This registry subkey sets the time, in seconds, that Excel waits for the network to resume. For example, if you type 15 for the number value, Excel waits 15 seconds for the network to resume. You might have to do some tests in your own environment to
determine an appropriate value. You may have to try multiple numbers.
g. Locate and then select the following registry subkey.
HKEY_CURRENT_USER\Software\Microsoft\office\14.0\common\Internet
h. Repeat step 2C through step 2F again. Reuse the same value that you used previously.
i. Exit Registry Editor.
Feel free to post back. Thanks.
Cheers,
Tony Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact
[email protected] -
Inventory Management 0IC_C03: Beginning and ending inventory
Hi Gurus
My report is based on Inventory Management cube and I have a requirement where in I need to show Begining Inventory and Ending Inventory for Plant per Period.
There is no KF for Beginning Invin SAP standard model in inventory management cube (0IC_C03 cube), so I thought to restricting total quantity by Fiscal period and Offset by minus one to get begining inventory.
Here is my report layout:
I have got : Period , Plant in rows and Beginning and ending inventory in Columns.
Desired Output:
Fiscal Period | Plant | | Begining Inventory | Ending Inventory.
03/2009 | 1001 | 100 | 50
Actual Report output
Fiscal Period | Plant | | Begining Inventory | Ending Inventory.
02/2009 | 1001 | 100 |
03/2009 | 1001 | | 50
So basically report is being split on two lines for current and previous (due to restriction in begining period : Offset =-1 on period).
Question is how to achieve both begining and ending inventory for a period in same line.
Thanks in avdance for help and time
SAHI Naveen
Thanks for the reply. Non *** KF are already being used and Standard SAP model is being followed. Problem is not with back end but with frontend. Data coming on the report is fine but problem is how to show them on same line. Remember Beginning inventory for current open is ending inventory for previous month and in SAP content there is no KF called as begining inventory. Basically data from two consecutive periods (current and previous one) needs to be on same row of report, but they are coming on different rows if we have period in drilldown by period. this makes sense but how to overcome this.
This, We have all the correct data but facing issue while displaying that on frontend.
Thanks
Sorabh
Edited by: Sorabh on Mar 23, 2009 5:01 PM -
Inventory Management - Current and forecasted Inventory/Stock
Hello,
I just wanted to know the tables in Material Management related to Inventory, where I can get the inventory detials.
Any table names, any field details will be appreciated and rewarded.
I have to build a report for all materials in the system where I have to display the
Safety Stock
Onhand Inventory
$ value of On Hand Inventory
Forecast Quantity
Any BAPI's/RFC's for this?
Thank you for your help.
Sumit.Hey Nitin,
Thanks for following up.
The report i have to develop looks like this
Apr-05 May-05 Jun-05 Jul-05 Aug-05 .....
Plant1:
Material 1:
Safety Stock
Onhand Inventory
$ value of On Hand
Forecast Quantity
Material 2:
Safety Stock
Onhand Inventory
$ value of On Hand
Forecast Quantity
Material 3:
Safety Stock
Onhand Inventory
$ value of On Hand
Forecast Quantity
Plant2:
My main problem is getting periodic data. When we run MCBZ Current Requirements/Stocks: Basic List, we get the data for a particular time period, But the report that needs to be developed needs this in a matrix for all the time periods between two days.
MVER has a yearly indicator, but there is there a way for me to know periodic values smaller than that - like monthly.
MARD is much better. There is the year and the month in consideration in the fields Year current period, and current period.
MARC, with this table, I have the same problem as MVER. I dont even have the year in the table.
EKBE, I have no idea now a purchase order is related to determining Stock and OnHand inventory, although I know that goods delivered as a result of purchase order are the stock/inventory. There is the Year, Posting Date, Document Date entries here. I dont know how these will tie into the periodic stock determination.
MSEG, There is the fiscal year here. MKPF has the document date, posting date, and entry date. I can use this as a starting point by putting the material posting date in "buckets" each representing one periodic summary.
Any more hints on how I can tie it all together.
Thanks
Sumit. -
Movement types and physical inventory posting
HI Expert,
All inventory differences are currently booked using SAP-movement types (MVT) 291 and 292.
Inventory differences have to be booked via the correct movement types in order to increase transparency to better analyze real consumption vs. lost inventories
For inventory differences during a physical inventory use MVT 701/702 and for inventory differences other than after a physical inventory use MVT 711/712. Currently these movement types are blocked for use in our company. So it needs to be implemented soon.So
1.I want to know if this action can be implemented.
2.Could you tell me what's the difference between the MVT291/292 and 701/702/711/712.
Thanks.Could you tell me what's the difference between the MVT291/292 and 701/702/711/712.
291 na s292 are the movements type when in u can issues material to any of the account assignment manually like cost center , project wbs, network, sales order etc.
701/702 and the correct physical inventory movement type this are trigred only when u do proper physical inventor process in SAP for storage location which is not managed with warehouse management
711/712 and the correct physical inventory movement type this are trigred only when u do proper physical inventor process in SAP for storage location are managed by warehouse management.
U will have to remove the bloked movement type 701/702 to use Physical inventory process
hope this helps -
How to show both SC and Local Currency in PLD at Amount place?
Hi sir,
I want to show both System Currency and Local Currency in PLD at the Amount Place.
And amount in Words also.
When i preview my PLD Report than it show the both SC and LC in Words.
So,plz help me sir.!Hello jyotasna ,
Docuement total always in one currency depend on selected Customer or Vendor and if you want to in two currency then you should make UDF(User Define Field) for other currency.
also make FMS for calculation in this UDF .
If you want to amount in word in PLD then you should use ,select option Amount in words
for this configuration you should need workaroud.
Thanks
Manvendra Singh Niranjan -
Can external users change their language, time zone, and locale settings?
Hi,
We’re migrating our hosts from WebEx cloud to our on-prem solution right now (CWMS 1.5.1.323.A).
We’ve learned that CWMS 1.5 does not provide an online address book where hosts could customize language, time zone, and locale settings for their external attendees.
Do external users have any chance at all to change their language, time zone and locale settings individually?
Thank you,
HelgeHi Dejan,
"external users" are those participants, who do not have an LDAP account in our deployment, since they are not intendet to act as hosts: our stakeholders, partners, customers, clients.
It looks, as if these people would stick to the systems' default language / time zone / locale.
We are wondering if there might be a CWMS-component like this:
https://artcom.webex.com/cmp0307l/webcomponents/widget/preference.do?serviceType=MC&siteurl=artcom&target=Page&backUrl=%2Fmw0307l%2Fmywebex%2Fdefault.do%3Fsiteurl%3Dartcom%26service%3D1
to allow those "extenal" participants to make their adjustments.
Thank you,
Helge
Maybe you are looking for
-
Excise Value Error during MIRO
Dear Frinds, During Excise capture and post (J1iex), my user is manually filling up excise duty values and not capturing the excise value which the system is showing in the condition table(as per tax code rate). Now,in MIRO, for all the excise
-
Is it possible to install a SSD without SATA to USB cable?
I am in the middle of installing a SSD into my Mac 2012. Unfortunately, the SSD did not come with a SATA to USB cable. I looked and couldn't find this cable in any nearby stores. Is there a work around? If not, I'll order one but thought I would ask
-
HP Photosmart Pro B8850: I have artifact lines on my color prints
I am printing Christmas cards putting 5x7 prints on a 10 x 7 card. When I print on a glossy card (the print only covers half the card), there are white artifact lines on the prints. This only happens with glossy paper (not with mat paper). I am pr
-
Error Installing new versions of iTunes
Whenever I attempt to install a newer version of iTunes (7.2 and higher) I get an error message, "C:\ProgramFiles\iTunes\iTunes.Resouces\fi.lproj\iPodSettings.nib\classes.nib Verify that you have access to that directory." I don't know what it means
-
Scan menu on C7280 All-in-One has changed
The scan menu on my Photosmart C7280 All-in-One used to have a "Scan to iPhoto" setting. It has disappeared. It will still scan but when the scans go is anyone's guess. Can anyone help? tjhowell