cancel
Showing results for 
Search instead for 
Did you mean: 

Converting the output of FS10N into smartforms

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

thanks!

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 ?

Former Member
0 Kudos

->>>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.

Former Member
0 Kudos

Sorry... I meant the BAPI which u suggested.

Can I use mutliple selections for G/L account?

Edited by: manjusha srinivasan on May 21, 2009 9:11 AM

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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