Open Date-wise G/L selection
What is the table for selection of G/L Account line item for open items date-wise, I took BSIS table but when i select data for particular date(BUDAT) in my report the amount is mismatch to T_code(fbl3n).
If i want to select the back date data then defiantly that data was cleared as today date and will not found in BSIS table, so please can you help me how to get data for date-wise.
Coz my client want if he select the particular date then what ever unclear (open) item data as on selected date is display.
Thank's & Regard's
Atul Singh
Double-post
Hello,
Please check the following logic.
e.g.
Posting date : 01.08.2010
Clearing Date : > or = to 01.08.2010.
Put the above logic in the program, so that it'll fetch the open records which are on back date.
Rgds
Murali. N
Similar Messages
-
MB5B Report table for Open and Closing stock on date wise
Hi Frds,
I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
Thanks
Mohan MHi,
Please check the below links...
Query for Opening And Closing Stock
Inventory Opening and Closing Stock
open stock and closing stock
Kuber -
Hi all Experts,
I am at client site and hav to provide a report containing opening, and closing stock (and issue qty if possible) storage location wise and date option wise.pls help
regards
vikas chhabraHi,
Use MB51 for date wise report
OR
Use MCL1, MCL5, MCL9, MCLD (If Warehouse Management you are using)
OR
You have to develop an own ABAP report.
Regards,
Biju K -
Hi SD Gurus,
To prepare a Customized report on Stock statement, I need the opening stock of each material on date wise. In MB5B, I am getting the opening stock. I have to give input to my ABAPer where to pick this value. Pl give your valuable inputs.
-K.Bharathi-hi
opening stock MARD-LABST
total receipts MSEG-MENGE
REGARDS -
Z report for opening qty of material date wise
I have to develop a zreport which will calculate date wise opening stock of material and closing stock of that material at particular
location ( not to use standard reports)
I have to display sale qty and stock transfer qty date wise.
Similarly receipt qty date wise.
For sale qty, stock transfer qty and receipt calculation are date wise ok. But problem is to get date wise opening and closing stock of particular material.
is it possible to get location wise material wise date wise opening stock list in z report.
ThanksHi Ravikumar,
Hope you are an ABAPer. If not also, you can achieve this through an ABAPer. As mentioned by others, you need to check whether your requirement is met by the standard transaction MB5B. You need to check whether this transaction gives you the exact opening and closing balance for a material. If this gives what you want, then you need to make some small enhancement in the MB5B report program so that you will be getting the result of the opening and closing stock. In this enhancement you will use EXPORT to export the result to your program where you can IMPORT it. This procedure is explained in detail in a document created in SCN dated 30th November, 2012 by Sijin Siji. Have a look in that.
That document is descriptive and it will be helping you in solving this issue. If you have any doubts, please revert back.
Regards,
Abijith -
MB5B Report for Date Wise Stock and Value
Hi,
I am Taking MB5B Report for Date Wise Stock and Value.
But I have one doubt all stocks is coming or not in these report like Unrestrected Stock,Return Stock.Blocked stock,Transist stock,Restrected Stock,qty Inspection Stock.
I have another Doubt in these report three Stock type indicaters are there like these.
1.Storage Location / Batch Stock
2.valuated Stock
3.Special Stock.
But i have one doubt what is defferent these
1.Storage Location / Batch Stock
2.valuated StockHi Prasad,
Yes MB5B report consider the Unrestricted, Quality, Blocked, Transit stock and restricted stock. Not sure about Return Stock.
If you select the Storage location/Batch stock radio button then the system will display all the possible stock from the storage location and the corresponding batch also.
If you select Valuated stock radio button then system will show only the valuated stock not the Non-valuated stock. Because Non-valuated material type is available in SAP system will not show those stock suppose if you select the Valuated stock radio button.
Regards
Karthick -
Dear All
I am devlop new Stock Report Date wise
my output follows
Material Plant Storagelocaton Saleorder OPenning stock Closing Stock Total
Which Table stored that details?
how will calculated?
Thanks and Regards
Sureshhey
i think the following tables
will be helpful for the report:-
1>MARA
2>MBEWH
3>MSEG
4>VBRP
hope this will help
good luck
harry. -
Hi All,
Also I have tried by removing access for that user and opened the Dta Form but still it throwing me the same error:
You are trying to open the data form, but cannot because all of the required dimensions are not present. Possible causes may be that you do not have access to at least one member of a required dimension, or the member selection resulted in no members present. Contact your administrator
Kindly guide me.
Thanks and Regards
ChiDamduplicate post - Error while opening Data form
Cheers
John
http://john-goodwin.blogspot.com/ -
Download using open data set and close data set
can any body please send some sample pgm using open data set and close data set .the data should get downloaded in application server
very simple pgm neededHi Arun,
See the Sample code for BDC using OPEN DATASET.
report ZSDBDCP_PRICING no standard page heading
line-size 255.
include zbdcrecx1.
*--Internal Table To hold condition records data from flat file.
Data: begin of it_pricing occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
f4(18),
f5(16),
end of it_pricing.
*--Internal Table To hold condition records header .
data : begin of it_header occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
end of it_header.
*--Internal Table To hold condition records details .
data : begin of it_details occurs 0,
key(4),
f4(18),
f5(16),
end of it_details.
data : v_sno(2),
v_rows type i,
v_fname(40).
start-of-selection.
refresh : it_pricing,it_header,it_details.
clear : it_pricing,it_header,it_details.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
FILETYPE = 'DAT'
TABLES
DATA_TAB = it_pricing
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
if sy-subrc ne 0.
write : / 'File could not be uploaded.. Check file name.'.
stop.
endif.
CLEAR : it_pricing[], it_pricing.
DO.
READ DATASET P_FNAME INTO V_STR.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
write v_str.
translate v_str using '#/'.
SPLIT V_STR AT ',' INTO it_pricing-key
it_pricing-F1 it_pricing-F2 it_pricing-F3
it_pricing-F4 it_pricing-F5 .
APPEND it_pricing.
CLEAR it_pricing.
ENDDO.
IF it_pricing[] IS INITIAL.
WRITE : / 'No data found to upload'.
STOP.
ENDIF.
loop at it_pricing.
At new key.
read table it_pricing index sy-tabix.
move-corresponding it_pricing to it_header.
append it_header.
clear it_header.
endat.
move-corresponding it_pricing to it_details.
append it_details.
clear it_details.
endloop.
perform open_group.
v_rows = sy-srows - 8.
loop at it_header.
perform bdc_dynpro using 'SAPMV13A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-KSCHL'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RV13A-KSCHL'
it_header-f1.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KOMG-VKORG'
it_header-f2.
perform bdc_field using 'KOMG-VTWEG'
it_header-f3.
**Table Control
v_sno = 0.
loop at it_details where key eq it_header-key.
v_sno = v_sno + 1.
clear v_fname.
CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f4.
clear v_fname.
CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f5.
if v_sno eq v_rows.
v_sno = 0.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
endif.
endloop.
*--Save
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VK11'.
endloop.
perform close_group.
Hope this resolves your query.
Reward all the helpful answers.
Regards -
What is open data set and close data set
what is open data set and close data set,
how to use the files in sap directories ?hi,
Open Dataset is used to read or write on to application server ... other than that i am not sure that there exists any way to do the same ... here is a short description for that
FILE HANDLING IN SAP
Introduction
Files on application server are sequential files.
Files on presentation server / workstation are local files.
A sequential file is also called a dataset.
Handling of Sequential file
Three steps are involved in sequential file handling
OPEN
PROCESS
CLOSE
Here processing of file can be READING a file or WRITING on to a file.
OPEN FILE
Before data can be processed, a file needs to be opened.
After processing file is closed.
Syntax:
OPEN DATASET <file name> FOR {OUTPUT/INPUT/APPENDING}
IN {TEXT/BINARY} MODE
This statement returns SY_SUBRC as 0 for successful opening of file or 8, if unsuccessful.
OUTPUT: Opens the file for writing. If the dataset already exists, this will place the cursor at the start of the dataset, the old contents get deleted at the end of the program or when the CLOSE DATASET is encountered.
INPUT: Opens a file for READ and places the cursor at the beginning of the file.
FOR APPENDING: Opens the file for writing and places the cursor at the end of file. If the file does not exist, it is generated.
BINARY MODE: The READ or TRANSFER will be character wise. Each time n characters are READ or transferred. The next READ or TRANSFER will start from the next character position and not on the next line.
IN TEXT MODE: The READ or TRANSFER will start at the beginning of a new line each time. If for READ, the destination is shorter than the source, it gets truncated. If destination is longer, then it is padded with spaces.
Defaults: If nothing is mentioned, then defaults are FOR INPUT and in BINARY MODE.
PROCESS FILE:
Processing a file involves READing the file or Writing on to file TRANSFER.
TRANSFER Statement
Syntax:
TRANSFER <field> TO <file name>.
<Field> can also be a field string / work area / DDIC structure.
Each transfer statement writes a statement to the dataset. In binary mode, it writes the length of the field to the dataset. In text mode, it writes one line to the dataset.
If the file is not already open, TRANSFER tries to OPEN file FOR OUTPUT (IN BINARY MODE) or using the last OPEN DATASET statement for this file.
IF FILE HANDLING, TRANSFER IS THE ONLY STATEMENT WHICH DOES NOT RETURN SY-SUBRC
READ Statement
Syntax:
READ DATASET <file name> INTO <field>.
<Field> can also be a field string / work area / DDIC structure.
Each READ will get one record from the dataset. In binary mode it reads the length of the field and in text mode it reads each line.
CLOSE FILE:
The program will close all sequential files, which are open at the end of the program. However, it is a good programming practice to explicitly close all the datasets that were opened.
Syntax:
CLOSE DATASET <file name>.
SY-SUBRC will be set to 0 or 8 depending on whether the CLOSE is successful or not.
DELETE FILE:
A dataset can be deleted.
Syntax:
DELETE DATASET <file name>.
SY-SUBRC will be set to 0 or 8 depending on whether the DELETE is successful or not.
Pseudo logic for processing the sequential files:
For reading:
Open dataset for input in a particular mode.
Start DO loop.
Read dataset into a field.
If READ is not successful.
Exit the loop.
Endif.
Do relevant processing for that record.
End the do loop.
Close the dataset.
For writing:
Open dataset for output / Appending in a particular mode.
Populate the field that is to be transferred.
TRANSFER the filed to a dataset.
Close the dataset.
Regards
Anver
if hlped pls mark points -
How to use open data set in SAP
Hi SAP Gurus,
Could anyone help, how to use open data set in SAP.
I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
Thanks & Regards,
Krishnau2026Hi Krishna.
These are the steps you need to follow.
tables: specify the table.
data: begin of fs_...
end of fs_ " Structure Field string.
data: t_table like
standard table
of fs_...
data:
w_file TYPE string.
data:
fname(10) VALUE '.\xyz.TXT'.
select-options: if any.
PARAMETERS:
p_file LIKE rlgrap-filename.
w_file = p_file.
select .... statement
OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
LOOP AT t_... INTO fs_....
write:/ .....
TRANSFER fs_... TO fname.
or
TRANSFER t_... TO fname
ENDLOOP.
CLOSE DATASET fname.
Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
Regards Harsh. -
Open data slice for data entry and close afterwards
Dear all,
I have created one data slice for a characteristic combination country xy in order to prevent the data entry within the data entry query for the user. But for some reason I have to run a planning function in order to summarize some values and write a total value in the characteristic e.g. country xy.
The planning function brings out an error message because this can not be executed due to the fact that this combination is protected.
Is there a way to open the data slice before the planning function is writing the data in the cube? I have tried to to this in the Data slice exit, but I do not have an idea how to open the DS, save the data and close the DS again.
We are running NW BI 7.0. Any ideas would be great.
Best regards,
Stefan from Munich/GermanyI did something like this by creating an FM and calling that FM from a FOX function. I think you will have to use three commands to execute three functions one after the other (and not combine them in one planning sequence) - first one will switch off the data slice, next will be your planning function containing the logic, and the last will switch it back on.
The FM would be something like below:
FUNCTION Z_SWITCH_DSLICE.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(I_INFOPROV) TYPE RSINFOPROV
*" REFERENCE(I_DSNR) TYPE RSPLS_DSNR
*" REFERENCE(I_STATUS) TYPE I
*** This function imports the name of a real-time Infoprovider and a Data Slice number
*** and a parameter I_STATUS. If I_STATUS is 1, data slice is activated
*** If I_STATUS is -1, data slice is de-activated
data wa_ds type rspls_ds.
select single * from rspls_ds
into wa_ds
where infoprov = I_INFOPROV
AND objvers = 'A'
AND dsnr = I_DSNR.
if I_status = 1.
wa_ds-used = 'X'.
elseif I_status = -1.
wa_ds-used = ''.
endif.
update rspls_ds from wa_ds.
ENDFUNCTION.
The Fox code will be like below -
CALL FUNCTION Z_SWITCH_DSLICE
EXPORTING
I_INFOPROV = <infoprov name>
I_DSNR = <Data Slice Number>
I_STATUS = <0 or 1>. -
Date wise and ware house wise stock
Hi all,
I want to see the date wise stock and warehouse wise stock for all items. How to do that? I dnnt think there is a system generated report for that.
Ex- form date---- to date----- i want to see what was my instock warehouse wise.
The "Inventory in Warehouse Reports" gives the current inventory only.
I have written a query to find the date wise inventory datewise, but i cannot segment it warehousewise. Please help me. How can it be done?
Regards
RajHi All,
Thanks for your response. Actualy I have explored these areas. But these parameters are alternate to each other. I mean we can generate Warehousewise or Item wise or BPwise........
But I want to have a warehousewise and sumed or grouped itemwise with date selection paramenters.
Moreover i find that when i generate the warehouse wise report (in the other Tab> by- warehose then the report generated is blank!!
Please suggest a alternative.
Regards,
Raj. -
Date Wise stock report (0IC_C03)
How can we see the date wise stock quantity and value in Query using cube 0IC_C03.
Example:Suppose i want to see what was my stock quantity and stock value on 25th Jan08.Hi,
Restrict the Key figure value and quantity with the date.
OR
Go to the key figure in RSA1-> Info objects -> Double click on ur key figure-> Go to the aggregation tab Specify exception aggregation as last value and reference char as 0calday.
This will give u the stock on the last day.
If u want to do it in bex
Create a Calculated Key figure put ur key figure in. And right click select the properties select exception aggregation last value and reference char as 0calday.
Khaja -
Seeing Stock in transit details by using MB5T by date wise
Hi all
Are we able to see stock in transit (T.Code: MB5T) report by date wise.
Reagards
SriniHi,
You will not get stock in transit details as per date in MB5T.
Use Report MB5B and here in selection screen, input the "Selection Date" and "Non-Hierarchical Display" option and execute the report.
And in output, view the column of "Stock in Transit"
Maybe you are looking for
-
Word 2007 won't save files with Acrobat Pro 9.0 Installed
Last night an issue started occurring while trying to save a document in MS Word 2007 (part of an Office Ultimate install). After about 10 hours of trying several suggestions from a variety of forums and MS suggestions I found that the only time I c
-
Can't do anything with Windows 7 Account
Hello, I have an old test account called Administrator, it is an administrator account and I can't seem to do anything with it, when I go to Control Panel and Manage Users there is no Delete Account button. I tried going to Start and typed netplwiz a
-
I have just setup my wife's new iPad 3. Photo Stream is turned on in Settings but there are no photos in the Photos app, however on her iPhone 4s her photos appear in the Photo app. When going to the Photo app it says, "There are no photos or video
-
Why is my podcast not updating correctly?
My podcast, the jaguar tapes: https://itunes.apple.com/nl/podcast/the-jaguar-tapes/id557617194?l=en&mt=2 It's not updating anymore! The new artwork isn't showing up. Also the new episode isn't in there on the correct date. Can someone please help me
-
Cs6 audio when editing, touch or write
Hey guys, i am getting used to cs6 after being on premeiere elements 10 for a while., but i cannot get used to the audio when editing,.On prem 10 there was the mixer and when you went along the timeline and used the sliders for the changes it rendere