2013 Sep 11 6:55 AM
Hi Experts,
The client wants the customer and vendor ledger reports. The FBL1N and FBL5N shows the correct balance. But the problem is that it does not show the DR and CR balance separately. Is it possible in standard itself to divide the 'Amount in local currency' in two different balances as debit and credit.
I would request the experts to guide me as how can I show the total debit and credit balance of a particular customer/vendor in a particular date? Or should I have to create a customized one from the scratch?
Regards
Mani
Hi Experts,
The client wants the customer and vendor ledger reports. The FBL1N and FBL5N shows the correct balance. But the problem is that it does not show the DR and CR balance separately. Is it possible in standard itself to divide the 'Amount in local currency' in two different balances as debit and credit.
I would request the experts to guide me as how can I show the total debit and credit balance of a particular customer/vendor in a particular date? Or should I have to create a customized one from the scratch?
Regards
Mani
2013 Sep 11 7:37 AM
Hi Mani,
As i know it is not possible to get this in standard report. You need to go for a custom one.
Regards,
Madhu.
2013 Sep 11 7:46 AM
2013 Sep 11 7:46 AM
2013 Sep 11 7:47 AM
2013 Sep 11 8:04 AM
2013 Sep 11 8:19 AM
Hi Yakub,
Thanks for the reply. Let me copy it to a zreport and divide that field into dr and cr. I will get back to you.
Regards
Mani
2013 Sep 11 8:09 AM
I am not sure if the below solution can be applied, u can give a try.
Create two custom fields (debit and credit) using BTE's available for the standard transactions. U can write your logic for filling these fields in the BTE function modules.
2013 Sep 11 8:20 AM
Hi Maju,
I don't what are are BTE's but still I'll do some study and try to make changes in the standard one. Still waiting for more alternates?
Regards
Mani
2013 Sep 11 3:55 PM
2013 Sep 11 8:22 AM
Hi,
Your Tables of Interest:
lfa1, lfb1, bsik, bsid, kna1. May be get the logic and just write up a report.
Cheers,
Arindam
2013 Sep 11 9:48 AM
Yes you can, just define DB and CR columns/fields in an append of RFPOS / RFPOSX structures, execute report RFPOSXEXT to regenerate the FBL*N displayed structure.
Then either use BTE 00001650 or BAdI FI_ITEMS_CH_DATA (the BAdI is usually better for performance, but here as no database access are required, that don't matter much)
In the implementation just move amount field(s) to correct DB/CR field(s) using SHKZG.
Also execute BALVBUFDEL before testing.
For SAP reference on how to add information to FI item reports, read Note 984305 - Line item: Definition of special fields (T021S) and Note 1323512 - Line items: BADI FI_ITEMS_CH_DATA.
Regards,
Raymond
2013 Sep 11 11:49 AM
Hi Mani,
Add your custom fields in RFPOS structure and RFPOSX structure and do the code changes in BAdI FI_ITEMS_CH_DATA to pass the data.
Please find the step by step document which I have posted in the below link for adding fields in FBL*N transaction .
http://scn.sap.com/docs/DOC-44226
Regards,
Priya Chinnasamy
2013 Sep 12 8:28 AM
Hi Priya,
FI_ITEMS_CH_DATA, there is no BADI by this name. What BADI should I use?
Regards
Mani
2013 Sep 12 1:13 PM
What is your SAP version, for oldest version the BAdI was not yet delivered, so use the good old BTE. (check minimal version required in the link to Note 1323512 - Line items: BADI FI_ITEMS_CH_DATA I already provided -> ECC 5 (2004) or ECC 6)
But the BTE works only on a call per record, and special fields are not available, structure RFPOS and not RFPOSXEXT.
Regards,
Raymond
2013 Sep 11 1:00 PM
Thank you for the overwhelming responses. I will see to it and get back to you soon with further issues
Thanks again
Mani
2013 Sep 12 7:07 AM
Hi,
I am working on it. I have appended the structures and implementing BADI on it. Meanwhile the client wants to see all the records except for the ones with the tcode FBA8. How to remove the records with the tcode FBA8. I mean where to do the code? Please check the following screenshot:
Regards
Mani
2013 Sep 12 10:02 AM
Hi Mani,
In Badi FI_ITEMS_CH_DATA, for that particular document ( ct_items-belnr) check in BKPF table for that document - BKPF- TCODE is FBA8. if yes then delete that record in table CT_ITEMS.
Regards,
Priya
2013 Sep 12 11:31 AM
Hi,
Thank you for the reply. It says there no such BADI exists.
Regards
Mani
2013 Sep 12 12:58 PM
2013 Sep 12 12:47 PM
Hi,
Doesn't FK10N and FD10N serve the purpose? Initial report shows period wise. Double clicking on balance of a period shows respective line items(Credit/Debit/Credit+debit(Cumulative)). Then you can use filter to filter out the required data.
Thanks,
Vinod.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |