Comma not seen in the amount value in SAp Script

Hi,
I am printing the folllowing values which contain amounts in SAP Script.
<Z>Sum total,,,,,,&REGUD-SWRBT(13)&,,&REGUD-SWABZ(9)&,, &regud-swnet(13)&</>
Both the values are printed as the following
REGUD-SWRBT  = 20000,000.00
regud-swnet         = 20000,000.00
I want the same to be printed as below.
(ie the comma seperator to be printed in the second set of 3 zeroes as well)
REGUD-SWRBT  = 20,000,000.00
regud-swnet         = 20,000,000.00
Can any one suggest me please.
Thanks !!
Regards

Hi Adarsh,
Actually the problem here is that the field length of the field SWRBT is only 13 and the extra comma you want, can not be accommodated there.
You will have to declare a variable of about 14-15 field length and then
pass this value in it. Definitely the comma will appear.
Hope this is Useful.
Thanks,
Daya.

Similar Messages

  • UDF to check the amount value

    Hi
    I have a scenario where i have to check the amount value sholuld be greater than Zero or not, if it is not greater than zero i have to raise an exception and skip that record ..
    i wanna do that using UDF..How we do that
    venkat

    Hi paul
    I need to Import Any Java packages .
    It s giving Error :
    Source code has syntax error:  /usr/sap/D06/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map08e7dc10452d11dcb4a1e210bc394725/source/com/sap/xi/tf/_MM_ACEAwardInformation_to_TaxBalances_.java:113: operator > cannot be applied to java.lang.String,int if(Amount>0)
    My code
    public String AmountValue(String Amount,Container container){
    int AmountValue =Integer.parseInt( Amount);
    try{
    if(Amount>0)
    create record;
    else throw new Throwable("Records not greater than 0...");
    }catch(Throwable t){}
    venkat

  • Decimals not seen in the query...

    Hi Guys,
    I have a problem with the query..
    I have loaded a KF with 2 decimal places in the cube.
    But when I run a query created on the cube, the digits after the decimal place are not seen in the query.
    For e.g.  the value of the KF in the cube is 9.85...but in the query, it is seen as 9
    please let me know where do i need to make the changes.
    FYI..the unit of the KF is %. Has this got anything to do with the problem ?
    thanks in advance,
    Punkuj...

    Hi Aby,
    Sorry, i just missed to mention this imp point :
    I had done the operation that you have suggested :
    I am getting the following output :
    In the Cube : 9.85
    in the query ( after the decimal selection) : 9.00
    I hope that clears my problem..
    Thanks..
    Punkuj

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • BB Passport: After upgrading to 10.3.1, the USB key are not seen by the OS

    Blackberry Passport:
    After upgrading to 10.3.1 Any kind of USB key is not seen by the OS, even after restarting the operating system.
    With original OS 10.3 could connect USB key to transfer my photos with file manager.
    Any suggestions?

    There a lot of issues being discovered by users doing the upgrade OTA or using Link. And they are varied. It's had to say whether your problem another of these issues or something else. Those I trust are recommending a clean OS install using an autoloader as so far there are not the same problems afterward.
    You could try the autoloader route. Do a backup first. After the clean OS install, test before you do a restore and install app. If problem is gone, then you know the clean OS works. The next question will be if the problem returns when you restore or add apps.
    - Ira

  • Why the menu to move from one page to another is not seen when the page is online?

    On my web, I have different pages like 'Homepage' or 'Contact' but when I publish my web I can not see the menu.
    why the menu to move from one page to another is not seen when the page is online?
    Thank you,
    Roger.

    Where are you publishing and how are you uploading the files?

  • PDF export to Excel the decimal point is not displayed in the amount

    When I export a pricelist from pdf to excel then the decimal point is not displayed in the amount. It does'n matter in which language I try
    Anyone kow why?
    So the tool doesn't work for me.

    I have no problem. What is your country setting for the decimal separator?
    Attachments:
    read from csv.png ‏18 KB

  • I wonder why that has not been deducted the amount from my bank account

    I wonder why that has not been deducted the amount from my bank account

    Hello Iria,
    Most unusual.  I think you will need to wait a few days in case it is a bank problem.
    If this situation continues you should contact Apple, after all, you don't want to be thought of as taking advantage, I'm sure.  That's why you raised it in the first place.
    Do keep us updated.
    Thank you for the star.

  • I need to find out dollar amount on iTunes "Give any amount" gift cards I purchased, store clerk did not write down the amounts

    I need to find out dollar amount on iTunes "Give any amount" gift cards I purchased at CVS, store clerk did not write down the amounts when I purchased.

    Without scratching them off to get the numbers and redeeming them there is no way for you to do so. You could go back to CVS and see if they can get the data from their computer or see if your receipt helps.

  • SmallSearchInputBox not seen in the Migrated site from SP 2010 to SP 2013

    We did the content database attach migration and didnt use any tool.
    We reworked on the Master Page by taking the seattle.master page and put the custom placeholders.
    The design came out well, but the SmallsearchInputbox is not seen in the "View All Site Content" and the Home Page.
    Please help to fix this. Thanks in advance
    Veena R

    Hi Veena,
    What did you mean by “We reworked on the Master Page by taking the seattle.master page and put the custom placeholders”?
    Did you set the seattle.master page as the default master page for the migrated site?
    If yes, I recommend to set the master page to be v4.master and then do visual upgrade for the migrated sites.
    After that, add the custom placeholders to the seattle.master page and then check the results.
    If I misunderstood, please feel free to correct me.
    Thanks,
    Victoria
    Forum Support
    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 Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Info area not seen in the "open query"window

    Hi all
    For some reason my Info area is not seen in the "open query"window, in the BEx Anal. can some tell me how to fix this.
    Thanks
    kavi

    Hi kavi
    I am not sure
    Is it Business content infoarea, for me also business content infoarea is not seen, but in "open query" window if u select the icon for create new query,there it will ask for the cuben here u click binaculor icon for search and type ur infocube technical name there u can get ur cube.
    Hoope it is helpfull........Let me know
    Regards
    NR
    Assign points if it is helpfull

  • I have an iPhone, an iPad, 2 iPad mini's and 2 iPod Touch's that all share the same apple id.  I want to separate the iPhone so that texts are not seen on the other devices but I still want them to have the iMessage ability.  How do I do that?

    I have an iPhone, an iPad, 2 iPad mini's and 2 iPod Touch's that all share the same apple id.  I want to separate the iPhone so that texts are not seen on the other devices but I still want them to have the iMessage ability.  How do I do that?

    Not sure if you can have 2 Apple ids contact Apple.com/I'd You may to set IPhone up as new with a different Apple ID & password. Bsydd uk

  • When using facetime, my picture is not seen on the receiving end. How do i fix?

    When using FaceTime, my picture is not seen on the receiving end.  Help!

    Part of training the junk filter is also to mark good messages 'As Not Junk'.
    http://kb.mozillazine.org/Junk_Mail_Controls#Training_the_Junk_Mail_Controls

  • What is the diff b/w Sap Scripts and Smart Forms

    Hi,
          Whats the diff b/w SAP Scripts and Smart Forms..
             I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st  and SIMILARLY FOR SMARTFORMS WHETHER FM'S  R FORMS.
    Thanks & Regards,
    Gopi.

    Hi
    Difference with SMARTFORMS vs. SapScript(SE71)
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
    It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    check out this link:
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Reward points if helpful.
    Regards,
    Swathi.

  • Title should not appear in Ship to Address in SAP SCRIPT

    Hi all,
              Title Information should not appear in Ship to Address in SAP Script.
    help me , what are the commands to be used in ADDRESS-ENDADDRESS.
    Regards
    R.Ragu

    Thats why I am asking you to not to print that PO tile field. Instead keep some dummy variable that does not have any value.
    /:           ADDRESS PARAGRAPH AS
    /:             TITLE    &LFA1-ANRED&
    /:             NAME     &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:             STREET   &LFA1-STRAS&
    /:             POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:             CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:             POSTCODE &LFA1-PSTLZ&
    /:             COUNTRY  &LFA1-LAND1&
    /:             REGION   &LFA1-REGIO&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    in the above LFA1-ANRED will have some value right .  so replace it with some other variable say v_dummy.
    Reward points if useful.
    Regards.
    Nageswar

Maybe you are looking for