How to rename the SAP Script.
Dear All,
I wanted to rename a SAP Script. How Can I do that ?
Thanks & Regards
Venkat
Hi Rich and Others,
Thank you very much for your reply.
I knew that it can be copied but just wanted to know whether we can renamed.
I belive Ramu is right, we can't rename.
but before closing this thread, I and other members would like to confirm whether we can rename or not.
Thanking you.
Regards
Venkat
Similar Messages
-
Hi to all.....
How to Debug the SAP Script when it get's triggered with the Transaction.
And how to Align the Standard Text data ..That is Justifing the statements.
Advance Thanks to all
ChinnuIn se71, Chose from menu:
Utilities-> Activate Debugger
From the transaction, In the output message screen, you chose chose your output type, Go to Further options, Chose the dispatch option as Send at periodically scheduled jobs . then save the transaction. And run the prigram RSNAST00 It would stop at the debugging.
Regards,
ravi -
How to create the Sap script & Layout Set (wants sample code)
Hi All ,
Can you please provide me the step by step procedure
to create the Sap script & Layout Set .(please provide sample
code/links /docs for layout & print program).
Regards
Rahulhi,
go through the following links what i found to create sap script.
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
http://abapliveinfo.blogspot.com/2008/01/free-sapscript-made-easy-46-book.html
http://www.thespot4sap.com/articles/SAPscript_example_code.asp
http://idocs.de/www3/cookbooks/sapscript/sapscript_1/docu.htm
http://idocguru.com/www5/cookbooks/sapscript/sapscript_1/example.htm
www.geocities.com/wardaguilar25/sapscript-tutorial.html
http://logosworld.de/www3/cookbooks/sapscript/sapscript_8/docu.htm
how to create a scripts?give steps?
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402
http://www.sap-img.com/sapscripts.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
http://www.sap-basis-abap.com/sapabap01.htm
http://www.sap-img.com/sapscripts.htm
http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
Other Links -
How to transport the sap script
Hi gurus,
I am new to the SAP scripts. I finished the development of my form by usiing SAP Scripts. How can I transport it? Any help is appreciated!
Thx in advance!
Kun Baocheck these links it will be very useful...
How to transport SAPSCRIPT??
SMARTFORMS translate and transport
SAP Scripts are client-dependent objects. Hence, they may often require to be downloaded from or uploaded to SAP system
Following programs can be used to download from/upload to SAP System
RSTXR3TR To EXPORT/IMPORT layout set (FORM) using a Transport Request (CTS)
RSTXSCRP To EXPORT/IMPORT layout set (FORM), Style, Standard Text or Device Type without using a Transport Request
execute the Program 'RSTXSCRP' give the Script name and Export it to u'r system and then log on in different client and Import the script using the same Program.
reward all help full answers. -
Hi,
How to change the SAP Script Package..when i use option copy from client option, it ask for a package but after copied it shows in the $TMP package...
how can i change it.
Regards,Hi,
Goto SE80 --> select LOCAL OBJECTS from the drop down and hit enter.
You will be displayed a list of all local objects.
Locate your SAP SCRIPT --> right click on this script name --> click More Functions --> click Change Package Assignment and you will be prompted for a package name.
Give new package name and click done.
Your script is now assigned into the specified package.
Regards,
Tarun -
How to add a page in the SAP Scripts
Hi All,
I want to know how to add a page in the sap scripts. there is already sap script developed by some other person.
Now I have to add a page in front of that and have to add some more data.I added a page in page windows but thats not at all working.
Please help me out in this.
Thanks,
Praveennew page will create in sap scripts using new page command.
you have to set condition like after some number of records displayed in page new page has to be trigger.
ex:YOU HAVE SO MANY RECORDS FOR PRINTING BUT YOU WANT TO DISPLAY 100 RECORDS IN FIRST PAGE REMAINING IN SECOND PAGE LIKE THAT.
Here you can use NEW PAGE COMMAND .
IT IS OPPOSITE PURPOSE OF PROTECT AND ENDPOTECT.
Reward if useful. -
How to create table in the sap script
Hi,
How to create a table in the sap script layout, i Have to use table in the main window with 7 columns. can any one send sample code.
How to calculate the number of line items which are displaying in the main window, if the number of line items are exceed in the main window then the amount has to be calculate and print as "BALANCE FORWARD" and the next page had to be displayed as "CARRY FORWARD" that amount. if this is the last page not subsequent page the amount had to be calculated the carry forward amount and total amount and print as "TOTAL AMOUNT". i am creating the new layout and the program is the standrad driver program i have to use and i have to use the standard Text elements only, can any one help me on this issuehi
good
there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.
thanks
mrutyun -
My question is that How to add a report into the SAP-SCRIPT .
by using PERFORM ......ENDPERFORM
I don't know how to used it .Hi Sandeep,
Please check this link
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
http://www.allinterview.com/showanswers/37425.html
Calling ABAP Subroutines: PERFORM
You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = u2018|u2019. "First page
ELSE.
OUT_PAR-VALUE = u2018||u2019. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Best regards,
raam -
How to include a report into the SAP-SCRIPT
plz tell me
How to include a report into the SAP-SCRIPT
ASAPcreat a z report like this....................
REPORT zmmgl_picklist1.
TABLES : likp,ltap,ltak.
data : lv_NUM1 type c .
data : lv_NUM type c.
*& Form get_data1
text
-->IN_DATA text
-->OUT_DATA text
FORM get_data1 TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
lv_NUM = lv_NUM1 + 1.
out_data-name = 'lv_NUM'.
out_data-value = lv_NUM .
APPEND out_data.
endform.
*& Form get_data
This form is to read details from LIKP *
-->IN_DATA text
-->OUT_DATA text
FORM get_data TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
out_data-name = 'LIKP-BLDAT'.
out_data-value = likp-bldat.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
out_data-name = 'LIKP-VSTEL'.
out_data-value = likp-vstel.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
out_data-name = 'LIKP-KUNNR'.
out_data-value = likp-kunnr.
APPEND out_data.
ENDFORM. "get_data.
after this go to the script editor......
/: perform get_data in program zmmgl_picklist1.
/: using <ap-vbeln& (Reference field.this field should be there in both program and script.....)
/:changing &likp-bldat&
/:changing &likp-vstel&
/:changing &likp-kunnr&
\[removed by moderator\]
Regards
Anbu
Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM -
How do we enable cutter option in the SAP Script for Zebra Label Printer
Hi Gurus,
We use Zebra Label(ZM400) printers to print the material documents(SAP Script). Could someone please tell me how do we enable the cutter option in the Zebra printer for the SAP Script?
Your vaulable answers will be highly appreciated.
Thanks in advance.
Regards,
Manoj.Hi Manoj,
In Script you dont want to add any logic for Label Cutter, It should be in the Zebra printer settings if the printing is over it should cut the paper. If the print area is predefined for your material label then you can make use of standard label papers (Like 2"x4", 3"x4"....)
Regards
GK. -
How to Use the JAVA SCRIPT code in .htm page of the component
Hi .
In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
thank you
B.ManiCheck this document [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
Regards
Kavindra -
How to test the SAP modules like SD and MM By using Quality Center and QTP
Hi Experts,
How to test the SAP modules like SD and MM By using Quality Center and QTP. Can you please provide the documentation regarding this.
Regards,
Skumar.Hi Sampath,
First install QTP and SAP Addin with in QTP.
2nd use QC to develop the test plan and then convert that test plan design to Test Scripts (QTP vesrion using settings)
3rd record the R/3 GUI screen of SAP for SD, MM like Create order or Create PR.
Once recording is done QTP will create a script in VB
SAPGuiSession("Session").SAPGuiWindow("SAP Easy Access - User").SAPGuiOKCode("OKCode").Set "/nVA01"
SAPGuiSession("Session").SAPGuiWindow("SAP Easy Access - User").SendKey ENTER
you can always add a parameter and other customization according to your requirement.
Let me know if you need more information regarding this.
Good Luck! -
How to view the DDL script prior to object deployment in OWB 10g R2?
How to view the DDL script prior to object deployment in OWB 10g R2?
Here is what I' looking for: in 10gR2, let's say I've built dimension X, but it's not deployed yet. I've selected one of the deployment options, let's say: "Deploy to Catalog only". Now, I'd like to see a DDL script that will be executed at the deployment time. Where can I find this script? What screen? What menu?
Thanks,
vrViewing the Scripts
After you have generated scripts for your target objects, you can open the scripts and
view the code. Warehouse Builder generates the following types of scripts:
■ DDL scripts: Creates or drops database objects.
■ SQL*Loader control files: Extracts and transports data from file sources.
■ ABAP scripts: Extracts and loads data from SAP systems.
To view the generated scripts:
1. From the Generation Results window, select an object in the navigation tree on the
left of the Generation Results dialog.
2. Select the Scripts tab on the right of this dialog.
The Scripts tab contains a list of the generated scripts for the object you selected.
3. Select a specific script and click the View Code button.
Regards,
Marcos -
Worked on the SAP-Script layout sets in MM modules.
sir,
Like to know How would Worked on the SAP-Script layout sets in MM modules.Hi,
First of all what are we trying to achieve?
I understand that changes where made to standard SAP SAPscript RVINVOICE01 and you where asked to make further changes.
In SAP configuration you need to see what is the driver program for your SAPscript and what is the SAPscript name (transaction VOK2->Output->Processing Programs->Billing Documents) or via table TNAPR.
This will allow you to see what is the driver program for your SAPscripr (this is the program that prepares data to be formatted by your SAPscript layour set).
Once data is derived by an ABAP program, a sapscript is called from driver ABAP to print this data.
You may need to make changes to driver ABAP (in case changes to data are required) or to SAPscript if changes to layout and window positioning are requested.
Try not to modify standard SAP programs (copy to Z versions)...
Hope it is of some help...
Michael -
Work on the SAP-Script layout sets in SD modules
Hi,
How to Work on the SAP-Script layout sets in SD modules. The documents modified were RVINVOICE01 as per the clients requirements.Hi,
First of all what are we trying to achieve?
I understand that changes where made to standard SAP SAPscript RVINVOICE01 and you where asked to make further changes.
In SAP configuration you need to see what is the driver program for your SAPscript and what is the SAPscript name (transaction VOK2->Output->Processing Programs->Billing Documents) or via table TNAPR.
This will allow you to see what is the driver program for your SAPscripr (this is the program that prepares data to be formatted by your SAPscript layour set).
Once data is derived by an ABAP program, a sapscript is called from driver ABAP to print this data.
You may need to make changes to driver ABAP (in case changes to data are required) or to SAPscript if changes to layout and window positioning are requested.
Try not to modify standard SAP programs (copy to Z versions)...
Hope it is of some help...
Michael
Maybe you are looking for
-
Lost connection to measurement & automation explorer
Once in a while Labview loses connection to Measurement & Automation Explorer so I'm unable to execute the "*IDN?" command to obtain my GPIB ID unless I manually open up Measurement & Automation Explorer then manually rescan for my instruments again
-
I've been using Seagate Backup Plus for a year now and suddenly it has stopped working on my Macbook Pro (mountain lion 10.8.5). When I plug it in, it lights up and I can hear it running, but it won't show on my macbook. I've checked on Disk Utility
-
GP-E2 and lightroom 4.1 not importing location.
I have being taking quite a few photos using a 5D MKIII with a GP-E2 attached, CR2 files have the GPS data as I can see it on the camera when viewing the photos, but when import them in Lightroom, I do not see this photos to have the geotag informati
-
How to Uninstall 11i Windows XP ?
Dear all, How to uninstall 11i installed in windows Xp sp2 without re-formating the HDD ? Is there any software to do so ? Regards, Willynelly.
-
What is different between NW Developer Studio 7.00 and 2.0?
I was download NWDS 7.00 in service market place. but I found NWDS 2.0 in same place. what is different? and what does download in service market place? I will do java develpment for SAP XI.