I am passing my itab data to variable declared in global declaration.

Dear All,
              I am passing my itab data to variable declared in global declaration, i am getting column one data in all eight variables declared. but column two data having 8*10=80 data i.s. for 1 entry of column there is 10 entries of column two of field two ,
but when i am passing that data to a variable i am getting only 1st entry of column 2 instead of 10 entries, plz help me in solving this query. i am working on Smartform.

Definetly you will get only one record...
instead of variable decalre and internal table of type variable definition in the global defination and append the values into it..
now you will get all the entries which you want..
Regards
Satish Boguda

Similar Messages

  • Pass current Date to variable thru Command Wizard

    Hi ,
    I have an date input variable for a query. I would like to pass the current date to this variable using the Command Wizard when the Web template is executed. Can someone please help me
    Thanks

    Hi,
    0DAT will not solve my problem.
    I have a 2 query variables ZDATE and  ZVARMTD. ZVARMTD is a user exit variable and will be populated based on the value in ZDATE(input).
    Initially I want to default ZDATE with current date -1. I have the user exit coded to set this variable to (sys date -1). I thought of using the offset. But it shows only single values, I don’t see variables.
    If the user then enters another value, the user exit will set the MTD based on the date entered.
    In the Query , I have this variable ZDATE in the restriction of a key figure 0AMOUNT and ZVARMTD for 0CALDAY in the Filter..
    (If i have ZDATE) in the filter, it only shows the values for the entered date.. Actually we want the report for Month to Date.
    When i debug , i dont see this variable(ZDATE) in i_vnam and it is never going to my code. I only see those variable(ZVARMTD) i have in the 'filter' tab
    So ithought I can populate using the Java Script while executing the Web ...
    Any help ..

  • Using Spry Data Set Variable in Recordset

    I have a page that contains a spry data set and a recordset. The recordset uses one of the variables from the spry data set to filter its results. how do I apply the spry data set variable to the recordset?

    I believe passing this the variable through the URL requires you to update the page, right?
    Yes
    Is there anyway to grab the spry data set variable direct and apply it to your recordset filter?
    The SpryDataSet variable can only be used on the clientside (JavaScript) so you will have to get your recordset using JS.
    A page refresh can be set in motion if you add {useCache: false, loadInterval: 500} to your dataset to then set an observer to your dataset to invoke the page refreash function.
    Gramps

  • Passing of Key Date in RRI

    Hi Folks,
    This problem is related to passing of Key Date value in RRI. We have the Basic(Source) Report in one server & Detail(Target) Report in another server. Now my requirement is to pass Key Date (Query --> Properties) to Target query. I think only variable values & selection will be passed to the target query, So I had a variable in Source report which takes input from user (or default value goes). Now how can this be received by the Key date of the Target query. Iam getting "#" in the Key date of Target query. Mind you once again both queries are on different servers.
    Thanks & regards,
    Manoj.

    Found the answer, thanks to another thread:
    Function RRS_VAR_VALUE_FROM_MEMORY_GET with I_VNAM equal to the key date variable returns the value of the key date.
    DP

  • Not able to pass the BEx date prompts from liveoffice

    Dear Team ,
    Environment : BI 4.1 SP3 ,Dashboards 4.1 Sp3 and Live office 4.1 SP3 .
    Bex query has date range variable ,we built dashboard with Live office .Issue is we are failing to pass date variables from dashboard .To pass 1- March -2015 , We tried with 20150301 ,[20150301] ,01.03.2015 ,03.01.2015 ,01/03/2015 and so on .It shows L00 error .
    Please share your toughts/expertise .
    Thanks in advance.

    Hi sateesh,
    try to convert the date into datevalue
    and pass the datevalue ouput to the bex

  • How to pass a list as bind variable?

    How can I pass a list as bind variable in Oracle?
    The following query work well in SQL Developer if I set ":prmRegionID=2".
    SELECT COUNTRY_ID,
    COUNTRY_NAME
    FROM HR.COUNTRIES
    WHERE REGION_ID IN (:prmRegionID);
    The problem is that I can't find how to set ":prmRegionID=2,3".
    I know that I can replace ":prmRegionID" by a substitution variable "&prmRegionID". The above query work well with"&prmRegionID=2" and with "&prmRegionID=2,3".
    But with this solution, I lost all advantage of using binds variables (hard parse vs soft parse, SQL injection possibility, etc.).
    Can some one tell me what is the approach suggest by Oracle on that subject? My developer have work a long time too find how but didn't found any answer yet.
    Thank you in advance,
    MB

    Blais wrote:
    The problem is that I can't find how to set ":prmRegionID=2,3".Wrong problem. Setting the string bind variable to that means creating a single string that contains the text "+2,3+". THE STRING DOES NOT CONTAIN TWO VALUES.
    So the actual problem is that you are using the WRONG data type - you want a data type that can have more than a single string (or numeric) value. Which means that using the string (varchar2) data type is the wrong type - as this only contains a single value.
    You need to understand the problem first. If you do not understand the problem, you will not realise or understand the solution too.
    What do you want to compare? What does the IN clause do? It deals with, and compares with, a set of values. So it needs a set data type for the bind variable. A set data type enables you to assign multiple values to the bind variable. And use this bind variable for set operations and comparisons in SQL.
    Simple example:
    SQL> --// create a set data type
    SQL> create or replace type TStringSet is table of varchar2(4000);
      2  /
    Type created.
    SQL>
    SQL>
    SQL> var c refcursor
    SQL>
    SQL> --// use set as bind variable
    SQL> declare
      2          names   TStringSet;
      3  begin
      4          --// assign values to set
      5          names := new TStringSet('BLAKE','SCOTT','SMITH','KING');
      6 
      7          --// use set as a bind variable for creating ref cursor
      8          open :c for
      9                  'select * from emp where ename in (select column_value from TABLE(:bindvar))'
    10          using names;
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SQL> print c
         EMPNO ENAME      JOB              MGR HIREDATE                   SAL       COMM     DEPTNO
          7698 BLAKE      MANAGER         7839 1981/05/01 00:00:00       2850                    30
          7788 SCOTT      ANALYST         7566 1987/04/19 00:00:00       3000                    20
          7369 SMITH      CLERK           7902 1980/12/17 00:00:00        800                    20
          7839 KING       PRESIDENT            1981/11/17 00:00:00       5000                    10
    SQL>
    SQL> --// alternative set comparison
    SQL> declare
      2          names   TStringSet;
      3  begin
      4          --// assign values to set
      5          names := new TStringSet('BLAKE','SCOTT','SMITH','KING');
      6 
      7          --// use set as a bind variable for creating ref cursor
      8          open :c for
      9                  'select * from emp where TStringSet(ename) submultiset of (:bindvar)'
    10          using names;
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SQL> print c
         EMPNO ENAME      JOB              MGR HIREDATE                   SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 1980/12/17 00:00:00        800                    20
          7698 BLAKE      MANAGER         7839 1981/05/01 00:00:00       2850                    30
          7788 SCOTT      ANALYST         7566 1987/04/19 00:00:00       3000                    20
          7839 KING       PRESIDENT            1981/11/17 00:00:00       5000                    10
    SQL>

  • How can I pass non HTTP_ prefixed environment variables to my CGI program in iPlanet 4.1

    We have a need to pass some application specific environment variables (e.g: DB_URL) to CGI programs based on the request data. I am trying to solve it with NSAPI module registered at AuthTrans stage.
    - Init directive in obj.conf won't help since it will set the environment for the entire server.
    - pblock_nvinsert functions won't help since they prefix the variables with HTTP_. This is not acceptable for us.
    - I am not clear if util_env_create would help if I don't want environment setting to effect the entire server.
    Any help is greatly appreciated.
    Regards

    We have a need to pass some application specific environment variables (e.g: DB_URL) to CGI programs based on the request data. I am trying to solve it with NSAPI module registered at AuthTrans stage.
    - Init directive in obj.conf won't help since it will set the environment for the entire server.
    - pblock_nvinsert functions won't help since they prefix the variables with HTTP_. This is not acceptable for us.
    - I am not clear if util_env_create would help if I don't want environment setting to effect the entire server.
    Any help is greatly appreciated.
    Regards

  • Creating remote objects and passing the retrieved data to modules

    I found at this Adobe tutorial a nice "RemoteService" class that  creates a RemoteObject and contains the functions for handling the  result and fault events. If I wanted to use this approach, how could I  pass the data from the result handler to interfaces that modules from  the main application could use?
    I could put the RemoteService/RemoteObject in the modules, but (in my  opinion- and I could be wrong) the best design seems to be using the  remote calls in the main app and passing the data along to the modules.
    Ultimately, I would like to know what the "best practices" are for creating remote objects and passing the retrieved data to modules
    Thanks!

    public void mouseClicked(MouseEvent e) {
      X x = new X(e.getX(), e.getY());
    }I don't see the difficulty.

  • Date formula variable with replacement path.

    Hi ,
    I have date formula variable with replacement path.
    Variable pop up with date format yyyymmdd. but i want dd.mm.yyyy.
    I have checked my user profile setting and it is dd.mm.yyyy.
    Can u please suggest it .
    Thanks
    Pramod

    Thanks for the rely , but basically i need a variable only for selection.
    thats why i have created formula variable processing my cutomer exit.
    But i think customre exit variable comes with text format .
    any1 has an idea for the same.
    Thanks
    Babu

  • How to pass the uwl data in BPM to other portal?

    Hi,gurus,
    I have two questions about BPM?
    1. I want to pass the UWL data in BPM to other portal (BEA Websphere portal),how to do that?If websphere portal offered a method  to me,how can I pass the parameter to that method?At first,we want to use the SAP EP uwl,and display the uwl in BEA portal.But at last,they want to create some  tables in BEA and offer a method to CE BPM. So how to do that?
    2.How to call ecc workflow in BPM?And how to call BPM in ECC workflow?
    Thanks in advance.Any help will be appreciated!

    Hi,
    Regarding your qustion on calling SAP Busines Workflow from BPM and vice versa, I think directly it is not possible to give a call. You can invoke outside functionality only if you can expose it as a Web Service which can be used as an automated activity or in a Human Task with custom code.
    Hope this help!!
    Regards,
    Arafat

  • Need to pass period start date as parameter to ProjectLOVVO in OTL module

    Hi All,
    I have a requirement of passing period start date as a parameter to ProjectLOVVO.
    It will check against the project's base view PA_ONLINE_PROJECTS_V and allow to
    display only those projects in the list where the project completion date and
    resource assignment end date is greater than the period start date.
    This VO is in Oracle Time and Labour Module. Navigation is SelfService Time> Create Timecard Screen.
    The screen is based on AK Developer.
    I have tried to followed the steps as per the document hxcconfiguiwp.pdf during the development work.
    Steps are mentioned below. It is still not working.
    Please go through the steps and if you have worked in this module please provide your valuable
    suggestion as soon as possible.
    Steps:
    1. Modified the customizable view PA_ONLINE_PROJECTS_V to
    keep the assignment end date in the select query.
    2. Created Custom VO- XXProjectLOVVO using JDeveloper same as ProjectLOVVO
    It's SQL Query is -
    SELECT project_number projectnumber,
    project_name projectname,
    project_details projectdetails,
    project_id projectid,
    start_date,
    completion_date,
    carrying_out_organization_id
    FROM pa_online_projects_v
    WHERE TRUNC(completion_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:1))
    AND TRUNC(assignment_end_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:2))
    3. Placed the class files (XXProjectLOVVO.xml and XXProjectLOVVOImpl.class) in Custom Directory in server.
    In location- apps_st/comn/java/classes/custom/oracle/apps/xxhxc/selfservice/timecard/server
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAM
    5. In AK Developer module created LOV Attributes 'XX_HXC_CUI_PROJECT_CO_ORG_ID', 'XX_HXC_CUI_PROJECT_END_DATE',
    'XX_HXC_CUI_PROJECT_ID','XX_HXC_CUI_PROJECT_NAME',
    'XX_HXC_CUI_PROJECT_NUMBER', 'XX_HXC_CUI_PROJECT_START_DATE'
    and created a LOV region 'XX_HXC_CUI_PROJECT_LOV attached to Database Object 'ICX_PROMPTS' in the Object
    and in Region items added all the above attributes.
    Added LovAM location in place of AM and LovCO lication in place of CO.
    6. Migrated the LOV with the below code
    begin
    hxc_lov_migration.migrate_lov_region
    (p_region_code => 'XX_HXC_CUI_PROJECT_LOV'
    ,p_region_app_short_name => 'HXC'
    ,p_force => 'Y'
    commit;
    end;
    7. Copied hxczzhxclayt0019.ldt LDT file from server. Renamed it to xhxczzhxclayt0019.ldt
    modified the Layout section for ProjectLOV
    BEGIN HXC_LAYOUT_COMPONENTS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    COMPONENT_VALUE = "PROJECT"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "210"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2010/11/10"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "XX_HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "XxHxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|XxHxcCuiProjectId|PROJECT|RESULT|N|XxHxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "custom.oracle.apps.xxhxc.selfservice.timecard.server.XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE11 = "TIMECARD_BIND_START_DATE|TIMECARD_BIND_START_DATE"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2010/11/10"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    8. Used FNDLOAD command to upload the ldt
    FNDLOAD apps/apps@instance 0 Y UPLOAD /ad01/app/o2cdev/apps/apps_st/appl/hxc/12.0.0/patch/115/import/hxclaytlayoutsld.lct ./xhxczzhxclayt0019.ldt
    9. Bounch Apache
    10. Checked in below database table to check weather layout records are getting update or not and found records existing:
    In table hxc_layout_COMPONENTS where region_code = 'HXC_CUI_TIMECARD' and component_value = 'PROJECT' and SEQUENCE = 210
    and COMPONENT_NAME = 'Custom Projects Timecard Layout - Project'
    In table hxc_layout_comp_qualifiers where layout_component_id is as in layout component table.
    11. Checked that the XXProjectLOV is attached in the TimecardAM and LovAM. It is visible there but while quering for the project list its picking up all the projects irrelavant of start date parameter value .
    As if its picking up all the records from seeded LOv- ProjectLOV not custom LOV.
    Regards,
    K Bosu

    Hi
    this steps is wrong
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAMU cant add extended VO direct to standard AM .
    VO extension requires .jpx import ,that u have to do ,rest will be take care by this import itself and no need to modify standard AM .
    Please check the steps for VO extension in http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
    thanks
    Pratap

  • Date Difference between to date formula variable

    Hi Expert,
                    I have create two formula variable one for Document Date and another one for Goods reciept date
    and through formula variable I am subtracting these two formula variable and getting the no. of days between
    document date and GR date.
    This Shows me the correct value for one document date because i am filtering my query according to document
    date,
    while i am giving the date range for document date is shows me incorrect result. bucause document date formula
    variable contains only one date.
    Eg. i am giving the document date range like 01.02.2010 - 28.02.2010.
          In document date formula variable it contains only 01.02..2010 and GR date formula variable it contain correct
    value, thats why the date difference is incorrect because those PO which has PO date like 12.02.2010 for that Doc
    formula variable bring the same date like 01.02.2010.
    Please tell me the solution
    Thanks and Regards
    Lalit Kumar

    Hi Expert,
                     Actually i have created two formula variable on for PO date and another for GR date
    and i've restrict the query through PO date.
    while i am taking the single PO date in Selection parameter it showing me correct difference
    eg: Selection Parameter for PO: 01.01.2010
    But while i am taking the date interval for PO date
    eg: 01.01.2010-30.01.2010
    PO No: XXXXX123 , Doc date: 01.01.2010 GR date: 7.01.2010 then date difference is : 6
    PO No: XXXXX432, Doc date: 03.01.2010 GR date: 8.01.2010 then date difference is : 7 but it is 5
    Thanks and Regards
    Lalit Kumar

  • How to pass  Goods receipt date in calling  BAPI_INB_DELIVERY_CONFIRM_DEC?

    Hi all experts,
    In my case ,I want to use FM:BAPI_INB_DELIVERY_CONFIRM_DEC to post the inbound delivery .  I want to pass goods receipt date when calling this fm. according to fm documentation as below,can use HEADER_DEADLINES to do it ,but in coding , How to implement it?
    thank you in advance.
    Bests & Regards.
    In this table, header dates are passed on in time stamp format (YYYYMMDDHHMMSS). In field BAPIDLVDEADLN-TIMETYPE the individual date fields are qualified as follows:
    - WSHDRLFDAT  Delivery date
    - WSHDRWADAT  Goods receipt date (planned)
    - WSHDRWADTI  Goods receipt date (actual)

    Hi,
    I have got the same scenario to populate the Actual Goods Receipt date from IDOC. Can you please let me know the solution that you implemented for this? I understand that this was long time back. But if you could recollect, please let me know the details.
    Thanks,
    Vanitha

  • How can I have both date and time for a Date type variable?

    If I have a Date type variable: Date today=new Date(), Is it possible to also give the current time to "today" but still keep the type as Date?
    I mean , for exmaple I want to store this "today" to database as Date type, and the value in database is "2007-05-05 13:30:13". I do not want to use SimpleDateFormat to do that, because I want to use Date type not String. Is that possible? how to implement this?

    I'd say he means you should use Timestamp to store
    the time value, because that's what it's there for.
    Because java.sql.Date is defined not to store a
    time value.Correct. The OP should read the Javadoc for java.sql.Timestamp.

  • User Report data bind variable problems

    Hello,
    I am trying to build a simple report in SQLDeveloper, using a DATE bind variable. But it fails with the error message:
    Inconsistent datatype, expected DATE got NUMBER
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(:TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Running this query in SQLDeveloper worksheet executes properly after a dialog box pops up and I enter: current_date - 1
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(&TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    I've searched but no clear solutions present themselves. If you have one it would be most appreciated.
    Thanks

    You'll have to convert the input to date yourself:
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = TO_DATE(:TARGET_DATE, 'DD/MM/YYYY')
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Have fun,
    K.

Maybe you are looking for

  • Detect display when waking from sleep?

    Is there any way to force the display detection when waking from sleep? I find that if the mini wakes before the monitor is on, i get a blank screen. When the monitor is on before waking, everything is normal. I have the DVI-Detective, and the proble

  • Resized Windows Are Not Saved in New Numbers

    When Numbers is closed and reopened, the windows snap back to their default size ;-(  Thoughts?

  • Delivering anamorphic (2.39:1) from video 16:9 (1.78) format?

    When I wish to deliver the look of the anamorphic format, but have source video shot in the 16:9 (1.78) format, what is the best method to convert it? So far, I have read that one can imply add the letterbox bars on the top and the bottom to simulate

  • Safari crashes when downloading a disk image

    Whenever I try to download a .dmg file and sometimes a .zip, Safari "quits unexpectedly" right as the download nears completion. This also happens in Firefox and when I am logged in as another user. Here is the "report", if it is useful. Date/Time: 2

  • Odd problem w/ color images from printing to a Ricoh c6000

    Hello, I am running Mac OS 10.8.4 on a MacBook Pro (I have the same problems on a MacBook Pro running 10.6 as well). I have determined how to print to a Ricoh c6000 (that does not have the PS option) using the software from OpenPrinting.org [http://w