Develop smart forms from scrach or modifying previous layouts or migrating
hi experts can u plz tell me,
can we we develop smart forms from scrach or modifying previous layouts or migrating scripts.
thanks in addvance
Hi,
Go through the following Links, here u can find example with step
by step.
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Check these step-by-step links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
Check these links also.
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
Regards,
Priyanka.
Similar Messages
-
Open iProcurement Smart form from a Third Party System
Hi,
I have a requirement to open the iProcurement smart form from a third party system. We have the Single Sign on functionality so the user can log into the oracle apps without entering the credentials.
Please share if someone has prior knowledge on that.
Thanks & Regards,
Munish MittalIf the ICX_SESSION is already available then the form(I am assuming you are refering to a web based form here) should open directly if the function should be accessible to the user logged in. When you say your custom application is included in Oracle apps are you launching these pages from the Ebiz home page through menus and functions ?
-
Triggering a smart form from User exit
Hi Gurus,
I need to trigger a smart form from a user exit.
The tcode name is COR1.there is a exit for this tocde.
This exit should be used to trigger the smart form.
User exit to be executed upon saving the Process order number.
Thanks in advance.
Edited by: vinay raj on Apr 13, 2009 9:38 AMHi,
You can write a Custom program i.e. the driver program for your smart form.
And submit that program in the exit. i.e. use the submit statement to run that program.
I hope this might help you. -
Trigger Smart form from Account Management
Hi Experts,
I need to triger a smart form form accout management screen.
I am trying implementing BADI , PARTNER_UPDATE , Method CHANGE_BEFORE_UPDATE.
I am able to implement this in GUI and sucessfully able to call my smartform. Now the issue lies in calling this Smartform on portal page.
This BADI gets triggered but the smart form is not displayed.
Any inputs on this.
Help will be appreciated.
Best regards
SourabhTriggered smart forms from activity.
-
Copy Smart Forms from 4.6 to ERP
Hi,
I wonder if it is possible to transport/copy some Smart Forms from one system (4.6c) to another system (ERP).
I thought of exporting the data from our 4.6 system, using the transport manager, and import it into the ERP system.
Not tested so far and just wanted to get some statements or hints on how to handle this.Hi,
You will not be able to download smartform in 4.6c to a local file since there is no facility provided for this 4.6c version.
This kind of facility is only available from 4.7 version only.
So U cannot download the smartform to a local file.
Reward me if it is helpful answer...
Cheers,
Sampath. -
Error in calling/converting smart form from ECC to pdf in portal.
Hi,
We have a requirement in our project where we have to show IT form in portal exactly in the way payslip are shown in ESS
Screen, that is in the pdf form in ess portal screen.
For this my HR abap consultant has made one customize smart form which is being called from a RFC FM.
After the FM lf_fm_name gets executed , the OTF data is being captured and then converted in to PDF.
After that the PDF is then converted into XSTRING format which is then supplied to the portal side through export parameter
of the RFC.
Now when we debugged the RFC, the conversion is taking place perfectly fine in to XSTRING.This is wat we assume.
Portal Side: I have used Iframe ui ELEMENT in my webdynpro java and its property source I have binded with a value attribute
of type string and I am executing above customize RFC given to me by my HR abap consultant and after executing that RFC with
userID and payroll year as its import parameter I am taking export parameter of that RFC with name pdf_string of type XSTRING
of that RFC into my webdynpro java value attribute which i binded to source property of Iframe.
Now when we see the output in portal , first of all pdf is not getting generated and its showing the error message:
file does not begin with '%pdf-' and secondly errored Adobe form getting opened outside Iframe window its not coming within
Iframe window like what payslip comes inside Iframe UI element.
I want to know what mistake we are doing in our ABAP coding or portal coding.
Please help.Hi Satyam,
You can use the existing SAP GRT framework for developing the app.
Its easy and provides more features.
See this wiki:
http://wiki.sdn.sap.com/wiki/display/WDJava/HowtodevelopcustomWebDynproESSapplicationsusingGenericReportingTool%28GRT%29
Regards
Yugandhar Reddy -
Dynamic Changes in Smart Form ( From External Source )
Dear Sap Folks ,
Whether the SF layout attributes can be changed from the external loading program dynamically .
Please give your views on this topic.
Thanks in advance .
Best Regards,
RajHi Raja,
As far as my understanding goes this cannot be achieved by an external program but what you can do is that you can some flags that you can set in the print program and when you pass them to the smart form function module(the function module generated by the smartform) you can decide whether certain windows need to be displayed or not by giving a condition to them. You can have two windows with diferrent attributes and then switch between them with the help of flags acting as conditions.
Hope this will help
Sudhi -
Caling smart form from module pool
Hi,
i want to call smartform from module pool screen when click on some pushbutton.
ex i want to call smart form of sales order by passing perticular S.O number from module pool screen.
plz help me o get this.
thanks.Hi,
Enable hotspot option in the field catalog for the .SO.NUMBER field. On clicking on SO.Number
get the cursor field value and call the smart form in the PAI (ie., in user_command module).
Probably pick ucomm triggers with hotspot.
Venkat. -
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 -
Can I send values to an Oracle Developer 6i Form from a servlet
I have a Developer Forms 6i application where I launch a servlet which opens a socket to another IP address. The servlet needs to send status messages back to the Developer 6i form. Is this possible? Can the servlet communicate with the form? Remember that the form is served via the applet viewer in the browser. Thanks
You can find an answer for a similar question here:
http://stackoverflow.com/questions/1859248/how-to-change-time-in-datetime
The point is DateTime is immutable, thus you cannot change it.
DateTime StartDateTime = DateTime.Now;
int hour = 5;
int minute = 45;
// hour, minute, second
TimeSpan ts = new TimeSpan(hour, minute, 0);
StartDateTime = StartDateTime.Date.Add(ts); -
Not able to open pdf file ( smart form from webdynpro )
Dear friends,
while trying to download pdf file from webdynpro i am getting the following error ( pls check the screen shot and also my code )
could any one please let me know what's the issue
Thanks
Vijaya
data v_bin_filesize TYPE i,
st_job_output_info TYPE ssfcrescl,
bin_pdfx TYPE xstring,
data : it_docs TYPE STANDARD TABLE OF docs,
it_lines TYPE STANDARD TABLE OF tline.
data : lv_file_name type string.
lv_file_name = 'PDFSMARTFORM.PDF'.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
* EXPORTING
* USE_OTF_MC_CMD = 'X'
* ARCHIVE_INDEX =
IMPORTING
bin_filesize = v_bin_filesize
TABLES
otf = st_job_output_info-otfdata
doctab_archive = it_docs
lines = it_lines
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
cl_wd_runtime_services=>attach_file_to_response(
i_filename = lv_file_name
i_content = bin_pdfx
i_mime_type = 'application/pdf'
i_in_new_window = abap_false
i_inplace = abap_false ).Hi,
I think the binary file conversion was not done properly( you haven't filled bin_pdfx, its the otf_data ). OR, Use CONVERT_OTF FM and pass format as PDF. Check this document for reference: Opening a Smartform in Web Dynpro ABAP
Hope this helps u,
Regards,
Kiran -
How to use standard Smart forms
hi All,
Pls give me the detail for smartform ie how to use standard smart forms and how to modify them in SAP 4.7EE
Thanks,
NitinHi,
first u copy the standrad smartform to z and then modify it,
SOME STANDARD SMARTFORMS
SF_EXAMPLE_01,
SF_EXAMPLE_02,
SF_EXAMPLE_03,
LB_BILL_INVOICE,
ENETR SMARTFORMS TCODE
PRESS F4 HERE U FIND ALL STANDARD SMARTFORMS
OR
U GO TO TRANSACTION CODE NACE
SAMPLE PROGRAM FOR SMARTFORM,
. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
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
GS_MKPF = INT_MKPF
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.
Thanks&Regards,
Phani
POINTS HELPFUL -
Customer quality Certificate-Smart form
Hi Experts!
I have developed smart form -Customer quality Certificate,need to attach that smart form to output type LQCB
and generate that Smartform by standard tcode QC22. I have replaced Std scrtpt program with Smart form but till QC22 is calling old script only but I need smartform to be called
Can anybody tell me how to trigger Smart form from QC22/QC21
Thanks
JayHello Jayashankar
You will have to maintain the form detials in 2 places
1) In config Which i think you have maintained
SPRO>QM> Quality Certificates > Output Determination> Define Condition Types for Output Determination> Define Condition Types for Output Determination > LQCB > Processing routines > Print out > You can give the program and Form
2) In the certificate Recipient VV21 - select the customer and click on Communication button and maintain in Print setting , Smart form
This should work
Regards
Gajesh -
Problem in page break of smart forms
Hi Gurus,
I am using smart forms for printing on cheque. What is the problem i am facing is i have three entries in my internal table which i am passing to the smart forms from my driver program. But In the output i am getting four print outs last one having the details of the previous one.
My logic flows like this,
I have used one loop for main window and have added the command for page break, and then I have read the values for the other windows. I have tried in many ways like counting the number of values in internal table and added that in command but its not working.
Anybody please help me to fix the problem.
Thanks in advanceHello friend,
If you have a problem of getting one page printed in addition to the other pages then handle the situation as follows,
Try to create a folder and handle this problem or create alternatives and put the page break commands inside it so that you can handle the situation by giving condition in the alternatives.
If your problem still exists please revert back to me i will help you.
Thanks,
Sri Hari -
Hi Experts,
We are developing smart forms, in the driver program while executing the user selects authorized signatory number we need to get populated the signature 3 diffrent locations in the Smart Forms.For that i created 3 diffrent windows and i uploaded. Am able to do for 10 signatures.
if there are 100 signature are there how to do it?
How to go about it.
We have converted all the signature into .tiff files.
Thanks in Advance.
Regards,
Rahul.
<thread moved, please choose your forums more carefully in future>
Edited by: Mike Pokraka on Aug 5, 2008 2:02 PMHi,
goto se78
click on GRAPHICS general graphics
you get bitmap images.
double click on it.
give the name there and select color bitmap image.
press f5(import)
in the field file name press f4
you can upload pictures from your pc.
Maybe you are looking for
-
How to retrieve the "date created" of a picture file?
Hi there How can I retrieve the date of the creation of a file? It's picture I have scanned, I need to authentify it's date of creation. Finder doesn't do it A utility in Photoshope CS3 ( XMP ) doesn't seem reliable. Is there any way I can retrieve w
-
How can I run other application?
Hello everyone! I have few questions, for example I use this to run other application: Runtime.getRuntime().exec("C\\Program Files\\Opera\\Opera.exe");1. It works, but how can I run Opera.exe, when I don't know where was install Opera? 2. I want open
-
How do I stop a device from accessing my iCloud information?
I no longer want a particular device to display any of my iCloud files, etc. For example, I want to remove browser settings (bookmarks, etc.) from a work computer I will no longer be using. Also, currently, if I open some iWork programs or Text Edit,
-
Document Type&Document category
Hi Friends, I am working subcontract scenario.I have 3 operations.For second operation is subcontract operation.When i was create te order system gave the error please find the error below Document Type NB not allowed with document category B. Please
-
Buzzing in Background - way to lower?
I filmed a few people inside of a basketball gym the other day. They had just turned on the lights and they were making a buzzing noise while warming up. It wasn't that loud, but on tape it sounds VERY loud. Is there a way to lower that noise to salv