Balance stock with given period
Dears,
How can I check the balance stock with specific date rather then only "Current; Previous; Previous year period?
regards,
wilson hong
hi,
check MB5B..stock on posting date..
Also you can check MC.9 for material..
for material at plant level in MC.1
MC.5 at storage loc level..
Hope it helps..
Regards
Priyanka.P
Similar Messages
-
Average level of stock for given period
Hi. Is there some transaction in SAP which would give me the value of average level of stock for example for last 12 months for some MATNR? I'd be thankful for help. Greetings. P.
Hi,
Below T.codes are relevant to your subject.
MC.A - Receipts/issues
MC.B - Inventory turnover
MC48 - Current stock Value
MC49 - Average stock Value
MC46 - Slow-moving items
MC44 - Inventory turnover
Plant Analyses
MC.1 - Stock
MC.2 - Receipts/issues
MC.3 - Inventory turnover
Reward if above are useful.
Thanks,
PNR -
Material stock received and issued for a given period of time
HOW to get the material stock received and issued for a given period of time including the open orders.
if there is any BAPI Available then please tell me. or give me the table relations thaks.
thanks inadvancehi friend,
Why don't you try using a TIMER. Try using this code
Timer timer = new Timer((TIMER), new ActionListener()
public void actionPerformed(ActionEvent ae)
// perform your task here...
timer.setInitialDelay(TIMER);
timer.setRepeats(true);
timer.start();
I think this will work fine.
Bye,
Ravi. -
Valuation of stock in transit for a given period
How can I find the valuation type for the stock in transit at a given period?
I have 6000 units in transit to plant 2222 and I want to find out its valuation. I believe I either need to know the plant of origin and batch or the destination plant and batch, but I do not know how to get this information.
Thank youHi,
Check MB5T transaction to find out the total stock in transit.
In order to find out the same period wise, check MB51 Report using the mov.types 641 & 101. By reconciling the same you can findout which are all pending.
Thanks & Regards, -
Pending GR / IR Balances report for a given period
Hi,
How can you check pending GR / IR doc's for a given period ? In MB5S there is no date field in selection sreen as well as output layout.
Please give suggetions .
Thanks & Regards,
Aruna.Hi,
Check ME2l, ME2M report..use Selection Parameters as "RECHNUNG" for pending IR and "WE101" or "WE103" for open GRs and ur required selection of vendor, material and document date
Regards,
Vikas -
Reports for Itemwise ageing and Stock with opening and closing
Dear All,
Is there any default reports in SAP for Item wise ageing and the stock status with
opening stock,In and Out stock and closing stock
for a given period.
Regards,
ShyamHi,
Thanks for the quick reply.....But is there any accurate query for that....Bcoz i found a query which shows the qty but nothing is coming in the value...
Regards,
shyam -
How to fetch last transactioned values for given period
Hi,
I'm working on a report, here I'm fetching data from j_2irg1bal table for some period. it has data to internal table like
e.g. : given period 01-04.2009 to 30.04.2009
date mantr opening balance closing balance
04.04.2009 1007 100 130
08.04.2009 1007 130 80
here for given date two record are available,
i need to capture last updated value i.e. for date 08.04.2009.
Kindly suggest your ideas to move with thisHi,
Assume that your values are in internal table ITAB. Then,
Sort ITAB by date DESCENDING.
Doing so, your records gets sorted in Descending Order with respect to Date. And the Last updated record comes in the first position.
And now,
Read table ITAB index 1.
The above code, fetches the last record into the Work-Area.
That's it.
Rgds,
Ramani N -
Hi guru's,
The GL a/c material stock (trail balance stock) is mismatching with the SAP std report MB5B, why ? pl its ur.
full points will be awarded.
thanks
tuljasingh.Hi,
Could be due to different reasons.
The most common is that manual entries have been posted into the GL account. Check for document types which should not be there from FBL3N.
Execute report MB5L for the period you have a problem in current or previous or previous year. The report will show you where the mismatch is between material and financial accounting..
Cheers. -
Reg : Z report for Stock on given date
Dear ABAP Guru's,
Iam in need of urgent report inorder to find Stock on given(particular) single date but not SAP standard report.That Stock Value should match the MC.9 value.Pls help meHi,
This code may help you.
*& Report ZDH_ITC_STOREP
REPORT ZDH_ITC_STOREP.
TABLES: T001L.
type-pools slis.
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: GT_HEADER TYPE SLIS_T_LISTHEADER.
DATA: GS_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: GT_EVENTS TYPE SLIS_T_EVENT.
TYPES: BEGIN OF TY_FINAL,
MATNR TYPE MCHB-MATNR,
MATDES TYPE MAKT-MAKTX,
BATNO TYPE MCHB-CHARG,
UMIL TYPE MCHB-CLABS,
UCFC TYPE MCHB-CLABS,
BMIL TYPE MCHB-CSPEM,
BCFC TYPE MCHB-CLABS,
TMIL TYPE MCHB-CLABS,
TCFC TYPE MCHB-CLABS,
END OF TY_FINAL.
TYPES: BEGIN OF TY_MCHB,
MATNR TYPE MCHB-MATNR, " Material Number
CHARG TYPE MCHB-CHARG, " Batch Number
CLABS TYPE MCHB-CLABS, " Valuated Unrestricted-Use Stock
CSPEM TYPE MCHB-CSPEM, " Blocked Stock
UCFC TYPE MCHB-CLABS,
bcfc TYPE MCHB-CLABS,
END OF TY_MCHB.
*TYPES: BEGIN OF TY_MARA,
* MATNR TYPE MARA-MATNR,
* END OF TY_MARA.
TYPES: BEGIN OF TY_MAKT,
MATNR TYPE MAKT-MATNR, " Material Number
MAKTX TYPE MAKT-MAKTX, " MATERIAL DESCRIPTION
END OF TY_MAKT.
TYPES:BEGIN OF TY_MARM,
MATNR TYPE MARM-MATNR, "MATERIAL NUMBER
UMREN TYPE MARM-UMREN, "Denominator for conversion to base units of measure
UMREZ TYPE MARM-UMREZ, "Numerator for Conversion to Base Units of Measure
END OF TY_MARM.
DATA: IT_FINAL TYPE STANDARD TABLE OF TY_FINAL,
WA_FINAL TYPE TY_FINAL.
DATA: IT_MCHB TYPE STANDARD TABLE OF TY_MCHB,
WA_MCHB TYPE TY_MCHB.
*DATA: IT_MARA TYPE STANDARD TABLE OF TY_MARA,
* WA_MARA TYPE TY_MARA.
DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
WA_MAKT TYPE TY_MAKT.
DATA: IT_MARM TYPE STANDARD TABLE OF TY_MARM,
WA_MARM TYPE TY_MARM.
data: atot, btot type MCHB-CLABS.
PARAMETERS: PA_FACT TYPE T001W-WERKS OBLIGATORY, "FACTORY
PA_DATE TYPE SY-DATUM OBLIGATORY. "DATE
SELECT-OPTIONS: SO_STLO FOR T001L-LGORT OBLIGATORY. " STORAGE LOCATION
* GETTING THE MATERIALS
SELECT MATNR CHARG CLABS CSPEM
FROM MCHB
INTO TABLE IT_MCHB
WHERE WERKS = PA_FACT
AND LGORT IN SO_STLO.
* GETTING THE BRAND DESCRIPTION FROM THE ABOVE SELECTED MATERIAL
SELECT MATNR MAKTX
FROM MAKT
INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_MCHB
WHERE MATNR = IT_MCHB-MATNR
AND SPRAS = 'EN'.
* GETTING THE BATCH CODE FOR THE ABOVE MATERIAL AND BRAND
SELECT MATNR UMREN UMREZ
FROM MARM
INTO TABLE IT_MARM
FOR ALL ENTRIES IN IT_MCHB
WHERE MATNR = IT_MCHB-MATNR.
* CALCULATING THE TOTALS OF BLOCKED AND UNRESTRICTED QTY
LOOP AT IT_MCHB INTO WA_MCHB.
READ TABLE IT_MARM INTO WA_MARM WITH KEY MATNR = WA_MCHB-MATNR.
WA_MCHB-ucfc = ( ( WA_MARM-UMREN / WA_MARM-umrez ) * wa_mchb-clabs ).
WA_MCHB-bcfc = ( ( wa_marm-umren / wa_marm-umrez ) * wa_mchb-cspem ).
* WA_MCHB-ucfc = atot.
* WA_MCHB-bcfc = btot.
modify IT_MCHB from WA_MCHB TRANSPORTING ucfc bcfc WHERE MATNR = WA_MCHB-MATNR.
READ TABLE it_makt into wa_makt with key MATNR = WA_MCHB-matnr.
WA_FINAL-matnr = WA_MCHB-MATNR.
WA_FINAL-MATDES = wa_makt-maktx.
WA_FINAL-BATNO = wa_mchb-CHARG.
WA_FINAL-UMIL = wa_MCHB-CLABS.
wa_final-UCFC = WA_MCHB-ucfc.
wa_final-bcfc = WA_MCHB-bcfc.
wa_final-bmil = WA_MCHB-CSPEM.
WA_FINAL-tmil = WA_MCHB-clabs + WA_MCHB-CSPEM.
WA_FINAL-tcfc = WA_MCHB-ucfc + WA_MCHB-bcfc.
append wa_final to IT_FINAL.
ENDLOOP.
perform buildheader USING GT_HEADER[].
PERFORM FIELDCATINIT USING GT_FIELDCAT[].
perform alvdisplay.
PERFORM build_layout USING GS_LAYOUT.
*& Form buildheader
* text
* --> p1 text
* <-- p2 text
FORM buildheader USING RT_HEADER TYPE SLIS_T_LISTHEADER..
DATA: TP TYPE SLIS_LISTHEADER.
DATA: TEXT(20) TYPE C,
DT TYPE SY-DATUM.
TP-TYP = 'H'.
TP-INFO = 'STOCK REPORT '.
APPEND TP TO RT_HEADER.
CLEAR TP.
WRITE SY-DATUM TO DT DD/MM/YYYY.
CONCATENATE 'DATE :' DT INTO TEXT.
TP-TYP = 'S'.
TP-INFO = TEXT.
APPEND TP TO RT_HEADER.
CLEAR TP.
ENDFORM. " buildheader
*& Form alvdisplay
* text
* --> p1 text
* <-- p2 text
FORM alvdisplay .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = 'ZDH_ITC_STOREP'
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_FINAL
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " alvdisplay
*& Form FIELDCATINIT
* text
* --> p1 text
* <-- p2 text
FORM FIELDCATINIT USING FINIT TYPE SLIS_T_FIELDCAT_ALV.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
LS_FIELDCAT-KEY = 'X'.
LS_FIELDCAT-JUST = 'L'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MATDES'.
LS_FIELDCAT-SELTEXT_L = 'BRAND'.
LS_FIELDCAT-KEY = 'X'.
LS_FIELDCAT-JUST = 'L'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BATNO'.
LS_FIELDCAT-SELTEXT_L = 'BATCH NO'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'UMIL'.
LS_FIELDCAT-SELTEXT_L = 'RESTRICTED'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'UCFC'.
LS_FIELDCAT-SELTEXT_L = 'UCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BMIL'.
LS_FIELDCAT-SELTEXT_L = 'BLOCKED'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BCFC'.
LS_FIELDCAT-SELTEXT_L = 'BCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'TMIL'.
LS_FIELDCAT-SELTEXT_L = 'TOTAL MIL'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'TCFC'.
LS_FIELDCAT-SELTEXT_L = 'TCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
ENDFORM. " FIELDCATINIT
*& Form BUILDLAYOUT
* text
* -->P_GS_LAYOUT[] text
FORM BUILD_LAYOUT USING RS_LAYOUT TYPE SLIS_LAYOUT_ALV.
RS_LAYOUT-NO_INPUT = 'X'.
RS_LAYOUT-ZEBRA = 'X'.
RS_LAYOUT-COLWIDTH_OPTIMIZE = ' '.
RS_LAYOUT-NO_COLHEAD = ' '.
RS_LAYOUT-NO_VLINE = ' '.
RS_LAYOUT-INFO_FIELDNAME = 'WS_COLOR'.
ENDFORM.
" BUILDLAYOUT
HTH
Regards,
Dhruv Shah -
Closing stock with storage location
i am using MB52 transaction to findout closing inventory in each storage location for given list of stores. It's not comming in proper format.
some plz let me know is there any other transaction by which i can get abaove report as per following format
ARTICLE CODE-STORAGE LOCATION-SITE CODE-VALUEHi Charan
u can use the T code MC.9
It will give teh clsing stock for a period
You can drill down to storage location level here
Thx
Vikrant -
Line invoiced during a given period
Hello Experts,
Is there a different way than queries to know how many lines has been invoiced during a given period ? I tried with th drag and relate tool but icant select a period.
Thanks for your help
Sébastien TABOREHi,
There is no report as such to check for all the Lines Invoiced during a specific period.
You can get best details which are required using the tables and preparing a query.
Kind Regards,
Jitin
SAP Business One Forum Team -
BAPI to extract from MBEW/MBEWH for a given period
Hi ABAPpers,
We have two tables MBEW and MBEWH for Material Valuation. Based on the changes in few fields like VERPR, the record in MBEW will be transferred to MBEWH. Is there any BAPI that helps me to extract the data for a given period of a given fiscal year without asking me to probe from which table we need to fetch data from and which record in MBEWH is valid for that period of that year. Please suggest possible ways to do it.
Thanks.
Edited by: VKUPPILI on Dec 19, 2011 2:53 PMHi
Although it's not your question, see SAP Note 193554 - Stock/valuation data of previous periods, I think that it helps you to understand how to understand how to work the history tables.
I hope this helps you
Regards
Eduardo -
Query similar to FBL5n but for a given period instead of a day
R/3 transaction FBL5n displays open items for a customer on a given day .
I have the bc infocube 0FIAR_O03, I m trying to figure out how to display the equivalent of FBL5n but for everyday of the period..Hi Sam,
What I want is for every day in a given period to display open items for a given customer..
I m trying to play around with clearing date and posting date but Im having a hard time... -
Report to find out Manager change in given period of time.
Hi All,
There is a standard report to find out info type changes. But it is not capturing the HRP1001 info type.
Is there any report or function module which will Identify the manager change for a given period of time?
Regards,
RaviHere is what you need to do
The customizing for the change log you have to do following setting in SM30->T77CDOC_CUST.
T77CDOC_CUST:
PlanVersion: 01
ObjectType: S ( position )
Infotype: 1001
Subtype = 'A002' ( reports to)
Activate = 'X'
After that you can analyse the change log with sa38->RHCDOC_DISPLAY
This will work if you have a reporting structure. i.e. one position reports to another position via A 0002 relationship.
cheers
Ajay -
GL Trial Balance Report with Effective Dates as Parameters
We have a requirement to show the GL Trial Balance report with Effective dates as Parameters.
Current Analysis:
The Journals get updated with corresponding CCID in GL_BALANCES table when the Journal is posted. GL_BALANCE is SOB specific, if the SOB has month as period then the balances in GL_BALANCES would get updated against the month(period).
To overcome the period problem, we explored the option of using a View based on GL_JE_HEADERS and GL_JE_LINES for 'Posted' Journal Batches of a SOB. We are checking whether the GL_JE_HEADERS.default_effective_date lies between the :p_from_date and :p_to_date which is sent to the Report as a parameter. The above idea does not return expected data when the custom Trial Balance Report is run.
Following is the Query being used:
SELECT cc.segment4 ACCOUNT, bal.code_combination_id,
bal.begin_balance_dr
+ SUM (NVL (gljel.accounted_dr, 0)) opening_bal_dr,
bal.begin_balance_cr
+ SUM (NVL (gljel.accounted_cr, 0)) opening_bal_cr,
ffv.description,
(SELECT SUM (NVL (gljel.accounted_dr, 0))
FROM gl_je_headers gljeh,
gl_je_lines gljel,
gl_code_combinations gcc
WHERE gljeh.default_effective_date BETWEEN :p_from_date
AND :p_to_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.code_combination_id = gcc.code_combination_id
AND gljel.period_name = gljeh.period_name
AND gljel.set_of_books_id = :p_set_of_books_id
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND gljeh.actual_flag = 'A'
--AND gljel.code_combination_id =
-- bal.code_combination_id
AND gcc.segment4 = cc.segment4
GROUP BY gcc.segment4) c_dr,
(SELECT SUM (NVL (gljel.accounted_cr, 0))
FROM gl_je_headers gljeh,
gl_je_lines gljel,
gl_code_combinations gcc
WHERE gljeh.default_effective_date BETWEEN :p_from_date
AND :p_to_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.period_name = gljeh.period_name
AND gljel.code_combination_id = gcc.code_combination_id
AND gljel.set_of_books_id = :p_set_of_books_id
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND gljeh.actual_flag = 'A'
AND gcc.segment4 = cc.segment4
GROUP BY gcc.segment4) c_cr
FROM gl_period_statuses per,
gl_code_combinations cc,
gl_balances bal,
gl_je_headers gljeh,
gl_je_lines gljel,
fnd_flex_values_vl ffv,
fnd_flex_value_sets ffvs
WHERE cc.chart_of_accounts_id = :p_chart_of_accts_id
AND bal.currency_code = :p_currency
AND bal.actual_flag = 'A'
AND bal.period_name = per.period_name
AND cc.template_id IS NULL
AND cc.code_combination_id = bal.code_combination_id
AND per.set_of_books_id = :p_set_of_books_id
AND per.application_id = 101
AND :p_from_date BETWEEN per.start_date AND per.end_date
AND gljeh.period_name = per.period_name
AND gljeh.default_effective_date <= :p_from_date
AND gljeh.je_header_id = gljel.je_header_id
AND gljel.period_name = gljeh.period_name
AND gljel.set_of_books_id = :p_set_of_books_id
AND ffv.flex_value_set_id = ffvs.flex_value_set_id
AND ffvs.flex_value_set_name = 'JSWEL_ACCOUNT'
AND gljeh.status = 'P'
AND gljel.status = 'P'
AND cc.summary_flag = ffv.summary_flag
AND cc.segment4 = ffv.flex_value
AND gljeh.actual_flag = 'A'
AND gljel.code_combination_id = bal.code_combination_id
GROUP BY bal.begin_balance_dr,
bal.begin_balance_cr,
cc.segment4,
ffv.description,
bal.code_combination_id
Kindly suggest if I am missing anything. I am sure that the great guns here can help me out.
Thanks
Sumitsuggest to create customize TB report.
Maybe you are looking for
-
Hi Is there anyone who has got experience in creating an own xslt helper? I created an own xslt helper (just took the standard XsltHelperRuntimeLight and uploaded it under an own package). I did the mapping in config. (System admin - System Config -
-
How do I get my podcast's html from iWeb?
I have a podcast here: http://web.me.com/krushjudgement/Site/Giant-SizePodcast/Giant-SizePodcast.html I'd like to allow people to stream it directly from my blog even if they don't have iTunes. I was thinking of using Google's media player. But how d
-
my daughter has forgotten her passcode on her ipod4. is there ayway i can reset it withoutr losing everything on it? she has alot of pictures/videos on it that she does'nt want to lose!
-
I am facing a new problem with xml schema, plz help me
Hi @, I am facing a problem with xml schema validation. Below is my code. public void initialize(String cfgFileName) { try { try { DOMParserWrapper parser = (DOMParserWrapper)Class.forName("dom.wrappers.DOMParser").newInstance(); parser.setFeature( "
-
I film quite a lot of gymnastics where it can be useful to do slow motion and freeze-frame. Trouble is that with 50i, one tends to get a fair amount of blur (essentially a freeze-frame is 2 fields merged). I was thinking that this new Sanyo HD2000 wi