Coding Guidelines In SapScript For Jetforms Printing
For the last 10 days I am searching in google & SDN for help related to JETFORM coding in SAP SCRIPT. I have seen some basic syntaxes like ^GLOBAL ^COMMENT ^COMMAND ^FIELD. But I dont know why this commands are used & how it related to Jetform Design.
Can anyone provide me with a material for coding guideline for JetForm using SAP SCRIPT ?
Please help...
Thanks
Malaya
Edited by: Thomas Zloch on Jun 14, 2011 9:29 AM - SMS speak corrected
could you pls. tell me why this is required. Can not ABAP fulfill the requirements.
Please explain the requirement.
check the following thread. hope this will solve ur prob.
[what is a jetform;
cheers
Edited by: Nishant Kashyap on Jun 14, 2011 12:48 PM
Similar Messages
-
How to print the MICR symbols in sapscript for Cheque printing
Hello All,
I am working on the cheque printing. I want to display check number with MICR symbols like in the original cheque we have at the footer level the symbols.
How to print the MICR symbols in the SAP Script. Could anybody please help me out in this issue.
ThanksHi,
In This case your Printer should support the E-13B Charecters.
Create a ParaGraph with Font family as MICR_E.
use C for ON-US SYMBOL which is printed at the beginig and end of the Check Number
ie C&CHECK_NUMBER&C
then use A for TRANSIT NUMBER and
Use D for DASH SYMBOL in your check.
then while Printing the check the original check number will be printed .
Note: Your Printer should support the E-13B charecters
Thanks.
UmaS. -
Where is the configuration setting in SPRO (full path) for defining sapscript for Check Printing (using transaction code F110) ?
Is there a direct tcode for it ?try this one...
spro> financial accounting>finalncial accounting global settings>correspondence>SAP-Script based forms-->Define form names for correspondence print
I hope it works.. -
Where is coding guideline for SharePoint 2013 available?
Can any one suggest where is coding guidelines and best practices for SP 2013 development is available?
Hi,
According to your post, my understanding is that you want to know the best practices for SharePoint 2013 development.
There are some articles cover best practices targeted towards software developers in SharePoint 2013, you can refer to them.
http://social.technet.microsoft.com/wiki/contents/articles/13373.sharepoint-2013-what-to-do-farm-solution-vs-sandbox-vs-app.aspx ,
discusses when to use farm solutions, sandbox solutions, or sharepoint apps.
http://social.technet.microsoft.com/wiki/contents/articles/13637.sharepoint-2013-best-practices-what-client-api-should-you-choose-when-building-apps.aspx ,
guidelines to help you pick the correct client API to use with your app.
http://msdn.microsoft.com/en-us/library/jj164060(v=office.15).aspx
http://social.technet.microsoft.com/wiki/contents/articles/16343.sharepoint-2013-best-practices-setting-up-a-dev-environment-for-windows-apps-and-sharepoint.aspx ,
describes how to set up a dev environment needed for creating Windows Apps that leverage SharePoint.
http://social.technet.microsoft.com/wiki/contents/articles/16353.sharepoint-2013-best-practices-working-with-connection-strings-in-auto-hosted-sharepoint-apps.aspx ,
discusses how to deal with connection strings in auto-hosted apps.
For more reference:
http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Copying sapscript for printing in different language
Hi,
I need to create a sapscript which needs to be printed in 2 langauges and assigned to 2 different output types(one for english language and other for Chinese).
I have already created teh sapscript for the english language and not sure how to create the other one for chinese language.
The language for printing will be determined from vendor master.
Do I need to copy the sapscript(English version) and while copying just maintain it in English language or Chinese language?
Please advise.Hi ,
As David says,
you can create your chinese language layout and use Menu path
Form-> Copy From... and copy your english language lanyout to your chinese langyage layout.
after that you can use SE63 for translation your english Script to chinese language Script or directly you can change heading text and other text in inside your layout.
but make sure if your paragraph format is not support chinese language then you can create new paragraph format for chinese language Script.
Regards,
Prasenjit -
Print Logo on PO Sapscript for specific Pur Org.
Hello Experts,
Business has a requirement to print our company Logo on PO Sapscript for certain Purchasing Orgnizations. We have a Z version of MEDRUCK. Honestly, I have never worked on Sapscripts before.
When I looked at the Print Program it has the following Includes:
INCLUDE ZM06PTOP.
INCLUDE ZM06PF01.
INCLUDE ZM06PF02.
INCLUDE ZM06PF03.
INCLUDE ZM06PF04.
INCLUDE ZM06PFVA.
INCLUDE ZM06PE01.
INCLUDE ZM06PF05.
INCLUDE ZM06PF06.
So I was wondering Is it possible to add logo based on POrg? If Yes, where should I insert (which include) my code for printing the Logo(based on Pur Org)? I assume that I need to create 1 more window?
Please let me know.
Thanks.1 - You need to upload the logo to sap. To do that, use the program RSTXLDMC. Logo extension file must be a TIF or TIFF.
2 - Create a window on first screen. Call that window as LOGO.
3 - On LOGO window, put the logic to change the logo accordingly to Pur. Org doing like the code below.
/:IF &EKKO-EKORG& = 'XXXX'
/: INCLUDE ZHEX-MACRO-LOGOXXXX OBJECT TEXT ID ST
/:ENDIF.
/:IF &EKKO-EKORG& = 'YYYY'
/: INCLUDE ZHEX-MACRO-LOGOYYYY OBJECT TEXT ID ST
/:ENDIF.
Be attention that ZHEX-MACRO-LOGOXXXX (or YYYY) is the name of logo on databse and ST is the language. That is not so nice to do because you need to upload logo several times until you have a good size and quality.
I hope my instructions help you. -
Printing problem for inkjet Printer
Dear All,
my requirement is that the printing output to the inkjet printer.
till now we are using smartforms/script and printing output to laser/dmp printer.
can any body suggest how to code for inkjet printer and what all other factor to be consider.
if any sample code, pls provide same.
Thanks,
Radhashyam SahooHi,
Pls follow the steps.
1. Goto t-code SPAD. Give the o/p device number here, than display. (For eg PR01)
2. Here in Device type, You can specify your Device whichever you would like to use. Keep the other field as per your requirement.
In sapscript driver program, follow the coding:
data : s_itcpo type itcpo.
s_itcpo-TDDEST = 'PR01'. -----> Output device
s_itcpo-tdimmed = 'X'.
s_itcpo-tddelete = 'X'.
s_itcpo-tdnewid = 'X'.
* Display one dialog for user. Then enable several SAP-Script to prt
call function 'OPEN_FORM'
exporting
device = 'PRINTER'
dialog = 'X'
language = sy-langu
options = s_itcpo ----- > +Printing parameter+
importing
language = sy-langu
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
others = 6.
Same thing you can define for smart forms before calling a smartform.
Is it helpful?
Regrads,
Lokesh. -
Hi,
Is there a std for coding in test stand?
so we have any coding guidelines to be followed?
thanks in advance
bharathi
Solved!
Go to Solution.Hi bharathi,
Here are links to the TestStand best practices - This may not be exactly what you're looking for, but it's the closest I know to a coding style guide.
NI TestStand Advanced Architecture Series (in Print)
and here's the web location that this was derived from:
NI TestStand Advanced Architecture Series (website)
While this doesn't talk to a style like a C/C++ or .NET source code style guide does, there's a lot of valuable information that you could leverage in creating your own TestStand coding style guide (if that's what you're looking for).
Hope this helps.
-Jack -
SAPSCRIPT problem in printing on Dot Matrix Printer
Hi!
I have a SAPSCRIPT Form with page format INCH12. The SAPSCRIPT output is displayed properly in print preview. But when it is sent for printing on the Dot matrix printer the first three lines of the second page are printed on the first page at the bottom. Paper size is also 12INCH. I tried adjusting all the windows and putting blank lines. I also gave /: NEW-PAGE command. But it did not solve the problem.
I am not able to identify where exactly the problem is? Is it in the SAPSCRIPT or in printer settings.
If anyone had faced similar problem and was able to solve it then please reply.Hi
if it is possible try to print the same in another printer and confirm the problem
no doubt certain printers may create such problems while printing the output
so to confirm the problem try with other printer.
Reward points for useful Answers
Regards
Anji -
Check coding guidelines?
Hi,
as a java and python developer I'm used to check coding
guidelines (semi-)automatically with tools like checkstyle or
pylint. But I haven't found a similar tool for ActionScript. I did
find coding guidelines like
http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/
by Fabio Terracini, but no tools.
Does a lint-/checkstyle-like tool exist? Do I use the wrong
search criteria at google/google-groups? Has someone "hacked" a
java/javascript-tool to support ActionScript?
Thanks in advance for your help.
UweThere is not checkstyle tool yet for ActionScript 3 out
there.
For coding quidelines, there is no strict coding quidelines
imposed on developers by Adobe
You already found the only known publicly shared coding
quidelines made by one of the commercial company..
Within my company, we had created a set of coding quidelines
that is partly documented on internal Wiki, but we never had taken
care of making those code guidelines public...
Sorry for the little developement in this area, but AFAIK
that the way it is currently in ActionScript 3 world... -
Coding guideline in oracle on demand
Let me know what are the coding guidelines to be followed in oracle on demand while developing project as we follow in other technologies
I would recommend posting this question in the CRM On Demand Integration Development forum. Thanks for your help.
-
Hi. I am trying to create SAPScript Form to print checks and need your help.
I am very new to the SAPscript, so I have one general question and one specific question.
1. Is there a really good tutorial for creating a check form?
2. Currently, AP in our company uses two checks per legal paper.
Do you know how/what format I need to set up page format to print two checks at a time in one paper?
Thank you in advance.
JohnThank you, but I am little confused.
Let me try to explain little more detail of my need.
We have legal size paper containing two blank checks and space to write invoice items below each check.
If open item has one check to write, just print one check.
If invoice items goes over length of space allowed, void next check and continue with invoice items.
If it needs to print two or more checks,
print first check, print invoice items, print second check (on same legal paper) and invoice items.
Go to next legal size paper and print third check, etc...
How do I set up to print second check on same paper below contining to next paper?
What page format do I need to use?
I hope this clarifies my need.
Thanks.
John -
We were able to get some of the secure coding guidelines documents for ABAP and Java which are dated 2006 from SDN. If there are any later to these releases, please let me know.
thanks & Regards,
S. RajFew tips are:
- you can follow some OOPs design patterns in ADF.
- Create shareable components as bounded task flows and reuse them using ADF library jar
- create separate projects for JavaScript, css, images or deploy them to web server virtual directory.
- MDS can help you in many areas for customization and personalization
- Over use of CSS and javascript could slow the performance as well.
- Don't play with oracle internal libraries ( i have seen many cases causing bugs in productions later)
and last not least...........don't re-invent the wheel if declarative solution is available use it ;)
hope it helps
Baig -
CFC's - Question about coding guidelines
I have a question about the following section in the
CF
Coding guidelines
quote:
{cfmxroot}
---wwwroot/ » web-accessible .cfm pages and .cfc Web
Services
---extensions/
--------components/ » tree for .cfc files
--------customtags/ » tree for .cfm custom tags
--------includes/ » tree for include files
---config/ » tree for configuration files
This implies that we have two Custom Tag Paths set up in the
CFMX Administrator:
{cfmxroot}/extensions/components/
{cfmxroot}/extensions/customtags/
We also have mappings for the root of the includes tree (for
cfinclude) and the custom tags tree (for cfimport):
/cfinclude » {cfmxroot}/extensions/includes/
/customtags » {cfmxroot}/extensions/customtags/
1. Why would you want to add both a custom tag path
AND a mapping for " {cfmxroot}/extensions/customtags/"?
2. The guidelines seems to imply you should use a custom tag
path for components, instead of a mapping. If the "components"
directory is already outside the webroot, then adding a CF mapping
shouldn't make it web accessible, right? So is there any benefit to
using a custom tag path versus a mapping?It is up to you where you put your components and where you
put your custom tags. The standard way, as I know it, at least, is
to create a mapping for your cfc directory on the
Mappings page of the Coldfusion Administrator and to
register the path to your custom tag directory on the
Extensions/Custom Tag Paths page. In answer to your first
question, you will also need to create a mapping for a custom tag
directory if you intend to call tags using the template-attribute
of cfmodule.
Coldfusion considers the directory-path that you register on
the
Extensions/Custom Tag Paths page an absolute path. That is
what enables you to call a tag directly by name on any page of your
application, for example,
<cf_myCustomTag>.
One consequence is, if you stored a component myComp.cfc in
such a directory, you could instantiate it on any page simply by
running
<cfset myObj = createobject("component","myComp")>
However, this doesn't offer anything a mapping wouldn't. So,
in answer to the second question, I don't think one should use a
custom tag path for components. Mixing one's custom tags with one's
components only produces an oil-plus-water structure. -
Logo not printing for Zebra printer
Hi All,
I have a requirement to print company logo after executing MIGO using Zebra printer. I have added the Zebra print parameters in SAPscript and uploaded the ITF file of logo to SO10 and from there copied to my SAPscript and tried printing, there is no logo displayed. I have tried using including standard text in sapcript with help of INCLUDE text statement that also is not working. Please help me to print logo using SAPscript for zebra printers.
Thanks & Regards,
PriyaHi All,
If I directly printing the uploaded ITF file from standard text, I am able to print the logo. But when copy paste the same code in SAPscript its not printing. Please can anybody explain why?
Thanks & Regards,
Priya
Maybe you are looking for
-
How to build a button on click of which opens a list below it
Hi, I have a requirement wherein onclick of button I want to open/close list/popup (which is displayed below button, just like in select list) and can select any item from list to do some action. It is required urgent. Can anyone guide me please? Th
-
CDs & DVDs system preferences button missing
It seems that the button of the 'CDs & DVDs' system preferences button is missing. Where did it go or, how can I reinstall it ? Thanks Martin
-
Uregent inventory aging report.
do anyone have the code for batch aging analysis for inventory. plz fwd it to me i need it its urgent ....
-
sir, I have installed oracle 8i personal in my pc. now I want to deinstall it, how can I remove completely , it is not showing the oracle if I open add/remove programs. If I remove physically from the folder, the registry it shows the intalled oracle
-
Why does my ipod not play on my docking station?
My ipod touch has just stoped playing on a docking station. I have tried 4 different station and it will not work. It will charge but that is all. Someone please help!