Error message in SmartForm
I am trying to test a SmartForm and I get the following error:
Exception FORMATTING_ERROR
Message ID: SSFCOMPOSER Message number: 601
Message:
Reference field WA_ITEM_DATA-BMNG2 unknown in form.
I am testing using the test environment (not a print program). I am using wa_item_data-bmng2 in the form inside a table. I added the field by dragging it from the field list so I know that there are not any typos. Does anybody have any idea what could be wrong?
Regards,
Davis
Problem might be WA_ITEM_DATA-BMNG2 ?
Check the corresponding table of WA_ITEM_DATA,here BMNG2 will be quantity field or Currency field.
when you use this field in smartform ,it will check internally reference table,please maintain reference field in data dictionary.
I guess you created one structure in SE11,this structure has BMNG2 field,if so goto SE11 -> give ur structure -> click on change mode -> check the currency/quantity field tab,here you need to mention reference table,reference field.
if you need any example on this,just look at VBAP Table,it will have reference tables,fields for corresponing currency/quantity field.
Thanks
Seshu
Similar Messages
-
FM SSF_CLOSE failing and giving error message while printing a smartform
Hi,
for language spanish the smartform is not getting printed for output type SG11 but for english it is getting printed? What could be the reason? I debugged and found that SSF_CLOSE is failing and giving error message.
Thanks and regards,
AP.Hi Aparajita,
for changing from one languages to another translations in SE63 is to be done, either search on SCN for using SE63 , or atleast see these wiki help .
Transaction SE63 - Translation Tools for Translators (BC-DOC-TTL) - SAP Library
Transaction SE63 (SAP Library - Translation Tools for Translators (BC-DOC-TTL)) -
In Smartform i am getting a Error Message Graphic cannot be displayed
Hi All,
I am trying to display a image in smartform . In the Code i have created a BDC for SE78 for Image upload and when the Image is Upload and when i try to execute the Smartform i am getting a Error Message : Graphic cannot be displayed
I am trying to load a BMP image in the form.
Can anyone help me out .
Thanks in Advance .
Regards
ShankarHi,
There are two possibilies of issue here.
1. The BDC is not correct so the image is not uploaded.
2. Graphic parameter is not properly specified in smartform.
Please check issue no 1 first. If you confirm that image already in SAP, then you can go to issue no 2.
Regards,
Teddy Kurniawan -
Getting an error message when converting smartform to pdf form
Hi,
I'm getting an error message, when trying to convert smartform to pdf.
[H:\Argentina\Error]
<<No Question asked. Thread locked>>
kindly help
Thanks
Devinder
Edited by: kishan P on Jan 19, 2012 3:01 PMHi,
Your smartform getting the correct output. If the output is fine i will some process follow it to convert it into PDF.
<<Do you even know what is the issue. Dont guess>>
Edited by: kishan P on Jan 19, 2012 2:58 PM -
Getting an error message while generating smartform
Hi,
We transported 1 smartform from one system to another. Now at another system when I tried to test this form it is giving me an error message like 'Error during generation of form'. It was running fine at system1 but no idea why its not being generated here.
Please help me out as soon as poosible.
Regards,
ShikhaHi,
I think you have hardcoded the functiona module name as something
call function '/1BCDWB/SF00000334' in the driver progarm .
it should not be hard coded .
Use SSF_FUNCTION_MODULE_NAME instead to get the functiona module name during runtime.
Regards,
Guru
mark if helpful -
Error While Transporting Smartforms from 832 client to 834 client
Hi
I released my Smartform and Program...
and i told our basis ppl to Transport the Code from 832 to 834
but while transporting they are Getting this error
Transport Control Program tp ended with error code 0212
Errors:could not access file as supposed.
My question is
Y they r getting this error?
is it link to Abap Program..
bcz they are telling that there is a wrong in my Program...
Bt my Program is working fine in 832 client...
Can any one help me on this?Smitha,
If you haven't done any changes in the program then there is no need but you are saying you have created error messages.Haven't you tagged the changes related to the smartform as well as the Error messages (ie message class) in the same request?
If you have different requests one for error message and one for Smartform,then see to that both are transported.If smartform is using any of those error messages then you need to move the request which has got error messages first and then only the smartform related requests should be moved otherwise it will give a dump becuase by the time Smartform is moved to 834 the error messages request is not yet moved.Hence sequnece while moving the transport requests is very important.It is always advisable to have all the changes related to a program in one request.
And added to that do check the link given by Gautam too.
K.Kiran. -
How to show error message in a report program
Hello Guys,
I am making a report using smartforms. I am successful in showing data but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running. I want to show error message if the parameter values dose not matches with the database values. The message will show as Document not exists
So i used related error msg here like
if sy-subrc ne 0.
message e357.
endif.
But it is not working for passing values to smartform. It works if i use in classical report. Plz help me on this issue.
Thanks,
Rosaline.>
Rosaline. wrote:
> Thanks all for reply. Should i have to use message before call function 'SSF_FUNCTION_MODULE_NAME' ? I tried it but not working.
>
>
if it_final[] is not initial.
>* if sy-subrc ne 0. ---> "Remove this condition check, it not required
> Message e000(8i) with 'Parameter value not found'.
> endif.
> * endif. ---> "remove this
>
Hi,
Sy-subrc doesnt need to be validated here, remove that If condition and check again.
Regards,
Karthik D -
Error Message in Print preview of PO.
Hi guys.
i am trying print preview of purchase order from ME23N.
but i am getting errror message "system message 038 from SSFCOMPOSER does not exist" .
can u tell what is this error is?
how to solve this problem?
Thanks..Hi,
I think there is an error in the Smartform assigned to this transaction or the address window is not filled in the smartform of that particular PO, it throws an error.
If there is a problem in smartform check it and do check the condition for address window, bcoz u try to print empty address window it will throw an error and check even the transaction NACE wether correct Smartform is assigned or not.
Regards,
Aravind -
Error in sending smartform as fax
Hi everyone,
I am trying to send a smartform through Fax, and i am getting the following error;
Cannot process message in node, parameters cannot be converted
Message no. XS821
Diagnosis
The message cannot be processed in the node as parameters such as 'Send
time' or 'Priority' cannot be converted. It is possible that entire
parameters such as 'Recipient list' or 'Packet list' are missing.
System Response
Processing was terminated.
SAP system additional information (error number, if available):
MRSUM
Additional information of the node used (in the system language of the
node)
Can you guys please help me solving this problem?
Thanking you,
Kind regards,
I have changed my code several times, using different functions to send the fax and i am getting the same error message each time.
Please find below the piece of code i am using to send the fax.
DATA:GT_MAIL_LINES TYPE STANDARD TABLE OF soli.
data: gs_mail_lines TYPE soli.
DATA: ls_object_hd TYPE sood1,
ls_receivers TYPE soos1,
lt_receivers TYPE STANDARD TABLE OF soos1,
l_lines TYPE i,
ls_sadrfd TYPE sadrfd.
CLEAR: ls_object_hd, ls_receivers.
REFRESH lt_receivers.
ls_object_hd-objla = sy-langu.
ls_object_hd-objnam = 'NOTE'.
ls_object_hd-objdes = 'Fax subject line in here'.
"Calculate size of table
DESCRIBE TABLE gt_mail_lines LINES l_lines.
READ TABLE gt_mail_lines INDEX l_lines INTO gs_mail_lines.
ls_object_hd-objlen = ( l_lines - 1 ) * 255 + STRLEN( gs_mail_lines ).
"Set Fax control structure
"Fax number in structure must have no leading zero
"as this is added by SAPOffice from the country code
ls_sadrfd-rec_fax = '4421844
ls_sadrfd-rec_street = 'Addr'.
ls_sadrfd-rec_town = 'Addr'.
ls_sadrfd-rec_name1 = 'Name'.
ls_sadrfd-rec_state = 'MU'.
ls_sadrfd-form_langu = 'EN'.
ls_sadrfd-fax_form = 'Z_FAX_COVER'.
ls_sadrfd-send_comp = 'USER'
ls_sadrfd-send_immi = 'X'.
ls_sadrfd-send_nam = sy-uname.
ls_sadrfd-send_date = sy-datum.
ls_sadrfd-send_time = sy-uzeit.
"Convert Receiver information to char field
CALL FUNCTION 'C147_WORKAREA_TO_CHARFIELD'
EXPORTING
I_WORKAREA = ls_sadrfd
IMPORTING
E_CHARFIELD = ls_receivers-recextnam.
ls_receivers-recesc = 'F'.
ls_receivers-mailstatus = 'E'.
ls_receivers-sndart = 'FAX'.
ls_receivers-sndpri = '1'.
APPEND ls_receivers TO lt_receivers.
"Send fax
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = ls_object_hd
object_type = 'RAW'
owner = sy-uname
originator_type = 'B'
TABLES
objcont = gt_mail_lines
receivers = lt_receivers
EXCEPTIONS
OTHERS = 01.
break buantoch.
"The function doesn't commit so we must
"do it if successful.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
ELSE.
WRITE: / 'Fax failed RAISE ERROR '(012).
ENDIF.Hi,
Then, you can test the FAX fuctionality like:
go to System->Short Message->give a test message,give recipient as the FAX number,type as FAX->Shift+F8 the see if it works... else only SCOT errors will be there...
See:
http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
Also see:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4b4fa090-0201-0010-d3b7-b233296d95ff
Regards,
Renjith Michael. -
Error while downlaoding smartform into Application server in PDF format
Hi friends,
I am downlaoding Smartform to Application server in PDF format. getting below dump while executing
OPEN DATASET p_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
TRANSFER i_tline TO p_filename
CLOSE DATASET p_filename.
if i add " IGNORING CONVERSION ERRORS " after ENCODING DEAFULT then i am not getting dump and pdf file is creating but i am not able to see LOGO in SAP Application server ( downlaoded back from application server to my pc and checked it).
DUMP:
here i am getting dump saying that : You cannot convert the character set
Runtime Error CONVT_CODEPAGE
Exception CX_SY_CONVERSION_CODEPAGE
What happened?
While a text was being converted from code page '4102' to '4110', one of
the following occurred:
- an character was discovered that could not be represented in one of
the two code pages;
- the system established that this conversion is not supported.
2 characters could not be represented (and thus could not converted).
If 2 = 0, a second or a different error has occurred.
Please Help.
ThanksHi
I think some basis related configuartions to be done
Try like this and inform me
A cyclic job runs, which processes the messages seen in the SOST queue.
Are you sure it's not the frequency of the cyclic job, rather than the
number of messages in the queue, that you are observing? In messages
that are queued and before the cyclic job runs, "wait for comm. service"
is the normal status.
If you mean that there are always 4 items queued in SOST regardless of
the cyclic send job, then I have no ideas. I would have thought there
was no way to do that.
when the send job runs it just never
picks them up & sends them, while it picks up many others. The send job
is somehow blind to these; no error message occurs. In this case, I
'delete' them from the queue (in SOST) and then 'undelete' (drop down
menu -> /Go to /Deleted Items) them and then re-queue them. THEN they
actually get picked up & sent when the next cyclic send job executes.
Regards
Pavan -
ERROR WHILE TRANSPORTING SMARTFORM
hi friend,
when i try to transport my smartform it shows the error message like this
1. Object CUAD ZINVOICE_11 is inactiv
2. Object REPT ZINVOICE_11 is inactiv
what are CUAD and REPT .
My Code is.
REPORT ZINVOICE_11.
*& Report Z_INVOICE_PRINT *
*& changes done by : Bhupinder Singh
*REPORT Z_INVOICE_PRINT_FINAL .
constants : sf_name(30) type c value 'ZINVOICE_11'.
parameters : vbeln like vbrk-vbeln .
data : perf type c.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: pre RADIOBUTTON GROUP RAD1 DEFAULT 'X',
post RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK B1.
data : form_name type RS38L_FNAM.
data : ivbrk like vbrk occurs 0 with header line.
data : ivbrp1 like vbrp occurs 0 with header line.
data : ivbrpf like vbrp occurs 0 with header line.
data : ivbrp like vbrp occurs 0 with header line.
data : ivbap like vbap occurs 0 with header line.
data : ivbkd like vbkd occurs 0 with header line.
data : ikna1 like kna1 occurs 0 with header line.
data : ikonv like konv occurs 0 with header line.
data : ilips like lips occurs 0 with header line.
data : ivepo like vepo occurs 0 with header line.
data : ivekp like vekp occurs 0 with header line.
data : ikonv1 like konv occurs 0 with header line.
data : ikonv2 like konv occurs 0 with header line.
data : netwt like vekp-ntgew.
data : grwt like vekp-brgew.
select * from vbrp into table ivbrp where vbeln = vbeln.
select * from vbrk into table ivbrk where vbeln = vbeln.
data : vknumv like konv-knumv.
loop at ivbrk.
move ivbrk-knumv to vknumv.
endloop.
loop at ivbrp.
select * from konv into table ikonv1 where knumv = vknumv and kposn = ivbrp-posnr and kschl = 'ZFOB'.
select * from konv into table ikonv2 where knumv = vknumv and kposn = ivbrp-posnr and kschl = 'ZDS3'.
endloop.
data : ins like konv-kbetr.
data : dis like konv-kbetr.
data : fght like KONV-KBETR.
loop at ikonv1.
ins = ins + ikonv1-kbetr.
endloop.
loop at ikonv2.
dis = dis + ikonv2-kbetr.
endloop.
if pre = 'X'.
select * from vbrp into table ivbrp where vbeln = vbeln order by matkl.
loop at ivbrp.
on change of ivbrp-matkl.
clear ivbrp1.
refresh ivbrp1.
move ivbrp-matkl to ivbrp1-arktx.
insert ivbrp1 into ivbrp.
modify ivbrp.
endon.
endloop.
endif.
ivbrpf[] = ivbrp[].
select * from vbrp into table ivbrp where vbeln = vbeln.
select * from vbrk into table ivbrk where vbeln = vbeln.
select * from lips into table ilips for all entries in ivbrp where vbeln = ivbrp-vgbel and posnr = ivbrp-vgpos.
select * from vepo into table ivepo for all entries in ilips where vbeln = ilips-vbeln and posnr = ilips-posnr.
select * from vekp into table ivekp for all entries in ivepo where venum = ivepo-venum.
loop at ivekp.
if ivekp-gewei = 'G'.
ivekp-ntgew = ivekp-ntgew / 1000.
ivekp-brgew = ivekp-brgew / 1000.
endif.
netwt = netwt + ivekp-ntgew.
grwt = grwt + ivekp-brgew.
endloop.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = sf_name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = form_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION form_name
EXPORTING
vbeln = vbeln
perf = perf
pre = pre
post = post
dis = dis
ins = ins
vknumv = vknumv
netwt = netwt
grwt = grwt
fght = fght
VECS = VECS
TABLES
IVBRK = IVBRK
IVBRP = IVBRP
IVBRPf = IVBRPf
IVBaP = IVBaP
IKna1 = IKna1
Ivbkd = Ivbkd
ivbrp1 = ivbrp1
ikonv = ikonv
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
INCLUDE ZINVOICE_STATUS_0001O01.
INCLUDE ZINVOICE_USER_COMMAND_0001I01.
whaT SHOULD i do to active it and transport it.dear bhupi,
When u transporting u r any object , please magke sure u r whole object is in active mode ,otherwise its shows erroe like object in in active mode.
Regards ,
Nikhil Narkhede -
Error message in processing log in VA02 in External send.
Hi,
In my smartform I am using READ_TEXT to read one text and I have checked the exceptions also in the call to function module.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = ZNAST-SPRAS
NAME = Y_LV_NAME
OBJECT = 'TEXT'
TABLES
LINES = y_i_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
endif.
But I am not maintaining the text in SO10 and the READ_TEXT will return sy-subrc 4 .In va02 in messages tab ,I am creating output 1(print output) and 5 (external send) and save the document.when I check the processing log for both,In print output I can't see any error messages.But in external send I am getting error message that the text <my text> not found in language <my lang>.I want to know why the error message (exception thrown by READ_TEXT)comes in EXternal send in processing log and it is not coming in the processing log of print output ? .can anybody help me out ? I can't debug while saving the document since everything is handled in back groud(The smartform won't get triggered while saving).hi
Please debug, for which u need to '/H' B4 that have a break-point in ur Driver program on SSF or the READ_TEXT Fm and SAVE in debug mode. When in DEBUG mode ,Under SETTINGS choose SYSTEM DEBUGGING and UPDATE DEBUGGING which allow you to debug and check the Error/Exception from the READ_TEXT FM ...
surya -
Suppress error message in fm READ_TEXT
Hi
I have a smartform in which i am trying to display some longtext.My problem is that i have to draw some extra lines when the longtext does not exist.I tried to verify if the longtext exists using the fm READ_TEXT(and set a flag if exists or not ),but it returns error message "Longtext does not exist" and the whole form crashes when the longtext is not found.
I have to only check if the longtext exists and display it and if it does not exist i have to display another window.How can i suppress that error message that comes from within the FM when the longtext does not exist?
Is there any other method to see if the longtext exists?
thanksHi Seba,
In the driver program please call the read_text FM with exceptions . May be that will help you.
1. call to FM read_text with exceptions
if it_texts[] is initial.
v_flag = 'X'.
call FM 'write_form' with another text element.(there write another hardcode texts which you want)
endif.
2. If you only need to output the text, you don't need to used READ_TEXT like in an ABAP program,
just use the INCLUDE command in SAPScript.
It will read the text and output it to your form.
The Syntax is like this:
/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS&
Thanks,
Suma. -
Field Unknown error message in program node
I'm brand new to SAP and trying to get to grips with Smartforms. This is a very basic question I'm afraid but hope someone will answer it.
I'm trying to perform the following in a program node
SELECT SINGLE * FROM MARC INTO WA_MARC
WHERE IT_VBDPA-MATNR = MARC-MATNR.
IT_VBDPA is defined in TABLES tab of Form Interface
WA_MARC is defined in Global Definitions
IT_VBDPA is defined as an input parameter on the program node
WA_MARC is defined as an output parameter.
I get 'Field IT_VBDPA-MATNR unknown' error message. What am I doing wrong?
Mike.I did define IT_VBDPA in the input parameters section of the program node. Is that what you mean by interface of coding node?
Mike. -
I want to display a message through smartforms. The requirement: if a particular field is initial I want to display an error message. 1) is it possible if yes how??
Thanks in advance.
Regards,
Narayanicreate programlines where you need the message.
write:
message e000(zyourmessageclass).
e means type error
000 is the message number
zyourmessageclass is your message class (To create use SE91)
If it helps please give points.
Maybe you are looking for
-
Do I need a current converter for Europe?
I just got my Nokia C2-01 today, with the power cord that fits US outlets. If I just use an adaptor in Europe, will it hurt the phone? Is it dual voltage? I can't find this information anywhere and will be traveling to France for several months. Than
-
I am used to this question coming up each time Mozilla updates, but usually it only comes up once, we click "yes", and all is well. This time it keeps coming up. Yet when I checked, Mozilla says we are up to date. Resetting Firefox also didn't resolv
-
Scripting for different numbers of table rows in cs3
As always thank you for the help. My question: is there a simple newbie way to script for stroke placements when the numbers of rows in the category between the stroke will vary. I have not even attempted to script this style, as frankly I don't know
-
Mail crashing when importing or syncing with gmail.
After upgrade to Yosimite my Mail keeps crashing. Usually it is like this: i open it, then after minute it crashed. Usually with following error: "Crashed Thread: 3 -[MailApp performSynchronizationForAccounts:] Dispatch queue: NSOperationQueue 0x61
-
Session is not getting invalidated when i access more then 1 war applications
I am experiencing the following problem and i do not understand the reason. I have an application (3 jsps) in a directory called /private under weblogic 6 sp1 directory "DefaultWebApp_myserver". The login.jsp,