Error in print program
Hi guys,
I am trying to change to new tds format for form 16. After applying snote 1486147 ,there is an error in driver program.
The field "H_ECESSTYPE_TAB1" is unknown, but there is a field with the similar name "ECESSTYPE_TAB1.
can any one guide me how to rectify this error.
thanks in advance.
regards,
suresh.
Hi suresh,
Try this way
in the include J_1IEWT_CERT_F01 of your driver program
under FORM process_dp.
just add this
DATA : surchtype_tab1 type standard table of rate_type with header line,
h_ecesstype_tab1 type standard table of rate_type with header line, " Note 1097621 *this is must*
ecesstype_tab1 type standard table of rate_type with header line.
Hope your purpose will be solved.
Regards,
koolspy.
Similar Messages
-
Runtime error in print program of a smartform
Hi,
While trying to execute the print program of a smartform I am getting the following runtime error.
The reason for the exception is:
The call to the function module "/1BCDWB/SF00000288" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "IT_BOOKINGS".
Although the currently specified field
"IT_BOOKINGS" is the correct type, its length is incorrect.
In the form interface of the smartform under tables parameters I have declared like this.
IT_BOOKINGS LIKE SBOOK
IT_SCHEDULE LIKE SPFLI
Can anyone tell me why do we get this error?
Regards,
HemaHello,
program to call smartform is really simple :
-> function SSF_FUNCTION_MODULE_NAME give you the name of the function link to your sapscript.
-> function WFMC_PREPARE_SMART_FORM help your to prepare your options to your smartform.
-> function xxx to call your smartform (find with the first function).
Sometimes you have to play with values of NAST (for ex) to find the language (set in control_parameters) or for example if you want to print without display (when it ask you for print / print preview and the name of the print device) .....
Frédéric -
ERROR HRFORMS011 : PRINT PROGRAM LINE 161
Hi Gurus,
I am trying to activate a copied HR FORM, using HRFORMS transaction. I get following error whenever I try to activate.
Generated print program contains a syntax error
Message no. HRFORMS011
Diagnosis
Generated print program /1PYXXFO/ZHRPY_BULLETIN_PRNT contains a syntax error in line 161 of include /1PYXXFO/ZHRPY_BULLETIN_PRNT.
In this include SAP says that field P_IPVIEW is unknown
I am unable to execute the form. Can someone help me on this?
Thanks in advance,
KHi K,
Go through SAP Note 878168.
You cannot fix this with an HR SP; use the database utility instead.
Start transaction SE11 for view V_HRF_SELFIELDS and then go to Utilities
-> Database Object -> Database Utility.
After applying the note, please go trough the following steps to
regenerate the forms:
1) Start transaction HRFORMS
2) Select menu Utilities - activate forms
3) Input the names of your forms
4) Press F8
Regards,
Carlos. -
Hi all,
I have developed a HR FORM for printing the employee remuneration statement. In that, i have designed the layout using Adobe form and activated this form. But when i try to activate the HR FORM, it returns the following error.
"Print program contains a syntax error."
Can anyone tell me the reason for this error and how to solve it?
Regards,
ShanthiHi,
try doub clicking on the error message and red the complete description.
or refer the link
Link:[http://help.sap.com/saphelp_nw04s/helpdata/en/c2/42c437004b4d74bd74100d327a3354/frameset.htm]
thanks
ravi -
Error when exexuting a smart form from print program
Hi,
I have created a Print Program & Layout Set [Smart Form].
Now when i executed Print program it is throwing following error.
As internal table that we are passing to F.M is not having any data i have appended some data in debug mode.
After htting Print Immediaely Button Following EXIT Error is coming.
No table is currently processed, switching lines is not possible.
Message no. SSFCOMPOSER 183
Diagnosis
You tried to switch to the next table line, but currently no table is open for output.
System Response
The system issues an error message.
Procedure
This is probably an internal error. Please contact the SAP hotline and report the problem.
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.Make sure that you have proper definations of internal table in program and smartform.
Regards,
Amey -
Purchase order print program error
hi experts!
am facing a problem in my purchase order print program. the problem is that when i am trying to see the print preview the following dump error is throughing, which am not able to understand.
the P.O total amount should be change into words( like one million then thousand thirty three kuwait dinars)
but the total amount is not converting into as mentioned, instead the dump is encountered.
please give me solution,
thnaks
*DUMP*
Runtime Errors CONVT_NO_NUMBER
Exception CX_SY_CONVERSION_NO_NUMBER
Date and Time 05.05.2008 19:04:43
Short text
Unable to interpret "1760,778.71 " as a number.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZMM_SUBROUTINES" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_NO_NUMBER', was not
caught in
procedure "GET_AMT_IN_WORDS" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program attempted to interpret the value "1760,778.71 " as a number, but
since the value contravenes the rules for correct number formats,
this was not possible.
How to correct the error
Whole numbers are represented in ABAP as a sequence of numbers, possibly
with an algebraic sign.
The following are the possibilities for the representation of floating
point numbers:
[algebraic sign][mantissa]E[algebraic sign][exponent]
[algebraic sign][whole number part].[fraction part]
For example, -12E+34, +12E-34, 12E34, 12.34
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"CONVT_NO_NUMBER" "CX_SY_CONVERSION_NO_NUMBER"
"ZMM_SUBROUTINES" or "ZMM_SUBROUTINES"
"GET_AMT_IN_WORDS"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"GET_AMT_IN_WORDS" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "EHPAP1"
Network address...... "10.100.150.103"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "00C3B3F04C00"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "EHPDB"
Database type..... "DB6"
Database name..... "EHP"
Database user ID.. "SAPEHP"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Mar 19 2007 20:40:49"
create on........ "AIX 2 5 005DD9CD4C00"
Database version. "DB6_81 "
Patch level. 102
Patch text.. " "
Database............. "DB6 08.02., DB6 09."
SAP database version. 700
Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory consumption
Roll.... 16192
EM...... 29328936
Heap.... 0
Page.... 1359872
MM Used. 19180992
MM Free. 1764848
User and Transaction
Client.............. 400
User................ "FADISULAIMAN"
Language key........ "E"
Transaction......... "ME22N "
Program............. "ZMM_SUBROUTINES"
Screen.............. "SAPLMEGUI 0014"
Screen line......... 22
Information on where terminated
Termination occurred in the ABAP program "ZMM_SUBROUTINES" - in
"GET_AMT_IN_WORDS".
The main program was "RM_MEPO_GUI ".
In the source code you have the termination point in line 398
of the (Include) program "ZMM_SUBROUTINES".
The termination is caused because exception "CX_SY_CONVERSION_NO_NUMBER"
occurred in
procedure "GET_AMT_IN_WORDS" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "ZMM_SUBROUTINES "; its source code begins in line
358 of the (Include program "ZMM_SUBROUTINES ".
Source Code Extract
Line SourceCde
368 DATA: lt_spell LIKE spell.
369
370 READ TABLE in_tab WITH KEY 'CURR'.
371 IF sy-subrc = 0.
372 lf_curr = in_tab-value.
373 ENDIF.
374
375 READ TABLE in_tab WITH KEY 'NETWR'.
376 IF sy-subrc = 0.
377 lf_netpr_01 = in_tab-value.
378 REPLACE ',' IN lf_netpr_01 WITH ' '.
379 CONDENSE lf_netpr_01 NO-GAPS.
380
381 IF lf_curr = 'KWD'.
382 lf_netpr_kwd = lf_netpr_01.
383
384 CALL FUNCTION 'SPELL_AMOUNT'
385 EXPORTING
386 amount = lf_netpr_kwd
387 currency = lf_curr
388 filler = ''
389 language = sy-langu
390 IMPORTING
391 in_words = lt_spell
392 EXCEPTIONS
393 not_found = 1
394 too_large = 2
395 OTHERS = 3.
396
397 ELSE.
>>>>> lf_netpr = lf_netpr_01.
399 CALL FUNCTION 'SPELL_AMOUNT'
400 EXPORTING
401 amount = lf_netpr
402 currency = lf_curr
403 filler = ''
404 language = sy-langu
405 IMPORTING
406 in_words = lt_spell
407 EXCEPTIONS
408 not_found = 1
409 too_large = 2
410 OTHERS = 3.
411 ENDIF.
412 IF sy-subrc <> 0.
413 * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
414 * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
415
416 ELSE.
417
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 17
SY-TABIX 1
SY-DBCNT 18
SY-FDPOS 1
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY NORMAL
SY-UCOMM PREVOUTPUT
SY-TITLE Held Imp. Pur. O r - ESG 5000000021 Created by Fadi Sulaiman
SY-MSGTY A
SY-MSGID TD
SY-MSGNO 426
SY-MSGV1 NEXTPAGE
SY-MSGV2 ZMEDRUCK_PO
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080505
SY-UZEIT 190441
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXITHi Prasad,
Check the FM's
SPELL_AMOUNT --> for display in millions
HR_IN_CHG_INR_WRDS --> for display in lakhs and crores -
Syntax Error when generate print program in HRFORMS
Dear All,
I created form for payslip using HRFORMS, the name form is ZPS_TPI_01. When I activate the form, the error raised: Generated print program contains a syntax error
Diagnosis
Generated print program /PYXXFO/ZPS_TPI_01_PRNT conains a syntax error in line 9 of include /PYXXFO?ZPS_TPI_01_PAYR.
I have already apply note 878168 but it is not work.
Please advise me.
Thank you,hi,
can you let me know for which country are you trying to generate the HR form for payslip?
There are certain countries for which payslip isnt supported.
For such countries you get a similar error.
Thank you,
Jose -
Update terminate error in va02 Z print program
Hi All,
I have an update terminate error in va02 Z print program when it encounters information message statement while printing the sales order.
I have changed it to status message then no error
This is happening only in precessing status 4(send immediately) in edit message in va02
Regards,
VenkatHi venkat,
Go to SM13 . there it gives the line no. where the termination has occured. You can debug the program from there and make relavent changes.
Amar -
Print program is not getting triggered when saving the application
Hi all,
My requirement is when i save the invoice using VF01 the print program should get triggered.
The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
The setting "send immediately (when saving application)" is also checked.
I need to configure it for VF01 transaction.
The error message displayed was " please maintain output device in master data".
Regards,
UmeshHi Umesh
Please check if you have missed any of the following:
1. Defining Access Sequence(can use existing).
2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
3. Output Determination Procedure
4. Assign Output Procedure to Billing Types
Kind Regards
Eswar -
Error in Print Report.vi
I get "Unknown Error in Print Report.vi", error code -2147352567 when I run Text Report Example.vi in LabVIEW 6.1. My own code that ran OK in LabVIEW 6.0.2 also produces this same result in V6.1. I have not changed printers. Help.
Hi.
I don't have exact solution for your problem, but it is very familiar to what I experienced.
I install 6.1 and Report Generation toolkit included with new package. I had all my programs written in 6.0.2 with Report Generation from version 1.0.
Almost every other VI from Report Generation did not work after I recompiled my VI into Labview 6.1. I spent several days trying to understand what is going on, made several calls to NI tech support, but nobody could help me. Finally I found solution:
Uninstall New Report Generation toolkit Version 1.0a included into latest package of Labview 6.1 and install the very first version (I have it distributed as separate CD).
After such maneuver everything works fine.
I had another problem with this tool and especially Pri
nt report.vi:
I have PDS package, and Print report.vi works excellent on my computer printing Standard Report. However when I create stand-alone application and distribute it together with run-time engine on user computers, it gives me error and I can only print creating Excel or Word type of report.
So, that is my experience. I think NI still has several bugs to work on. And if you find any other solutions, please let me know.
Good luck. -
Just wanted to supply a fix to a previously archived post concerning an error message while trying to print from any application and receiving the message "Error While Printing."
I fixed this issue by rebooting into safe mode (without extensions - hold down shift while starting up) and fixed permissions in the Disk Utility.
Hope this helps others with the same issue!
J.Check that table j_1iewt_cert_n and j_1iewt_certno are filled up.
If maintained, then it should work.
If not working then check the putting the breakpoint in the program J_1IEWT_CERT_F01 on statement "SELECT SINGLE * FROM j_1iewt_cert_n" and see where it is failing. It is easy to debug this error message.
Regards,
Gaurav -
REP-3002: Error initializing printer
Hello,
This is my configuraton:
Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i, formserver 6i and reports 6i.
Services WebDb and Listener are running.
I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
control panel of NT4, this printer is set as the 'default' printer.
'myform.fmx' is a simple form.
The code consists only of a 'when-button-pressed' trigger as follows:
declare
pl paramlist;Ln varchar(15) :='Elsa';
BEGIN
pl :=get_parameter_list(Ln);
if not id_null(pl) then destroy_parameter_list(pl);end if;
pl :=create_parameter_list('Elsa');
add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
destroy_parameter_list(pl);
END;
'myrep.rep' is a simple report, consisting of:
select user from dual;
generated by the wizard.
When I run the form in preview for the web in formbuilder 6i, then it works very well,
it prints my report.
But when I run it from the cgi 'ifcgi60.exe' by the command
start -> programs -> oracle forms 6i -> run a form on the web
it returns
http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
form=myform.fmx&userid=&otherparams=useSDI=yes&
lookAndFeel=generic&colorScheme=teal
then the error returned in the webbrowser is
'REP-3002: Error initializing printer. Please make sure a printer is installed.'
if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
Please can someone help me.
Best Regards,
Carl Willems.
[email protected]<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by aapmens ():
Hello,
This is my configuraton:
Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i 6.0.8.8.0, formserver 6i and reports 6i 6.0.8.8.3.
Services WebDb and Listener are running.
I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
control panel of NT4, this printer is set as the 'default' printer.
'myform.fmx' is a simple form.
The code consists only of a 'when-button-pressed' trigger as follows:
declare
pl paramlist;Ln varchar(15) :='Elsa';
BEGIN
pl :=get_parameter_list(Ln);
if not id_null(pl) then destroy_parameter_list(pl);end if;
pl :=create_parameter_list('Elsa');
add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
destroy_parameter_list(pl);
END;
'myrep.rep' is a simple report, consisting of:
select user from dual;
generated by the wizard.
When I run the form in preview for the web in formbuilder 6i, then it works very well,
it prints my report.
But when I run it from the cgi 'ifcgi60.exe' by the command
start -> programs -> oracle forms 6i -> run a form on the web
it returns
http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
form=myform.fmx&userid=&otherparams=useSDI=yes&
lookAndFeel=generic&colorScheme=teal
then the error returned in the webbrowser is
'REP-3002: Error initializing printer. Please make sure a printer is installed.'
if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
Please can someone help me.
Best Regards,
Carl Willems.
[email protected]<HR></BLOCKQUOTE>
null -
Regarding custom print program does not recognize elements in new windows..
Hello Experts,
I copied the standard print program RFFOUS_C since I need to add new windows and routines. But when I
inserted my 'WRITE_FORM' to call the element in the new window it has an exception of '1' which I think it does not
recognize the custom elements in the new windows. Below is my code:
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'CHECK'
function = 'APPEND'
TYPE = 'BODY'
window = 'PAYEE'
IMPORTING
PENDING_LINES =
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
codepage = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
So I added the window 'PAYEE' and the code above was inserted in the routine 'SCHECK'. Hope you can help
me guys. Thank you and take care!r u using the ' check' text element in your script window?, if u don't delcare in the script window than only this kind of error will come.
Thanks,
Tirumal. -
Finding Program for triggering Print Program (MIGO - Goods Receipt)
Hi all,
Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
Many thanks.
Best regards,
Patrick
P/S: I'm using SAP ECC6.Actually, this print program is being triggered in the update processing.
Put a breakpoint in your driver program.
In MIGO, before pressing the SAVE button start debugging.
Press the SAVE button.
Start the update debugging by Settings > Update Debugging.
As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
Regards,
Naimesh Patel -
Error printing Check - "Missing Parameter Values. Error During Printing"
Dear friends,
Our client is in SAP B1 8.81 Pl07 and is facing an error while printing checks designed in Crystal Reports. As soon as they click on "Print" button, we are getting an error "Missing Parameter Values. Error During Printing".
We have checked the Crystal Reports and all the parameters are given.
Can anyone help me regarding this?
Thanks and regards,
Bharath Shi,
Quoted from Note 1555170
1555170 - Error 'Missing parameter values' printing with CR layout
Symptom
When you print on add any stock transactions document, with Crystal report layout, you receive error message:'Missing parameter values' and then 'Error during the printing; ensure all parameters are defined'
Step by Step scenario:
1.Go to Administration / System Initialization / Print preferences and select the tab per document.
2.Select the document stock transfer and tick the box print document when adding document and click on update.
3.Go to stock management / stock transactions / stock transfer
set the Crystal report template as default.
Note:
- The issue is reproduced also for Goods Receipt and Good Issue.
- The issue is reporduced with any Crystal Report Template for the above documents.
Cause
Program error
Solution
This issue is candidate for a change in a future release of SAP Business One.
Workarounds:
1.Use PLD for printing the stock transactions.
2.Convert the PLD layout to Crystal reports with Crystal converter.
3.Print the document after adding it.
Other terms
sap business one, printing issues, good issue, good receipt, stock transfer, crystal report, print preferences, print when adding, dockey, missing parameter
Header Data
Released on 07.02.2011 13:27:30
Release status Released for Customer
Component SBO-REP-CR Crystal Reports 2008 for SAP Business One
Other Components
SBO-GEN-PRT Printing Issues
Priority Correction with low priority
Category Program error
Validity
Software Component
Version
SAP BUSINESS ONE
8.8
8.81
you can download the PLD to Crystal Converter [here|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/108305a7-1555-2d10-8289-9a178d441c71]
regards,
Fidel
Maybe you are looking for
-
I can't delete the photos in iPad 4G
I can't delete photos in my iPad 4G, I tick the photos I wanted to delete but the red delete word didn't light up. Can anyone help me?
-
I think it is a brilliant concept and I love it. But it simply doesn't work. It loses windows and when it does the system is a pita. The only true fix I've found for the lost windows is to restart the machine. That is annoying to do every day (I shou
-
Messages to iPad, messages to iPad
Im using a macbookpro late 2011 and I just updated to OS X Mountain Lion and I'm trying to use messages to send stuff to my friend's Ipad. But instead of showing up on messages, it shows up on Google Talk. Everytime I try to use messages, it either s
-
If i got incorrect characters in the output of sap script? HOW TO CORRECT I
If i got incorrect characters in the output of sap script? HOW TO CORRECT IT?
-
GTX 780 Ti - CUDA selected, but GPU isn't doing anything
I know there's a bunch of posts on the 780 Ti, but I've been researching for days and I'm getting nowhere. Disclaimer: First let me just quickly say this. I know it's not officially supported and I understand why, so please don't mention that. I'm a