New to smart form
hi i am new to sap smartform, i have a requirement to develop a form that consist of employee offer letter. can anybody help me to develop these form , any sugessions where i get gud practice notes for this, plzz do me this as early as possile, if any body have notes send me to my mail ID.: [email protected]
thanks in advance.
from srujan.
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
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Subtotals - Check the link...
Re: Subtotal with Table Node in smartforms
Go through these SAP Standard programs also,
sf_example_01
sf_example_02
sf_example_03.
Similar Messages
-
How to populate smart form with new values
Hi!
I am new to smart form . Can anybody help me in how to populate smart form with some new fileds. Actually i have to populate credit memo form with some customized values..Hello,
Please elaborate your query more in order to be comprehendable.
Regards,
Shehryar -
How to get the PO no in the smart form and in the print program from ME23N
hello all,
I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
Subhabrata.Hello Everyone,
I am new to the forum and also to abap.
Excuse me if it is a basic question.
I am taking care of the output types.
This is 1st time SAP will be implemented .
For purchase order , I go to NACE ---EF----NEU---Processing routines
print output---SAPFM06P---ENTRY_NEU----MEDRUCK
FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
EDI------------RANASTED--EDI_PROCESSING
DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
Are the above settings fine ?
What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
I searched and found that IN ECC 6 , we have to install OSS notes .
Gurus, please help me . Let me know what all oss notes be implemented and how to proceed from here .
Any help will be greatly appreciated ,
Monalisa -
hi ,
i am new to smart forms.i know how to create now smart forms ie creating new windows and inserting logo and text.i mean i know the basic things in creating a smart forms.i need some help on how to create po or invoice in realtime scenerio.i have gone thorugh some std forms available in sap.but could not know the exact reason n purpose they r defining the variables.kindly if any one have screen shots or soem documents pls help me..thanx in advance..hi rahul,
check these links...
http://help.sap.com/saphelp_nw04/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm
http://cma.zdnet.com/book/abap/index.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
hope these help,
priya. -
Where the standard smart forms stored in sap
hi
this is kishore kumar
i am new to smart forms
please tell me any body
in which table table standard smart froms r stored
for example scripts r stored in TNAPR TABLES
so in which table smart forms r stored
please tell me
or how to use standard smart forms.
thanks in advanceHi Kishore,
Smartforms stores in table STXFADM
Procedure to find where smartforms storeS:
Run Tcode: SMARTFORMS
Press F1 on smartform text box .
Click on technical information icon. You can find table name as SSFSCREEN.
Double click on SSFSCREEN, Which is a structure.
In this you can find first field as FNAME(form name).
Go to entry help/check tab .you can see check table for field FNAME as STXFADM.
Double click on STXFADM . it takes you into table STXFADM.(this is the table actual table where you can find smartforms).
click on content icon where you can different smart forms.
Regards,
Jaipal Reddy.k -
Hi all doubt on smart forms ????????
hi ,
i am new to smart forms i need to create a smert form in which complex validation are all had to be implemented .. can anybody send any nice materials where i can get a brief decsription of what a smart form is how to create it how to implement conditions as i had to start from scrap i ned to have a brief idea ..please send even if u find any nice links for that also ......
rewards will be sure for replies................Hi,
Check these links.
<b>SMARTFORMS</b>
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
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
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
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.sapgenie.com/abap/smartforms_detail.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
FAQ's on Smartforms
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Regards,
Padmam. -
Small Material for Smart forms
Hello,
I am new to smart forms and upgrading myself in the same field.
Can you provide some material or a link from which i can be able to learn smart forms. I did'nt have that much time to go through the material, so if possible provide with the small and specific material. Points will be rewarded.
Thanks.
Danielehi ,
E-mail this message Reply
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
SmartForms : some links
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
http://www.erpgenie.com/abap/smartforms.htm
regards,
venkat. -
Hi All,
I want to learn <b>SMART</b> Forms in ABAP.
Till now i have worked on <b>SAP Scripts</b> extensively.
Can anybody tell me how can go about creating new <b>SMART Forms</b>!
Can anybody tell me step-by-step procedure to create new <b>Smart Forms</b> in <b>ABAP</b>.
If anybody have good material about the same can you post it to my personel id: <b>[email protected]</b>
Thanks in advance.
Thanks & Regards,
Prasad.HI
GOOD
GO THROUGH THESE LINKS , I HOPE YOU WILL GET SOME BEST IDEA OF CREATING THE SMARTFORMS.
http://sap.niraj.tripod.com/id19.html
http://www.planetsap.com/Userexit_List.htm
http://www.allsaplinks.com/material.html
http://www.sap-img.com/abap-function.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822
SLDB-To find out the logical database details
http://de.geocities.com/rafaelreichle/abapkeywords.html
STMS-Transport Management System
http://www.kabai.com/abaps/q.htm
http://www.skytechnologies.com.au/default_files/job_scheduling.htm
PZ04-TIME STATEMENT
http://www.sapdevelopment.co.uk/fmodules/fmsfield.htm
http://help.sap.com/saphelp_nw04/helpdata/en/59/cd7daa07d711d5b66f006094192fe3/content.htm
http://www.sapfriends.com/sapstuff.html
http://www.sap4.com
http://esnips.com/webfolder/59b7ad16-ec4c-4628-9677-0ed83278d97f
THANKS
MRUTYUN -
Hallow I new in smart form .i build a report program in abap and in my program I have to call to smart form .
In my program I select score of student in some course in If the student passed the course I have to send him page with his name (that I have in the program) and more data that I have in my program and if the student pass the course I send page 1
And if he didn't pass I send other page .
My problem is how I call to the smart from from my program and if I have to build 2 different smart forms .
SELECT objid_e objid_p objid_va objid_r objid_p objid_vc istat_p score weighting begda_e endda_e
FROM yhr_score_page
INTO (wa_score_tab-objid_e , wa_score_tab-objid_p , wa_score_tab-objid_va ,wa_score_tab-objid_r,
wa_score_tab-objid_p, wa_score_tab-objid_vc,wa_score_tab-istat_p,wa_score_tab-score,
wa_score_tab-weighting ,wa_score_tab-begda_e ,wa_score_tab-endda_e)
WHERE objid_e IN c_course
AND objid_p = pernr.
IF sy-subrc = 0.
APPEND wa_score_tab TO score_tab.
CLEAR wa_score_tab.
ENDIF.
ENDSELECT.
LOOP AT score_tab INTO wa_score_tab.
SELECT SINGLE ename orgeh werks
FROM pa0001
INTO (wa_score_tab-ename , wa_score_tab-orgeh , wa_score_tab-werks)
WHERE pernr = wa_score_tab-objid_p.
IF sy-subrc = 0.
MODIFY score_tab FROM wa_score_tab TRANSPORTING ename orgeh werks.
CLEAR wa_score_tab.
ENDIF.
ENDLOOP.
Yhr_score_page is table that I take all the data for the student and score tab is my internal table with the data .
I wont to now how I move ename to the smart form
I now that I have lot of question but I lost.
regardsHi,
When you create the smartforms..
In the GLOBAL SETTINGS -> FORM INTERFACE.
you can give the internal table name in the TABLES PARAMETER..
After activating the form..It will generate a function module...
Press f8 in the smartforms after activating..you will get the function module name..
Use the function module name to call from your print program..
CALL FUNCTION 'xxxxx'
EXPORTING
TABLES
ITAB = ITAB_DATA[].
It is just like a function module call..
THanks,
Naren -
Smart form-setting dynamic window height
Hi all,
I am new to smart-forms.My requirement is the set the height of the window to dyamic.How do I do that ?
Your ideas are appreciated and will be rewarded.
Thanks,
Stock.Hi,
You can't keep the Window Height dynamic in Smartforms. It's not possible.
Regards,
Anji -
hi experts i am new in smart form i know script
could u guide plz
in scripts we have predefined forms and corresponding driver programs like MEDRUCK, RVORDER01 using this we can modify our layout according to client requirement.
1. can u please provide predefined forms and print programs in smart forms and plz tell me 2. wht modifications we will do real time in smart forms
3. how to create table in smart forms
4. how to debug and how to transport smart forms
5. can u please provide some FAQ's in smart formsHi Sayeed,
Go through this important URL:
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
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
This is the program:
Converting SMART FORMS output to PDF format
REPORT zsuresh_test.
Variable declarations
DATA:
w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
w_fmodule TYPE rs38l_fnam,
w_cparam TYPE ssfctrlop,
w_outoptions TYPE ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string.
Internal tables declaration
Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
This function module call is used to retrieve the name of the Function
module generated when the SMARTFORM is activated
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
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.
Calling the SMARTFORM using the function module retrieved above
GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
format of the output
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
Printer name to be used is provided in the export parameter
OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
CALL FUNCTION w_fmodule
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = w_cparam
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = w_outoptions
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
JOB_OUTPUT_OPTIONS =
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.
t_otf[] = t_otf_from_fm-otfdata[].
Function Module CONVERT_OTF is used to convert the OTF format to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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.
To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILE_NAME =
FILE_FILTER =
INITIAL_DIRECTORY =
WITH_ENCODING =
PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = T_pdf_tab
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.
Find userexits with transaction code:
Selection Text: P_TCODE: Transaction Code to Search
Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP® User Exits exists.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Rewords some points.
Rgds,
P.Naganjana Reddy -
How to add New field in SMART forms.
How to add new field in the SMART FORMS. Please know me the step.
Please help me soon.
Moderator message: Welcome to SCN!
Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Jun 17, 2011 12:31 PMHow to add new field in the SMART FORMS. Please know me the step.
Please help me soon.
Moderator message: Welcome to SCN!
Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Jun 17, 2011 12:31 PM -
New smart form picking enjoy purchase order /SAPDII/SPP_ORDER
Hi Experts,
Ours is a new implementation project.
Requirement is to design a new smart form for purchase order.
The print program for the purchase order is loaded.
When I go for print preview the print program is calling the enjoy PO and not my form.
I checked in the transaction NACE
PRINT PROGRAM : Z_SMBZA_ZA_FM06P
FORM ROUTINE :ENTRY_NEU
FORM : -
PDF/SMARTFORM : Z_MMPO_ZA
My print program has 2 includes
INCLUDE Z_SMBA0_AA_FM06TOP.
INCLUDE Z_SMBA0_AA_FM06PE02.
Every thing is working fine except with the following piece of code
IF NOT tnapr-sform IS INITIAL.
lf_formname = tnapr-sform.
ELSE.
MESSAGE e001(ssfcomposer).
ENDIF.
Here I am getting tnapr-form as /SAPDII/SPP_ORDER and not Z_MMPO_ZA
If I change the field to Z_MMPO_ZA in debugging it works fine and I am getting the output of my form.
In the table TNAPR the field SFORM shows Z_MMPO_ZA
In the table NAST the field PFLD3 shows /SAPDII/SPP_ORDER
Can some one help me how to make the program by default read my form and not /SAPDII/SPP_ORDER
Thanks
JoshiHi,
IF NOT tnapr-sform IS INITIAL.
lf_formname = tnapr-sform.
ELSE.
MESSAGE e001(ssfcomposer).
ENDIF.
In debugging check what is value in TNAPR-KSCHL and confirm whether this is the desired output for PO printing.
Also check in PO Header --> Messages, what is the output type configured there. If it is not the desired output type, try adding your desired output type there and chek the print preview.
Also confirm the NACE settings are correct for your Output Type used wihile taking the PO printout.
Thanks & Regards,
Harish -
Adding a new table in smart form
HI,
I want to add a new table to a smartform. like say i want to print LIKP-ROUTE in the main window of the smart form, (islikp like likp)
I have added this table in the table tab of form interface, then in the mainwindow, i have added a new loop and mentioned
islikp into islikp.
and in text i have mentioned
route : &likp-Route&.
But its giving a dump.
Do i have to a create a new program and add the function module.
pls suggest.
Thanks,If you are passing the internal table values from the driver program, then you need to export the internal table from the driver program and have to declare it in the 'Tables" tab of the form interface in the smartform.
Eg:-
CALL FUNCTION wrk_funcmodu
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = st_cntrl
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = st_outopt_info
USER_SETTINGS = 'X'
invoiceno = wrk_doc_num
invoicedt = wrk_doc_dt
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = st_prnout_info
JOB_OUTPUT_OPTIONS =
TABLES
it_likp = it_likp
If the internal table value is not passed from the driver program and if it has to be used inside the smartform then declare the internal table in the "Global definitions", under the tab "Global data".
*intenal table declaration
Variable name type assignment Associated type
IT_LIKP TYPE TABLE OF LIKP
WA_LIKP TYPE LIKP
loop the internal table it_likp to loop into the work area wa_likp.
drag and drop(from the fiel list) the work area field to the text element. -
How to use At New Cntrol Break in smart form LAyout
Hi all respected seniors and experts.....
I am facing one problem in smart form I am creating layout for Tax Invoice in that I want to display in Header area "ARKTX" Short text for sales order item and sum of quantity "FKIMG" and Rate "GKBETR" and Gross amount after multiplying of FKIMG and GKBETR with respected to cheking Rate "GKBETR" and "ARKTX " .
Rate is changing for diffrent documnet no. e.x VBELN .....
means some time for changing of every VBELN rate is different "GKBETR"
so i want to print the same RATE's quantiy on one page and changing of Rate should print on next page onwards .....
and details of quantity with all diffrent vbeln should display on Body of layout....
I think it will solve by using At New control break .....but can any body tell me what is the exact solution of this problem
Thanx in advanceHi,
Please check this link ... and please ensure you sorted the internal table prior to use the control break events (at new and at first).
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9f1f35c111d1829f0000e829fbfe/content.htm
Regards,
Ferry Lianto
Maybe you are looking for
-
Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.
-
Mandatory fields causing validation errors
The problem is that we have a process train and the user can't enter fields that are marked as mandatory on the Entity Object until they get further down the process train. However, you cannot get past the first step (refer to this image: http://xs34
-
What type of hard disk should i use
I have a imac 27 inch late 2013 , 3,5mhz Intel i7. I want to get a hard disk to store photos and others. what do you suggest. Thanks
-
Good Day, Hopefully someone here has the know why on this one. I have setup the Room Mailbox as per several online tutorials. From my Outlook 2013 I can access the room and its calendar. But when I create a new meeting request, I add myself as an Att
-
Package body "ORACLE_OCM.MGMT_DB_LL_METRICS" has errors
Hi I am getting below error in alert log file ORA-12012: error on auto execute of job 86070 ORA-04063: ORA-04063: package body "ORACLE_OCM.MGMT_DB_LL_METRICS" has errors ORA-06508: PL/SQL: could not find program unit being called: "ORACLE_OCM.MGMT_DB