Select parameter in report heading

Hi all,
I have defined a date parameter as
Select-options: S_NACD2 FOR Z_VIEW_GITREPORT-BL_DATE OBLIGATORY. (It is a date type select option)
I have defined report heading as :
CALL FUNCTION 'HR_DISPLAY_BASIC_LIST'
EXPORTING
BASIC_LIST_TITLE   = 'GIT Against Import POs'"sy-title
   FILE_NAME       = 'HR_DISPLAY_BASIC_LIST'
   HEAD_LINE1      = GIT_REPORT_ID
   HEAD_LINE2      = DATE
   HEAD_LINE3      = USER_NAME
   HEAD_LINE4      = RECS_FOUND
   CURRENT_REPORT  = 'HR_DISPLAY_BASIC_LIST'
TABLES
   DATA_TAB        = IT_GIT
   FIELDNAME_TAB   = MTAB_FIELDNAMES.
EXIT.
What I want that after heading ''GIT Against Import POs'' , value in S_NACD2 should appear like :
GIT Against Import POs  25.11.2007    31.11.2007.
How can I do that??
Regards,
Aisha Ishrat
ICI Pakistan Ltd.

hi Aisha Ishrat
declare a variable
data: loc_variable(200).
then concatenate 'GIT Against Import POs' ' POs' ' 25.11.2007' ' 31.11.2007' into loc_variable.
then pass BASIC_LIST_TITLE =  loc_variable.
hope u ll get.
regards
karthik

Similar Messages

  • Range Parameter in report heading

    Post Author: Kara
    CA Forum: Formula
    Hi,
    I am using version 9. I have designed a report with a date range parameter that I would like to display in the report header. To get both the 'from' and 'to' dates to appear I am trying to write a formula, but keep getting the message "a string is required". My formula is as follows:
    "from" + Minimum({?Date Range})+ "to" + Maximum({?Date Range})
    Can anyone tell me where I am going wrong?!
    Any help gratefully received.
    received
    Kara

    Post Author: V361
    CA Forum: Formula
    You need two Parameters, name one {?MIN_DateRange} and the other , your customer will be prompted for two dates, Min and Max, then change your formula for the header, replace the + with &  
    "From: "  & {?MIN_DateRange} & "to " & {?MAX_DateRange}

  • Including parameter in report heading

    how can I include the parameter that is selected within a link to run a
    report as a "column heading ". In other words:
    "Dept A" was selected via the link so when the report is run, the column
    heading for the report shows "Dept A" and everything that falls within that
    category. I have tried the htp.p('Org:'||get_value(parameter_name) but can I include
    more than one parameter in that construct, and also can I manipulate the value's size and font?
    Sincerely
    CJ

    Hi,
    Is there a way of including a parameter that is passed in in the report ?Yes you can create a new calculation and in it you can either select from the available parameters or use the parameter name.
    For example if you have a parameter called "P_DATE" you should create a calculation as followed:
    :P_DATE
    This will create a new column with the parameter data.
    If you want to create a calculation using the parameter you should create the calculation and in it use the " : " before the parameter name.
    for example to calc the number of days past since the parameter value:
    trunc(SYSDATE) - trnuc(:P_DATE)
    Tamir

  • Selection Variable on Report Heading

    Dear Friends,
    i have a report with four variables on selection screen.
    i would like to show one of variable on the heading of my report.
    regards,
    Malik

    I did the same thing my friend.
    Query properties > variable button in description field> create new text variable processing by
    replacement path and choose company code in refrence characterstics becuase my selection is
    on company code.
    but its giving me following warning on selection screen.
    Text variable VAR_20090112123701 in "Aging&VAR_20090112123701&" cannot be replaced - value not found
    and when i run the report i get the heading like this
    Aging&VAR_20090112123701&
    Name of variable is comming not value.
    any idea.
    Regards,
    Malik

  • Display multiple parameters in report header

    i am attempting to display a multiple parameter selection in my report header
    i user
    join({?parameter},",")
    in the stored proc it is a varchar
    in the formula editor i receive this error
    a string array is required here
    what do i need to do to display the selected parameter values
    i have used this function before with varchars and have had no problems

    i used the following syntax in my sp which produced the correct results. i just placed the parameter in the header without using the join function and it works like a charm.
    ALTER   PROCEDURE [dbo].[Pr_orn_whse_rcpts]          
         (@From_Crt_Dte     datetime ,
          @To_Crt_Dte     datetime,
         @whse          varchar(90))
    AS          
    CREATE TABLE #T_Localwhs
         warehouse varchar(6) null
    DECLARE
         @var     varchar(6),
         @i     numeric,
         @whs     varchar(6),
         @chk     numeric
    SET @i = 1
    SET @var = (charindex(',',@whse))
    IF @var <> 0
         BEGIN
         WHILE (@i < @var)
              BEGIN
                   --SET @var = (CHARINDEX(',',@whse))
                   SET @whs = LTRIM(LEFT(@whse, (@var-1)))
                   INSERT #T_Localwhs (warehouse) VALUES (@whs)
                   SET @whse = RIGHT(@whse, (LEN(@whse)-@var))
                   SET @var = (CHARINDEX(',',@whse))
              END
         INSERT #T_Localwhs (warehouse) VALUES (LTRIM(@whse))
         END
    ELSE
         BEGIN
         INSERT #T_Localwhs (warehouse) VALUES (LTRIM(@whse))
         END
    then you add a nested query to join it to the sp. as below. above your where statement.
    JOIN     
              SELECT DISTINCT
                   Warehouse
              FROM      #T_Localwhs
              ) TW
         ON     in_wthdr_tbl.in_wthdr_frwhs = TW.warehouse
    WHERE

  • Show selected value from multi-selected parameter in crystal report

    Dear Experts!
         i would like to ask how to catch selected value from multi-selected parameter to show in report header section.
    Thanks in advance.

    Hi Dara,
    If this is a string prompt then you could simply create a formula with this code and place it on the report header:
    Join({?Prompt name},", ")
    -Abhilash

  • SSRS 2012 multi select parameter not working in Report Manager.

    Hello,
    I have one report with Multi select parameter. its working fine in bids, report server but I am facing some issue on report manager 2012.
    Issue is, In Multi select parameter I have Suppose 6 value a,b,c,d,e,f  after the deployment on report manager for the first time report is working fine with selecting all the value. but for the second time if my selection include either
    a or f report gives no result and check box get unselect.
    I also try on different report manager but same result.
    what can be a issue here causing problem only for two value but working fine for other value?
    Thanks,

    Hi Javed,
           The Issue is with when you click on View Report button of Report Manager for Parameters which contain CHAR(10) and CHAR(13).
    Where ever that Column is used in Report Data Set ,
    Use replace(replace(Param,char(10),''),char(13),'')  function.
    ----------------Please Mark This as Answer if it helps to solve your problem---------------------------- 

  • How to print the selection screen variant as a report header

    I want to print the variant selected on the selection screen as a report header in the report painter.....Kindly help....The variant selected prior to generating the report painter output must be displayed on the final output screen as the header on the screen...

    Hi
    Here you've to use 'Z_HEADER_FOOTER' function module at TOP-OF-PAGE
    Just pass parameters for report_name                 as repid
                                              show_select_options  as 'Y'
                                              show_parameters       as 'Y'
                                              line_size                       as you wish
                                              action                           as 'X'
    Hope this fulfills your requirement
    Thanks
    Suren

  • GR55 Report - Need to add Document type in selection parameter

    Hi Friends,
    Our client needs to have document type in selection parameter for one report group which has 4 reports attached.
    Changes have been made and now document type is already there in selection parameter. But irrespective of document type Output is same.
    That is if i Give docuement type or not it gives me same output.
    This report is bein copies n new report is made.
    Can any one help me out with how go proceed further.

    Hi,
    This report is bein copies n new report is made.
    You just copied the output from an existing one right....
    Inorder to get the report documenmt type wise you also need to change the output format of the report.
    Ask your ABAPer to get this tobe done...

  • ME2N report with selection parameter GROB

    When I run the report Me2n with the selection parameter GROB - Rough GR, I get only the POs whose inbound delivery has been made.
    But I dont get those POs whose ROUGH GR has been made.
    Why does this happen??
    How can i get those POs whose Rough GR has been made but actual GR is not made yet?

    Go to SPRO-Mat Mgmt-Purchasing-Reporting-Maintain Purchasing Lists-Selection Parameters-Define Selection Parameters and select your Selection Parameter GROB and click on details there you can see the option Rough GR Qty here input > 0 then system will display only Rough GR's.
    Note : If Notified Qty >0 alone selected then system will display po's only with vendor confirmations.

  • Can subreports use same selection parameter(s) as main report?

    Hi,
    Is it possible to create subreports that use the selection selection parameter(s) as the main report.
    And if so, would the user need to make their selections twice, or just once when they open the report?
    Thanks, Jon

    Hi
    Yes you can use the same parameter for both your subreport and the main report with running the parameter just once,.
    Create a parameter in your main report and link the same field(for which you have created the parameter) of subreport with this parameter.
    Now when you refrresh the report, you would input the values and the subreport would also return records based on those values.
    Note that this is simple when you are using same datasource and tables for both subreport and main report. Otherwise you need to have same structures for tables and data type as well for subreport and the main report.
    Hope this helps!!
    Regards
    Sourashree

  • Need help showing multiple parameters in a report header

    Post Author: Annette
    CA Forum: Formula
    hi-- i am new to this and i have created a report where the person picks one or more items (they are different hospital suites) and i need for them to print on the report header all of the selections that they chose. right now it only prints the name of the first one they choose..
    any help would be good..
    i do know it's a string value....
    thank-you for anything you can help me with....
    basically if 1 is picked then it needs to state that name, if 2 or more are picked id like it to say Name, name, name, etx...

    Post Author: Annette
    CA Forum: Formula
    the actual parameter is a number, but what im trying to populate on the heading is the name of the number..
    for example... when you choose the resource unit of 31 when you refresh i want it to show the name of it which is ORA Surgery.... but if they choose 31 & 53 then id like it to show ORA Surgery, ORD Surgery.... right now it just pulls the first name choosen.. does that make sense..
    so the parameter is a number, but the name(the one i want populated)  is a string
    and oh gosh,, thanks for your quick responses..

  • Paramteter in Portal Report Header

    Hi
    Is there a a way of showing the parameter that a user enters in
    a report header, perhaps with some text
    eg given the query
    select * from SCOTT.EMP
    where DEPTNO = :department
    I would want to show something like 'Department is :':department
    number in the page header of the report, and hide deptno in the
    result set displayed. I am trying to emulate something similar
    to the way that Discoverer users 'Page items'.
    Thanks in advance
    Tim

    To display the parameter, you could enter the following code
    into the '...After displaying the header' event on the PL/SQL
    tab.
    htp.prn(htf.bold('Department is ')
    ||portal30.wwv_name_value.get_string( l_arg_names,
    l_arg_values, 'department'));
    htp.br;
    Then just change the display type of Department to Hidden.
    Hope this helps.

  • Displaying Date Parameters in Report Heading

    Post Author: Jim-1003
    CA Forum: Formula
    Hello,
    I am new to Crystal Reports, and I am trying to improve an existing report definition so that the beginning and end dates selected by the user are displayed as part of the report heading.  I saw something similar in the report samples, but the sample uses custom functions that apply only to that report -- cdFormatDateRange and cdSpecialDateRange.  I have not found any documentation on how those functions were created or how to use them. Any help you can give me would be greatly appreciated!
    Thanks,
    Jim

    Post Author: Jim-1003
    CA Forum: Formula
    After some digging, I did find out more.  First of all, in the options for my Parameter, the option to allow multiple entries was set to true, so I didn't really have a range, but an array of ranges, which confused the editor.
    Second, I finally did find the source code for cdFormatDateRange, which allowed me to reuse it by copying it into the clipboard and pasting it into my report. 

  • SSRS Text box expression in Report Header

    Hi Experts,
    I'm trying below expression under Text box (Report Header)
    = IIf( IsNothing(Parameters!vCp_ID.Value) OR Parameters!vCp_ID.Value = "", "All", Join(Parameters!vCp_ID.Value,", ") )
    It gives me error message as:- 
    Warning 1 [rsRuntimeErrorInExpression] The Value expression for the textrun ‘Header_Cp_ID_Value.Paragraphs[0].TextRuns[0]’ contains an error: Overload resolution failed because no Public '=' can be called with these arguments: 'Public Shared Operator =(a As String, b As String) As Boolean': Argument matching parameter 'a' cannot convert from 'Object()' to 'String'. C:\Users\abc1\Documents\Visual Studio 2008\Projects\Report Project1\Report Project1\ClaimsLevel.rdl 0 0
    Any help what I'm doing wrong? Because of this is it printing "#Error" while previewing the Report.
    If I remove IIF condition and place only:- 
    Join(Parameters!vCp_ID.Value,", ")
    than everything is working fine.
    Thanks in advance
    Kumar
    KG, MCTS

    Hi,
    Since this parameter allows selection of multi values, the values of the parameter is returned as an array which cannot be used in comparing with = operator, as you have in the expression
    Parameters!vCp_ID.Value = "".
    You may pass the first value of the parameter (element with 0 index) instead like
    Parameters!vCp_ID.Value(0) = "". Note the .Value(0). As such, you expression may be written as
    = IIf( IsNothing(Parameters!vCp_ID.Value) OR Parameters!vCp_ID.Value(0) = "", "All", Join(Parameters!vCp_ID.Value,", ") )
    Hope this helps. Please feel free to discuss if you have any other questions.
    Regards
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

Maybe you are looking for

  • How do I add a track to itunes with all it's metadata?

    Is it possible to add songs and their metadata to my itunes library? When I try to add a track, information such as rating and play count are always lost.

  • CSV output/ issue if data contains comma

    Hi, I have a report which I enabled CSV output. Some of the columns in the report, I masked them with the format "FML999G999G999G999G990D00", which is one of the currency formats. I realized that if the numbers are 4 digits or larger, which means the

  • Unknown error code -3221

    I can't access the music store. Above error code has returned and won't let me in. Last time it just went away... I didn't do anything to change computer. This is so frustrating... make sure network connection is active and try again(what does that m

  • Port pseudowire

    what is port pseudowire and why is it used and is it different than the normal pseudowire. can anyone shed some light on this. cheers jack

  • Material Has wrong product hierarchy when entered in sales Order VA01

    Hi, Material -1300  - has a wrong product hierarchy. If you search for product hierarchy via Tcode mm03 - basic data1 you will find the following hierarchy: 00P4SU000D8400600H However if you enter an order with Tcode va01, enter Material 1300  - in t