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 PM
thanq.
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
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,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 -
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
SiddhardhaHi,
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 -
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 all,
I have changed footer page window in the form. But apparantly, the address page window is also changed. I dont know how, though I have not touched the address page window. As a result the whole output report layout is changed. Is there anyway I can get the origianl page windows and have the original form.
Thanks for the great help.
Sobhan.If you wish to keep a copy of your layout sets in your own hardisk. You can run this SAP program. You can keep it as a backup copy and upload it back whenever you need it again.
RSTXSCRP - SAP Scripts Export/Import
regards
vinod -
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 -
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 -
Smartform/Sap script output to Text file/PDF/WORD
Hi,
I need to download/transfer the output of smartforms/sap script to text file/pdf file or word file.How do i do that?
Do I need to create a new output device?
thnx in advance
chirantanHi,
Go through the following Code
Mail a sapscript
SAPscript: Autotmatically e-mail as PDF
How to convert sapscript(Purchage order) inot pdf format & send in mail
Check the following Code
REPORT ZRICH_0003.
DATA: ITCPO LIKE ITCPO,
TAB_LINES LIKE SY-TABIX.
Variables for EMAIL functionality
DATA: MAILDATA LIKE SODOCCHGI1.
DATA: MAILPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: MAILHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: MAILBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
DATA: SOLISTI1 LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
PERFORM SEND_FORM_VIA_EMAIL.
FORM SEND_FORM_VIA_EMAIL *
FORM SEND_FORM_VIA_EMAIL.
CLEAR: MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
REFRESH: MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
Creation of the document to be sent File Name
MAILDATA-OBJ_NAME = 'TEST'.
Mail Subject
MAILDATA-OBJ_DESCR = 'Subject'.
Mail Contents
MAILTXT-LINE = 'Here is your file'.
APPEND MAILTXT.
Prepare Packing List
PERFORM PREPARE_PACKING_LIST.
Set recipient - email address here!!!
MAILREC-RECEIVER = '[email protected]'.
MAILREC-REC_TYPE = 'U'.
APPEND MAILREC.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = MAILDATA
PUT_IN_OUTBOX = ' '
TABLES
PACKING_LIST = MAILPACK
OBJECT_HEADER = MAILHEAD
CONTENTS_BIN = MAILBIN
CONTENTS_TXT = MAILTXT
RECEIVERS = MAILREC
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
ENDFORM.
Form PREPARE_PACKING_LIST
FORM PREPARE_PACKING_LIST.
CLEAR: MAILPACK, MAILBIN, MAILHEAD.
REFRESH: MAILPACK, MAILBIN, MAILHEAD.
DESCRIBE TABLE MAILTXT LINES TAB_LINES.
READ TABLE MAILTXT INDEX TAB_LINES.
MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
Creation of the entry for the compressed document
CLEAR MAILPACK-TRANSF_BIN.
MAILPACK-HEAD_START = 1.
MAILPACK-HEAD_NUM = 0.
MAILPACK-BODY_START = 1.
MAILPACK-BODY_NUM = TAB_LINES.
MAILPACK-DOC_TYPE = 'RAW'.
APPEND MAILPACK.
Creation of the document attachment
This form gets the OTF code from the SAPscript form.
If you already have your OTF code, I believe that you may
be able to skip this form. just do the following code, looping thru
your SOLISTI1 and updating MAILBIN.
PERFORM GET_OTF_CODE.
LOOP AT SOLISTI1.
MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
APPEND MAILBIN.
ENDLOOP.
DESCRIBE TABLE MAILBIN LINES TAB_LINES.
MAILHEAD = 'TEST.OTF'.
APPEND MAILHEAD.
Creation of the entry for the compressed attachment
MAILPACK-TRANSF_BIN = 'X'.
MAILPACK-HEAD_START = 1.
MAILPACK-HEAD_NUM = 1.
MAILPACK-BODY_START = 1.
MAILPACK-BODY_NUM = TAB_LINES.
MAILPACK-DOC_TYPE = 'OTF'.
MAILPACK-OBJ_NAME = 'TEST'.
MAILPACK-OBJ_DESCR = 'Subject'.
MAILPACK-DOC_SIZE = TAB_LINES * 255.
APPEND MAILPACK.
ENDFORM.
Form GET_OTF_CODE
FORM GET_OTF_CODE.
DATA: BEGIN OF OTF OCCURS 0.
INCLUDE STRUCTURE ITCOO .
DATA: END OF OTF.
DATA: ITCPO LIKE ITCPO.
DATA: ITCPP LIKE ITCPP.
CLEAR ITCPO.
ITCPO-TDGETOTF = 'X'.
Start writing OTF code
CALL FUNCTION 'OPEN_FORM'
EXPORTING
FORM = 'ZTEST_FORM'
LANGUAGE = SY-LANGU
OPTIONS = ITCPO
DIALOG = ' '
EXCEPTIONS
OTHERS = 1.
CALL FUNCTION 'START_FORM'
EXCEPTIONS
ERROR_MESSAGE = 01
OTHERS = 02.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'MAIN'
EXCEPTIONS
ERROR_MESSAGE = 01
OTHERS = 02.
Close up Form and get OTF code
CALL FUNCTION 'END_FORM'
EXCEPTIONS
ERROR_MESSAGE = 01
OTHERS = 02.
MOVE-CORRESPONDING ITCPO TO ITCPP.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = ITCPP
TABLES
OTFDATA = OTF
EXCEPTIONS
OTHERS = 1.
Move OTF code to structure SOLI form email
CLEAR SOLISTI1. REFRESH SOLISTI1.
LOOP AT OTF.
SOLISTI1-LINE = OTF.
APPEND SOLISTI1.
ENDLOOP.
ENDFORM.
Regards
Sreeni -
Conversion of sap script MEDRUCK to smartforms
can anyone help me out in this SAP Script (MEDRUCK) for Purchase Orders to Smart Forms and modified it to suite the requirement.
Hi Hyder,
Its quite simple,
Just goto SMARTFORMS t-code and give a smartform name that needs to be created.
Now follow the below path
Utilities - > Migration -> Import SAPScript Form
It will ask for the SAPScript that needs to be copied to smartform, give MEDRUCK .
Hope this helps.
Rgds,
Sripal -
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.
Maybe you are looking for
-
Ipod cable/accessories for Zen sleek
I don't know why Creative decide to use a new connection for Zen Sleek instead of the standard mini 5 pin USB2 connection. While looking for a new cable (and a compact car charger) for my new Zen Sleek, I noticed that the new Philips HD MP3 player an
-
How do I get rid of the tabs at the top of the page and put them back down on the bottom?
After installing updates the tab bar is at the top of the page. I want to have it on the bottom like it was before the updates.
-
I would like to store phone numbers as text in a database without any formatting. That is, if a user enters 111-222-3333 or (111)222-3333 or even 111 222 3333, the number would be stored as 1112223333. The idea is to allow the user enter phone number
-
Sending to local user gives too many hops
I have set up Mavericks server for mail. Works perfectly for incoming and outgoing mail to other domains but fails when trying to send mail to a local user. Here are my settings: example.com is my primary domain, it provides DNS and Mail service ther
-
Trace option not working inside FLEXBuilder console
Hi I am trying to debug using trace inside a MXML , but the trace statements are not getting displayed in FLEX Builder console Please help as how to solve this . <mx:Button x="149" y="327" label="Delete" click="deleteRow()"/> private function delete