T-code for getting consumptions / usage on special stock Q materials?
Hi,
I am facing an issue: special stock Q is not included in all T-codes that I know for getting the consumptions / usage over a period.
--> MC.9, MCBE etc.. are all not showing any results for those kind of materials.
I found the explanation: it's depending on special stock valuation indicator (Blank, A or M), and only A permits to see the consumptions with MCxx T-codes, which is not the one used in the plant I'm currently working in (M)
Since this valuation indicator is a FICO defined parameter, I cannot make it changed to be able to check those materials usage.
Anyone has a tip or know a way to get usage on special stock Q materials?
Thanks for any help!
Hi Sanil Bhandari,
Thanks for trying to help.
Unfortunately MMBE is a snapshot of stock level and reservations by storage location on a single material, and does not display the consumption over a predefined period.
I am still looking for any solution that works with special stock Q materials.
Similar Messages
-
Any T.codes for Replenished and Non-Replenished Inventory Stock/Value ??
Hi
Are there any T.codes for getting the
1. Replenished Inventory value/stock
2. Non-Replenished Inventory Value/Stock in SAP-MM. ?
Thanks
Maruthi RamHi,
For both you can check with T.Code:MD04, by selecting fields in "Collective access" tab and "filter" fields.
or
try with T.Code: MCBZ by giving different MRP types.
Regards.
Chinna
Edited by: Chinna Veerappa on Jan 23, 2009 5:46 AM -
OIM11g Code for getting resource object name
Hi Experts,
I want to fetch all the resource objects names assigned to a particular user. I am using following 10g code:
tcUserOperationsIntf moUserUtility1 = (tcUserOperationsIntf) getUtility("Thor.API.Operations.tcUserOperationsIntf");
Hashtable mhSearchCriteria = new Hashtable();
mhSearchCriteria.put("Users.User ID", "*");
mhSearchCriteria.put("Users.Status", "Active"); // Searching for all
tcResultSet moResultSet = moUserUtility1.findUsers(mhSearchCriteria);
Long usr_key = moResultSet.getLongValue("Users.Key");
tcResultSet rs = moUserUtility1.getObjects(usr_key);
String objName= rs.getStringValue("Objects.Name")Could you please help me getting the OIM11g API's and code for the above 10 code?? Any ref will be helpful..
thanks.Check this link
OIM 11g - retrieving all the provisioned accounts of an user -
Bdc code for transfer of asset plant wise stock transfer (urgent)
hi all,
if anyone has done BDC for this scenario ie.,
bdc for transfer of asset plant wise stock transfer
then plz share its code with me.and if someone has done any modification regarding this scenario then plz let me know that what modification he/she has carried out in this & share the code for the same.
i will be grateful to u for this and promise that i will give points to all ur effort.
Thanks & regards
SanjeevHi Sanjeev,
Do a recording for the transaction using SHDB. Once you are done with the recording save the recording into a zprogram. You have the code.
Regards
Arun -
Is there any t.code for getting list of deliveries not yet invoiced?
Hi,
Is there any t.code or report where we can get the list of outbound deliveries not yet invoiced, and also the value for how much it will be invoiced.
For example, I have one order with net price as 100, and it has outbound delivery created and not yet invoiced. I want a list of those deliveries with the net price of the quantity delivered.
Do anybody have any idea on this ?
Thanks
SuryaHi All,
In VF04 and VL06F we will get list of outbound deliveries, but I want the information in such a way that if that delivery is invoiced for how much value it will be invoiced? so, the list should contain the delivery number the value for how much the invoice will be created.
Thanks
Chandramouli -
How to optimize code for getting list of portal GP erroneous processes
Hello,
In our Web Dynpro application for Java we got the list of GP processes with status Erroneous which match the following criteria (initiator, processName, blockName, actionName, startDate, endDate, instanceName, actionProcessor) by loop of all portal users. The problem is that it takes too much time for execution. In example with 200 users it takes about 5 min. Any idea how to optimize execution?
<br>
<br>
<br>
<br>
public java.util.List getListOfUser( ) {<br>
//@@begin getListOfUser()<br>
List<IUser> usersList = null;<br>
try {<br>
ISearchResult uniqueIDs = UMFactory.getUserFactory().getUniqueIDs(); <br>
if (uniqueIDs.getState() == ISearchResult.SEARCH_RESULT_OK) <br>
{ <br>
usersList = new ArrayList<IUser>(); <br>
for (Iterator<?> it = uniqueIDs; it.hasNext();) { <br>
usersList.add(UMFactory.getUserFactory().getUser((String)it.next())); <br>
} <br>
} <br>
} catch (UMException ex) { <br>
msgMngr.reportException("Unable get list of users!"); <br>
} <br>
return usersList; <br>
//@@end <br>
} <br>
<br>
<br>
<br>
public void getErrorProcessAllUser( ) { <br>
IUser currentUser = null; <br>
try { <br>
if (wdContext.nodeUsers().currentUsersElement().getLogonId() == null){ <br>
List<IUser> userList = getListOfUser( ); <br>
<font color="red">//{this loop is extremely slow</font> <br>
for(int n = 0; n < userList.size();n++){ <br>
String logonID = userList.get(n).getUniqueName(); <br>
currentUser = UMFactory.getUserFactory().getUserByUniqueName(logonID); <br>
viewProcessDetails(currentUser); <br>
} <br>
//} <br>
}else{ <br>
currentUser = <br> UMFactory.getUserFactory().getUserByUniqueName(wdContext.nodeUsers().currentUsersElement().getLogonId());
viewProcessDetails(currentUser);<br>
}<br>
} catch (UMException e) {<br>
msgMngr.reportException("No user with this logonId!");<br>
}<br>
}<br>
<br>
<br>
public void viewProcessDetails( com.sap.security.api.IUser currentUser ) {<br>
//@@begin viewProcessDetails()<br>
List<IProcessInfoElement> bindableResult = new ArrayList<IProcessInfoElement>();<br>
try { <br>
IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager();<br>
IGPWorkItem[] workItems = rtManager.getWorkItems(GPWorkItemStatus.WORKITEM_STATUS_COMPLETED_BY_SYSTEM,<br> GPContextFactory.getContextManager().createUserContext(currentUser));<br>
for(int i = 0; i < workItems.length; i++){<br>
IGPProcessInstanceInfo processInfo = rtManager.getProcessInstanceInformation(workItems<i>.getProcessID(), currentUser);<br>
if(GPBlockInstanceStatus.getStatusForCode(processInfo.getStatus()) == GPBlockInstanceStatus.BLOCK_INSTANCE_STATUS_ERROR){ <br>
IGPProcessInstance instance = rtManager.getProcessInstance(processInfo, GPContextFactory.getContextManager().createUserContext(currentUser)); <br>
IGPActivityInstance[] blocksList = instance.getChildrenInformation(); <br>
for(int j = 0; j < blocksList.length; j++){ <br>
IGPActivityInstance[] actionsList = ((IGPBlockInstance)blocksList[j]).getChildrenInformation();
for (int k = 0; k < actionsList.length; k++){<br>
DO SOMETHINGgot the answers ..
we have use IndexedRecord instead of MappedRecord
IndexedRecord input = rf.createIndexedRecord("input");
boolean flag = input.add("/FolderpathValue");
flag = input.add("CampusCodeValue");
<b>Thanks</b>,
Saravanan -
Code for getting any telephone number on the pc
Respected Sir:
My problem is that my telephone is connected with another telephone.That telephone is connected with the PC via a modem.
I want to get such kind of code which will help me to detect any number,dialing that telephone which is connected with the PC via modem.Doesn't seem to be related to Java. :(
wrong forum?
--lichu -
T-Code for Gas Consumption.
Hello,
Is their a standard report in IS-U which gives Gas consumption - portion wise in a billing cycle.EL31 gives present meter reading but not gas consumed in a billing cycle.
KunalCurrently SAP does not have a report for the doing the same
This is the rough procedure in computing gas consumption in an
extrapolation period.
1. Determination of weights of base and extrapolation period
2. Determination of conversion factor key date -> to-dates of used meter
readings in base period
3. Calculation of energy (kWh) by using register difference and
conversion factor of base period
4. Extrapolation of consumption for extrapolation period in
consideration of the weights of the respective period
5. Determination of conversion factor key date -> end of extrapolation
period
6. Calculation of register readings by using extrapolated consumption
and conversion factor of this period -> Rounding of extrapolated
register reading
7. Now the billing schema is executed again by using the extrapolated
register readings
Apart from differences due to rounding the consumption (kWh)in the
extrapolation period depends mainly on the weights of both periods.
I hope you may find this explanation useful. -
How to change the country code for Wireless channel usage
My MacBook country code is set by Japan.
In this case, I can use only 5.15~5.25 channels from ch#36 to ch48 at 5GHz Band.
I'd like use the other channels..by other country code.
How can I change the Wireless card country code?The country code is automatically detected and set by your router. Wireless routers use the frequencies specified by the regulatory agencies in the countries in which they are sold.
There is nothing to change in your MacBook. -
BAPI for get last few month's stock of material
hi gurus,
From T-code mc.9, we can see the last few month stock of material. I want a BAPI that can help me to get a gata for last few months.
Anybody has an idea.
regards
NirdeshHI,
Refer to the link.
RFC bapi function to get stock quantity
This Might Help.
Regards
Sumit Agarwal -
ABAP Code to get Production Order Quantity for a material-Status REL,CRTD
hi all,
I am new to SAP. I am stuck with a problem while writing a abap code for getting all the production order quantities for a material with System Status REL and CRTD. Please help me out. This is what i tried to do.
IF t_mat[] IS NOT INITIAL.
t_mat2[] = t_mat[].
SORT t_mat2 BY matnr.
DELETE ADJACENT DUPLICATES FROM t_mat2 COMPARING matnr werks.
SELECT auaufnr afgamng af~plnbez INTO CORRESPONDING FIELDS OF
TABLE t_ord1 FROM afko AS af INNER JOIN aufk AS au ON
afaufnr = auaufnr
FOR ALL ENTRIES IN t_mat2
WHERE af~plnbez = t_mat2-matnr
AND au~werks = t_mat2-werks
AND af~gltrs IN s_gltrs
AND af~gstri IN s_gstri
AND au~phas0 IN s_phas0
AND au~phas1 IN s_phas1.
ENDIF.
Thanks. Regards.
SandeepHi
There is one std tcode COOIS where u can get the information what u have asked
Pls check
regards
Vijay -
Function Module for getting Number ranges between two number
Hi guys,
Is there any Function module which provide us the number range between two numbers?
For Ex:If i give 1 and 10 to FM it must give me 1
2
3
4.....upto 10.
is there any FM for doing this,but i'm not able to find exact Fm for same.
I can write small piece of code for getting number ranges, but if i get FM it could save little work.Hi
But why do u need a fm, can't you do it by yourself?
DATA: FROM_NUMBER TYPE I VALUE 1,
TO_NUMBER TYPE I VALUE 15.
DATA: NUMBER TYPE I.
DATA: BEGIN OF T_NUMBER OCCURS 0,
NR TYPE I,
END OF T_NUMBER.
NUMBER = FROM_NUMBER.
DO.
IF NUMBER <= TO_NUMBER.
T_NUMBER-NR = NUMBER.
APPEND T_NUMBER.
ELSE.
EXIT.
ENDIF.
NUMBER = NUMBER + 1.
ENDDO.
LOOP AT T_NUMBER.
WRITE: / T_NUMBER-NR.
ENDLOOP.
Max -
Transcation code for error messages
hi all,
what is the transaction code for getting the system error messages?And how can I create my own error messages?
for eg: in a program, i want to show an error message to the user when the data is not showing up properly.
thnx,Hi Sey Ni,
<i>what is the transaction code for getting the system error messages?</i>
Transaction code :- St22
For Short dumps and system errors
<i>And how can I create my own error messages?</i>
Transaction code :- Se91
To check ny Existing 1 :-
Message class - XS
Message Number - 001
To create ur Own
Create a Message Class ex:- Zmsg , click on Message tab
here u can give message in front of number assigned say 001.
check the following link:-
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm
U can call this message in ur ABAP program as under:-
if sy-subrc = 0.
MESSAGE <b>E</b>001(<b>zmsg</b>)."
endif.
E - Error message. I - Information message. S - Sucess message...
001 - Msg. Number.
Zmsg - Message Class.
Press F1 for more help on message.
Regards
Sachin Dhingra -
After almost 3 days of waiting I finally got three (not two) mails from Apple. One with the code that should open the PDF that has the Mac App Store code for getting Mountain Lion. And instead of one mail with the PDF, I got two of them. The code I got didn't work on any of those PDF's.
What should I do?same issue here, nearly 50 hours wait, 3 emails, nothing works, no softwear if i knew this was gonna be such a hassle i wouldnt have bought my macbook pro when i did and waited. really disapointed as friends have it up and running now and i dont.
finally it worked and is now downloading but taking its sweet time. -
CKMM for special stock.
Hi all,
We plan to change price determination of materials from 2 to 3, new price control = S, using CKMM.
I noticed that there is an option to choose special stock in part "Restrict Material Stock". I have searched SAP notes and found that this option is used for changing price determination for special stock only, as special stock is not been affected by CKMM.
But the strange thing is when I mass changed materials in testing system using only option "Stock material" (NOT special stock), even materials in special stock were changed. I have checked several times and I am pretty sure, that CKMM affected material in special stock as well, without choosing option "Special stock".
Could you please explain why this option of choosing special stock is needed? Maybe I missed something?
Best regards,
Linh.Hi Van,
This option (Special Stock) is related to Sales Order Stock Valuation or Project Stock Valuation.
Hope it helps.
Maybe you are looking for
-
How To Open a PDF File in a Oracle Forms
hi all I have a Open a PDF file in a PDF viewer when i Press a Button and Check if File is Exit in given Location then open Or Message . How This is Possible. Help
-
Hi, does anybody know how to get the UUID of the current user in the UI? We'd like to implement a DefaulSet that filters the selection of the OWL to show only instances that "belong" to the current user (something like "My Orders"). - Daniel
-
Date picker is not working in IE9 for sharepoint 2010 appliation pages
Hi, Date picker not working in IE9 for sharepoint 2010 appliation pages. We have enabled custom master page. Thanks in advance. Shameej
-
Hi am new in abap .am tin smart forms am trying drag and drop the fields .but it is giving the problem .is there any settings to drag and drop the fields. In smart forms. Is any other way pls give me a solution.
-
Mac OS X 10.4.7 for Intel re-released
"Apple Computer forgot to include some files with its Intel distribution of Mac OS X 10.4.7 Update and is issuing a revised updater, the company said in an email on Thursday." http://www.appleinsider.com/article.php?id=1852