Sap script/smartforms
hi friends,
this is siddhardha
what is the prosidure to copy and program for the copied form in our prasent working clint.
and what for the T-CODE NACE is used.
thands, regards
Siddhardha
Hi,
Here is a great link to come to your rescue....
http://www.allsaplinks.com/smartform_example.html
As far as NACE is concerned, it is assigning the form to the driver program. Usually done by functional consultants.
Feel free to revert back.
--Ragu
Similar Messages
-
Converting HR Form(pe51) into sap script/smartform
I have an HR form created in PE51 - how do I convert this into a sap script/smartforms? I would like to put our company logo on the form...
Thanks - JanetWell i once found these two Notes:
701887 and 309204
It is talking about PE51 and some interaction with smartforms and a couple of Function modules.
Following objects are created in release 4.6B and delivered from releases upwards via this note :
Function group HR99S00_SMARTFORM
Function module HR_99S_CONV_PRIPARMS_TO_SSFCOMPOP converts printing parameters from format PRIPARMS to Smartform format SSFCOMPOP.
Function module HR_99S_CONV_SFERROR_TO_HRERROR converts and integrates Smartform error table to an HR error table.
It looks like it is possible to produce a smartform payslip. What I could not find is how to do it. -
SAP Script & SMARTFORM import - Prog. RSTXSCRP????
Hi Experts,
We hv my_SAP_Script in DEV system of FarmSeeds box.................now, I need to get(import/copy) in the same my_SAP_Script into DEV system of FarmChemicals box,
So, in this perspective am looking the prog. of RSTXSCRP............but, it looks like its does not meets my requiremet,
So, let me know that,
1- If it meets my requirement, pls.let me know How to do it, I mean, Is I need to IMPORT to a .txt file on my local desktop?
2 - How to get it from DEV of one box to DEV of another box?
3 - The same case for SAMRTFORM also!
replies appreciated
thanq
Edited by: SAP ABAPer on Nov 6, 2008 7:05 PM
Moved to correct forum by moderators
Edited by: Matt on Nov 6, 2008 8:12 PMthanq.
for SMARTFORMS also, I did the same, so, looks like its working.
but, clarify,
1 - shuld i check the check box of BINARY FORMAT?
2 - In the Target system, system is forcing me to give/specify the SAME NAME, wht we hv in SOURCE system...........say, my_sap_script??? so, is it so? or Can I give any name? bcoz, here at thisa client need to follow naming conventions?
2 - looks like, i can NOT RENAME the sap script? is it correct or is it possible to RENAME the script, if so, how?
3- pls. clarify ur statement below,
" You will have to use a transport for the SmartForms anyway"
thaq
Edited by: SAP ABAPer on Nov 6, 2008 8:08 PM -
SAP Script,Smartforms,Adobe Forms
Hi SDN Friends!
I had this question.
Given a SAP Script or SMART Form ... how do we identify (table names?)
The Print program associated with them? Also, how does that concept differ from PDF forms?
Any body can answer please........
Regards,
Markiv.CHi
In any Orgn in real time in SAP we use Sap scripts or Smartforms for sending Outgoing documents like Sales,Pur order to customer or vendor.
So these are assigned with an Output type, Medium, Print program
These settings are configured first in Application document and in NACE Tcode
accordingly an Entry is saved in NAST table and TNAPR tables
so from these 2 tables we will come to know the form/sf name, print program and Output type and Medium etc
<b>Reward points for useful Answers</b>
Regards
Anji -
SAP script & smartform debugging
Hi experts
can u plz give me the step by step procedure for debugging the SAP script and smartform
regards
venkatHi,
They are two ways to debug the SAPScript.
1). Use Tools - Word Processing - Layout Set (SE71). Enter
name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when
selecting the SAPscript debugger. (Menu path:
Tools-Wordprocessing - Forms, Utilities - Activate Debugger)
The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run
program RSTXDBUG.
When you debug Print program it is same as you debug any
other ABAP program. While when you debug SAPScript, you
actually debug the code ( scripting) you have written
SAPScript Form.
DEBUG Smartform:
One way to debug smartform is to debug the Function Module of
that smartforms. If you want to debug particular smartform
node that the solution would be, insert a "Program Line" just
above the node you want to debug and this program line write
a normal abap breakpoint. So whenever you call the
smartforms, it will stop at this breakpoint and you can debug
onwards.
another way is SFTRACE can be used for debugging SMARTFORMS
for details refer this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
rgds,
latheesh -
HOW CAN WE SUGGEST SAPSCRIPTS ARE POOR PERFORMANCE COMPARE TO SMARTFORMS
IN DEVELOPMENT I CREATED A S.F IT GENERATES A FUNCTION MODULE .WHEN I TRANSPORTED IT TO TESTING. WHETHER SMARTFORM GENERATES A FUNCTION MODUEL OR NOT?Hello Polisetty,
First question: It's not primarily a performance issue (SAPscript doesn't have a bad performance). It's an issue of upward compatibility and functional features why SmartForms does have an advantage.
Second question: Of course, the function call 'SSF_FUNCTION_MODULE_NAME' in your transported program creates a temporary function (import parameter fm_fname) in the new environment (either TEST or QM or PR) as well. You have NOT to transport the created FM (which is the value in fm_name).
Hope it's clear,
Heinz -
Send email with PDF attachements (Smartform/SAP script)
Hello All,
I have 3 existing programs A, B & C whose output is in SAP Script/Smartform. Now I need to create new program D which needs to execute program A, B & C and then convert their smartform/SAP script output into PDF format and send email with attachements (PDF files). Any pointers how I can proceed. Thanks a lot.hi Sarita,
v_ctrlparams-no_dialog = 'X'.
v_ctrlparams-getotf = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Smartform name'
IMPORTING
fm_name = v_func_mod.
CALL FUNCTION v_func_mod
EXPORTING
control_parameters = v_ctrlparams
IMPORTING
job_output_info = v_joboutput
TABLES
t_nonsigner = t_nonsigner.
fill the document
doc_chng-obj_name = 'Descriptoipn'.
Fill the subject line
doc_chng-obj_descr = 'Manpowe'.
doc_chng-obj_descr = 'Reminder .
doc_chng-sensitivty = 'P'.
Fill the content of the mail
objcont = 'Dear all,'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'The manpower sign-off is pending for the list of employees as per th' &
'e attached sheet.'
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'Please click on the following link for the manpower sign-off:'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
DESCRIBE TABLE objcont LINES entries.
READ TABLE objcont INDEX entries.
doc_chng-doc_size = ( entries - 1 ) * 255 + STRLEN( objcont ).
Creating the entry for the compressed document
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = entries.
objpack-doc_type = 'RAW'.
APPEND objpack.
Creating the document attachment
(Assume the data in OBJBIN are given in BMP format)
LOOP AT v_joboutput-otfdata INTO wa_otfdata.
APPEND wa_otfdata TO objbin.
CLEAR wa_otfdata.
ENDLOOP.
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'NonSignerDetails.otf'. APPEND objhead.
Creating the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'OTF'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'NonSignerDetails'.
objpack-doc_size = tab_lines * 255.
APPEND objpack.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objcont
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
hope this will help u..
regards,
Santosh Thorat -
Hi Gurus,
I need to debug SAP script. How can I do this?
Thanks,
Pavan
Moderator message - Please search before asking - post locked
Moderator message - Please see Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! before posting - post locked
Edited by: Rob Burbank on Oct 13, 2009 5:00 PMHai Rajiv
For Debugging SAP Scripts & Smartforms as follows
SAP Script:
YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
2.You can debug the function module which generates the smartform.
Regards
Sreeni -
How to Migrate SAP Scripts to Adobe form
Hi,
Can yo uplease tell me step by step how to convert/migrate SAP Script to Adobe forms.
Thanks,
Rajeev GuptaHi
Transforming SAP Scripts - > Smartform -> Adobe Forms is the right way.
refer this thread...
[Re: Convert SAP Scripts to Adobe PDF Forms|Re: Convert SAP Scripts to Adobe PDF Forms]
Regards
Raj
Edited by: Rajasekhar Dinavahi on Dec 9, 2008 5:25 AM -
Dunning Notice print/email using both Smartform and SAP-Script
Hello Gurus,
I have developed the Customized SAP Sript (Copy of 150_DUNN_01) for Dunning NOtice to be send to Domestic Customer and
Cutomized Smartform (copy of F150_DUNN_SF) for Foreign Customer.
Now Issue is that when I assign the Customized script to SPRO setting and standrd setting for BTE '00001720' with function
module 'FI_PRINT_DUNNING_NOTICE', if I want to assign smartform to SPRO setting then I need to replace same FM with
'FI_PRINT_DUNNING_NOTICE_SMARTF'.
how it is possible to work with both SAP-Script and Smartforms for dunning Procedure.
Please gurus let me help for this solution...
Thanks in Advance,
Mahesh SachaniHello Gurus,
Please reply with any solution available with any...
Thanks,
Mahesh -
Migrating the SAP-Scripts to smartforma which are related to Finance(FI)
Hi,
Do we can migrate the SAP-Scripts to Smartform which are related to Finance(FI) & those SAP-Scripts are called by a standard print program (RFFOUS_C)
Urgent answer need please!!!
Thanks,Hello,
Yes you can migrate script to smartform there are different ways to migrate.
Use program SF_MIGRATE..
to migrate from scripts to smartforms.
Reward if helpful.
Viswam. -
String search in SAP Script and Smartforms
Hi All,
We have an urgent requirement where we need to search for a character string in all SAP Scripts and Smartforms in our system.
It would also help if we can get the names of programs/function modules which are internally generated for the same.
Any pointers on the same would be helpful.
Regards,
SaurabhYou can create a variable window in the main window.
You can restrict the last item of the main window by varying the size of main window. In your wite-form ,
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ITEM'
function = 'SET'
type = 'BODY'
window = 'MAIN'
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.
DO this. in the bottom of the main window, create a variable window.
you can add your text in the variable window inside main window.
it will be displayed just after the item ends.
Reagrds,
Pritha.
Message was edited by:
Pritha Agrawal -
Replacing customer statement form (T CodeF.27)SAP script with Smartform.
I have a requirement to automate sending customer statement form which is triggered through T-code: F.27. For this we are trying to replace the SAP script which is triggered from program RFKORD11 with Smartform. We have tried copy the program RFKORD11 to a custom one which assigned to the correspondance type in t-code OB78 and do the modifications, but we could not do so as we are not authorized to copy the program. Can anyone help us in acheiving this functionality. BR, Karthik G.
Re your question A:
F140_CUS_STAT_01 and F140_CUS_STAT_02 are SAP standard forms for customer statement. You can use either one but usually you will create your own (by copying) to add company logo and name, etc.
If you use program RFKORD11 for customer statement, you specify the form to be used in the "Correspondence" field. -
Function module for converting sap script to smartforms?
hi ,
wat is the name of function module for converting sap script to smartforms?
regard's
Deepak sharmaHi,
No function module is there..
But go to T-code..Smartforms and in the menubar..
Utilities-->Migration->Import SApScript Form.
U can thus migrate SAPScipt to smartforms...
How ever a lot of changes have to be done in the migrated one,,
Regards -
How to View Smartforms or SAP Script Forms in Web Dynpro ABAP
Do anyone have idea of how to View Smartforms or SAP Script Forms in Web Dynpro ABAP?
Please let me know. ThanksHi Sameeksha,
You can display an smartform in WDA as an pdf file. Try go through this [article |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]where Nanda does explain about the same.
Regards,
Uday
Maybe you are looking for
-
How to achieve perfect 100% web view
Hi all, We are a web design agency, and we prepare many of our web designs in Photoshop, and then export to PDF for clients to view the designs. Ever since (I think it was) version 7, we seem to have a very, very hard time getting our PDFs to present
-
N97 - How to read chinese?
Hi, I just bought a N97 (pretty nice piece of technology!!! =D), but unfortunately it does not support Chinese. I have updated it to the latest version, Is there anyway for it to support Chinese (song names, sms, etc.) Thanks!
-
Functions of Basis consultant in BW
Can someone give related links/anser to following : What is the function of a Basis consultant in a BW env. Regards, Nandini.
-
I have lost my iphone how do i lock it?
How do i erase and lock my iphone , i have lost it?
-
Can I /dev/null my access log while running?
I have a Directory Server 5.2 system running on Linux Red Hat. My access log is huge - 1.7 G in 2 days, using default logging. Can I manage this by copying the access log to another directory, then cat /dev/null > /sunusr/slapd-xxxx/access w/o negati