Can we assign two values to the same parameter? If yes how? For details ple

Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
I want to do this to print two documents(values) with a single command (parameter)
Anybody please help quickly,
Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
JAVA PROGRAM:
<param name="QUERY" value="REPORT_TEST1"/>
function PrintReport(typePaper) {
document.title ='Report';
if (typePaper == "0")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
if (typePaper == "1")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
var openCMD='<SAP_BW_URL>';
openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
openCMD += CurrentReportName;
openWindow(openCMD,'MainTitleNow',800,600);
The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
Please help.
THANX A LOT,
SRINI

Hi,
Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
In the function get the parameter value and seperate the values using the same delimiter.
<param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
Regards,
Uma

Similar Messages

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • Can you have two iPods on the same account

    I have an Itouch and an old classic that I want to load different music on.  Can I have two ipods on the same account?  Thanks

    I have a iMac, MB Pro, iPad 1, iPad 2, iPad Mini, iPod 4th all on the same iTunes account. Is that what you mean?

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • Can I authorize two computers withe the same iTunes

    Can I authorize two computers withe the same iTunes

    Yes, you can authorize two computers with the same Itunes Account.

  • Can we buy two albums at the same time ?

    Can we buy two albums at the same time ?

    If by 'two' you mean different, 'albums' you mean books and 'at the same time' you mean in the same order, no. You can order multiple copies of the same book in one order, but different books require different orders.
    Regards
    TD

  • Can I shuffle two playlists at the same time?

    How can I shuffle two playlists at the same time?  Thank you.

    You can only connect to one site at a time.  And you need to edit files locally, save & then upload to the remote server.   AFAIK, no single FTP app is capable of connecting to more than one server at a time.  You might be able to do what you want with DW open and an additional 3rd party FTP client like Filezilla, each connecting to different servers.
    Nancy O.

  • Can i run two widgets at the same time on the same page?

    Can i run two widgets at the same time on the same page?
    Hi
    I have created and published 4 free ibooks and i would to run two widgets
    - a countdown clock
    - a review test
    at the same time on the page. Can i do that?
    Thanks in advance
    Haris

    thanks for your answer. Yes indeed HTML widgets run only full screen (snif snif). I consider this as a "distinguishing treatment".
    One solution  i read !!!!! was to create through keynote a countdown clock, to export to quicktime move and to imported at iBA predefined widgets. of course this is not the solution i need.
    So, in order to have at the same widget and run together a count down clock and a preview test (20 questions)  i must
    1)"hack" the preview widget and insert a countdown clock
    2) create a preview test using iAD.....
    thanks again
    haris

  • Can I call two numbers at the same time on facebook?

    Can I call two numbers at the same time on facebook?

    thanks for your answer. Yes indeed HTML widgets run only full screen (snif snif). I consider this as a "distinguishing treatment".
    One solution  i read !!!!! was to create through keynote a countdown clock, to export to quicktime move and to imported at iBA predefined widgets. of course this is not the solution i need.
    So, in order to have at the same widget and run together a count down clock and a preview test (20 questions)  i must
    1)"hack" the preview widget and insert a countdown clock
    2) create a preview test using iAD.....
    thanks again
    haris

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • URGENT: passing more than one value at the same parameter

    Hello friends at www.oracle.com,
    if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
    For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
    This is quite urgent and I need help on this.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]

    Thanks to Oracle Reports Team for answering! I'm sure this will work.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]
    hello,
    on the forms side, you will have to build the list for this parameter by e.g. string concat.
    on the reports side you will have to "decode" this parameter according to how you built it in forms.
    e.g. if you pass the list like this "10~20~30" you might use a where-clause in the query
    ... where instr(myCol, :myParam) >0
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

  • Can my husband and I use the same e-mail address/AppleID for our 2 phones, our iMac, and our Macbook?

    Can my husband and I use the same e-mail address/AppleID for our 2 phones, our iMac, and our Macbook?
    We share an e-mail account and would like to use the same e-mail address for both our phones, as well as our computers at home. Is this possible?
    We both have itunes and apple ID's of our own right now, but since getting married, we are deleting these e-mail accounts and sharing one. How can we make this work?

    You may use the same Apple ID for iTunes and App Store purchases, but using different iCloud Apple IDs is recommended.
    If you use the same iCloud account on your iPhones it will sync all of your contacts, reminders, and notes automatically and it could be a pain. I don't know exactly how you would want to have the iCloud accounts set up on the Macs, because I don't know exactly how you use them. (I am assuming you share?). But you can do whatever you like, you can even keep the same iCloud accounts, etc but you may want to disable the syncing of certain items, because reminders for ones phone popping up on the others automatically would probably get annoying, but that is just me.

  • HT204053 what if i have two ipods withe the same apple id? how do i find one but not the other?

    what if i have two ipods with the same apple id? how do i find on that is missing?

    If connected to the internet and yu turned FindMyiPd one, both will show up in FindMyiPhone
    http://support.apple.com/kb/PH2580

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

Maybe you are looking for

  • How can I set up an out of office message?

    I use Macmail for my mac.com account and also to receive my business emails through another server.  I have tried to use rules to respond with an "out of office" message but it has not gone well.   The system responded to year old emails and flooded

  • MacBook has slowed to the point of crashing everytime?

    So, my MacBook Air (Mid 2011, 2GB Ram) has become so slow to the point of it crashing in every app. It's fairly understandable as it's old and the memory is only 2GB. I will be buying the new MacBook on its release, but is there anything I can do to

  • Fonts are not readable in web

    I have the problem that -I would like to use fonts (arial) in a graphik, which schould have 1000px X 288px and I use fonts, but after to get a jpg or a png for the Web-Use  the fonts is blurred and fuzzy

  • New Mac Mini dvd drive replacement

    hey has anyone tried to replace the DVD drive with the Sony BC-5600S bluray drive its sata and the right size and its a slot drive, i really want to give it a shot the drive can be had online for around $100. anyone tried this or think its possible?

  • Tap picture in Photos App and rotate - issue

    Hello all, Subject: iPhone 3Gs / 4.0.1 Application: Photos App (default Apple application) Issue: tapping landscape pictures with phone in vertical position and rotate them goes on black screen Description: I am with iphone in normal (vertical positi