KSB1 Report and FI Doc Number
Hello,
Is there any way to bring up original FI Document number in KSB1 report?
When we generate the KSB1 report, the standard selections of field names does not have a selection for original FI document number. The available fields for selection has Document number. For some of the documents, these are the correct document number. But for other documents like Cash Journal and Good Receipts documents, the document numbers appearing on the report are that of subsequent documents and not the original FI document number. The requirement is to get this original FI document number on to the report. Can this be accomplished on the standard report, or does this have to be customized?
Appreciate your expert advice.
Thank you,
Munair
Hi
The FI doc will be available into some Ref field in the output list... Execute KSB1 and change the layout to plug in the desired fields...
If the FI doc no is not visible,
1. Post a FI doc....
2. Go to table COEP and do some research... The FI doc is stored in ref field or some other field in COEP or COBK header table
3. Use exit COOMEP01 (SMOD).. write the exit to fetch that field into KSB1...
4. This field will now be available into the Output screen
However, if you want it in the Selection/Input screen itself, then make a Z of KSB1 and make suitable changes
Br, Ajay M
Similar Messages
-
Print Multiple copies of report, and resetting Page number for each copy.
Dear frnds!
i am using developer 6i reports i have a problem.
i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
1 - for user copy
2- gate copy
3- accounts office
4- office copy
any body please tell me the solution "i am using oracle 9i and developer 6i"
Thanx
IbrarHi,
I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
<?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
HEADER
PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
PSN Detail: <?$G1/PickSlipNumber_ID260?>
Page 1 of 3
<?start:body?>
BODY
<?$G1/LineNumber_ID6?>
<?end body?>
FOOTER
<?end for-each?>
<?end for-each-group?>
XML:
<R5542520>
<Pick_Slips_Detail_Lines_S24>
<Header_Custom_Section_S24>
<Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
<PickSlipNumber_ID260>123456</PickSlipNumber_ID260> -
GL Line Items and PO Doc Number
Hi, I'm caught in a world unknown to me, i.e. R/3 world.
We are using 0FI_GL_4 and have a report called GL Detail.
I have been asked to enhance the reports functionality to include a PO doc Number.
I guess thats coming from MM side?
We also have 2LIS_02_ITM in BW.
My question, could I extend 0FI_GL_4 to include PO Doc Number? Or could I just have an InfoSet in BW to combine the Purhcasing Data ODS and GL ODS? I mean would it make functional and logical sense?
Any guidance would be appreciated.
Thanks,
FrankFrank,
I understand from your post that you want to have both Fi_Gl and PO combined information ? Am i right.
I have recently implemented the same recently which is working fine.
1. Enhance the Fi_Gl for Purchase doc , item and required.Since they originate from BSEG just add the fields to CI_BSIS structure.you will get the PO data.
2. Now pull the purchase order item level data using 2lis_02_itm extractor.
3.Pull FI_Gl_4 into one ODS say Fi_Gl_4
4. Pull Purchasing data into PUR_t01
5.Now enhance the communication structure of FI_Gl_4 with the purchasing order fields. i.e /BIC/CS8FI_GL_4 in the below code.
6.Create an ODS with combined fields from purchasing and FI_Gl into another ODS.
7.Create an Update rule from Fi_Gl_4 to the new ODS and in the update rule lookup the activate table of purchase order ODS and read the values into new ODS.
8.For your reference i am attaching the start routine that i have written
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
TABLES : /BIC/APUR_T0200,
/BIC/AFI_GL_400.
DATA: ...
$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS8FI_GL_4.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
to make monitor entries
DATA: BEGIN OF DATA_PACK OCCURS 0.
INCLUDE STRUCTURE /BIC/CS8FI_GL_4.
DATA: END OF DATA_PACK.
DATA:L_INDEX LIKE SY-TABIX,
S_INDEX LIKE SY-TABIX,
T_INDEX LIKE SY-TABIX,
WA_VENDOR LIKE /BIC/APUR_T0200-VENDOR.
DATA : BEGIN OF IT_PURCHASE OCCURS 0,
/BIC/ZPUR_DOC LIKE /BIC/APUR_T0200-DOC_NUM,
/BIC/ZPUR_ITM LIKE /BIC/APUR_T0200-/BIC/ZPUR_ITM,
VENDOR LIKE /BIC/APUR_T0200-VENDOR,
MATERIAL LIKE /BIC/APUR_T0200-MATERIAL,
MATL_GROUP LIKE /BIC/APUR_T0200-MATL_GROUP,
PURCH_ORG LIKE /BIC/APUR_T0200-PURCH_ORG,
PUR_GROUP LIKE /BIC/APUR_T0200-PUR_GROUP,
DOCTYPE LIKE /BIC/APUR_T0200-DOCTYPE,
DOC_CAT LIKE /BIC/APUR_T0200-DOC_CAT,
/BIC/ZKNTTP LIKE /BIC/APUR_T0200-/BIC/ZKNTTP,
END OF IT_PURCHASE.
RANGES: R_BLART FOR /BIC/CS8FI_GL_4-AC_DOC_TYP.
Fill in the Accounting Document Type
R_BLART-SIGN = 'I'.
R_BLART-OPTION = 'EQ'.
R_BLART-LOW = 'KG'.
APPEND R_BLART.
R_BLART-SIGN = 'I'.
R_BLART-OPTION = 'EQ'.
R_BLART-LOW = 'KR'.
APPEND R_BLART.
R_BLART-SIGN = 'I'.
R_BLART-OPTION = 'EQ'.
R_BLART-LOW = 'RE'.
APPEND R_BLART.
CLEAR L_INDEX.
REFRESH DATA_PACK.
DATA_PACK[] = DATA_PACKAGE[].
Consider only if acc doc type is RE KG and KR
LOOP AT DATA_PACK.
L_INDEX = SY-TABIX.
IF DATA_PACK-AC_DOC_TYP IN R_BLART.
CONTINUE.
ELSE.
DELETE DATA_PACK INDEX L_INDEX.
ENDIF.
ENDLOOP.
CLEAR S_INDEX.
Consider only if account type S
LOOP AT DATA_PACK.
S_INDEX = SY-TABIX.
IF DATA_PACK-ACCT_TYPE EQ 'S'.
CONTINUE.
ELSE.
DELETE DATA_PACK INDEX S_INDEX.
ENDIF.
ENDLOOP.
SELECT DOC_NUM /BIC/ZPUR_ITM VENDOR MATERIAL MATL_GROUP
PURCH_ORG PUR_GROUP DOCTYPE DOC_CAT
/BIC/ZKNTTP
FROM /BIC/APUR_T0200
INTO TABLE IT_PURCHASE
FOR ALL ENTRIES IN DATA_PACK
WHERE DOC_NUM = DATA_PACK-/BIC/ZPUR_DOC
AND /BIC/ZPUR_ITM = DATA_PACK-/BIC/ZPUR_ITM.
SORT IT_PURCHASE BY /BIC/ZPUR_DOC /BIC/ZPUR_ITM.
LOOP AT DATA_PACK.
T_INDEX = SY-TABIX.
IF DATA_PACK-VENDOR IS INITIAL.
SELECT SINGLE VENDOR INTO WA_VENDOR
FROM /BIC/AFI_GL_400
WHERE COMP_CODE = DATA_PACK-COMP_CODE
AND AC_DOC_NO = DATA_PACK-AC_DOC_NO
AND FISCPER = DATA_PACK-FISCPER
AND FISCVARNT = DATA_PACK-FISCVARNT
AND ACCT_TYPE EQ 'K'.
IF SY-SUBRC EQ 0.
MOVE WA_VENDOR TO DATA_PACK-VENDOR.
MODIFY DATA_PACK INDEX T_INDEX.
CLEAR WA_VENDOR.
ENDIF.
ENDIF.
IF DATA_PACK-/BIC/ZPUR_DOC IS INITIAL.
CONTINUE.
ELSE.
READ TABLE IT_PURCHASE WITH KEY /BIC/ZPUR_DOC = DATA_PACK-/BIC/ZPUR_DOC
/BIC/ZPUR_ITM = DATA_PACK-/BIC/ZPUR_ITM
BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE: IT_PURCHASE-MATERIAL TO DATA_PACK-MATERIAL,
IT_PURCHASE-MATL_GROUP TO DATA_PACK-MATL_GROUP,
IT_PURCHASE-PURCH_ORG TO DATA_PACK-PURCH_ORG,
IT_PURCHASE-PUR_GROUP TO DATA_PACK-PUR_GROUP,
IT_PURCHASE-DOCTYPE TO DATA_PACK-DOCTYPE,
IT_PURCHASE-DOC_CAT TO DATA_PACK-DOC_CAT,
IT_PURCHASE-/BIC/ZKNTTP TO DATA_PACK-/BIC/ZKNTTP.
IF DATA_PACK-VENDOR IS INITIAL.
MOVE IT_PURCHASE-VENDOR TO DATA_PACK-VENDOR.
ENDIF.
MODIFY DATA_PACK TRANSPORTING VENDOR MATERIAL MATL_GROUP
PURCH_ORG PUR_GROUP DOCTYPE
DOC_CAT /BIC/ZKNTTP.
ENDIF.
ENDIF.
ENDLOOP.
REFRESH DATA_PACKAGE.
DATA_PACKAGE[] = DATA_PACK[].
FREE : DATA_PACK , IT_PURCHASE.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
if you have any other isues do let me know.
Regards
Sundaresan
Message was edited by: sundaresan chander
Message was edited by: sundaresan chander -
Document number and reference doc number
Hi All,
When i post a invoice through F-22 i get a document number.
1: Is this doc. number also called invoice number
2: What is reference document number (XBLNR field). From where does it get its value
What's the use of this reference doc. number and how different it is from doc. number
Thanks in advance,
Prashanthhey,
1. It is the invoice no.
2. The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number.
Ex; Vendor send the invoice and it has a no. on it. You can use that no as document no and/or reference no when posting in the system. So when you do a search it is easy to pull the invoice based in this no.
Hope this helps.
Assign points if helpful -
PO number and Finance doc number connection
Hi Experts,
In our project we got a requirement like we need to show fields from fs10n, fields are, GL account number,
FI document number, PO number, Amount in local currency and PO description.
I didnt see any datasource which bring PO number, FI GL account number and Finance document number together, so please guide me in this regards.
how can i bring finance and purchase data together?? which is the appropriate data source for this?
Thanks,
urs raghu>
ursraghu.bw wrote:
> Hi Experts,
>
> In our project we got a requirement like we need to show fields from fs10n, fields are, GL account number,
> FI document number, PO number, Amount in local currency and PO description.
>
> I didnt see any datasource which bring PO number, FI GL account number and Finance document number together, so please guide me in this regards.
>
> how can i bring finance and purchase data together?? which is the appropriate data source for this?
>
> Thanks,
> urs raghu
U can do a multprovider on both Purchasing and Finance InfoCube.
In R/3, table BSEG has a field call EBELN. So I believe in BW you can use DataSource 0FI_GL_14 as it contains PO num, acct doc, etc. As long with these keys, it is easy to do a join or lookup DSO or even a multiprovider.
hope it helps. -
Transaction type and account doc number
hi,
can any one let me know,
in which screen i can find the transaction type and account document number for a given g/l account?
Edited by: Ranjini cn on Sep 11, 2009 11:11 AMhi,
you cannot have any transaction you can get this from the table only -
In SAP we are using the KSB1 cost center report to find current charges hitting our budget (1013027).
In the value COCurrency column it shows debits(-) and credits. I find this report does not always reflect the general ledger adjustments made by Payables. When Payables have done a journal adjustment and provided us with the 8000 doc number these do not show on this report. I have checked with payables and the conclusion is that this report is not in sync with the changes they have made.
The information is not consistent and therefore the KSB1report does not give us current reliable information.
I am using the KSB1 report and requesting 3/15/2008 through 6/30/2008 for our cost center 1013027. As an example, there is an entry Action Duplication in the amount of $420.00. This chargeback was done through Payables and posted on 5/20 with doc number 8000043920. This along with many other journal adjustments that I have the document 8000 numbers do not show that the journal adjustments were done. It is still showing as a debit to cost center 1013027.
Is there another report that will allow us to see ONLY the charges that are hitting our cost center?
We do not need to to see the reclassifications, only the charges that are actually hitting our cost center.
We have tried many layouts to show only the debits to our department, but have not been successful.
Regards,
Revathi.FB03 Drilldown
-
Doc.Number & Accounting Document number
Dear All.
In FBCJ, there is a column called "Doc.Number" & its technical info is "table name : ISCJ_E_POSTINGS" , "field name :D_POSTING_NUMB".
This is the number which gets printed on the cash receipt.
Now we need a report showing this doc.number as well as the accounting document number.
Please advise.
Thanks
sunil.Hi, Did not fulfil the requirement, thanks for the suggestion, please advise any other option.
-
Link Between AP Expense Reports and ap invoices tables
hi all
we create expense reports in AP then run the expense report import program to transfer them to the invoices
i know them through
the invoice number entered in the expense report and the invoice number in the invoices table
and the employee in the expense and the vendor in the invoices(through the employee table)
BUT,
some times we change the invoice number after the expense transfered to the invoice
i ask if exist relation columns between ap_expense_report_headers_all and ap_invoices_all directly?
thanks.ap_expense_report_headers_all.VOUCHNO = ap_invoices_all.INVOICE_ID
Hope this answers your question,
Sandeep Gandhi
Omkar Technologies Inc,
Independent Techno-functional consultant -
Report with Invoice and Accounting Document Number
Dear Experts,
Here i have a requirement.
I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow on doc, then I'll get.
But If wanna see for 1000 MIRO documents with accounting document number, then I don't want to click 1000 times to see the account doc for respective Invoice number.
The approximate format is,
Column 1 Column 2 Column 3 ....................... Column n
MIRO (Invoice number) Accountting Doc Number
5100000099 5100000011
Which tcode will give the both in one screen?
Thanks in advance
Regards,
navahsekHi,
Enter Sork Key 002 for Vendor Master Record.
and also you can check the Report in ECC 6.0
MIR5 - Display List of Invoice Documents
There you select Export Mode --> Display Accounting Document Number.
You can get Report FI and MM Document Numbers.
Hope It will Clear.
Regards,
Kishore -
Report to find a material by a mfr part number and old material number
Hi,
Is there any standard report to find a material by a mfr part number and old material number ?
For the moment, we are using MM03 to search articles by these selection criterion.
Thanks,
Julien GirardHi
As there is no stsndard report use the SQVI to find out the details, It is very simple , please follwo the below steps.
Use Txn SQVI, enter the Quick view field say- ZMNFR and click the create button, Enter the title in the next screen i.e Report name- Say - Manufacturer's Part No. Details, in the same screen you need to enter MARA for the data from table/database view, please leave the 1. data source as Table only and the radio button as Basis mode only. Click the tick mark , you will go to the next screen,
You will notice Quick viewer Intial screen
Open the node general material data
Select the Buttons besides the fields MARA-MATNR for material number, MARA-MFRPN for manufacturers part number, and MARA-BISMT for old material number. You can include any other field if you wish to have in your output. You will notice two check boxes against each field, one is for input screen field and the other is for outputf field. But currently you do not bother about and select both the check boxes or any other field you wish to have as input and output as well. Once selected all the fields afer clicking the check boxes save the total arrangement. and then in the same screen use the execute button or use F8 to find out your report input screen.
Now enter the Material number for which you wish to know other two details in the report and execute again you will find the report output.
Please ensure that you are maintaining both the details in material master basic data1 and purchasing view if you wish to get out output
Best regards
SAM
Edited by: samuel mendis on Apr 8, 2009 6:52 AM -
Report GL Account Line Item with vendor name and VAT registration number
Hi,
Is there any standard SAP report/inquiry for GL Account Line Item like FBL3N, with information vendor name and VAT Registration Number (field STCEG) without using ABAP.
Thanks.Hi,
We can get purchase register through T.Code: 'J1I2' by specifying condition types and tax codes.
We can't get 100% report from this T.Code.
Check it once.
Regards,
Padmaja N. -
Number range of billing doc and accounting doc to be same
Hi Gurus,
Can any one help me out to make the number ranges of billing doc and accounting doc same every time.
Even though the invoice is cancelled the same no range should come for cancellation accounting doc.
Thanks in advance
DushyantHi,
Create or change the same interval for the BILLING DOCUMENTS & ACCOUNTING DOCUMENTS in VN01 and FBN1*
For BILLING DOCUMENTS assign this Number range in the VOFA transaction code for the Billing document tyes*
For ACCOUNTING DOCUMENTS assign this Number range in the FBN1 for your company code and fiscal year*
activate the External Field [] . this is mandtry
please check and revert back.
regards,
Anup Shukla -
How to find sales document and billing document number of a accounting doc
Hi,
I have opened a accounting doc. using fb03. Now how to find the corresponding sales doc. and billing doc. no. of this accounting doc. no.Dear satyam
Go to SE16 / BKPF, give the accounting document number reference in "Document number" and execute, so that you will get the respective billing document number. Make a note of it.
Now go to again SE16 and give table VBFA and give all the billing document references in "Follow-on doc" and maintain "C" in "Prec.doc.categ." and execute.
Alternatively, you can try with table joining BKPF and VBFA in SQVI.
thanks
G. Lakshmipathi -
Supplier and Supplier Part Number in standard report BBP_BW_SC3
Hi All,
There is requirement like to add new fileds ,Supplier and Supplier Part Number in standard report BBP_BW_SC3(copy to z version).
From which table i can get these values in SRM system.
Please suggest.
Thanks & regards,
RakeshHi Walter
Thank you so much for your reply, which indeed helped us to a great extent.
The solution works fine for my original example of A & B material. However, we want to find every combination of lower level material used in each rolled up material. In above example, if material B is used in C, and C used in D and D used in final product E.
The suggested functional module explodes the header material as per itu2019s BoM, and follows Top-down approach, whereas we are looking forward to find a link which shows Bottom-Up approach i.e. where-used approach. In above example, we want to start from lowest level material A, then B, and C till final product E.
Since the output of functional module has various fields so we are trying to find a field which helps up to establish the bottom-up approach for multilevel BoM materials.
Any inputs will be highly appreciated.
Thanks,
Nirav
Maybe you are looking for
-
If any one could help me with this. i'd be enternally grateful as i'm getting nowhere on my own! I have an apple emac powerpc G4 which is running 10.3.9 software. I downloaded the 10.5 leopard software. Does anyone know how to install the 10.5 withou
-
HI. I recently upgraded to Snow Leopard. When I today, for the first time, open up ichat all my contacts are gone. Last time I used ichat was on Leopard. It then worked fine (with all my contacts there). Ideas anyone? /Anders
-
Getting older plugins to work in CS5 Intel (rosetta?)
Hi, I have just bought a macbook pro and have installed all my eye candy plugins. They do not show up in the filters list in photoshop and i'm wondering if they are too old. I've tried booting photoshop in 32bit mode, not sure if that's relevant th
-
Huge problems with Programs crashing on quit!!
Is anyone else having an issue with programs like Logic Pro 8, Firefox and other widely used programs that crash when you do a command-q to quit? Mine does this all the time. I have re-installed Snow Leopard 3 times now. I have re-installed all my pr
-
Connecting to sqlserver from beanManaged entity bean...help me..
hi all I want to connect to SQLServer7.0 from my beanManaged persistence Entity bean.Can any body tell me how to get Connection to data base using JDBC.wether I have to install any new drivers.can i use jdbcodbcbridge drivers.How should my deployment