SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can we configare standard T-code and Application Form development

Former Member
0 Kudos
239

Hi Gurus,

i have created one Application form using standard smartform, but when i exicuted this Application form comming the message on states bar as " Test print out is not possible for Application form" as per my knowledge, we should configure the Tcode and application form throug SPRO is it correct please let me know the procedure of the configuration otherwise suggest me the proper procedure.

and one more problem in my development as per my requirement i want to extract some additional data rom data base using User Exit include, i have created user exit include in Application form attribures, but how will i create before loop, during loop and after loop for perticular highrachy level.

please suggest me.

Advencely thanks for every reply.

Thanks and Regards.

Sai Ram.

4 REPLIES 4

Former Member
0 Kudos
206

Double click the node then you will have the option to create before loop , after loop or during loop.

When you will create before, after and during loops?

Before-Loop will be created :

The exit-before loop runs before the processing of the form level. The internal table that is the next to run is transferred to this exit. In this user exit you can also modify the table and the entries, for example to reorganize these or change values.

You can use the exit-before loop to

Read additional data from the database

Initialize summation variables

Sort the table entries to be processed

Transmit new page commands for SAPscript

During Loop will be created:

The exit-during loop runs while the form level is being processed - immediately after data is transported to the respective work areas. Therefore, the work areas belonging to the relevant form level, to the corresponding 1:1 levels and to all form levels higher in the hierarchy can be used in this user exit. You must therefore use this user exit to perform summations.

  • You can use the exit-during loop to:*

Perform summations

Read additional data from the database

After loop will be created on

The exit-after loop runs after the form level is processed after all the form levels lower in the hierarchy are processed. In this user exit you can transmit final instructions, for example you can prepare a total for expenditure or insert a manual page break.

You can use the exit-after loop to:

Analyze the summation

Transmit new page commands for SAPscript

Initialize totals fields.

Regards,

Siva

0 Kudos
206

Hi Shiva,

thank you very much for your quick replay, but in my development, I am using Form class "FI_CA_ACCTBALA" for Customer Account Statement in this form class hierarchy there is no B, D and A options for all nodes, than how can i maintain the Before, During and After loops for perticular hierarchy level.

please see the above form class and let me know the solution.

Thanks & Regards,

Sai Ram.

0 Kudos
206

Hi Sairam,

I have checked the form class. You can create the during after before exits in each nodes.

FI_CA_ACCTBALA_SAMPLE_SF Balanced FI-CA Account Statement Active

BALANCENEW Acct statement w/new balance

BALNEWEURO Euro: Acct statement w/new balance

BALANCEOLD Acct statement w/old balance

ACCOUNT Contract Account

RELATION Contract account - business partner relationship

BUPA Business partner for contract account

Double click on each node you will get to create user-exits for before during after loops.

Regards,

Siva

0 Kudos
206

Hi Shiva, Thank you very much for your reply, issue is solved, i have another one more doubt in my development.

when i exicute my Application form its comming the message in states bar like " Test print is not possible for Application form. wt is the problem and please suggest me.

Regards,

Sai Ram.