2007 Jul 23 4:28 AM
I have a requirement to develop a report which contains selection-screen as
Company code ---
G/L Account o 305400
o 305500
Period --- to ---
305400 is stock-excess
305500 is stock-shortage
if user enters company code,selects first radiobutton and enters period as 11 to 12 it should display all the Reference documents with date,reference document(4900066123), material, plant, qty, value(6999.33)
please go through FS10N
my requirement is same like this tcode
but my report should display all the reference documents((4900066123)) with amounts in single screen not the total amount for G/L account(305400)
can any one tell me from which tables i have to pull the data
the tables which have relation between g/l account and reference document and period
thanks & regards
Pradeep Reddy.M
2007 Jul 23 5:18 AM
Use BSIS, BKPF and BSEG tables to extract the required data..
2007 Jul 23 4:48 AM
2007 Jul 23 5:09 AM
I checked the table SKB1 it only contains G/L Account (305400 and 305500) but no relation with reference documents
Thanks for u r reply
if u find other tables please let me know
Thank you
2007 Jul 23 5:08 AM
Hi,
U can find all d details regarding FI tables & their relations here....
http://www.sapgenie.com/abap/tables_fi.htm
You can find the details about the FI module here
http://www.sap-img.com/sap-fi.htm
Thanks,
Sankar M
2007 Jul 23 5:18 AM
Use BSIS, BKPF and BSEG tables to extract the required data..
2007 Jul 23 6:08 AM
2007 Jul 23 7:40 AM
Hi anju
now i got reference document number (4900050202)
for this i want to find out the material, movement type, quantity
from which table i can get that
can u please tell me
just like FS10N tcode
but i want everything in single output.
thanks & regards,
Pradeep Reddy.M
Message was edited by:
Pradeep Reddy Miriyala
2007 Jul 23 6:08 AM
2007 Jul 23 9:11 AM
go to table mseg.....pass that refrence document no in the mblnr field and get the matnr, bwart, erfmg (quantity) etc..
2007 Jul 23 9:26 AM
sorry, u first pass that ref no to mkpf-xblnr and get the mblnr and mjahr and then pass these value to mseg table to get the required field.
2007 Jul 24 3:03 AM
hi anju
No data in MKPF with XBLNR = 4900050202
from BSIM table using this numberi got Material, Quantity
Now I want to find movement type and storage location
can u tell me the table
Thanks anju
2007 Jul 24 4:47 AM
If u have the material and plant field u can get storage location (LGORT) from mchb /mard /mseg and movement type (BWART) from mseg.