Error in Control Framework in smart forms programms use GUI_DOWNLOAD
IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
IN SM13 can see the ERROR message.
Function Module: RV_MESSAGE_UPDATE
Status :Update was terminated
Error details: FES 022: Error in Control Framework
I USE GUI_DOWNLOAD FUNCTION at my code. WHEN I mark it,no error message. I must use the Similar function.
How do I solve this problem???
Hello,
Check the thread:
Re: Error in Control Framework in smart forms programms
Regards,
David
Similar Messages
-
Error in Control Framework in smart forms programms
IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
IN SM13 can see the ERROR message.
Function Module: RV_MESSAGE_UPDATE
Status :Update was terminated
Error details: FES 022: Error in Control Framework
THE CODE:
FORM processing USING proc_screen
CHANGING cf_retcode.
******I ADD THE CODE
PERFORM DOWNLOAD_AS_PDF USING lf_fm_name
ls_control_param
ls_composer_param
ls_bil_invoice
nast
repeat
ls_bil_invoice-HD_ORG
ls_spoolid
CHANGING cf_retcode
ENDFORM.
IN DOWNLOAD_AS_PDF FORM ,I USE FUNCTION : P_fm_name(smartforms function) CONVERT_OTF GUI_DOWNLOAD
WHY the UPDATE MODULE have ERROR MESSAGE???
How do I solve this problem???Hello,
Your error message is related to GUI_DOWNLOAD, which is a frontend function.
You simply cannot use it in background, because it puts a file on the
frontend PC where you start the function (WS = WorkStation).
Note that GUI_DOWNLOAD is intendted to be used for dialog user
and will not run at BACKGROUND.
You can review SAP Library: ABAP Programming (BC-ABA)
->Saving Data Externally
->Working with Files
->File Handling in ABAP
Regards,
David -
Error in Control Framework: Background job failed
Hi Experts,
One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
Thanks & Regards,
SKBHello,
please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
HTH,
Jens Hoetger -
Error in Control Framework with GUI_DOWNLOAD FM
Dear All,
I am using GUI_DOWNLOAD FM to download a file in PDF format to presentation server.
The code has been written in an enhancement spot in a class "/SCA/CL_SVORDER", method "Print" on an SNC server.
On execution I get the error "Error in Control Framework".
First I tht that this has something to do with the data table. But when I tried to pass a simple table of Integers in ASC format, it gave the same error.
Please assist.
*----Begin of Code Snippet
data: fullpath type STRING value 'D:\temp\PO.pdf',
bin_filesize type I,
filetype type char10 value 'BIN'.
bin_filesize = numbytes.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = bin_filesize
filename = fullpath
FILETYPE = filetype
IMPORTING
FILELENGTH =
tables
data_tab = t_data
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*----End of Code SnippetHi!
I have the same error, but i need to use CSV Format.
in another program, i used this with XML format.
lv_xml = lr_element->to_xml( ).
Converts the string to xstring
lv_xxml = wd_this->convert_file( lv_xml ).
Shows it in a new browser window
*cl_wd_runtime_services=>attach_file_to_response(*
*i_filename = lco_filename*
*i_content = lv_xxml*
*i_mime_type = lco_mime_type*
*i_in_new_window = abap_FALSE*
*i_inplace = abap_false ).*
Regards! -
Hi All,
I created a webdynpro development. In that all applications are working fine. One button i added and click of that it will download all the attachments corresponding to the sales order and it will place the attachments in desktop folder.
I written all the code in one function module and in the method i associated this function module.
If i debug this, this is working fine. when i click the download button, it shows the error - error in control framework
Any body has any idea about it?
Regards,
Vinoth.Hi VinothKumar,
Did u tried running the method directly. There also u are not getting any error means, you have to check the code in wda where you created the method for that class.
If you are using the fm directly inside the method of wda, then you have to debug step by step in wda.
Regards
Sarath -
Abap mapping - Error in Control Framework
Hi Gurus,
Scenario: IDOC - -- XI -
Http (post)
i am using ABAP mapping for IDOC to XML. I am able to test it using sxi_mapping_test which gives me output XML. But, when i test the scenario from RWB, it fails with "SYSFAIL" error in inbound queue as per moni.
error - "Error in Control Framework".
Looks like it did not even go to message mapping pipeline step.
Please help.
Thank you,
mkHI,
Hope you have done all the necessary pre-requisites for ABAP mapping
This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm
just cross verify with this guide-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
Please also try to debug as follows...
put a break point inside your class/method....
goto tcode SXI_MAPPING_TEST....give in the configuation details of your scenario...and when you execute, give the IDOC-XML, copy it from SXMB_MONI where you are getting the error....
when you execute, it shoudl stop at the break point that you had set in your class....continue debugging using 'F6' function key, and check where you are hitting this error...
The chances are that the FM that converts IDOC-XML to flat file format might not have been executed correctly...
Thanks
Swarup -
Hi All,
I am passing input data to RFC, In input parameters I am passing data to three import parameters and one table parameter of RFC from Web Dynpro. Once I execute it, am getting error "Error in Control Framework, error key : RFC_Error_System_FAILURE".
If anybody aware about it, please guide me.
Thanks in advance.
Regards
MangleshHi Manglesh,
Please verify the Jco settings once.
Please go through the weblog /people/sap.user72/blog/2005/01/08/adaptive-rfc-models-in-web-dynprosome-pointers
Regards, Anilkumar -
Error Smart Form Collections using various Form Classes
I want to add a Smart Form into a collection contianing two PDS's .
Before I add the Smart Form the collection works.
The Collection is using customized form-class ZLSO_PWB_COVER and one PDF #1 is using standard form-class LSO_PWB_COVER and PDF #2 is using standard form-class LSO_PWB_CURRI_INFO.
After I add the Smart Form into the collection, the process errors out.
Any ideas why by adding the Smart Form I would get an error?Solved myself.
-
Names of Smart Forms Layouts used in various Modules
Hello Friends,
I am learning SAP ABAP, i want to know the smart form layout names.
As in scripts we have MEDRUCK, RVORDER01, RVDELNOTE.
Please any one can provide with the above information for smart forms.
i will be very obliged if any one can provide me with some layouts.
Best Regards,
Hasanhi Farook_swiss,
I like to know which smart form layout is used for which purpose.
Script use for Layout
purchase order MEDRUCK
Order confirmation RVORDER01
Delivery RVDELNOTE.
Like this i need names of the Layout, hope u understand my view.
if you provide any sample layout with examples that will be great. -
Hi All,
I want to change a smart form interface, before that I have to know where used list of this smart form but I can't. Could any one tell me how I can see the where used list of smart form.
thanks in advance
chetan vishnoiHello,
the previous suggestions won't work because smartforms are usually used with a dynamic function call.
I have the following suggestions:
1) Go to SE37 and display the where-used list of function SSF_FUNCTION_MODULE_NAME. Now find the entries where input parameter FORMNAME equals the name of your smartform.
2) Change the interface of the smartform such that it is still compatible to the previous version, i.e. all new parameters are optional. If you want to change the type of a parameter, create a new parameter instead. You could then alter the coding in the following way:
IF NOT parameter_old IS INITIAL.
MESSAGE 'Interface has changed' TYPE 'E' RAISING ERROR_OCCURRED.
ENDIF. -
FES 022: Error in Control Framework(VF01)
Hi,
In T.Code VF01 while saving the billing document number it was fine. After saving while pressing the back, cancel or exit button the system shows the message {{Express document "Update was terminated" received from author "Developer"}}. Kindly help to resolve this issue.
Thanks and Regards,
Karthik.VHi,
While checking SM13 it shows,
Module Name Message Type status
POST_DOCUMENT V1 Initial
G_FI_POSTING V1 Initial
FI_WT_POST V1 Initial
BREAKDOWN_RELATION_INSERT V1 Initial
RV_INVOICE_POST V1 (no retry) Initial
RV_MESSAGE_UPDATE V1 Error
MCV_STATISTICS_UPD_V1_INVOICE V1 Initial
MCV_STATISTICS_UPD_V2_INVOICE V2 Initial
MCV_UPDATE_CM_INVOICE V1 Initial
Also i checked the function module RV_invoice _update. i kept breakpoint inthe fn.Mod and executed vf01 tcode, but the system doesnt go to the debugger. Kindly update the solutions.
Thanks and regards,
Karthik.V -
Error while calling BI Publisher from Forms 10g using Webservice - Urgent !
Hi,
I am calling a BI Publisher(10.1.3.4.1) webservice from the Forms 10g (10.1.2.0.2). I developed a jar file which works fine when I run from the Jdeveloper. I have successfully attached jar file to the Forms 10g but when I am calling from the when-button-pressed trigger I am getting beow error
Exception: java.lang.Exception: java.lang.NoSuchMethodError: oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.setPreemptiveBasicAuth(Z)V
Thanks in advanceWhat steps did you follow to successfully attached jar file to the Forms 10g? To me, it sounds like you don't have your .jar file configured with Forms Builder and/or your App Server. Your .jar file needs to be added to the FORMS_CLASS_PATH in the default.env and the FORMS_CLASS_PATH registry entry. You will likely need to modify the formsweb.cfg also to include your .jar in the archive= or archive_jini= variables (depending on your JRE [Jinitiator or Sun JRE respectively]).
It could also be a dependency on an additional Java library. Is "setPreemptiveBasicAuth" a method that you created or it is a dependent method from an additional library?
Let us know this; as well as which Java version you're using.
By the way, with respects to your "Urgent!" request. You have to understand that forum contributers are purely voluntary - this is not our full-time job. If your issue is truely urgent, it is always best to open a Service Request (SR) with Oracle Support than to rely on the forum for an urgent reply! ;-)
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Sep 20, 2010 2:48 PM -
I/O error opening a pdf file with form fields, using itextsharp
Hi,
I'm using itextsharp PDFStamper to set the form fields in a pdf file. It works on my computer properly, but on the QA site and other developer's machine it only shows the values of the form fields, the original text does not show, and it gives the error message "An error exists on this page. Acrobat may not display the page correctly". Please does any one know what's causing this error and how to fix it?.
Thanks,
UyiI recommend you try tech support for the iTextSharp product (I believe
there is a mailing list). This forum is for questions about
understanding the PDF Specifications. You could try an Acrobat forum,
but I think the first option has a better chance of success.
Aandi Inston -
Why the control parameters changed when print smart form
Hi experts:
I set the control parrameters in my source code to print the smart form, I use the loop table for printing, but I found the print device changed automatically, only the frist page is ok. that means, the control paramenters lost when loop. how to solve it?
this is my source:
LOOP AT it_outtab INTO wa_outtab WHERE flag = 'X' .
ssf_open ls_control_param outopt ls_composer_param.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE 'Call SSF_FUNCTION_MODULE_NAME Error' TYPE 'E'.
ENDIF.
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 lf_fm_name
EXPORTING
control_parameters = ls_control_param
zgl_k_stru = wa_outtab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE 'Call LF_FM_NAME Error' TYPE 'E'.
ENDIF.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ssf_close .
MOVE-CORRESPONDING outopt TO ls_composer_param.
ls_composer_param-tdimmed = ' '.
ls_control_param-no_dialog = 'X'.
IF outopt-tdpreview = 'X'.
EXIT.
ENDIF.
ENDLOOP.Hi Prabhat,
Please check following point in your smartform design.
1) In your smartform design, how many pages do you have? (Check the page format and margins, have a look at form painter
as well)
2) Check out the navigation from one page to another page.
3) Debugg the form and check at what point the last page is been added.
Regards,
Amee. -
Control Framework: Fatal error - GUI cannot be reached
Hello All,
Iam using BDC for creating a ZCR order throught VA01 - Credit Memo request. When executed in the foreground, it works fine.But when ran in background gives an error message - Control Framework: Fatal error - GUI cannot be reached and gives a short Dump for 'RAISE_EXCEPTION'.
Please suggest.Normally, BDC should run the same way whether it is in background of Foreground.
No, BDC does not run the same way in background and foreground
To understand BDC in background : different behavior or termination read those OSS notes :
- [Note 33319 - Batch input: Backgr. runs diff. than in the dialog|https://service.sap.com/sap/support/notes/33319]
- [Note 311440 - Batch input and controls|https://service.sap.com/sap/support/notes/311440]
Also this note of interest :
- [Note 554139 - FAQ 2: Batch input|https://service.sap.com/sap/support/notes/554139]
Regards,
Raymond
Maybe you are looking for
-
Can no longer open Excel spreadsheets attachments.
I have recently upgraded to iOS 5 on my iphone4 and 3GS and can no longer open Excel spreadsheets attachments from my Hotmail. They come up as an E (which I think is Evernote). I don't want to use Evernote, I just want to view them as I could before.
-
APEX Report Formatting in PDF Help
Hello there, I was asked to create a report in APEX that will generate a report in PDF. The report will have the first column that will print Institution names, the subtotal should print the institution sector (eg: research university or state Univer
-
Vendors display of PO's without SUS
hi all, we are allowing vendors to directly access EBP system to create confirmations. the standard vendor role does not allow PO displays. However if we add PO transaction (issue PO), then potentially any PO from any vendor can be seen by the vendor
-
Error in SharePoint PPS Dashboard Designer while connect Analysis Service.
Hi, I am getting below error in SharePoint PPS Dashboard Designer. "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source."
-
System Preferences not staying saved.
When I click the "require password to wake this computer from screensaver" button in System Preferences it works. Then a few minutes later I turn on the screensaver and walk away. I come back and it goes straight to the screen. I have clicked the loc