Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smarform is either not active or has errors

Former Member
0 Likes
2,666

Dear Experts,

The smartform is giving error when moved to quality server. Initially, I uploaded arial font which was not there in the quality server, so I changed the font to HELVI and moved the TR to quality. Now, I can see smartstyles have the standard font. All the data types/smartstyles have been successfully moved to quality and are active. I have generated the smartform and rebuild object list the function module. Still it is giving the same error. What can be the reason? Need your suggestions.

Regards

Mani

16 REPLIES 16
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
2,565

Hi,

Just check if you try generating smartform in quality without display/change the smartform, the problem didn't occur.

Otherwise, check all the dependent objects from the smartforms :table, smartstyles,etc.,

Read only

0 Likes
2,565

Hi Jayanthi,

The form is getting generated successfully in QA. There are 2 data elements which I created has been transported to QA. What else should I check?

Regards

Mani

Read only

Former Member
0 Likes
2,565

Hi Mani,

Can you please be specific in what is the error that is occurring.

Please share either the description or the screen shot.

Regards,

Rafi

Read only

0 Likes
2,565

Hi Rafi,

I cannot send the screenshot today. When I run the tcode F150 in QA, it says the form y..... is either not active or has errors.

Regards

Mani

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,565

During the dunning process, the Smarform is triggered by the function FI_PRINT_DUNNING_NOTICE_SMARTF (BTE implementation function) & actual SF call is made in the PRINT_DUNNING_NOTICE_SF.

You can also turn on the smartform trace (SFTRACE) if you wanna see where the exact problem lies.

BR,

Suhas

Read only

0 Likes
2,565

Hi Mani,

In the smart form please check once if it is syntactically correct.

It being a custom smartform how are u calling the FM generated for smartform.

You have to use SSF_FUNCTION_MODULE_NAME FM - when you pass smartform name to this  FM it returns you the Function Module Name like '/BB0001111' etc..

Then you need to call the returned FM using call function.

Please see if these steps are correctly written.

Regards,

Rafi

Read only

Former Member
0 Likes
2,565

Hi Mani,

Are you using 'ssf_function_module_name' to call your smartform in the driver program or you are directly calling the smartform??? if you are calling directly in that case it might cause a prob in QA server.

Regards,

Santanu.

Read only

0 Likes
2,565

Hi,

The driver program is standard.

Read only

Former Member
0 Likes
2,565

1) Smartform will generate a Function Module. Put a breakpoint in the first statement of the function module.

2) Execute  tcode F150. Debugger will stop at the breakpoint.

3) Now set a watchpoint , sy-msgty = 'E' & then press F8.

4) Debugger will stop at the watchpoint. You can read the message and find out what is the problem.

If the debugger does not reach the first statement of FM, then probably the function module is inactive. You need to activate the FM.

Read only

Former Member
0 Likes
2,565

Hi Experts,

While creating the smartform, I tried uploading arial and times font. Now, I have removed arial and times font from smartstyles and transported in QA.

The above screenshot says about the released TR. I want to know what is table contents? Where it is getting used? I am not able to find TFO01/02/09/11 etc. anywhere in the smartform. What is its importance? These ZZARAILB, PARIAL etc. are my uploaded fonts which are not there in QA.

Regards

Mani

Read only

0 Likes
2,565

From the snapshot of the released TR, we can deduce the following things:

i) TR involves creation/change/ deletion ( nature of change cannot be assumed ) of data element, smartform, smartstyles &  tabletype .

ii) Some new or modified entries in the following tables :

   TFO01 , TFO02, TFO09, TFO11, TFO12, TF014, TFO16.

iii) The line beneath table content , table name gives the record's primary key  where new entry have been added or  existing entry has been changed.

   So check in QA, whether the entry PARIAL, PARIALB & ZZARIALB exists in table TFO01 where PARIAL is the concatenation of primary key of the record.

If the entry does not exist, go to STMS of QA and check the transport status.

Read only

0 Likes
2,565

Hi,

Thanks for your valuable answer. I do not have the access of QA today. I think entries like PARIAL, PARIALB does not exist in QA. What should I do? Should I create a new TR in development server?

Regards

Mani

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,565

I do not have the access of QA today.

But you can check the transport logs, can't you?

Read only

0 Likes
2,565

Hi Suhas,

I checked the transport log in the development server and sent the screenshot above. Also, in the QA, when I try to put the breakpoint in CALL FUNCTION 'GET_DUNNING_CUSTOMIZING' , it doesn't trigger as the pop up apprears.

When I put the trace also and do the same, debugger doesn't open. Why?

Regards

Mani

Read only

Former Member
0 Likes
2,565

Function Module will be changed for every version in Smartform.

Change the New FM in Driver Program and then Transport to QA.

Read only

Former Member
0 Likes
2,565

The BTE TR was not transported.  Thanks all