Query regarding Asset quantity.
Dear Experts,
I have query regarding Asset quantity.
While creating Goods receipt (MIGO) users give the Material (Asset) quantity but when I check in Asset master or in any sap asset reports system not show the quantity in Asset master or any Asset report. Although I have checked in all SAP Standard reports but quantity not updated in any reports. Let me know if I need to do any configure in Asset.
I also want to know that how System posts the quantity automatically in Asset master after doing MIGO/MIRO?
Please provide the best solution.
Best Regards,
Vivek
Hi VIvek
In Asset Master Data update the unit of measure in Quantity field. When you post through a MIRO document or F-90 whatever the quantity input is updated in the asset master record.
Kindly award points if correct
Similar Messages
-
Query regarding Onhand Quantity
Hello,
I am new to manufacturing modules and I need some help.
I have a requirement in inventory where I need to get the list of items,
- if the qty on hand falls below a certain qty level in a sub-inventory.
- I also need to identify the date on which it happened.
Ex: if item# 12345 in sub-inventory “STOCKROOM” falls below 500, then I need to identify the date on which it happened.
Any help in resolve this issue is highly appreciated.
TIA
KPIntresting ...
An attempt, not sure if you like it
The mtl_onhand_quantities_detail keeps track of the qty by means of logging into this
table all new transactions that bring in qty and any decrement to qty is updated to the records
by updating the earlier record and moving down as needed(lifo method)
There is a create_transaction_id and update_transaction_id(decrementing trxn), but realy the
update_transaction_id is the most recent decrement transaction prior transaction id's are not stored.
I think you would start as
select inventory_item_id, sum(transaction_qty) from mtl_onhand_quantities_detail
you can restrict this further by org/subinv etc.
Lets say you do not want to do any special logic for items that are over 500 qty, nothing
is needed but for anything that is below 500 you would want to invoke something that may have logic
like below.
Lets say I got a record 400 qty for an item, this is what I would do
400 As of sysdate(report run date)
You list all transactions in descending order of occurence for the item/org
that is the most recent transaction comes in the list first(mtl_material_transactions)
Take the current qty in a variable say v_qty
{Trxqty} { change_vqty_by} { QOH_Before_This_Trxn(revised v_qty)}
{-10} {+10} { 410}
{+5} { -5} { 405}
{+20} { -20} { 385}
{-200} {+200} {585}
(You stop on this record as this is more than 500, that
means the prior record is where your qoh got negative and provide that trx date)
Assuming this report is run bi-weekly/monthly you may just restrict looking back past transactions only
to that extent.
Try it out and if there is a better way/ the way you handled it please update for reference. -
Query regarding the fields details in particular form for all the users in
Dear All,
I have one query regarding the fields details in particular form for all the users in company.
Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce 4.Total 5. Location.
While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including above 4 fieds .
Now my question is how to set the User choice fiels for the particular form that are common to all users.
Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
This is a manual job and you have do do it with every user login.
Alternately, you can try out this link that explains
[How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html] -
Hi! Gurus,
I am having a query regarding Freight .
Consider PO having 100 Quantity and freight applicable WRT quantity Condition
type FRC1.Rs 1 /1 Quantity.
Freight amount = Rs 100.
Consider 5 Good Receipt WRT purchase order.
GR1- 20 Quantity ,Freight = 20 RS
GR2 -20 Quantity ,Freight = 20 Rs
GR3- 20 Quantity ,Freight = 20 RS
GR4 -20 Quantity ,Freight = 20 Rs
GR5- 20 Quantity ,Freight = 20 RS
Well my question is can i do miro with respect to delivery note(GR1,GR2,GR3,GR4,GR5) wherein i will get only freight amount that i have to pay to vendor
secondly if i do MIRO WRT purchase order ,
I getting 5 GR line items and 1item Rs 100 Freight.
We require 5 GR line item and 5 Freight items.
How this can be done.
Thanks and Regards,
shaileshIf you vendor is sending you a five invoice with each having the freight then post invoice against the delivery note so you will get only that GR qty with freight amount.
but if you get 5 GR and 1 invoice then you can not post separately -
Hi SAP guru
I have one query regarding useful life of asset,
If i purchased a asset in rs 200000 , wdv rate is 20% and put the useful life 4 year, in last year i want to depreciate the asset upto 1 Rs.
Capitalisation date is 01.04.2008.
Ex - Acquisition value Ordinary depreciation net book value
2008 200,000.00 40,000.00- 160,000.00
2009 200,000.00 32,000.00- 128,000.00
2010 200,000.00 25,600.00- 102,400.00
2011 200,000.00 20,480.00- 81,920.00
2012 200,000.00 81,920.00
Client requirement is in year 2011 asset should depreciate upto Rs 1.
Appreciate your reply.
Regards
AnjanIf you want to your asset depreciation based on useful life that is 4 years, please select check box Rem.life in multi level method of that dep. key.and enter the useful life as 4 years in the assets master.
when come to restricting value to 1Re. specify the memo value for that asset class.
AA>Valuation>Amt.specification>Specify memo value. -
query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module)
shopping cart
Hi in FM SPOOL_RQ_READ_BAPI_EXPORTS
i want to relate the internal tables requisition_items and requisition_services.
but in am not getting the key on which they should be joined
here i have to take the quantity and other fields from requisition_services
right now i am using the joining condition as
requisition_items-pckg_no = requisition_services-pckg_no.
any help in this regard is welcome.
Thanks and regards,
VithalprasadHi Kathirvel,
Thank you for reply. I am making changes for standard code only.
" Call FM SPOOL_DPO_READ_BAPI_EXPORTS to read PO data exported to backend.
Use this data to call FM B46B_DPO_TRANSFER and copy errors tab from
' lt_bapi_return ' to ' et_messages' retrun tab in 'doc_check' badi. "
Thank you.
Regards, Sunu -
I know I can add an Asset Tag to the BIOS. I need to query that Asset Tag. I added this to a report query...v_GS_SYSTEM_ENCLOSURE.SMBIOSAssetTag0
(I think it's the right choice).
select v_R_System.Name0, v_GS_PC_BIOS.Manufacturer0, v_GS_PC_BIOS.SerialNumber0,v_GS_COMPUTER_SYSTEM.Model0,v_GS_SYSTEM_ENCLOSURE.SMBIOSAssetTag0
FROM v_R_System JOIN v_GS_PC_BIOS on v_R_System.ResourceID = v_GS_PC_BIOS.ResourceID JOIN v_GS_COMPUTER_SYSTEM on v_R_System.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
But I get a 'not bound' error'. Not sure how to add this to the bottom 'FROM' part?Hi,
You are missing a Join for the V_gs_System_enclosure, something like this will work.
select
v_R_System.Name0,
v_GS_PC_BIOS.Manufacturer0,
v_GS_PC_BIOS.SerialNumber0,v_GS_COMPUTER_SYSTEM.Model0,v_GS_SYSTEM_ENCLOSURE.SMBIOSAssetTag0
FROM
v_R_System JOIN v_GS_PC_BIOS
on v_R_System.ResourceID
= v_GS_PC_BIOS.ResourceID
JOIN v_GS_COMPUTER_SYSTEM
on v_R_System.ResourceID
= v_GS_COMPUTER_SYSTEM.ResourceID
jOIN v_GS_SYSTEM_ENCLOSURE
on v_R_System.ResourceID
= v_GS_SYSTEM_ENCLOSURE.ResourceID
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
Query regarding updation thru a Procedure
Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru my Java application.
The submit procedure saves the XML data in the database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
I would like to display the new row with the new elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,Hi,I have a query regarding updation.
1.I invoke a procedure in Oracle called submit thru
my Java application.
The submit procedure saves the XML data in the
database
and displays this data in a Front End GUI.
2. Now,I make a change in my Java application by
adding new elements to the same row.This row now
contains additional XML elements.
I would like to display the new row with the new
elements in the GUI.
What is a better option for doing the above?
1.Delete the row being shown,save the new row with
the changes in the database,and re display it?
2.Or,Update the row dynamically and refresh?
Any suggestions
Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
Khurram -
A query regarding synchronised functions, using shared object
Hi all.
I have this little query, regarding the functions that are synchronised, based on accessing the lock to the object, which is being used for synchronizing.
Ok, I will clear myself with the following example :
class First
int a;
static int b;
public void func_one()
synchronized((Integer) a)
{ // function logic
} // End of func_one
public void func_two()
synchronized((Integer) b)
{ / function logic
} // End of func_two
public static void func_three()
synchronized((Integer) a)
{ // function logic
} // End of func_three, WHICH IS ACTUALLY NOT ALLOWED,
// just written here for completeness.
public static void func_four()
synchronized((Integer) b)
{ / function logic
} // End of func_four
First obj1 = new First();
First obj2 = new First();
Note that the four functions are different on the following criteria :
a) Whether the function is static or non-static.
b) Whether the object on which synchronization is based is a static, or a non-static member of the class.
Now, first my-thoughts; kindly correct me if I am wrong :
a) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisation, since in case obj1 and obj2 happen to call the func_one at the same time, obj1 will obtain lock for obj1.a; and obj2 will obtain lock to obj2.a; and both can go inside the supposed-to-be-synchronized-function-but-actually-is-not merrily.
Kindly correct me I am wrong anywhere in the above.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation.
Kindly correct me I am wrong anywhere in the above.
c) In case 3, we have a static function , synchronized on a non-static object. However, Java does not allow functions of this type, so we may safely move forward.
d) In case 4, we have a static function, synchronized on a static object.
Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a. However, since obj1.a and obj2.a are the same, thus we will indeed obtain sychronisation. But we are only partly done for this case.
First, Kindly correct me I am wrong anywhere in the above.
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".
Another query : so far we have been assuming that the only objects contending for the synchronized function are obj1, and obj2, in a single thread. Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.a; and again obj1 trying to obtain lock for obj1.a, which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed. Thus, effectively, our synchronisation is broken.
Or am I being dumb ?
Looking forward to replies..
Ashutosha) In case 1, we have a non-static function, synchronized on a non-static object. Thus, effectively, there is no-synchronisationThere is no synchronization between distinct First objects, but that's what you specified. Apart from the coding bug noted below, there would be synchronization between different threads using the same instance of First.
b) In case 2, we have a non-static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.obj1/2 don't call methods or try to obtain locks. The two different threads do that. And you mean First.b, not obj1.b and obj2.b, but see also below.
d) In case 4, we have a static function, synchronized on a static object. Here, again if obj1, and obj2 happen to call the function at the same time, obj1 will try to obtain lock for obj1.a; while obj2 will try to obtain lock for obj2.a.Again, obj1/2 don't call methods or try to obtain locks. The two different threads do that. And again, you mean First.b. obj1.b and obj2.b are the same as First.b. Does that make it clearer?
Now, I have a query : what happens if the call is made in a classically static manner, i.e. using the statement "First.func_four;".That's what happens in any case whether you write obj1.func_four(), obj2.func)four(), or First.func_four(). All these are identical when func_four(0 is static.
Now, consider this, suppose we have the same reference obj1, in two threads, and the call "obj1.func_four;" happens to occur at the same time from each of these threads. Thus, we have obj1 rying to obtain lock for obj1.aNo we don't, we have a thread trying to obtain the lock on First.b.
and again obj1 trying to obtain lock for obj1.aYou mean obj2 and First.b, but obj2 doesn't obtain the lock, the thread does.
which are the same locks. So, if obj1.a of the first thread obtains the lock, then it will enter the function no-doubt, but the call from the second thread will also succeed.Of course it won't. Your reasoning here makes zero sense..Once First.b is locked it is locked. End of story.
Thus, effectively, our synchronisation is broken.No it isn't. The second thread will wait on the same First.b object that the first thread has locked.
However in any case you have a much bigger problem here. You're autoboxing your local 'int' variable to a possibly brand-new Integer object every call, so there may be no synchronization at all.
You need:
Object a = new Object();
static Object b = new Object(); -
Query regarding the conversion of DME file in MT940 format.
Hello Experts,
I have a query regarding the generation of MT940 file after generating the payment file from other DME tree.
After completion of payment run, my payment file is generated in the DME format which is according to the DME tree.
I want to convert the DME file (which is generated via F110) from existing format to the standard MT940 format.
Is there any standard program which converts the DME file to MT940. If so, please inform me as early.
I have tried to upload the DME file in FF.5 transaction, but it is not allowing me to convert the file in MT940 structure.
Or please inform the steps how i can convert the file .
Awaiting for your inputs.
Thanks in advanceHi Zareena.
I would like to suggest,
SX_OBJECT_CONVERT_RAW_TXT.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Query regarding the data type for fetcing records from multiple ODS tables
hey guys;
i have a query regarding the data type for fetcing records from multiple ODS tables.
if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
can any one help with some suggestion.Hi Mudit,
One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
AS is used to rename the column name when data is being selected from your DB.
So, the query Select ename as empname from emptable will return the data with column name as empname.
Regards,
Bhavesh -
Query regarding Cluster nodes in CC
Hi Experts,
We have a query regarding the cluster nodes available in the CC monitoring.
Can two nodes of a same channel can poll at the same time?
Kindly suggest what should be done to make a specific cluster node of a CC polls at a particular time.
Thanks
Suganya.Hi,
There is an answered thread on this
Processing in Multiple Cluster Nodes
Regards,
Manjusha -
Query regarding G/LAccounts in psoting
Hi Experts,
I have one query regarding PCP0.
After executing PCP0,If We double click on the posting document we can see the number of G/L accounts in that posting Document.If we double click on each G/L Account it shows all the revision information indetail for all payments cumulated into that particular G/L Account.
Some of the G/L's are appearing as single line in the posting document and if we double click for the revision information it is showing all the Wagetypes with personnel numbers and the total of each wagetype.
Some of the G/L's we can see Multiple times for each individual.
Can any one please explain where does we set up the the revision information for the G/L Accounts .
Appreciate If anyone can help to know this information.
Thanks & Regards,
Sandhya.Hi Gopal,
Counting class are assigned to the Periodic work Schedule 1 to 9 are just arbitart sequence numbers and have no meaning in general they are used for linking Pweriodic Work schedules with differences.
You can use the class for absence and attendance counting to specify different methods of counting according to the period work schedule.
They have no other meaning apart from that.
Thanks and Regards
Swati -
Query regarding App V Deployment - (Deploying DriverMSI in App - V)
Hi All,
This is my query regarding deployment of a driver MSI using App V. I have tried sequencing "NMap software" which has Kernel driver as service. I have separated the Kernel driver and wrapped in an MSI and tried deploying the Kernel Driver MSI using
the DeploymentConfig.xml file but its not happening.
I have tried writing script in DeploymentConfig.xml in AddPackage Tag as shown in the below commands where I have added driver MSI in sequenced package, and tried deploying the DeploymentConfig.xml in powershell during Add-Package event but the driver
MSI is not getting installed in Client machine.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
The other way I have tried is writing a vbscript for installing the driver MSI, added the vbs in sequenced package and called the same in DeploymentConfig.xml but no luck.Please find the command below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
Please suggest any method to make this successful or kindly let me know if there is any mistake in the script.
Thanks in advance,
Vivek VHi Nicke,
These are the following methods and steps that I have performed for installing Driver MSi.
Method 1:
1. Included the driver MSI in Package Files Tab in sequencer and called the same MSI in DeploymentConfig.xml using the below script.
<AddPackage>
<Path>msiexec.exe</Path>
<Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</AddPackage>
<RemovePackage>
<Path>msiexec.exe</Path>
<Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
<Wait RollbackOnError="false" Timeout="60"/>
</RemovePackage>
</MachineScripts>
2. After the above steps, deployed the AppV package along with DeploymentConfig.xml in App V Client using the commands mentioned below.
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
after trying the above steps the driver MSI is not getting installed.
Method 2:
1. Included the driver MSI and a VBS file(VBS contains script for calling the driverMSI)in Package Files tab in sequencer. Commandlines has been provided calling the vbs file in DeploymetConfig.xml as mentioned below.
<!--
<MachineScripts>
<PublishPackage>
<Path>wscript.exe</Path>
<Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
<Wait RollbackOnError="true" Timeout="30"/>
</PublishPackage>
<UnpublishPackage>
<Path>\\server\share\barfoo.exe</Path>
<Arguments>-WithArgs</Arguments>
<Wait RollbackOnError="false" Timeout="30"/>
</UnpublishPackage>
2. after executing the above steps, tried deploying the AppV file along with DeploymentConfig.xml using the commands mentioned below,
Set-ExecutionPolicy -Unrestricted
Import-module Appvclient
Set-AppVClientConfiguration -EnablePackageScripts 1
Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
evenafter trying the above methods the driver MSI is not getting installed. Hope you can understand my explanations above.
Regards,
Vivek V -
Hi,
I have a query regarding explain plan. While we gather the statistics then optimize choose the best possible plan out of the explain plans available. If we do not gather statistics on a table for a long time then which plan it choose:
If it will continue to use the same plan as it use in the starting when statistics were gathered or will change the plan as soon as dml activities performed and statistics getting old.
Thanks
GKHi,
Aman.... wrote:
Gulshan wrote:
Hi,
I have a query regarding explain plan. While we gather the statistics then optimize choose the best possible plan out of the explain plans available. If we do not gather statistics on a table for a long time then which plan it choose:The same plan which it has chosen in the starting with the previous statistics. The plan won't change automatically as long as you won't refresh the statistics. This is wrong even for Oracle 9i. Here are couple of examples when a plan might change with the same optimizer statistics:
* when you have a histogram on a column and are not a bright person to use bind variables, you might get a completely different execution plan because of a different incoming value. All that is needed to fall into this habit - a soft parse, which might be due to different reasons, for instance, due to session parameter modification (which also might change a plan even without a histogram)
* Starting with 10g, CBO makes adjustments to cardinality estimates for out of range values appeared in predicates
Maybe you are looking for
-
The Next Generation of Oracle Enterprise Manager Will Arrive in 7 Days!
Seven more days to go before we launch Oracle Enterprise Manager 11g. We invite you to join us for this exciting announcement. You may attend the event in person if you are going to be in New York City next Thursday (4/22) or over the web via our web
-
Can´t Logon to SAP Portal --- USER_AUTH_FAILED
Hi guys, I got an issue, when i try to logon to portal with administrator user or any other user, the browser just acts like a refresh (f5) and do nothing, but i can access to visual administrator, config tool and http://server:50000/sap/monitoring/S
-
Are there any other AU-hosting plug-ins like VE Pro?
Are there any plug-ins that allow you to host other plug-ins within them, similar to how VE-Pro, or Kontakt Kore do? I want a way to be able to save a combination of layered instruments. (VE Pro is a bit costly, and Kore is discontinued) Thanks.
-
Hello, I have 1 big PSD which has many groups and nested groups which contain layers. I want to export all individual layers in the PSD to transparent PNGs WHILE also preserving the group structure within the PSD. So the result should be that when I
-
CT5760 HA Pair not Forming?
We just received a pair of wireless controllers, AIR-CT-5760-K9 and AIR-CT5760-HA-K9. I've wired them together with the StackWise cable, as we typically do with our 3850s (top left <-> bottom right, bottom left <-> top right, screws hand-tightenend).