Display all Acct_No's in a subject line of a Form_letter Report.

Hi Everyone,
     I have a problem in the reports.
I have created a report which involves a 'Form_Letter' & 'Tabular' Styles.
In the Subject line of the form_letter_text there is a field selected from database-table-column that is as below:
Sub: Issue of Interest certification against ACCT No.:&<ACCT_NO>.
The above &<ACCT_NO> populates the 'Acct No', when enter the Customer_ID in the report parameter:
This works fine if a customer has only one Acct_No.
The problem arises when a customer has more than one Acct_No.
If a Customer has more than 1 account number; say 3 Accounts;
then in the Subject line, 3 Acct_No's should be displayed.
But I'm getting different letter for different 'Acct_No' in 3 different pages.
I want it to display only 1 page instead of 3pages.
All the Acct_Nos of that particular Customer_ID must be displayed in the Subject_Line when i run the report.
Can anybody help me with this?
Thank You.

You can use LISTAGG in Oracle 11g:
with accounts as (
            select 'acct1' acct_no from dual
  union all select 'acct2' acct_no from dual
  union all select 'acct3' acct_no from dual)
select listagg(acct_no, ', ') within group (order by acct_no)
from accounts
ACCOUNTS                                                                 
acct1, acct2, acct3 

Similar Messages

  • My send messages are not being captured. all you see is the subject line.

    After February 27, it seems that Thunderbird is not capturing my Sent messages. You can see the subject in the list above the line, but nothing shows up below it. If I put it in Trash, I still can't see it.
    I have another mailbox on this computer, and it's working fine.
    It's an old Mac (G4) running an ancient system, 10.3.9, and that supports Thunderbird 2.0.0.23
    Yes, I know it's an antique, but we need to fix it right now. Please help.

    It was the icon after all, and it finally worked. I think I had to clean out some of my sent mail and compact the folders first. Thank you very much.

  • Display all quantity values, buy sales want highest value in same report

    Hi
    I have slares do num , and item and qty and sales cal month
    if i execute based on month i need get top sales value ( i mean higherst values for that report) and quantity need show all values?
    if i apply condition top 1 for sales its effecting qty also?
    ple let me know what is solution for this, ?

    Hi Suneel,
                     Try with this.....
    Keyfigure  -
    > properties----->calculate single value as---> maximum.
    check here....
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1f/25883ce5bd7b1de10000000a114084/content.htm
    Hope this will help you.
    Thanks,
    Vijay.

  • BDC(to display all the errors)

    Hi Experts,
    I am uploading data from flat file to sap application by using bdc call transaction method. My flat file is in Txet format.
    Now i want to display all the errors which are nor processed.
    The error report should be line no.of error record,error message and the records which are uploading.
    i am using bdcmsgcoll structure.but it is not having the fields which are required for me. will suggest me with coding how to do it.
    Thanks in advance,
    Mythily

    Hi,
    By using function module  FORMAT_MESSAGE
    Here is a sample code:
    LOOP AT t_message INTO fs_bdcmsgcoll.(T_message is a type of bdcmsgcoll)
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = fs_bdcmsgcoll-msgid
            lang      = sy-langu
            no        = fs_bdcmsgcoll-msgnr
            v1        = fs_bdcmsgcoll-msgv1
            v2        = fs_bdcmsgcoll-msgv2
            v3        = fs_bdcmsgcoll-msgv3
            v4        = fs_bdcmsgcoll-msgv4
          IMPORTING
            msg       = w_message
          EXCEPTIONS
            not_found = 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.
        ELSE.
          WRITE:/   w_message.
    endif.
    endloop.
    Hope this solves the issue, let me know if any queries.
    Regards,
    Rajani

  • Overnight, text body of emails will not display for messages in inbox-only the from and to and a subject line displays. Draft messages in Ipad display fully. Inbox emials display fully on my main  Dell computer and my Iphone. Any ideas?  Duanekot

    Overnight, the taxt body of emails will not display for all messages in the inbox.  Only the From and To and a subject line display.  All messages in my Draft Mailbox display fully. Also, all emails in my Dell laptop and my Iphone display fully.  Any ideas?? Duanekot

    See if this helps .... Reset the iPad.
    Hold down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears - ignore the red slider bar - let go of the buttons and let the iPad start up. Then check your emails.

  • Mail Subject Line Automatically Selects All Text When Typing

    In Mail I'm typing along in a subject line and randomly the all of text I've entered becomes selected. Then my next keystroke deletes the first entered text. Very frustrating, and I can't figure out why this happens. Maybe OSX's spell checker? How do I turn that off to test?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; sudo defaults read com.apple.loginwindow LoginHook; sudo crontab -l; } 2> /dev/null | open -f -a TextEdit 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; crontab -l 2> /dev/null; } | open -f -a TextEdit 
    Step 4
    ls -A /e*/{la,mach}* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -f -a TextEdit  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' | open -f -a TextEdit 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • How can I display all results of a array element in a TS2.0 NumericArrayMeasurement in a single report line?

    TestStand2.0 generates for each result property ( data, limits, status...) of each array element in a NumericArrayTest an extra line in the test report.
    How can I change this to display all result properties of one array element in a single line?
    How can I reduce the spaces between the property name and its value in the report?
    How can I delete the message: "Measurement[x]" and display only the Measurement Alias (named in the Edit Limits menu)?
    This means I like to change my report from:
    Measurement[0] (ADC1):
    Data: 5000
    Status: Passed
    Measurement[1] (AD
    C2):
    To:
    ADC1: Data: 5000 Status: Passed
    ADC2: ...

    Hi,
    What you can do, is use the Override Callbacks for Modify the Report that is Generated.
    Also you can also change the report sequence 'reportgen_txt.seq' to achieve the desired affect. If you go for modifying the report sequence then copy this to the User folder and then make your changes.
    In the Resources Library you can find simple examples were the report has been modified by either using the Override Callbacks or by modifying the actual sequence.
    One other item in the Report Options you will have to set the 'Select a Report Generator for Producing the Report Body' control to use the Sequence instead of the DLL.
    Hope this helps
    Ray Farmer
    Regards
    Ray Farmer

  • Mail doesn't display full email text, only displays the subject line

    Mail doesn't display full email text, only displays the subject line.
    My preview shows first three lines of email, but when I chose the email specifically mail doesn't display any lines of text.  Been this way for about ten days.  Please help.  Ben

    Awesome.  Rebooting the phone worked.  I had never turned the phone off before (for the next guy - you hold down the "sleep" button for longer than you'd think and that'll do a full shutdown).  thank you for your help.

  • Whenever I forward mails I get only the subject line as forward All attachments and text is blank

    I am currently using Windows 7 - 64 bit as my operating system. Previously this was not the case. But after I changed my operating system, problem started in forwarding my mails. Whenever I forward my mails, Only the subject line is filled. All the text, attachments and pictures from original mail are not carried alongwith.
    == This happened ==
    Every time Firefox opened
    == From the very beginning

    Close out of the camera app, double tap the home button and completely close out of the app.
    Then do a reset, no data loss.  Hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up.
    Then check your camera roll again.

  • R12: Aging report 7 buckets displayed all info in 1 line

    Hi All,
    I am working on the standard aging report 7 buckets in Receivables and i am having a problem when submitting the request with the following parameter:
    Order by: Customer
    Summary report: invoice summary
    Summary format: detailed
    the output of the report is displayed in one all, i.e all the info is in one line.
    This has arise when i added contact information to the customer.
    ***Report as displayed in my output****
    This report does not display transactions for which accounting has not yet been generated. Report Date: 2009/08/06 14:02 BAML-PRIMARY LEDGER(MUR) Aging - 7 Buckets Report Order By : Customer Reporting Level : Ledger Reporting Context : BAML-PRIMARY LEDGER(MUR) Balancing Segment : To As of .....
    Can you please help for this issue?
    vik

    Skype was causing the problem :@

  • Why is "[SPAM]" being added to the subject line on all my sent emails? see below

    [SPAM] Fwd: Help your friends recognize you

    Thunderbird does not use the word spam or modify subject lines. Look at your antivirus, and spam software or your providers spam filters.

  • I am unable to read my emails - the subject line comes up but then no content is displayed. It was working fine until yesterday.

    I am unable to read my emails - the subject line comes up but then no content? It was fine until yesterday. Any suggestions?

    Try closing the Mail app completely and see if the email text shows when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Report output displaying all rows in a single line

    Sometimes
    Edited by: 845142 on Mar 17, 2011 11:12 AM

    Hi,
    There might be some mistake in your layout. the print direction should be down.
    Look at the below link for more information:
    http://oracleapps4u.blogspot.com/2011/03/layout-mode-print-direction.html
    Some guide lines in developing the report layout:
    http://oracleapps4u.blogspot.com/2011/03/layout-guidelines-to-increase-report.html
    If this didnt help you. detail more about your problem

  • Acrobat 9 - Attach to email - missing subject line?

    I just upgraded to CS4 from CS3. In Acrobat 8 when I am viewing a PDF if I go to the File menu and select (Attach to Email) I am taken to my mail app and an email was created with the attachment and the subject line is filled in with the file name. With Acrobat 9 when I try to do the same thing it does not include the subject line. Is there some sort of preference I can change to get it to include a subject line?
    I send a lot of PDFs to customers and that feature in Acrobat 8 is a convenient time saver.
    Thanks.

    I have both versions on my computer because some of us have clients with deadlines and can't afford to spend hours trying to find out why new software isn't working the way it used to or should.
    I sometimes produce up to 50 pdf proofs a day from InDesign layouts that need to be emailed to my clients for review. It was so smooth to be able to just hit the button, have the pdf attach itself to a new email message WITH THE NAME OF THE EMAIL AUTOMATICALLY PLACED IN THE SUBJECT LINE, type in a small note and hit send. Now, thanks to some coding anomoly in 9.0 I have to remember to hit SaveAs BEFORE I hit the email button, select the name of the file, copy the name of the file, hit the email button, then paste the name of the file in the subject line.
    This wouldn't be so frustrating if I didn't literally have YEARS of being able to use that feature. Also, if even half the features Acrobat purports to have even worked consistently I could see tweaking it, but it's been known in the industry since day one that most of the extraneous "features" don't even work like they're supposed to.
    Portable Document Format was a brilliant concept and works beautifully as a way of consistently displaying and printing layouts across platforms, it's vastly superior to Powerpoint for presentations when the original design can be created in a layout program. Unfortunately Adobe decided to attach features to it that weren't properly tested so it's clunky to actually use, many of the features don't behave consistently or at all, and people can't create their presentations in it so they turn to Powerpoint because MS figured out how to make it easy to create simple presentations right in the application. Through the years, every time I've tried to use the features in Acrobat I'm left disappointed by the outcome and so now it's reputation as anything beyond a wonderful prepress and proofing tool is tarnished.
    Also, on a Mac I don't know what kind of security issues could be in 8.0 that would leave me exposed. I open my own pdfs, files sent by my clients and others that I trust only. How is someone going to sneak past my firewall just because I'm running 8.0?
    How am I exposed?

  • Use VC mailto hyperlink to include subject line taken from any given field

    Hi All,
    I'm a newbie and would appreciate some help....
    ...I'm am currently creating a model that uses a number of various BAPI's and displays the info to the user in a variety of tables & forms. I have created a toolbar button that enables an email to be sent to any user who created a sales order ('mailto:'&@email). However the problem I have is that I want to automatically input the order number into the subject line of the email. The order number is available via a field on a table so I don't envisage it being problematic to an expert, but as I don't know the exact coding to use for the formula I am stumped. could somebody please help....
    Kind Regards,
    Naz Ghafoor

    Hi Naz,
    try this one:
    ('mailto:'&@email&'?subject='@myOrderNumber)
    Best Regards,
       Benni

Maybe you are looking for