Related to script

hi every1,
    I finished Cheque Printing in script..
    if i give multiple cheq
after 4 th or 5th cheq the alignment is changed..
what can i do for proper allignment?
in field i m giving 100 i want One Hundered
Amount in words.. here all r coming in Caps..
i need : One Hundered" Like this? i nee donly for first letter is Caps
regards,
laxmi patchipulusu

Hi,
pls go through dis code
use FM SPELL_AMOUNT
chk the program RF_SPELL
REPORT ZTEST.
data: AMT_IN_NUM like PC207-BETRG.
data: words(200) type c.
AMT_IN_NUM = '57.5'.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = AMT_IN_NUM
IMPORTING
AMT_IN_WORDS = words
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write:/ words.
and i got the answer FIFTY SEVEN Rupees FIFTY Paise
REPORT ZSPELL.
TABLES SPELL.
DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
DATA : PAMOUNT LIKE SPELL-NUMBER VALUE '1234510'.
SY-TITLE = 'SPELLING NUMBER'.
PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.
FORM SPELL_AMOUNT USING PWRBTR PWAERS.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = PAMOUNT
CURRENCY = PWAERS
FILLER = SPACE
LANGUAGE = 'E'
IMPORTING
IN_WORDS = T_SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
ENDFORM. " SPELL_AMOUNT
pls reward if it helpful
thanks
vana

Similar Messages

  • Report script command equivalent for @relative calculation command

    HI ,
    We have a calculation script which has a fix statement like below :
         FIX( Grade, "w/o LO", "Line Options", AtLaunch, @DESCENDANTS("470.92"), @DESCENDANTS("Price Item"), @RELATIVE("Total Region", 0) )
    We are trying to make a reportscript which gives us the format of the set of database being calculated.
    So we are tranforming the above calc script commands into equivalent report script commands. We are struck with the @Relative command.
    Can somebody tell us what is the equivalent report script command for @Relative calculation script function.
    Regards
    OKU

    There's no direct analogue, but you can use the <LINK command along with <DESCENDANTS and <LEV to get pretty close. See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/rwriter/link.htm
    JExport (if pre 9.3) or DATAEXPORT (if 9.3 or greater) may also be options and will in fact allow @RELATIVE to be used.
    Regards,
    Cameron Lackpour

  • How to install and configure SNMP through a script(shell script/power shell/python)

    Hi all,
    I need a script  so that once it is run on windows 2012 server r2 ,snmp should be installed and configured automatically ,giving minimum user inputs.Things like snmp server ip,community string shouls be configured.
    SNMP services should be up and running with the script

    Hi,
    Please check if you can use
    Install-WindowsFeature PowerShell command to enable SNMP. Meanwhile, please also refer to following article and check if can help you.
    How
    to Install SNMP Remotely
    However, based on your description, the issue seems to be more related to script. I suggest that you should
    post it in
    Windows PowerShell forum or
    Official Scripting Guys forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Agent Scripts failing with ID 21406 - agent can't finish discovery

    We have 500+ agents installed- all the same way.  I have this problem on only one.  It's a windows 2003 server, x64.  It's one of many we have monitored with this same OS.  The environment is SCOM2007R2 CU5.
    The agent installs fine.  After installing, we start receiving EventLog warnings with ID 21406 on the agent host. The errors indicate Microsoft runtime error:  File name or or class name not found during Automation operation: 'oAPI.CreatePropertyBag'
    or whatever it's trying to do for that particular script. JS does the same thing.  I easily reproduce it by building a simple vbs instantiating WSH and calling the CreatPropertyBag method.  It fails every time on the line with the CreatePropertyBag
    method.
    Things I've tried thus far:
     Reinstalling the agent
     Upgrading the WSH to 5.7 (it was 5.6) and with the hotfix and reboot after
     Validating the anti-virus.  Sysadmin says it's set to warn not block anything (it's Symantec FYI)
    I also noticed I occasionally get another error: ID 11105 - MOM Consolidator Module (misspelled in original message) failed to save the state after processing and might lose data.
    I guess it's only script failures because in the console, I see the agent in agent managed view.  Version is "Unknown".  In windows computer state view it shows up as Win2k3 OS, agent shows healthy.  I see some health objects and even some
    performance objects. In a basic OS state view however, name shows as 'Microsoft.Windows.OperatingSystem,  Operating System version is blank and so is OS Version Display name which I assume all get populated via the scripts that are failing.
    Thanks for any help anyone can give me on this.

    Thanks Alexey.
    1.  Checked permissions.  I found it hard to believe that this could be the problem since running a script as my own user outside of SCOM produces the same issue.  Nevertheless, did confirm LS has full control to entire install path for the
    agent.
    2.  I'm certainly not a com expert but I compared properties of every object I could find in the tree that was scom-related or scripting related.  Local System was set the same on this host as another host that is working.
    3.  I set trace level to info and I've been combing through it.  Unfortunately, the error output is no better in trace than it is in eventlog.  I still basically get only "File name or class name not found during Automation operation: 'oAPI.CreatePropertyBag'
    There are other errors in the log but some of those are perhaps expected when it recovers from reboot or shutdown.  And as I mentioned, running the simple script outside of scom (as me and I'm a local admin) produces the same issue.
    Any more thoughts?
    Thanks!

  • MS Access 2013 Web App script error when viewing datasheet view

    Hi--in MS Access 2013 on my PC (Win 7 64), whenever I hit VIEW+DATASHEET, I get a script error. I have tried multiple solutions, including one posted here to delete all of the files in the DatabaseCache folder. Here's a screenshot of the error I get:
    This forum won't let me attach a screenshot, so here's what the error says:
    =============================================
    An error has occured in the script on this page
    Line: 5
    Char; 1
    Error: Syntax Error
    Code: 0
    URL: https://rainbowcityband-fc0dbfcf70da72.sharepoint.com/_layouts/15/Menu.htc
    Do you want to continue running scripts on this page?
    =============================================
    The data shows fine once in my browser, but has never appeared for any table on my PC. 
    Thanks!

    Hi Ginger Rowe,
    Is the issue occured on the specific view?
    Based on my understanding, the issue seems relative to script. Please check whether there are 'OnLoad' and 'On Current' action for the view and ensure it is correct.
    We can check it from Access like figure below:
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • InDesign Fonts problem Bookmark Script

    Dear All,
    We developed one script for creation of Bookmark in InDesign CS2. When we are runnign this script content formatting is getting anmoly changed, I analyzed InDesign file and came to know that due to a font called "Trade Gothic Bold No. 2" due to this font all formatting of the content is getting change.
    But in script I am not doing anything with fonts, only we are untagging the content to take the reference for creation of bookmark. The script is working very fine for other files from last 6-7 months but only this file is having this kind of problem.
    If any one know the reason please let me know, I know this might be not related to scripting forum but if we recieved any issue related to it. Please let me know the solutions also how to aviod these kind of problem.
    Regards,
    Rajeev

    In all likelihood, you have based one or more of your paragraph styles on "[Basic Paragraph]". If the Basic Paragraph style differs from document to document, then when you paste text in it will change to match Basic Paragraph in this doc instead.
    Edit the styles in both documents to be based on "No Style" instead.

  • Script to list services on servers running as a particular id

    does anyone know of  a script that i can run which will list all services on all of our servers running under a specfiic id, for example any services running domain\userX
    thx,
    jason

    Hi Jason,
    Please refer to Dave’s suggestion and check if can help you.
    In addition, based on your description, this issue seems to be more related to Script. I suggest that you would
    post the question in
    The Official Scripting Guys Forum or
    PowerShell Forum. I believe we will get a better assistance there.
    Best regards,
    Justin Gu

  • Adobe Form FaormCalc Scripting .....

    Hello all,
             I am Creating <b>AdobeForms In ISR In transaction SFP</b>. As per my knowledge Any FlowLogic Related to that form is Written in the Predefined BADI's , we just need to implement them. <b>My Question is If we can write flow logic in BADI why do we require to use scripting language FormCalc/Javascript ?? What is the significance ??</b>
    Can anyone has some <b>Documents related to script FormCalc</b> ,Pls send me some docs which gives idea ??
    Awaiting reply!
    Thanks,
    Smita

    You can get tit from Adobe web site..
    Thanks,

  • Select project file (to open editor), Run Script - XCode Organizer

    Hi,
    I'm new to AppleScript, but I'm trying to automate a number of login processes. I have most of my needs worked out, but there are still a couple of loose ends which will save me substantial time if I can get them running. I'm not finding documentation of such processes, so maybe I'm barking up an empty tree. Is this possible; and were can I find the necessary documentation:
    1.
    I have a Ruby project maintained in the XCode Organizer. I'm striking out on blind tries. What I need to do is equivalent to selecting a document *in the organizer*. It has to have the same effect as manually negotiating the file/directory tree, because selection of the file further enables running an Action Script in the Organizer, the name of which is "START MONGREL SERVER."
    I have opened the target document, application_controller.rb, in the conventional manner you might open a document, but this has only opened the document in a separate editor window. This doesn't suffice, because it is the selection of a project document which makes the related Action Script available for further running.
    How then might I do this?
    2.
    After this file is selected, I need to run the action script, "START MONGREL SERVER." How likewise can I do this?
    3.
    Thirdly, is it possible to wait until threads invoked by previous script statements are finished? If so, how? Otherwise, can we insert a "wait" statement of some kind to delay execution of further instructions? If so, how?
    Much thanks in advance,
    m

    Hi,
    ODP doesnt have anything built in to run sql scripts. You'd likely need to parse the script yourself and execute the commands one by one, or you could shell out and run the script via sqlplus.
    Hope it helps,
    Greg

  • SAP Business one Workflow Script writing

    Hi experts,
    i will gladly appreciate help from all who can assist me with a detailed material on writing scripts to help generate a good workflow for SAP business one processes.
    i have read some materials on SAP workflow but the examples worked on are not detailed and does not show a beginner on how to start a script well.
    A detailed material to help me achieve this goal will be much appreciated, either videos or reading materials.
    Please urgent help is needed.
    Any expert in workflow script writing should assist me.
    Regards,
    Justice

    any updates?
    Have you got any documents related to script writing in workflow?
    Thanks in advance,

  • How to run a Unix Script from a specific user

    Hi,
    I want to run a GoldenGate related unix script from a super user. I have created crontab enter from that super user. But its still running from root user. As GGSCI cannot be invoked other than super user, the Script is failing.
    The Script is running fine on command prompt and from "at" batch job command.
    Please give me a way to run the script from a specific user on Cron
    Thanks,
    Saravana

    Hi.
    can you show:
    grep root /etc/passwd
    grep <super user> /etc/passwd (It's not clear for me, what you call super user. For me - root is super user. )
    ls -la /var/spool/cron/crontabs
    Generaly for add cronjobs for any user need:
    crontab -e <username>
    For more information - man crontab
    Reagrds.

  • SAP SCRIPTs and syntax for text elements!

    Hi all,
    I am very new to this forum.
    I am learning SAP scripts.Can any body here suggest me how to go about it?
    More over i want the syntax that is used in page windows text elements.
    It would be greatly appreciated if u could provide the documents if any for the same.
    Thanks,
    Ravi Soni.

    Warm welcome to SDN.
    Have a look below online PDFs related to scripts:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
    Also have a look at below links:
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf.
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    I hope it helps.
    If you are satisfied with the answers, then you can give points to those answers by clicking on left side of the answer and mark them as useful answer, very helpful answer or solved problem.
    Best Regards,
    Vibha
    <b>*Please mark all the helpful answers</b>

  • Scripting Survey Open until August 30, 2007

    I recently picked up some new responsibilities related to scripting the Adobe Creative Suite. As part of my initial research, I realized that Adobe doesn't have a good overall picture of the scripting community. To fill that gap, I've opened a survey that I'm hoping you'll have time to participate.
    The survey is at this link - http://niemannross.com/sdksurvey/index.php?sid=8 .
    I've designed the survey so that it only asks questions that make sense, and will be as brief as possible. All questions are optional - answer what you want - the more you answer, the more we learn.
    I'm also asking if you want to be part of a newsletter. If you don't answer "Yes," then we assume your answer is no! Trying to keep the world free of Spam!
    Questions, comments? feel free to send them to [email protected]

    RobL,
    I have found one of National Instruments Knowledge Base articles detailing this error in reference to ActiveX. 
    http://digital.ni.com/public.nsf/allkb/1C025F018CB5761686256C56007DD258?OpenDocument
    I believe this may be of some help.
    Aaron L.
    Applications Engineer
    National Instruments

  • New Scripting Features in CS5

    This discussion is for new features/improvements in CS5 related to scripting. For changes to the scripting DOM which effect older scripts please use this discussion instead.
    Appropriate topics are ones which revolve around the ESTK, InDesign's DOM, or new technologies (such as the new "CS Extension Builder"). Please try to keep the discussion on topic!
    Thanks,
    Harbs

    Dear Harbs,
    Really I appreciated publish for the CS5 Scripting Features, and really many thanks to you...
    Past some of the years I can used your coding as well as Dave's codes.
    Really very nice for this intro...
    Please let me know the DOM concepts in CS5 scripting architecture and new extra Features also [Scripting].
    Thanks & Regards
    T.R.Harihara SudhaN

  • Shadow Copy via Script

    Hello,
    I setup multiple Windows 2008 R2 Servers. I have managed to script a lot of what needs to be setup but I would like to script the Shadow Copy.
    I would like to match exactly what happens if you click the Enable button on the config page, including the schedule and the size limitation. Does anyone have this script?
    Thank you for you help

    Hi,
    The issue is related to script, I suggest you ask for help from script forum for better and accurate answer to the question.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Upgrade to Lion: Mail is not compatible and won't open.  How do i reinstall an updated version Mail?

    So, I'm currently trying to update my parent's computer and in the process of updating their Mail application it has become unusable.  My computer at home (not my parents computer) ran into the same problem before I updated to Lion and deleting the p

  • Moving apps between databases

    I have a fairly complicated application that has thousands of queries all with table names with fully qualified db links built in. For instance: select * from [email protected] There are lots of dynamic queries buried in PL/SQL too. Now I want to be

  • Aperture exported IPTC4XMP sidecars not readable by Adobe or PhotoMecanic

    I'm exporting some CR2 RAW master files from an Aperture catalog and want to have the IPTC4XMP sidecar files. The resulting xmp files aren't recognised by Adobe DNG Convertor or PhotoMechanic. The Aperture created xmp files begin <?xpacket begin='' i

  • Missing Saved Photos on iPad

    Last night my iPad went into another of it's frequent rebuilding of the photo files in iPhoto. This time after it was done over 8,000 photos were missing and the album itself was gone but the remaining 7,000 photos showed up as photo,, no albums. The

  • I cannot log into my account on my macbook.

    My macbook will turn on but once I have logged into my account nothing happens, then after a long delay the screen goes blue and it goes back to the log in screen. Why is this? What can I do? About a week ago it was absolutely fine, then it started f