Need to display -ve sign before the dollor sign for the negative amount

I am working on XML Publisher report, I have a total amount field which comes from Summary column from the rdf. So when ever the amount is -ve, it displays as
$-30.00. But i have to make it dispaly as -$30.00, so how can i achieve it on XML Template? or is there any way i can achieve this?
I tried <?format-number:empno ; 'S$999G999D99'?>,
This has worked for me good, when ever there is a -ve amount it displays as -$30.00, but this has aroused a new problem, which is if it is a positive output it is displaying as +$30.00. i don't want that + sign to be displayed when it is positive amount.
MY requirement is to display $-30.00 as -$30.00.
Can you please let me know your thoughts.

Thanks for the response, I have tried <?format-number:empno;'$999G999D99;'S$9G999D99'?>, the concurrent program is generating warning as Post processing failed, program runs fien without this change.
I wanted to try
<?xdofx:decode(<?xdofx:substr(<?format-number:empno;'S$9G999D99'?>,1,1)?>,'-',<?format-number:empno;'S$9G999D99'?>,<?format-number:empno;'$9G999D99'?>)?>
But this above syntax is too long, that it doesn't fit in the text form field options-> help text window.

Similar Messages

  • Need to display a value before the header based on a user parameter.

    I have a select on the user parameter list of values.
    SELECT DISTINCT GROUP_ROWID, STR_GROUP_NAME
    FROM TBL_COMPANY_GROUP;
    I select the option hide the first column in order to show only a list of values and not the row_ids.
    I need to display the str_group_name within the header as a title. I insert a field in the header and in source select the name of the parameter p_groupid but the only thing that I get is the row_id value not the name. I use the row_id to pass it on my queries but I need the name value in the header. Any ideas? Please help.
    Thanks.

    create a parameter called p_header.
    in the after parameter form trigger
    select str_group_name into :p_header
    from tbl_company_group
    where group_id = :p_groupid;Have the header field source be p_header.

  • Need to display a Disclaimer on the request CUP request form

    Greetings,
    As part of the organizational Request, I need to include a disclaimer on the AE request form, the person needs to agree or disagree to the disclaimer during submission/approval.
    I tried doing it in multiple ways but was not able to succeed with the requirement:
    Approach 1:  Custom field "DROP DOWN" text made it mandatory field to select the either the user agrees to the disclaimer or not. The issue with it is the disclaimer is about 200 characters and the field restriction on the custom field is 40 characters. Does not work as I intended to.
    Approach 2: Custom Field "Text" made the field as default and provided the default 200 character sentences into the text field. Though I provided the default value it does not show up in the text box and comes up blank, does not solve the requirement.
    Optimal approach : If could do a disclaimer on the request form with a check box and force the user/approver  to check the box would solve the purpose.
    Do anyone of you can suggest or show a way where either I can increase the drop down text size from 40 to 200 characters or display the disclaimer with a check box or probably I can then use the drop down list as "Agree" vs. "Disagree"? Will be helpful.
    I have also need to make a validation that states not to approve/provision the access if the disclaimer is set to 'disagree"
    Any help will be greatly appreciated.
    Best Regards,
    Angara Rao

    Greetings All,
    As an update to my earlier question. SAP came back asking me to log this an an enhancement for future releases using SAP note 1575897 . I have logged it with them and hopefully we will see an solution in hot packs/Next releases.
    As a current solution, We have placed a disclaimer text on the Portal Landing page and have marked with a "Accept" or "Decline" push buttons. The push buttons stores the user identity, date and Time stamp in a custom table for validating purpose and while the accept button launches the GRC CUP application.
    The above was created as a prototype and not currently in use untill signed off from the concerned department head & Global policy head asking for this information.
    Best Regards,
    Angara

  • Tree OOPS ALV - Need to display header & items of the sales order in oops

    HI,
        I need to display some of the header fields of the sales order & items in the oops alv, could you please let me know how to achieve this. I know FM - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' but how to achieve this through oops alv.
    Thanks

    it is not possible with that function in OO .
    you can try with class cl_salv_hierseq_table
    Just check this Rich's article
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c
    if you don't want that then you may have to use ALV tree.

  • Need to run php script before the Flash component kicks in

    I have a slide show component in Flash which uses an xml file to load images. The xml file, however, is created dynamically when the user selects which slide show they want to see. How do I run the php script BEFORE the slide show component has a chance to look for it? Usually it begins as soon as the .swf is run.
    thanks,
    chop

    thank you for responding.
    I'm still new at as3 so forgive me for needing details.
    I searched adobe for help and came up with the following to import the component. However, it seemed too easy to be true and so it was. I received errors when I ran it. The component is a commercial one called SlideshowBox and is in my library with that exact name.
    //add a component to the stage
    import fl.controls.SlideshowBox;
    var aSlideshowBox:Button = new Button();
    addChild(aSlideshowBox);
    errors:
    Scene 1, Layer 'Actions', Frame 1, Line 3    1172: Definition fl.controls:SlideshowBox could not be found.
    Scene 1, Layer 'Actions', Frame 1, Line 3    1172: Definition fl.controls:SlideshowBox could not be found.
    Scene 1, Layer 'Actions', Frame 1, Line 4    1180: Call to a possibly undefined method Button.
    thank you, k

  • What happens if I need to cancel my subscription before the year is up? Also, how do you cancel?

    How do you cancel subscription before the year is up? How do you cancel

    See http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    "Cancel an annual membership (individual or team)
    If you cancel within the first month, you receive a full refund. Otherwise, you are billed 50% of your remaining contract obligation.
    To cancel your membership at any time, contact us.
    To cancel your membership in the last month (month 12), follow the steps in the "Cancel a month-to-month membership" section below. (If you cancel an annual membership in the last month you don't need assistance from customer support.)"

  • I needs to Display Tree With in the table, Please Help me

    I needs to display
    First Table, then inside the table tree, whenever I expand the tree then all the specified Childeren should display in another table.
    Please give me solution with example(code)
    this is simple Example
    A
    a1
    a11
    a12
    a13
    a2
    a3
    B1
    C1
    But I needs to display following format(that means with in the table)
    first step(Normal mode)
    A
    B
    C
    whenever I expand A(expand mode)
    A
    a1
    a2
    a3
    Whenever I expand a1 then(I needs to display this format) This is final Expand
    A
    a1
    a11
    a12
    a13
    a2
    a3
    B1
    C1
    Please Help me. This is very important for me. Because I am doing project. Please help me..with example

    maybe this,
    http://java.sun.com/products/jfc/tsc/articles/treetable1/index.html

  • I need to delete my subscription before the 1st month

    HI
    I NEED TO DELETE MY ADOBE SUBSCRIPTION ASAP.
    BEFORE THE !ST MONTH.
    THANK YOU

    Hi Lucaguarini,
    As  replied by Mylenium and GosiaEdinburgh, I would like to add one link here.
    You may refer to below mentioned link under "Membership and account" to cancel the subscription:
    http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    Regards
    Gurleen

  • The caller ID on this and all other Verizon phones (Android and other types) occasionally displays a "1" before the phone number.  This causes the tenth digit to not appear in the caller ID.  How can the "1" be prevented from appearing?

    Verizon's caller ID delivery system occasionally inserts a 1 before the phone number of the incoming call.  The caller ID feature appears to be poorly planned and executed by Verizon.  The caller ID feature should display more numerals so the call can be returned.  Can the iPhone 6 and all other phone-types on Verizon be configured to omit the 1?  This looks like it could be issued as firmware update.

    Update - I called the number I was given for "ordering", and got the same phone tree I had the first time I called the number on Verizon's web site. At no point was there an option of "ordering". So I navigated back to FIOS tech support. The guy there said he called "ordering" and confirmed that the right name was in the Verizon directory. I asked him to push the directory entry, and he said he did that. I haven't had a chance to call people and see what shows up on their Caller ID.
    I told the support person about the bill collectors calling for {edited for privacy}. He was full of nonsense. He said maybe {edited for privacy}gave out the wrong number. I pointed out it would be pretty hard for {edited for privacy} to put their name in Verizon's Caller ID directory, and maybe {edited for privacy} had my phone number before me. He looked that up and confirmed that my number previously belonged to {edited for privacy}.
    I asked the support person if they provide their Caller ID directory to bill collectors, and if I was getting these calls because they have been selling a database that says {edited for privacy} still has my number, which has been my number for nearly two years. The customer support representative WOULD NOT ANSWER THIS QUESTION. All he would say was there is no way for Verizon to control who calls my number. That's not what I asked him.
    I am very unhappy with Verizon, and I suspect until I called yesterday, they had my number associated with {edited for privacy} and they have been providing this erroneous information to bill collectors. I understand that each phone provider maintains their own Caller ID database, but I don't think it is credible that some other phone company's caller ID database would be two years out of date without some screw up by Verizon.
    No Kudos. I see Google Voice in my future.

  • JOptionPane Probelm : Need to display Colored string in the warning message

    I want to display colored string in the JOptionPane. Please suggest me how can I do that.

         javax.swing.JLabel lab = new javax.swing.JLabel("error message");
         lab.setOpaque(true);
         lab.setBackground(java.awt.Color.black);
         lab.setForeground(java.awt.Color.red);
         javax.swing.JOptionPane.showMessageDialog(null, lab);

  • Need to calculate one week before the user entered week

    Hello Friends,
    I have a ZCALWEEK object and I have created a variable on it. It is a simple 'Manual input' type of variable. We have to display a few keyfigures which will be restricted for the week value entered by the user (in variable mentioned above). Along with this we have a few keyfigures which have to be restricted for a week before i.e. user entered week -1.
    I tried to use the "Set offset for variable" option, but it is grayed out. Now the solution that I see for this is to create another variable (customer exit) and calculate the previous week. However, I believe that there has to be a simpler way, in the query designer itself, of doing this i.e. without creating customer exit.
    I really appreciate your timely feedback. Thanks!
    Regards,
    Prem.

    Prem,
    Variable offset should work in your case....
    Chose the variable  for the KF.... keep the offset as -1.
    Otherwise we need to go for customer exit....
    consider a variable x fill this by the current week or week entered... take the -1 in another variable  and use it..
    Cheer's
    HVR.

  • Need to Display columns depending on the prompt selection

    I  need to show the only the columns as per the prompt selection given by the user.
    Suppose there are 5 prompts say (first name, last name, phone number, address, DOJ). All the prompts should be optional. If the user gave input for first name and last name then only this two columns must be displayed in the report.

    Yes it is possible but you will have to write down formulas for these columns.
    First add all required object in your report and format them in your report.
    Now say you want Last name to appear when you user enters last name in prompt.
    Write down following formula
    Report Detail Area
    =If(UserResponse("Last Name"))="USER INPUT" Then [LNAME]
    For column Heading you can use
    =If(UserResponse("Last Name"))="USER INPUT" Then "Column Heading"
    The same pattern may be applied for other columns.
    Regards,
    Bashir Awan

  • Help needed to display Values one below the other

    Hi Experts,
    I am having three characteristics among eight others whose values are to be displayed in BEx Analyzer. These three characteristics values are line items whose values are being displayed side by side.
    Now, I want them to be displayed one below the other. I do not know how to do it.
    Can anyone guide me?
    Waiting for the reply,
    Thanks in advance,
    With Kind Regards,
    Shreeem

    Hi Shreem,
    As of my knowledge we have only one options for your requirement that is "Hierarchies'.
    You have to create hierarchy for all your line items but this not good pratice.
    Otherwise in reporting only you have to set the hierarchy :- Go to Rows in Rows tab -> Right click-> Select Hierarchy.
    Hope it helps you.
    Thanks and Regards,
    Venkat.

  • Need to display updated file on the screen

    Hi,
    I have a requirement in which we take beginning date(say 5-May-2010) and end date(day 15-May-2010) as input and spawn a script which processes some jobs for all the dates between these two dates.Now this script writes a log for each date the jobs have run. The jobs called by the script can take around 2 min for each day processing.Now the requirement is that the page refreshes on its own displaying the updated log.I can refresh the page after 2 minutes in OAF but how do I display the updated log on the screen so that the user comes to know which days are processed?I would be grateful if someone can provide me the clue on how can I achieve it.
    Regards

    Hi Reetesh,
    Thanks for your reply.The log of each request is going to be different.User should also be able to see the contents of the log.Actually for each date around 10 lines will follow which will give some data for that particular date and then next date will follow with its set of lines.

  • Need to display texts on to the ALV grid using SALV

    Hi evryone,
                   There is a requirement to print an ALV grid containing the row titles and their subsequent values. The display shouild look like as below
    Summary                                     ItemsA cost                                                             111111
                                                        ItemsB cost                                                              222222
                                                        ItemC cost                                                                333333
                                                        New items
                                                        ItemD cost                                                                                111111
                                                        ItemE cost                                                                                222222
                                                        ItemF cost                                                                                333333
                                                                 Total                                                                 666666        666666
    The headings pertaining to ItemA to itemB should come in a single column and their subsequent values as shown above. The total should be displayed below the corresponding block of items. Can anyone please suggest me the way we can acheive this using SALV and container concept.

    Sorry my earlier did not get displayed as expected. Please find below the format  how the ALV should get displayed.
    Summary  -
    ITEMA----
    1111
    ITEMB----
    2222
    ITEMC----
    3333
    ITEMD----
    1111
    ITEME----
    2222
    ITEMF -
    3333
    Total--6666--
    6666
    Please ignore the dots here they are just written to indicate spaces between the texts. The text summary and the texts "ItemA, B, C etc" should have 1 coulmn gap and the prices for the first item block should have 1 column block from the texts and the prices for second Item block should have a 2 coulumn block from the texts and total value should be displayed below each block.
    Edited by: Phaniacumen on May 8, 2010 1:59 PM

Maybe you are looking for

  • Ipod not recognised on computer, lost everything downloaded.

    My Ipod screen tells me it is connected, Eject before disconnecting. I could not do this as there was no device recognised on the itunes store window. I had downloaded lots of podcasts, and wanted to syncronise them. After reading all the support pag

  • "Spotlight Comments" in Finder Get Info window doesn't accept Clipboard contents

    I wanted to paste caption and credit info from a NASA video download into the file's Spotlight Comments in the Get Info window. Done it in the past no problemo. Today it doesn't work. Tried pasting the copied web page content to TextEdit and converti

  • WRT110 WIFI password problem

    Hi Everyone, I've got a very strange problem.  First, I indicated WPA under Wireless Security section and typed in my passphrase.  However when connecting to my wireless network name my passphrase never worked.  Second, I completely disabled security

  • MSS IVIEW

    Hi All: I am trying to set-up the team viewer configuration. I am using the standard delivered A_All and A_DIR and making changes in the customer table. We are using custom evaluation paths.  When I enter the custom evaluation path for the root objec

  • How to use own style sheet

    Hi my friends, I created a JSP file that contains a report built using Reports Builder. When I run this page using a browser, my report is displayed correctly, including the style imported from Report Builder. But when I try run this page as a portle