Smartforms genration error
Hi All
My smartforms on development work properly . but when i transfer smartforms and all related data( smartforms style, ztable, driver program, smartforms, logo) to production server that not work.
i have also use 'SSF_FUNCTION_MODULE_NAME' function module.
when i debuge the driver program on production server there is problem in SSF_FUNCTION_MODULE_NAME' .This function module does not give FM_NAME value.
when cursor goes on FB_GENERATE_FORM process has stop and hang.
anybody tell me where is the problem.
Regards
Sam.
Hi,
This ABAP consultant can throw some light on this. Since it is a functional forum, not possible to help you.
Regards,
V. Suresh
Similar Messages
-
Table in smartform throwing errors
Hi,
I was trying to create a table in a smartform. I have to display 5 colums from the table vbap based on certain conditions. I have created a table and a line type. And based on this line type I have created 5 cells under the header with text elements having the name of the columns. I then created the same 5 cells in main area with the text elements having the value within &.. I have added a loop also in the data tab of the table. However when i test the smart for it throws an error "No other column available". Is this the right procedure to create a table?I got it..thanks..
-
Dunning smartform F150_DUNN_SF Error ?
Hi All,
I have assigned the standard dunning smartform "F150_DUNN_SF" for dunning letter printout, i have also configured BTE event 1720 to trigger smartforms. While triggering the dunning letter from F150 transaction, its giving a error "ULINE not found". Please provide some solution to this error ?
Thanks & Regards,
Navneeth K.Hi,
Could you please let me know the steps involved in configuration of Dunning smartform, I am also having a requirement where I have to configure Dunning form F150_DUNN_SF with the standard print program.
Could you please explain me the steps to configure this, I am able to configure a script for dunning but not the smartform.
Thanks in advance.
Best Regards,
Abnish Jain -
Smartform Printing : Error in spool C call: Error from TemSe
Hi! everybody,
I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
To create the device type I did the following :
1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
Spool Attributes
Output Device ZEB10
Format ZTT Format
Doc. Category SMART
Recipient
Department
Deleted On 19.01.2011
Authorization
Output Attributes
No. of Copies 1
Priority 5
SAP Cover Page Do not print SAP cover page
OS Cover Sheet Print as set at printer
Requested 0
Processed 0 With Problem 0
With Error (Not Printed) 0
Storage Mode Print
TemSe Attributes
Object name SPOOL0000013836
Data type ????????????
Character set 0 -
> Character set of dev type = 1162
Number of parts 0
Record format
Size in bytes 0
Storage location
On seeing SP01
Spool no. Type Date Time Status Pages Title
13836 Smartforms(OTF) 11.01.2011 07:32 + 0 SMART LP01 USERID
I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
Regards,
ManasHi Manas,
I am facing the same issue for one of my clients.
Can you please share the solution with me if you have come out with it.
Regards,
Nirmal.K -
How to use parameters in smartform genrated function module
i executed smartform one functional module is genrated '/1BCDWB/SF00000002'
now the problem is that i want to send output of this smartform through email
now how to use ' MAIL_RECIPIENT ' and ' MAIL_SENDER ' to send smartform output through email .
please check following module which generated by smartform.
plz suggest me .
CALL FUNCTION '/1BCDWB/SF00000002'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB_PA0001 = ITAB_PA0001
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hi
You can do it while passing these parameters in the CONTROL_PARAMETERS.
data: ls_CONTROL_PARAMETERS type SSFCTRLOP.
ls_CONTROL_PARAMETERS-DEVICE = 'LOCL'.
ls_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
ls_CONTROL_PARAMETERS-PREVIEW = ' '.
Pass this ls_CONTROL_PARAMETERS to the importing parameter of the FM .
CALL FUNCTION LF_FM_NAME
EXPORTING
CONTROL_PARAMETERS = LS_CONTROL_PARAM
In addition to this, you might also want to set the print immediately field on the same structure to 'X'.
Generally you leave the device field empty, the user master record default printer will be used -
hi,
when i am executing the smartform a runtime error is raised in function module
SSFCOMP_GENERATE_SMART_FORM and the error is err_comp ssf_err_main_width_changed 'A' 080 can anyone tell what is the error its throwing ?Hi harri kishan,
As shivkumar said. All the main windows of pages should have the same width. If width varies, then form will got dump. So make sure all the main windows should have the same measurements.
Award points if its useful to you. Feel free to contact me.
Regards
Sreenivasa sharma k. -
SAP Query Genrator Error Again
Experts,
select T0.Father 'Parent Item',
T0.Code 'Children',
Case
When T1.ItemType = 'I' Then 'Item'
When T1.ItemType = 'L' Then 'Labour'
When T1.ItemType = 'T' Then 'Travel'
End 'Item Type',
Case
When T1.PrcrmntMtd = 'B' Then 'Buy'
When T1.PrcrmntMtd = 'M' Then 'Make'
End 'Procurement Method ',
T1.CardCode 'Preferrd Vendor',
ISNULL((select T2.Price from OSPP T2 where T2.CardCode = T1.CardCode and T2.ItemCode = T0.Code), 0)'Price of the Item in Special price list ',
Case
When T1.ItemType = 'L' Then T1.AvgPrice
Else 0
End 'Item Cost (If Labour)'
from ITT1 T0 inner join OITM T1 on T0.Code = T1.ItemCode
where T0.Father = '[%0]'
group By
T0.Father,
T0.Code,
T1.ItemType,
T1.PrcrmntMtd,
T1.CardCode,
T1.AvgPrice
This gives error i SAP Query genrator . Plz help1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Must specify table to select from. 2). [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared.
For
select T0.Father 'Parent Item',
T0.Code 'Children',
Case
When T1.ItemType = 'I' Then 'Item'
When T1.ItemType = 'L' Then 'Labour'
When T1.ItemType = 'T' Then 'Travel'
End 'Item Type',
Case
When T1.PrcrmntMtd = 'B' Then 'Buy'
When T1.PrcrmntMtd = 'M' Then 'Make'
End 'Procurement Method ',
T1.CardCode 'Preferrd Vendor',
ISNULL((select T2.Price from OSPP T2 where T2.CardCode = T1.CardCode and T2.ItemCode = T0.Code), 0)
'Price of the Item in Special price list ',
Case
When T1.ItemType = 'L' Then T1.AvgPrice
Else 0
End 'Item Cost (If Labour)'
from ITT1 T0 inner join OITM T1 on T0.Code = T1.ItemCode
inner join OSPP t2 on t2.ItemCode = T1.itemcode
where T0.Father = '[%0]'
group By
T0.Father,
T0.Code,
T1.ItemType,
T1.PrcrmntMtd,
T1.CardCode,
T1.AvgPrice -
iam able to see the print preview of the form but when i print iam getting error called 'error in generating the smartform'
iam new to smartfroms can anyone please help me
here is the print program which was already exisisting
DATA g_fmname TYPE rs38l_fnam.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_vbeln TYPE vbrk-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSD_SMRTSALEINVOICE1'
IMPORTING
fm_name = g_fmname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE 'Error in opening the smartform'
TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
CALL FUNCTION g_fmname
EXPORTING
s_vbeln = p_vbeln
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE 'Error in generating the smartform'
TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.Hi,
Hi,
i m not getting that sy-subrc = 0 or <> 0.
if u getting right print preview means it should print.
Remove the
IF sy-subrc 0.
MESSAGE 'Error in generating the smartform'
TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
Statements and execute u will find the difference.
if u r maintaining sy-subrc <> 0.
there is problem in smart form function module calling.. or smart form maintainance plz check that. or u may not activate the smart form correctly.
hope it will work.
with Regards,
Kiran.G -
Smartform System Error for VF03 output type
Hi Friends,
Error encountered in Smartform:
Message no. SSFCOMPOSER181
Diagnosis
You tried to switch to the next table column, but no other column exists. The current column is 10. The line type %LTYPE1 contains only 10 columns.
System Response
The system issues an error message.
Procedure
Check whether the current line type is the desired line type and whether you defined a switch to a new table line.
%LTYPE1 contains only one cell consisting Material Description & Code .Apart from that nothin is there in line.
Please help.
Regards,
Abhishek.Hi,
check what is going else for JEX billingtype documents.
if that does not work out you can try to locate where it is going wrong.
how you do that: Disable a part of your form with conditions.
then if you have done it so far you didn't get that error meesage. Then shrink the part you have disabled until it goed worng again. Then it is going wrong in the last part you have enabled. It is a lot of work but debugging in smartform is not as easy as in sapscript.
success., Gr., Frank -
Hi, experts
I want to send the Smartform to mail as PDF attachment.
I found the program in code gallery., it name was 'ZTEST_NREDDY_PDF_MAIL' .
I wrote my program .it was send the Smartform to mail as PDF attachment
but when open the pdf file it gave me error.
error : 'An unrecognized token '654.15Td' was found.
Please help me out.
Thanks&Regards,
AyşenurHi,
Please refer this program which is as per your requirement.
conversion of smartform to pdf souce code its urgent pls
Best regards,
Prashant -
Hi all,
I customized the form YBUS_MMPO in SR system. Here it is runnig properly.
During developement, the form transported to DR system due to some problems.
I tried to run the form in DR system but it is giving error with "style /SMB40/SF is not found" but actually the stlye i copied from SR to DR and assigned to the form is ZSF_PURCHASEORDER.
what shall I do?
Edited by: kalandar on Jan 26, 2010 8:11 AMhere is what we did to solved this problem with style /SMB40/SF. Here are the steps which I followed to resolve the error.
Step. 1: From SMARTFORMS transaction, Execute the form with Error you will get a FM name, Now display the form and Click on Find Button, Select mainprogram Radio button and search the style /SMB40/SF. Note down all the nodes where this style is used.
Step 2: Remove the style from the nodes and activate. If you still find the style in form then note down the nodes above and below the style.
Step 3: Download the form for Backup first. Now remove both the nodes which were noted in step 2. Activate the form and now add the two nodes again back to form which were removed earlier.
Step 4: Activate the form and the Issue is Resolved.
Rajkumar -
Hi friends,
The following internal errror has been occured in QAS Server
Internal error (RC = 1, FORM = SFP_DESIGN_START, NR = 2)
Message no. SMARTFORMS001
I have transported the smartform to quality server.
Can anyone tell me how to resolve this issue?
note: In DEV SERVER its working fine. after transporting from DEV Server To QAS Server ,the error occur.
Regards,
K.S.Kannan.Hi Kanan,
Check out whether you have missed any transport request. I think you mighgt have missed any transport request.
Thanks,
Chidanand -
Hi ,
I'm trying to print a smartform but there is a problem when I try it from the spool(SP01).
The message is : incorrect (Reason unknown);
Log :
SAP spool error log
=====================
Print request processing log
Errors occurred processing this print request
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
OTF module: Page buffer (80*1000 entries) is too small
Did you already have this problem?
Thanks a lot
KarimHi Rejish,
we have the same problem here with SAP 730. Printing a smartform we get the "OTF module: Page buffer (80*1000 entries) is too small" error.
In ST03N I can see an "oversized" raw which refers to my print test.
This is the Task/Memory view:
I read about the note 1331658 but I think that in SAP 730 they have already fixed it..it's ad old note from 2009.
Thanks in advance -
While executing smartform FM error msg it shows
Hi SAP Techinical Guru,
developing smartform from scratch after desinging form i executed, when executing FM
it shows messages like was generated but errors ocurred ,
please help on this.
best regards,Srinivas,
Though the error comes at the status it comes in green.
Just see the print , you should not be getting any problem with that.
if you still face the problem then go to SE37 , give the generated FM name
Execute it again and check what is the error and in which part of the page.
Regards,
Ravi -
SAPSCRIPT to SMARTFORM Syntax Error?
The error is "Statement concluding with "...FIELD" ended unexpectedly"
Here is the code:
/* begin of deletion for ppr 15225
/* ,,,,,,,,Sub-item &VBDPAU-UPOSV& belongs to item
/* begin of addition for ppr 15225
,,,,,,,,To make this material (&VBDPA-MATNR&) use material &*VBAP-MATNR&
/* end of addition for ppr 15225
I know that there is not a period at the end of line 4. Everytime I try to put one there SAP takes it out?
Anybody know my syntax issue?
Thank-You.*VBAP is also one of the workareas avaliable in the Sales Order Processing like others e.g. XVBAP, VBAK and so on.
While calling the Smartform FM from your driver program, you need to assign it to proper parameters
E.g.
CALL FUNCTION fm_name
exporting
ia_vbap = *vbap
Regards,
Naimesh Patel
Maybe you are looking for
-
Oracle Apps 11.0.3 Reports and Tables.
hi hussein, How do I know which tables/views in Oracle Apps 11.0.3 is still supported in Oracle Apps 11i (11.5.10.2)? Because I am migrating some customized Oracle Reports from (11.0.3) to (11.5.10.2). But there is no output generated because some of
-
Hi - I turned on the iCloud photo library beta on my phone weeks ago. Worked fine with no issues. Then the Yosemite OS X beta 10.10.3 was released with the new Photos app. Once i loaded that new app, it converted my Aperture library and began to u
-
Cannot connect to SQL server in ODI
Hi, I am new to ODI & Im currently trying to access SQL server DB using ODI. I have downloaded the sql server jdbc driver 2.0 & placed the sqljdbc4.jar in driver folder of ODI_HOME. On creating the data server & testing connection, it says 'Successfu
-
I have text file with arabic words. I need to read file (this part is done) and to display some words from file. But it does not shows arabic symbols. How can I make it?
-
Dear All, I developed one GP workflow using webdynpro java. Workflow is working fine in development and quality server. But, on production server its throughing following exception. Exception Structure with the name output and namespace http://www.sa