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: 

PWB Config in NACE

Anjhi
Contributor
0 Kudos
165

Hi All,

If we create a Application Fom it gets data from Form Class. So the form is data binded using From Class. However we use the EFG_PRINT and supply the application form and form class name in a executable program. Correct me if my understanding is wrong. And the code is in a executable abap program. I read the documentation it says it should be configured in NACE. So if we put the ZPROGRAM in driver program then what would we put in Form Name ?

Thanks in advance.

Rgds,

AK

1 REPLY 1

Former Member
0 Kudos
102

Hi AK,

You no need to maintain Application form in NACE.You should maintain Application from name at contract account level(Field BIll Fomr).Then generate printdocument for that contract account. Now to print the print document by using your Application form in your driver program please follow the below steps.

Step 1 : Get the name of generated function module of your application form , use FM "EFG_DB_FORM_SELECT" by passing x_formkey as your application form name. In import parameter y_formlog-genfunc you will get generated function module of your application form.

Step 2 : Call FM by passing you printdocument number(to export parameter x_tab_gendata) in you driver program.

Thanks

Rajesh