ALLIGNEMENT PROBLE IN SCRIPT
Hello frnds
the decimal value is not dispaying properly in script
value type p decimals 4.
ex value :_______ 0.2353
but i need
value : 0.2353
the spaces i dont need... how can i do that...
plese guide me regarding this
and please let know all formatting options in Scripts
Thnks
regards
Edited by: Aeda N on Mar 21, 2008 3:40 PM
Edited by: Aeda N on Mar 21, 2008 3:41 PM
To resolve your issue try following
What ever the variable you are passing to your SAP Script through your driver program, before passing it,,
use : "CONDENSE <var> NO-GAPS. "
and then pass it to the SAP Script, that should take care of this issue.
You can find the related documentsi in the following links:
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?
Hope you found this useful.
Rahul.
Similar Messages
-
CS6 scripting bug / Problème scripts d'action CS6
Bonjour, suite à mon passage de la CS4 à la CS6, mes scripts d'action ne marchent plus.
Ce script par exemple :
Hi folks, going from CS4 to CS6 made my action scripts bug, especially those using pathfinder :
divide / ungroup / default / trim / ungroup / copy / paste in front
Ces actions effectuées une à une donnent un résultat normal mais conduisent donnent une série de messages d'erreur une fois enregistrées dans un script :
These actions do work normally when i perform them separetly but fail as soon as i record it in a script. Does anyone has an idea?
C'est la même chose avec ou sans fond, avec ou sans contour. Ce même script fonctionne très bien sur CS4. Les raccourcis clavier sont les mêmes.
HELLLLPPPPP!!!!!Bonjour, n'ayant jamais été confronté au problème, je suis allé regarder si la question avait été traitée en anglais.
Mylenium a proposé une explication sur l'accès à certains ports du système.
En fait pour lire une vidéo, Photoshop a besoin de créer un accès à ce fichier, en interne, si ces ports sont inaccessibles (bloqués par une appli tierce, antivirus, firewall (ou pare-feu) ou occupés par d'autres applications), cela peut échouer. -
I have a window of 6cm width. In that i want to display text quantity value next to it in the below format.
e.g. Pricing Condition 500.50
Duty Value 11520.00
Packing Value 55.00
Now how do i do the tab spacing in the paragraph format used aboveHi,
If your window is 6cm in width,you can define 2 tabs in the paragraph format that you are using.
Eg:
paragraph format is P1.
You have to fill in the tab no,the distance and the allignment.
in your case define 2 tabs as below:
1 1cm left alligned.
2 3cm left alligned.
in the script editor where you have to display the values write the following.
give the paragraph format that you are using i.e P1.
,,&description&,,&quantity&. --> ',,' these 2 commas represent 1 tab.
So at 1 cm from left margin it will print description and 3cm fro the left margin it will print quantity.
If you have nay queries please feel free to ask.
Hope this hepls.
Rashmi. -
Photomerge Issues - Script Error Auto allign not possible
Ever since I upgraded to Photoshop CC , I have been unsucessful in Photomerging. I receive an error Script Error cannot autoallign all images. I have tried merfing on a panoramic program and experience no problems.
I have also tried auto alligning using Photoshop CC using diffent images from different cameras and receive the same script error
Any ideas would be appreciatedWhat OS are you running? 32 bit or 64 bit? How big are your source images and how many do you have for a given pano?
I just did a 360 degree pano that ended up 25689 x 1850 pixels (after cropping) from 17 raw Canon 40D images, all handheld while standing in different spots around the Clingman's Dome observation tower in the Great Smoky Mountains National Park. Photoshop CS5 standard 64 bit on Windows 7 x64 with 8 GB RAM didn't have any problem at all with it, though it took about 10 minutes or so to finish. The result came out astoundingly good, even though the slight changes in perspective should have been challenging.
http://Noel.ProDigitalSoftware.com/temp/ViewFromClingmansDome_NPS.jpg
If you don't mind my asking, what do you do with hundreds of panoramas? It's an difficult image format to find uses for to say the least.
-Noel -
Problème décalage et script - illustrator CS5
Bonjour à tous,
J'ai un souci avec la fonction décalage dans illustrator CS5.
Quand je fais "objet -> tracé -> décalage" et que je valide, j'obtiens un décalage sur mon tracé, puis j'inverse la sélection, je fais "édition -> effacer" et j'obtiens exactement ce que je veux.
Mais dès que j'essaye d'intégrer ces étapes dans un script pour automatiser la tâche, dès que le script arrive au décalage au lieu de me sélectionner uniquement le décalage, ca me sélectionne toute mon tracé. Et du coup quand le script arrive à la fonction "supprimer", cela me supprime tout...
Je cherche donc un moyen de selectionner uniquement mon décalage, ou uniquement mon contour... J'espère que je suis assez clair...
Quand j'exécute la fonction "manuellement" (sans l'usage d'un script), j'arrive à obtenir exactement ce que je veux. Quand j'éxecute cette fonction depuis un script tout mon traçé est sélectionné, et ma forme disparait de l'écrant.
J'ai joint à ce post des screenshots pour que vous puissiez mieux comprendre ce que je veux dire.
Merci à vous tous pour votre aide!
JM[only]C'est exactement ce que je cherchais à faire! Merci beaucoup, c'est parfait! Merci !
Si je peux me permettre, je cherche ensuite à épaissir mes contours, et à arrondir leurs extrémités, mais même souci : le script ne comprend pas bien. Auriez-vous une autre astuce pour ce problème là?
Par avance merci !
[EDIT] : J'ai trouvé la solution - il suffisait de refaire un décalage avec une conjonction arrondie
Je cherche maintenant à automatiser la réalisation d'un dégradé de couleur sur mon objet à l'aide d'un script... Je vous tiens au courant si cela vous intéresse...? Merci encore ! -
Script print proble if odd page
how to print blank page if page is odd in sap script ( DUPLEX mode (double-sided)
Hi,
Put condition directly to windows on page in order to not print on ODD page. Means Put condition first for any code of window
IF &PAGE& = EVEN NO...
xxxxx
xxxx
xxxx
Endif.
Edited by: MR Venkat on Sep 3, 2009 1:49 PM -
SCRIPT Include text allignment
Hi Friends,
I want print the Include text(Service text) within one column(alignment).
Iam displaying 6 columns in page like item. description, qty, units, price , total ..(6coloumns)..
I want dispaly service text for each Item...
I am getting the Service text though
IC ,,&TTXIT-TDTEXT&
/ : INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &
its printing.. BUt its printing from 1st column to 6 th coloumn and second line also..(more than 200 char)..
I want print this complete text in description coloumn only..
please any body help.. How to print complete text within boundry means (4 cm to 12 cm like that..)..
Thanks in Adanvce,
SAM..Hi Freinds,
Thx for U r mesage.. still its not solved my problemm.
If iam created one paragraph format.
I will give the tab position.. i will put the left allignment.. how itis going to stop after 35 charcters and start next line from tab position..
description coloumn start from tab 6 .. qty start from 31.. i want print from 7th to 30 line..
we can control lfet allignment..
how its is possible for right..
please explain me..
regards,
SAM -
Problème erreur scripts / tracé PHOTOSHOP
Bonjour,
Je souhaite automatiser des action en passant par les scripts de PHOTOSHOP
Le but étant d'enlever le fond d'une image déjà détourée avec le tracé existant.
Hors, le script s'arrête : "l'objet tracé "nom" n'est pas disponible pour l'instant"
Si vous avez une solution, cela m'éviterai cette manipulation pour plus de 1000 images du dossier.
Bonne journée!
Merci
Pierre-OlivierY a-t'il beaucoup de noms différents?
à ce moment, faire différentes actions pour chaque nom, et les rejouer jusqu'à ce que toute la
Vous faites des traitements par lots via Bridge?
Je me demande s'il y a moyen de trouver le nom des tracés dans MacOS.
Ou s'il faudrait un script (comme javascript, applescript ou visualbasic) qui sélectionnerait les tracés quel que soient leur nom.
Je vais regarder dans le forum de scripting.
Trouvé ceci : http://forums.adobe.com/message/3941737#3941737 -
Probléme bar menu action script 3 fichier.as
I have a bar menu that appears when you open a file main.as.
Now I see that on the demo cd that you get with Adobe, there is a box to select the target file that works with.
My problem is that I have the flash cs3 pro and I'm not in my target box menu bar should be how to activate it I thank you in advance Mr Philippe Tassinplease don't cross-post. and this is the as3 forum.
-
Text in Fla, created with Mac is not alligned in Windows
Since I work on two machines with different OS, one with Mac 10.8.2 (Flash CS5.5) and one with Windows8 (Flash CS6) I found out that Text inside boxes (shapes) are not alligned when you open it in the other OS.
This is a screenshot from the SWF exported with a Mac.
This is the exact same output, only exported in Windows.
If I save the Fla in Windows, then export it on a Mac, the file looks fine again but still, I would have to export every file on a Mac + this might cause problems when I edit these text boxes.
I noticed that in CS5 (also on Windows7) already and had hoped it will be fixed in CS6 but apparantly it is not.
Am I missing something here? I am using the same Publish settings in both OS (latest Flash Player + ActionScript 2.0).if you want to give jsfl a shot (works in As2, too)
This little script parses your whole fla file puts all your TextFields in an Array and let you adjust the lineSpacing in a loop
var doc = fl.getDocumentDOM();
var textFieldArray = fl.findObjectInDocByType("text", doc);
for (i=0; i<textFieldArray.length; i++) {
fl.selectElement(textFieldArray[i]);
fl.getDocumentDOM().setElementTextAttr('lineSpacing', -4);
You would basically end up with two different swf versions that would show acocordingly to the users OS. -
Problème driver NI-DAQmx 8.0.2
Bonjour,
Je vous expose mon problème : j'essaye actuellement d'installer une carte d'acquisition NI PCI-6034E sur mon PC.
Je tourne sous Linux, distribution Debian, la 6.0, avec un noyau 2.6.32.
J'ai lancé le script d'installation du driver NI-DAQmx 8.0.2 trouvé sur le site.
J'ai, comme précisé sur ce post installé nikali, la version 2.1 par contre, avant, puis après le script, avec bien entendu un updateNIDrivers.
L'installation ce passe nickel, pas d'erreur, je reboot(une troisième fois, après le dernier updateNIDrivers), et en faisant la commande lsmod |grep ni, j'obtiens :
nixsrk 1408154 0
nisdigk 341776 1 nixsrk
nitiork 902470 1 nixsrk
nimru2k 406070 4 nixsrk,nisdigk,nitiork
nicdrk 227255 3 nixsrk,nisdigk,nitiork
nimxpk 23120 4 nixsrk,nisdigk,nitiork,nicdrk
nipxirmk 108824 1
nidimk 273310 6 nitiork,nimru2k,nipxirmk
nimsdrk 183892 2 nixsrk,nitiork
nidmxfk 249806 5 nixsrk,nisdigk,nitiork,nicdrk,nimsdrk
nimxdfk 367347 9 nixsrk,nisdigk,nitiork,nimru2k,nicdrk,nimsdrk,nidmxfk
nimstsk 59074 6 nixsrk,nisdigk,nitiork,nicdrk,nimsdrk,nidmxfk
nimdbgk 249917 11 nixsrk,nisdigk,nitiork,nimru2k,nicdrk,nimsdrk,nidmxfk,nimxdfk,nimstsk
niorbk 55695 12 nixsrk,nisdigk,nitiork,nimru2k,nicdrk,nipxirmk,nidimk,nimsdrk,nidmxfk,nimxdfk,nimstsk,nimdbgk
nipalk 947149 18 nixsrk,nisdigk,nitiork,nimru2k,nicdrk,nimxpk,nipxirmk,nidimk,nimsdrk,nidmxfk,nimxdfk,nimstsk,nimdbgk,niorbk
nikal 27044 1 nipalk
ni_pcimio 42680 0
ni_tiocmd 4116 1 ni_pcimio
comedi_fc 1096 1 ni_pcimio
mite 5906 2 ni_pcimio,ni_tiocmd
8255 2580 1 ni_pcimio
comedi 21296 5 ni_pcimio,ni_tiocmd,comedi_fc,mite,8255
ni_tio 10333 2 ni_pcimio,ni_tiocmd
Avec la commande nilsdev, j'obtiens ... un espace blanc ...
Et enfin, la commande lspci me donne(pour la ligne utile, je donne pas le tout):
03:02.0 Unassigned class [ff00]: National Instruments PCI-6034E
Je viens donc vous demander votre aide, parce que je ne comprend pas là! J'ai installé le tout, installation réussi, tout les modules sont chargés, mais la carte n'est toujours pas reconnu correctement donc inutilisable par mon ordinateur ... help!
Merci d'avance pour vos réponses,
Ridbark
Résolu !
Accéder à la solution.Bonjour,
Vous risquez de ne pas obtenir beaucoup d'aide ici...L'utilisation de Linux est rare. Les versions étant tellement nombreuses, National Instruments supporte officiellement qu'un nombre limité de distributions :
Aussi, si j'étais vous je me tournerai vers les solutions à base de driver COMEDI .
Ce projet open source supporte votre carte et cela ne devrait pas poser de problème pour utiliser votre carte sous LabVIEW, ou un autre environnement de développement grace aux librairies que ce projet fourni.
Si vous souhaitez vraiment utiliser DAQmx Base sous Linux il va falloir vous retrousser les manches...Je ne peux que vous conseiller de poster sur la partie anglaise des périphériques de mesures. Vous aurez plus de réponses qu'ici.
Cordialement,
Da Helmut -
Hi Experts,
I am printing 8 main windows in one page in a script. But the problem is whatever changes I make to one window it gets reflected in all the windows. So the allignment doesnt get proper at all for the printing. what is the resolution for this.Please help me out with.
Thank You.Please clarify your Question More, You are getting Problem in windows or in Pages.
check Utilities->Printing test.
Also,
Settings->form Painter->Tick Graphical form Painter->Remove tick from Graphical PC Editir=>continue
By this check the attributes and parametrs of all windows and pages -
How to fill fields in the script ..
Hai
I wanted to make sap script which have excise details .
It has total 17 fields .. the standard example is J_2i_rg1 is the standard sap form.
and program name is j_2irrg1 . my out put will also similar to this ..
my problem is how i have to fill all the filelds in custom script. and how to allign correctly .
Please let me know .... tell me step by step procedure
Thankyou.
Regards
HarshaHi,
Are you copying the driver program and SAP print form from the standard one. If you are just making your custom form and not the driver program then you can directly use the data which is fetched by program.
For fetching extra info which is standard prog is not fetching you can make use of PERFORM command. Follow below link:-
[Perform_in_Script|http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm]
Alignment is done through the proper use of TABS. Refer below link for Alignment issues:-
[SAP_SCRIPT|http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript]
Hope it helps.
Thanks,
Daya -
hi,
in my script form i was displaying line items for PO in main window. my problem is, the values of the line items are not displaying in the same line. example:
item material material description qty.
01 123456 adfsgdfhdj
1 each
1 each should also in the same line as item, material and material description.
please help.
thanks.Hi,
This is a typical problem faced in alligning the text and the cause of it is window size.
In the table, please check that you have assigned the correct line type.
Also check the column width in the line type for the column in which the line item is getting displayed.
Also in the texts where you assing the line type, try adjusting the new cell and skip cell settings.
regards,
Gaurav -
Print preview is different from print in scripts
Hi,
i am having issue in alignment of sap script .i have adjusted my form output based on print preview .but when i am taking the output i am having alignment issue .Not only that there are some missing column boundaries in printout.
Now i cant make alignment based on printout because i am having 12 column in output and its difficult to take printout everytime i check for alignment.Hi,
Please check whether the printer name is same in preview and printout generally we are checking the preview
on our windows printer(LOCL) where as your client may cheak the printouts in some other printer in your print
preview also please change the printer what he is using for printouts.
Some times margins may cut due to the settings in the printer we must maintain some space for borders.
Coming to your allignment point the space for spaces and fonts it may vary from printer to printer so
create multiple windows to design the text in the pattern you exactly required instead
everything in one single window or atleast write them in different lines and if possible avoid any spaces are there
before your text.
Thnaks,
Phani.
Maybe you are looking for
-
Multiple artists with same tracks but iTunes library is sane
Ok, so I have a problem with multiple artists on my iPod. I know this has been discussed a lot before, but I haven't seen this actual problem yet. The problem is I don't get just one or two multiple cases, we're talking like 20-30 multiple instances
-
The program came with 3 discs. 1 and 2 are for Windows 7 with 3 for Mac. I am installing on a Windows 7 laptop. I came to the end of Disc 1 and got a box that said "Insert disc 2". I closed the box before I'd inserted disc 2. I then got the mess
-
After sending an huge .zip e-mail attachment with Apple Mail (I know, it's my fault!) and trying to suddenly stop the process, the application continuously sends packets of data over the internet. Even after deleting the e-mail message, Apple Mail co
-
CS5 - Why Bridge fails to open?
I have CS5 installed on my MacBook Pro as well as Lightroom 3 Beta. When I run CS5 and try to Browse in Bridge the BR icon indicate that the program is being loaded and shortly after an error message from Bridge appears with the following information
-
How to program continous modulation as PSK/PM using VSG.
Hello, How can I configure VSG for modulation scheme as PSK/PM.