on 05-20-2009 5:58 AM
Hi Experts,
I have a requirement to convert the output of the tcode FS10N into a smartform and append it with a cover sheet.
Kindly guide me
Regards,
Manjusha S
Edited by: manjusha srinivasan on May 20, 2009 7:00 AM
Hi,
1.For your requirement use the BAPI BAPI_GL_GETGLACCPERIODBALANCES
The BAPI is nothing but the almost replica of FS10n values.
2. Populate the all the required information in one iternal table & pass the same to SMARTFORM.
3. In the Interface & GLOBAL DEF part of smartforms declare the necessary information.
4. While creating the pages in the first page create the cover sheet.
5. In the second page design the required layout in the table format and display the data.
This will solve your problem, let me know if still any thing else required.
Regards,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
->>>but what if i want to give more than one input for the fields in BADI?
->>>I mean can i use select options for this BADI in my report ?
I am confused, its BADI/BAPI.
You mean you need to provide multiple Accounts in the selection.
Let me know what actually you are looking more from the above stmt.
Yes Multiple selctions Possible.
For this: Based on the input populate the accounts to a Internal Table.
After that use the below steps
Loop at <ITAB>
USE BAPI_GL_GETGLACCPERIODBALANCES
Process table account_balances infor to other iternal table in required fromat.
Endloop.
NOTE: During calculation of Begining Balance part for period 1 balance_carried_forward
is the key. just include this condition also.
IF Period EQ 1.
Beg_balance = Beg_balance + balance_carried_forward value.
ENDIF.
BR,
Rajani
If the output is a list then you need to write a report gather the required data nedded for display then need to display the same by putting the data to LOOP.
Keep cover letter as your first page of you SMARTFORM at end of it just call your next page using COMMAND(Create-> flowlogic->command). In your second page you need to display the data collected by your report.
I don't have access to FS10N so I just can't check its output. Incase you need further help please descibe the output of the tcode.
Hope the discussion was helpful to you.
Cheers,
Suvendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RFGLBALANCE is the program behind FS10N transaction.
In the code, "LDB_PROCESS" and "FDBL_BALANCES_DISPLAY" function modules are used.
So how do i transfer the values of the output to my smartform?
or is it possible to enhance the FS10N transaction to transfer the content to smartform? If so how can it be done?
Kindly help.
Regards,
Manjusha S
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.