Passing flexfield from report wrapper to seeded report using shell script

I am unable to pass flexfield values from report wrapper to seeded report using shell script
below is the shell script that i am using to transfer GL Account High and GL Account Low to the seeded program Receipt Journal Report (ARXRJR). the flex fields get passed through the parameter v_param_12 and v_param_13. but all i am getting in the seeded report log file is the reporting level,reporting context,set_of_books,period, gl_date_low/high .
#TEST Program for Passing GL Account High and GL Account Low
v_user_name=`echo $3`
v_login_pwd=`echo $FCP_LOGIN`
v_prog_name=`echo TESTARXRJR`
echo 'v_prog_name: '$v_prog_name
# testing for passing the arguments from CM ...
if [ -z "$1" ]
then
echo "Please pass the first argument...."
exit 1
fi
v_request_id=`echo $4`
echo 'v_request_id: '$v_request_id
v_param_1=`echo $5`
echo 'v_param_1: '$v_param_1
v_param_2=`echo $6`
echo 'v_param_2: '$v_param_2
v_param_3=`echo $7`
echo 'v_param_3: '$v_param_3
v_param_4=`echo $8`
echo 'v_param_4: '$v_param_4
v_param_5="$9"
echo 'v_param_5: '$v_param_5
shift
v_param_6=`echo $9`
echo 'v_param_6: '$v_param_6
shift
v_param_7=`echo $9'`
echo 'v_param_7: '$v_param_7
shift
v_param_8=`echo "$9"`
echo 'v_param_8: '$v_param_8
shift
v_param_9=`echo $9`
echo 'v_param_9: '$v_param_9
shift
v_param_10=`echo $9`
echo 'v_param_10: '$v_param_10
shift
v_param_11=`echo $9`
echo 'v_param_11: '$v_param_11
shift
v_param_12=`echo $9`
echo 'v_param_12: '$v_param_12
shift
v_param_13=`echo $9`
echo 'v_param_13: '$v_param_13
shift
v_param_14=`echo $9`
echo 'v_param_14: '$v_param_14
shift
v_param_15=`echo $9`
echo 'v_param_15: '$v_param_15
shift
v_param_16=`echo $9`
echo 'v_param_16: '$v_param_16
shift
v_param_17=`echo $9`
echo 'v_param_17: '$v_param_17
shift
v_param_18=`echo $9`
echo 'v_param_18: '$v_param_18
shift
v_param_19=`echo $9`
echo 'v_param_19: '$v_param_19
shift
v_param_20=`echo $9`
echo 'v_param_20: '$v_param_20
shift
v_param_21=`echo $9`
echo 'v_param_21: '$v_param_21
shift
v_param_22=`echo $9`
echo 'v_param_22: '$v_param_22
shift
v_param_23=`echo $9`
echo 'v_param_23: '$v_param_23
echo "Executiong SQL to obtain org id and responsibility name"
(sqlplus -s /nolog <<end_of_sql
conn $v_login_pwd
set heading off
set echo off
set feedback off
SELECT 'ORGID:'||b.profile_option_value || ':' ||e.responsibility_name
FROM fnd_profile_options a,
fnd_profile_option_values b,
fnd_concurrent_requests c,
fnd_responsibility d,
fnd_responsibility_tl e
WHERE c.request_id = $v_request_id
AND c.responsibility_id = b.level_value
AND b.profile_option_id = a.profile_option_id
AND a.application_id = b.application_id
AND c.responsibility_application_id = d.application_id
AND d.application_id = e.application_id
AND a.profile_option_name = 'ORG_ID'
AND c.responsibility_id = d.responsibility_id
AND d.responsibility_id = e.responsibility_id;
exit
end_of_sql
) > a.log
v_var=`grep -iv "ORG_ID" a.log|sed 's/Connected.//'`
echo 'v_var: ' $v_var
v_org=`echo $v_var| awk 'FS=":" {print $2 }'`
v_resp_name=`echo $v_var | awk 'FS=":" {print $3}'`
echo 'v_org :'$v_org
echo 'v_resp_name :'$v_resp_name
echo 'Sumitting Receipt Journal Report...'
user_request=`CONCSUB $v_login_pwd GL "$v_resp_name" $v_user_name WAIT=Y CONCURRENT AR ARXRJR \
          \"$v_param_3\"\
          \"$v_param_4\"\
          \"$v_param_5\"\
          \"$v_param_6\"\
          \"$v_param_7\"\
          \"$v_param_8\"\
          \"$v_param_9\"\
          \"$v_param_10\"\
          \"$v_param_11\"\
          \"$v_param_12\"\
          \"$v_param_13\"\
          \"$v_param_14\"\
          \"$v_param_15\"\
          \"$v_param_16\"\
          \"$v_param_17\"\
          \"$v_param_18\"\
          \"$v_param_19\"\
          \"$v_param_20\"\
          \"$v_param_21\"\
          \"$v_param_22\"\
          \"$v_param_23\"`
user_request=`echo $user_request|awk '{print $3}'`
echo Request is $user_request
trx_rep_file="$user_request"
echo 'trx_rep_file: '$trx_rep_file
sleep 10
for i in 1 2 3 4 5
do
if test -f $APPLCSF/$APPLLOG/l$user_request.req
then
if test [`grep -i '"Concurrent process completed successfully"' $APPLCSF/$APPLLOG/l$user_request.req`]
then
if test -f $APPLCSF/$APPLOUT/o$trx_rep_file.out
then
echo +++++++++++++++++++++++++++++++++
               echo 'output file found'
               echo ++++++++++++++++++++++++++++++++++++++
else
echo +++++++++++++++++++++++++++++++++++++++++
          echo failure in Report listing production
          echo +++++++++++++++++++++++++++++++++++++++
fi
break
else
echo +++++++++++++++++++++++++++++++++++++++
echo Job not Over Yet
     echo +++++++++++++++++++++++++++++++++++++++++++++
fi
echo +++++++++++++++++++++++++++++++++++++++
echo File not found yet
echo ++++++++++++++++++++++++++++++++++++++
fi
sleep 10
done
echo ----------------------------------------------------------
echo Transaction Listing process over
echo ---------------------------------------------------------
echo ----------------------------------------------------------
echo Executing SQL to derive Search Pattern
echo ----------------------------------------------------------
v_pattern=`sqlplus -s /nolog <<EOF1
conn $v_login_pwd
     set heading off
     set echo off
     set feedback off
     SELECT 'SEARCH^'||meaning||'^'||attribute1||'^'||attribute2||'^'||attribute3
     FROM fnd_lookup_values
     WHERE lookup_type = '$v_param_2'
     AND lookup_code = '$v_prog_name';
exit
     EOF1`
echo 'v_pattern: '$v_pattern
v_pattern_n1=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $2}'`
echo 'v_pattern_n1: '$v_pattern_n1
v_pattern_n2=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $3}'`
echo 'v_pattern_n2: '$v_pattern_n2
v_pattern_n3=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $4}'`
echo 'v_pattern_n3: '$v_pattern_n3
v_pattern_n4=`echo $v_pattern|sed 's/Connected.//'|awk 'FS="^" {print $4}'|sed 's/ //'`
echo 'v_pattern_n4: '$v_pattern_n4
echo 'v_param_12: '$v_param_12
echo 'v_param_13: '$v_param_13
echo -----------------------------------
echo Deriving final output
echo ----------------------------------
v_var=`cat $APPLCSF/$APPLOUT/o$trx_rep_file.out | grep -i "$v_pattern_n1"|\
               sed "s/(/-/g"|sed "s/)/ /g"|\
               sed "s/$v_pattern_n1/$v_pattern_n2/g"|\
          sed 's/ /~/g'|\
sed 's/~~*/~/g'|\
               sed 's/ *//g'|\
               sed 's/,//g'`
echo 'v_var: '$v_var
v_var_2=`cat $APPLCSF/$APPLOUT/o$trx_rep_file.out|grep -i "$v_pattern_n3"|\
               uniq`
v_out_1=`echo "$v_var"|grep -i "$v_pattern_n2"|awk 'FS="~" {print $3}'`
echo 'v_out_1: '$v_out_1
echo 'v_var_2: '$v_var_2
echo ------------------------------------------------------------
v_out_2=`echo "$v_var_2"|grep -i "$v_pattern_n3"|awk 'FS=":" {print $2}'`
echo 'v_out_2: '$v_out_2
echo ----------------------------------------------
echo Process comleted
echo ----------------------------------------------------
echo ================================================================================
#---------------------------------------------------------------------------------------------------

The name of this OTN group is "Database - General"
Your question relates to an unnamed application that might be E-Business Suite, or PeopleSoft, or Siebel, who can say.
Please re-ask your question in the appropriate applications forum and be sure to clearly name the full product name and version. We are not mind readers and we can not look over your shoulder.

Similar Messages

  • Problem-Report generation using shell script

    Hi
    We have the Production database and the Reporting database (copy of Production database),
    both on Oracle 9.2.0.5 and Solaris 5.8. There is a package inside the Oracle database, which extracts some data from inside the
    database, and would generate a report. A shell script has been created in Solaris which would
    send in the parameters and call the pakage to generate the report. The parameters it is sending is
    the name of report to be generated, and the location where it is to be generated, both hard-coded into
    the script. The script is scheduled to run through crontab.
    The problem we are facing is that, if we run the script for Reporting database, it successfully
    generates the report. But if we use that script for Production database, it gives the error
    "Invalid directory Path". I have tried using various other directory paths, even '/tmp'
    and '/', but it still gives the same error when executed for Production dataabse.
    Could somebody provide any ideas what might be going wrong.
    The reasons it is to be executed on Prod db and not the Reporting database are unavoidable.
    It anyway runs in off business hours and takes about 10secs to execute.
    Please do let me know if there is any other info that I missed to provide here.
    Thanks in advance...

    I will be just guessing because you didn't provide contents of script and package.
    The "Invalid directory path" as you said could be ORA-29280 due non existent directory.
    Try execute (as sys or system) select * from dba_directories; (or select * from all_directories; as user which the script is login to) on both databases and compare the results. If there is missing your important directory then create it using create directory <dirname>; (from sqlplus and don't forget to grant rights for user).
    This error could come from shell script. In that case you should find resolution yourself because you didn't provide script source.

  • How to pick a message from a mail box using shell script

    Hi
    Can any one tell me how to pick a message from a mail box using shell script.
    Thanks,
    Suman.

    Hi Suman,
    Can any one tell me how to pick a message from a mail box using shell script.Grep for the message and then either cut or awk for the text. . . Something like this:
    ls -al /mail/directory | grep "$1"* | awk '{print $9}'
    Jon emmons has working samples in his book on Oracle shell scripting . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • How pass parameter from Form to Graphics through Report?

    I wrote a Report called by a Form and pass a parameter from the
    Form to the Report, successfully! But I imported a Graphic in
    the Report, and the Graphic could not get the parameter...(the
    parameter in the Report and Graphic should both pass from the
    Form).
    I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    and I imported the image from file for the Graphic in the Report.
    Thanks for your help!
    null

    Meilan (guest) wrote:
    : I wrote a Report called by a Form and pass a parameter from the
    : Form to the Report, successfully! But I imported a Graphic in
    : the Report, and the Graphic could not get the parameter...(the
    : parameter in the Report and Graphic should both pass from the
    : Form).
    : I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    : SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    : and I imported the image from file for the Graphic in the
    Report.
    : Thanks for your help!
    Meilan,
    This forum is for Headstart related questions and experiences
    only. Please go to metalink.oracle.com to get more information on
    your problem.
    Regards,
    Ton
    null

  • How to submit "active users" standard report using shell scripting

    Hi All,
    Greetings.
    I want to submit the "Active Users" standard report in Sysadmin responsibility using a shell script.
    I also want to pass a parameter named email to this..
    can anyone help me do this?
    Thanks in Advance,
    Bhaskar

    Hi Bhaskar,
    You can achieve this by shell scripting either by scripting via CONCSUB utility (invoked from OS) or you can use the FND_SUBMIT package (through PL/SQL package), and in the script itself you can create the outputs or any hardcode messages to a file, and then mail the output to your desired mail address.
    If you use mail or mailx command using the OS utility then you can even send mail to external users which should not necessarily be a registered EBS users.
    Google, Forum Search and metalink will provide you loads of articles on how to use CONCSUB and FND_SUBMIT packages.
    Thanks &
    Best Regards,

  • Pass properties from clickHandler into a TitleWindow that uses the popUpManager

    If there a way to pass parameters from a clickHandler that loads a titlewindow via the
    popUpManager into the TitleWindow?  To begin with, I'd like to change the title based on the ow!_clickHandler.
    SCRIPT
    // Custom PopUp:ow1 //
    private var popup:ow1PopUp = new ow1PopUp();            //ow1PopUp is a TitleWindow component//
    protected function ow1_clickHandler(event:MouseEvent):void
    PopUpManager.addPopUp(popup,
    this, true);popup.x=110;
    popup.y=110;
    CLICK_HANDLER
    click="ow1_clickHandler(event)"  // I'd like to be able to stuff a variable as an argument here to pass to the TitleWindow's title property. 

    @doug,
    You can pass any number of arguments in your click handler as it is in MXML so you can do something like this...
    click="ow1_clickHandler(event, 'some param')"
    In order to pass this value to the PopUp create one Bindable public variable in your ow1PopUp popup component and bind it to title property of your TitleWindow component as shown below:
    <mx:TitleWindow title="{titleText}">
         [Bindable]public var titleText:String="";
    </mx:TitleWindow>
    protected function ow1_clickHandler(event:MouseEvent, title:String):void
    PopUpManager.addPopUp(popup,this, true);
    popup.x=110;
    popup.y=110;
    popup.titleText = title;
    Thanks,
    Bhasker

  • How to pass values to variables in WAD 7.0 using java script

    Hi.,
    My requirement is based on WAD 7.0.
    The sales value has to displayed in WAD using graph with various chart types.
    I have created variables for plant and material group in a query.
    I have created drop down box for plant with all plants in it, check box for material group and a Submit button in WAD in FORM tag of HTML coding.
    Once all the values are set in drop down box, checkbox and if the user clicks on submit button, the values has to captured by the variables for which I have created and the graph has to be aligned to the new values in variables.
    Kindly help me how to use java script to get the values from FORM and pass it to variables.
    Regards,
    Selva

    Hi Selva,
    You do not need to use Javascript for this. Instead you can achieve this by using API Commands in WAD 7.0.
    Please configure Action on the ButtonGroup webitem to use 'Commands'.
    ->Choose Command 'Set Variables Values / SET_VARIABLES_STATE' under Commands for Web Templates
    ->Set Display Variable Screen setting to OFF
    ->Choose Query Variable for Plant, Select Variable Type as 'Binding Type', Binding Type as 'Data Provider Selection', Data Provider as the one you have assigned to the Dropdown webitem, Characteristic as 0PLANT or as that assigned to the Dropdown webitem
    ->Repeat above steps for Query Variable Material Group
    Now when you make a selection from the Dropdown webitems, the Chart output will change accordingly. Let me know if this helps.
    --Priya

  • Catch a value from a pl*sql function in a shell script

    Hi all,
    I have a shell script that simply calls the following pl*sql function.
    echo "execute scott.my_pkg.test('FDLmaster');\n exit;" >./pippo.sql
    sqlplus scott/tiger @/fidcap_ftp/FDL/SCRIPTS/pippo.sql
    What I have to do to catch the value returned from the function test?
    Thanks in advance
    best regards
    Mario

    SQL> create or replace function do_something return varchar2 is
      2  begin
      3      return ('Something');
      4* end;
    SQL> /
    Function created.
    SQL> select do_something from dual;
    DO_SOMETHING
    Something
    SQL> save pippo
    Created file pippo.sql
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [linuxas tmp test10]$ echo exit >>pippo.sql
    [linuxas tmp test10]$ VAR=`sqlplus -s scott/tiger @pippo`
    [linuxas tmp test10]$ echo $VAR | cut -f3 -d" "
    Something
    [linuxas tmp test10]$

  • Error reading data from Infocube using shell script.

    Dear all ,
    I am facing a problem while reading data from an infocube using a shell script.
    The details are as follows.
    One of the shell script reads the data from the infocube to extract files with the values.
    The tables used for extraction by the shell script are :
    from   SAPR3."/BIC/F&PAR_CUBE.COPA"     FCOPA,
           SAPR3."/BIC/D&PAR_CUBE.COPAU"    COPAU,
           SAPR3."/BIC/D&PAR_CUBE.COPAP"    COPAP,
           SAPR3."/BIC/D&PAR_CUBE.COPA1"    CCPROD,
           SAPR3."/BIC/D&PAR_CUBE.COPA2"    CCCUST,
           SAPR3."/BIC/D&PAR_CUBE.COPA3"    COPA3,
           SAPR3."/BIC/D&PAR_CUBE.COPA4"    COPA4,
           SAPR3."/BIC/D&PAR_CUBE.COPA5"    COPA5,
           SAPR3."/BIC/MCCPROD"      MCCPROD,
           SAPR3."/BIC/SCCPROD"      SCCPROD,
           SAPR3."/BIC/MCCCUSTOM"    MCCCUSTOM,
           SAPR3."/BIC/SCCCUSTOM"    SCCCUSTOM,
           SAPR3."/BIC/SORGUNIT"     SORGUNIT,
           SAPR3."/BIC/SUNIMOYEAR"   SUNIMOYEAR,
    /*     SAPR3."/BI0/SFISCPER"     SFISCPER, */
           SAPR3."/BI0/SREQUID"      SREQUID,
           SAPR3."/BI0/SCURRENCY"    SCURRENCY,
           SAPR3."/BIC/SSCENARIO"    SSCENARIO,
           SAPR3."/BIC/SSOURCE"      SSOURCE
    The problem is that the file generation by this script (after reading the data from teh infocube) is taking an unexpected time of 2 hours which needs to be maximum 10 mins only.
    I used RSRV to get the info about these tables for the infocube:
    Entry '00046174', SID = 37 in SID table is missing in master data table /BIC/MCUSLEVEL2
    Entry '00081450', SID = 38 in SID table is missing in master data table /BIC/MCUSLEVEL2
    and so on for SID = 39  and SID = 35 .
    Checking of SID table /BIC/SCUSLEVEL2 produced errors
    Checking of SID table /BIC/SCUSLEVEL3 produced errors
    Can you please let me know if this can be a reason of delay in file generation (or reading of data from the infocube).
    Also , Please let me know how to proceed with this issue.
    Kindly let me know for more information, if required.
    Thanks in advance for your help.
    -Shalabh

    Hi ,
    In continuation with searching the solution to the problem , I could manage to note a difference in the partition of the Fact table of the infocube.
    Using SE14 -> Storage Parameters, I could find the partition done for the fact table as :
    PARTITION BY: RANGE
    COLUMN_LIST: KEY_ABACOPA
    and subsequently there are partitions with data in it.
    I need to understand the details of these partitions .
    Do they correspond to each requests in the infocube(which may not be possible as there are 13 requests in infocube and much more partitions).
    Most importantly, since this partition is observed for this onfocube only and not for other infocubes, it is possible that it can be a reason for SLOW RETRIEVAL of data from this ionfocube( not sure since the partition is used to help in fast retreival of data from the infocubes).
    Kindly help.
    Thanks for your co-operation in advance.
    -Shalabh

  • How to switch user from the current user using shell script code

    Hi Experts,
    I have an requirement to login into a particular user from the shell script concurrent program. I do have credentials for that particular user. I want to login and run few commands from that particular user. Please let me know if there are any methods to login as a particular user using the username, password from shell script program.
    Thanks a lot.

    Thanks for your reply. However we cannot use su command from a shell script program. How to enter password from shell script program?http://tinyurl.com/3t7cwjh
    Thanks,
    Hussein

  • Passing parameter from selection screen to corresponding report program.

    Hi all,
    I am developing a report in which there is a selection screen containing 2 list boxes having month 'from' and 'to' ;ie the month range for which  the report is to be run and a parameter for year.below it i have 2 radio button options which will lead to the report that the user clicks on.
    I have done the following in the code.
    selection-screen begin of block b1 with frame title text-001.
    parameters: month1(10) as listbox visible length 10 obligatory.
    parameters: month2(10) as listbox visible length 10.
    parameters: year(4) obligatory.
    selection-screen : end of block b1.
    selection-screen: begin of block b2 with frame title text-002.
    parameters: rb1  radiobutton group g1,
                        rb2  radiobutton group g1.
    selection-screen : end of block b2.
    if rb1 = 'X'.
    submit ZMIS1.
    ENDIF.
    if rb2 = 'X'.
    submit ZMIS2.
    endif.
    Now i want the values selected in the listbox and the year to be passed in the report that will be selected in the radiobutton (ie  ZMIS1 or ZMIS2) so that the corresponding report output will be displayed directly with the inputs given in the selection screen .
    Please tell me how to do this.Thanks in advance.

    You also have to pass Selection-screen data for called program the way it has been shown down.
    REPORT  ZVENKAT_ALV_LIST.
    DATA:
          IT_RSPARAMS TYPE STANDARD  TABLE OF RSPARAMS,
          WA_RSPARAMS LIKE LINE OF IT_RSPARAMS.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: MONTH1(10) AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
    PARAMETERS: MONTH2(10) AS LISTBOX VISIBLE LENGTH 10.
    PARAMETERS: YEAR(4) OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK B1.
    SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND UC1,
                RB2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : END OF BLOCK B2.
    IF RB1 = 'X'.
      WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
      WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
      WA_RSPARAMS-SIGN    = 'I'.
      WA_RSPARAMS-OPTION  = 'EQ'.
      WA_RSPARAMS-LOW     = '11010'.
      WA_RSPARAMS-HIGH    = SPACE.
      SUBMIT ZMIS1 WITH SELECTION-TABLE RSPARAMS AND RETURN.
    ENDIF.
    IF RB2 = 'X'.
      WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
      WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
      WA_RSPARAMS-SIGN    = 'I'.
      WA_RSPARAMS-OPTION  = 'EQ'.
      WA_RSPARAMS-LOW     = '11010'.
      WA_RSPARAMS-HIGH    = SPACE.
      SUBMIT ZMIS2 WITH SELECTION-TABLE RSPARAMS AND RETURN.
    ENDIF.
    Thanks
    Venkat.O

  • Passing Parameters from ECC (NWBC) to Crystal Reports

    Hello All,
    I would like to know if anyone has had experience passing a value from ECC (the shipment number, for example) in NWBC into a link for Crystal Reports, so the report will load with the parameter instead of having the user input it again.
    In other words, on NWBC shipment screen, if the user clicks the link, the report should automatically load with the shipment number filled in, instead of having the user enter the shipment number again.
    Thanks.

    I think this is the SCN Space you are looking for:
    SAP Enterprise Portal
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Passing values from column formula to other report

    Hi Experts,
    we have created a report with table view as
    Month Asia_Sales Europe_Sales Total
    2012-12 1234 4566
    2012-11 4546 7897
    Asia_sales = filter(sales where region='Asia')
    Europe_Sales = filter(sales where region='Europe')
    now i have created a child report,with action link on asia_sales and europe_sales
    month customer sales
    2012-12 abc 111
    this report shall have filter based on column clicked (i.e when user click on asia_sales report shall show data related to asia only)
    please enlighten any approach to achieve this

    Other work around is to keep the Region column as Dimension in the pivot table (in column section) and use common measure.
    it will be piovite table having
    ...............Asia..............Europe..........xyz
    month.....measure........measure....measure
    2012-01......220.............300...........955
    2012-02.....3434...........5485.........656
    here the measure will be common.
    I this case if you click on measure, region column will also be prompted. You can use Is Prompted for month,region in sub report.
    In your old case region wont be prompted.
    Mark if helps/Correct
    fiaz
    Edited by: fiaz0419 on Jan 9, 2013 12:20 PM

  • Pass values from badi to a  z report

    hi  expets,
    i am using badi  'ME_REQ_POSTED  ' for some requirement but i need to capture the doc no posted in this badi  and store it in a variable and use it for further processing in  a bdc , can anybody help me out for this , i am new to abap objects .
    thanks
    reagrds

    This is used in same way as in classic approach. You can export/import entire table as well.
    "in BADI
    EXPORT mem_tab = "pass your table here
                   TO MEMORY ID 'ZMY_MEM_ID'.
    "in other program
    data: itab type table of ....
    IMPORT mem_tab = itab
                 FROM MEMORY ID 'ZMY_MEM_ID'.
    "here you have your ITAB with data inside
    Regards
    Marcin

  • Passing data from one page to another page using form bean

    hi,
    refer to above question, i had follow the sample found at weblogic sample application
    ,but unfortunately when i create my own application. The following error occur:
    [Caught exception when evaluating expression '{actionForm.note}' with available
    binding contexts [currentTag, session, pageContext, request, response, application].
    Root exception cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException:
    The action form for the expression "actionForm["note"]" could not be found
    can anymore tell me what has i miss !
    {program flow -
    pageA.jsp[userinput] ->getConfirmationAction-> pageB.jsp[confirmation]
    -> protected Forward getConfirmation(TransferBean
    form) throws Exception
    return new Forward( "show_confimation" ,form);
    thanks & rgds
    cassy

    Cassy,
    If your page flow looks like this:
    first.jsp -> actionA(FooForm) -> second.jsp -> actionB()
    Then I think the problem is that there is no action form in scope as
    second.jsp is rendering. This is because the action raised by
    second.jsp is actionB, which has no form, and hence no {actionForm}.
    You have two options:
    Option A - use page inputs (available in the upcoming Service Pack 2)
    ---- JSP:
    <%-- At the top of your second JSP... --%>
    <netui-data:declarePageInput name="myPageInput" type="APageInput"/>
    <netui:label value="{pageInput.myPageInput.name}"/>
    ---- JPF:
    * @jpf:action
    * @jpf:forward name="success" path="second.jsp"
    protected Forward actionA(FooForm form)
    APageInput input = new APageInput(form.getName());
    return new Forward("success", "myPageInput", input);
    Option B - since the form is still technically in the request, use it as
    a workaround until option A is available to you.
    <netui:label value="{request.fooForm.name}"/>
    I hope this helps.
    Thomas
    Eddie O'Neil wrote:
    Cassy--
    Is there a <netui:form> tag on the page which displays this error
    (pageB.jsp?)?
    The "actionForm" binding context can only be used inside of a
    <netui:form> tag. To display data in a read-only page (no form), you
    can put the data in the request and reference it with the "request"
    binding context.
    Hope that helps...
    Eddie
    cassy wrote:
    hi,
    refer to above question, i had follow the sample found at weblogic
    sample application
    ,but unfortunately when i create my own application. The following
    error occur:
    [Caught exception when evaluating expression '{actionForm.note}' with
    available
    binding contexts [currentTag, session, pageContext, request, response,
    application].
    Root exception cause:
    com.bea.wlw.netui.script.xscript.IllegalContextStateException:
    The action form for the expression "actionForm["note"]" could not be
    found
    can anymore tell me what has i miss !
    {program flow -
    pageA.jsp[userinput] ->getConfirmationAction-> pageB.jsp[confirmation]
    -> protected Forward
    getConfirmation(TransferBean
    form) throws Exception
    return new Forward( "show_confimation" ,form);
    thanks & rgds
    cassy

Maybe you are looking for

  • Beware the dangers of generic Exceptions

    http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-generics.html? What do you think about that article? I thought that it wasn't quite accurate. The author fails to address GUIs. // some button was clicked or menu item was selected public void act

  • Oracle reports...Most urgent clarification wanted

    I am prasanth from india.I am a student.I am developing a simple project by using form builder and report builder. Actually,i have a problem in designing oracle report. Application name is 'voucher entry" now my output need is " if there are 100 vouc

  • Problem combining multiple mp4 files in quicktime

    I'm trying to combine three mp4 files (about 70 MB each) into one video file. I read that quicktime could do this rather easily. Sure enough, after opening one mp4 I can simply drag in the other two after it. Next I can either close the file, which w

  • When I save a PNG file at 300 ppi, it opens at 299.999

    This is driving me nuts. When I save a photoshop file as a .png at 300 ppi, when I open it it is 299.999 ppi. I wouldn't mind for my personal use, but these are digital files I sell. Believe me, I will get emails about it. Even when I open the .png f

  • Can't rename videos

    I just got my 5G iPod a few days ago and i've been meddling around with iTunes, which i've been using since i got my 3G in 2003. I've imported several videos and coverted them for iPod. Upon doing so however, half the videos i've converted turn up ha