Stored proc parameters not getting populated via code in prod environment

Hi,
I have a report created in Crystal developer 2008 SP1. The reportt uses a stored procedure as data source. The stored procedure expects a paramater, @Company, to only return data for that specific company. The report then further has a dynamic parameter which allows to filter by location. This dynamic parameter will therefore only display a list of locations for that specific company to choose from.
I have a website where users from different companies can log in and view reports based on their company. I use VS2005 to set the @Company parameter programatically (depending on the company of the logged in user). And then the user manually selects the location.
My problem is all of this works 100% on my dev machine (Win XP SP3, Crystal Developer 2008 SP1, VS2005, IIS5) but as soon as i deploy to the server (Windows Server 2003, Crystal 2008 SP2 Runtime installed, IIS6) the stored procedure's parameter, @Company, are no longer auto populated. It keeps giving a parameter box asking for the @Company value.
Also it is only for parameters of stored procedures or SQL commands that this happens.
I have no idea why this happens. Any ideas? I've tried on 2 different production machines (both running Win2003, IIS6). And also on two XP dev machines. On dev it works 100%, but on prod - no luck.
Thanx

I've actually solved this. But it's weird.
I had to install the Crystal Reports designer onto the server. Then everything works fine.
So it seems the the issue comes in with running the full version / redist version SDK files....
Is this supposed to happen?

Similar Messages

  • Initialization parameters not getting populated correctly during DBCA

    This problem is observed on Oracle 10.2.0.1 Linux x86 and RedHat Enterprise Linux 4 ES Update 5.
    I tried to use DBCA template file to create an Oracle database (see below for the template file content). The DB creation was successful, but the initialization parameters did not get populated into /oracle/u01/app/oracle/admin/ora10g/pfile/init.ora the way I would expect.
    ora10g.dbt template - file content
    ========================
    <DatabaseTemplate name="ora10g" description="" version="10.2.0.0.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="true"/>
    <option name="SPATIAL" value="false"/>
    <option name="ODM" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="false"/>
    <option name="XDB_PROTOCOLS" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="false"/>
    <option name="CWMLITE" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="HTMLDB" value="false"/>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    <initParam name="audit_file_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/bdump"/>
    <initParam name="compatible" value="10.2.0.1.0"/>
    <initParam name="control_files" value="(&#8220;/u01/oradata/{DB_UNIQUE_NAME}/control01.ctl&#8220;, &#8220;/u02/oradata/{DB_UNIQUE_NAME}/control02.ctl&#8220;, &#8220;/u03/oradata/{DB_UNIQUE_NAME}/control03.ctl&#8220;)"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/cdump"/>
    <initParam name="cursor_sharing" value="EXACT"/>
    <initParam name="db_block_size" value="16384"/>
    <initParam name="db_cache_size" value="1" unit="GB"/>
    <initParam name="db_domain" value=""/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    <initParam name="db_name" value="ora10g"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="large_pool_size" value="0" unit="MB"/>
    <initParam name="java_pool_size" value="0" unit="MB"/>
    <initParam name="log_buffer" value="64000000"/>
    <initParam name="open_cursors" value="300"/>
    <initParam name="pga_aggregate_target" value="1" unit="GB"/>
    <initParam name="processes" value="300"/>
    <initParam name="recyclebin" value="off"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="sessions" value="335"/>
    <initParam name="sga_target" value="1600" unit="MB"/>
    <initParam name="shared_pool_size" value="128" unit="MB"/>
    <initParam name="sort_area_size" value="4194304"/>
    <initParam name="transactions" value="610"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="undo_retention" value="10800"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/udump"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>80</percentageMemTOSGA>
    <customSGA>false</customSGA>
    <characterSet>WE8ISO8859P1</characterSet>
    <nationalCharacterSet>AL16UTF16</nationalCharacterSet>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="false">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="control01.ctl" filepath="/u01/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control02.ctl" filepath="/u02/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control03.ctl" filepath="/u03/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf">
    <tablespace>SYSAUX</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/system01.dbf">
    <tablespace>SYSTEM</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/temp01.dbf">
    <tablespace>TEMP</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">100</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">640</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf">
    <tablespace>UNDOTBS1</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">100</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">5120</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <TablespaceAttributes id="SYSAUX">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSTEM">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>-1</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>false</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/system01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="TEMP">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>true</temporary>
    <defaultTemp>true</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>2</allocation>
    <uniAllocSize unit="KB">1024</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>0</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>false</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/temp01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="UNDOTBS1">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>true</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">512</initSize>
    <increment unit="KB">512</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>8</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">512</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo01.log" filepath="/u01/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo02.log" filepath="/u02/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo03.log" filepath="/u03/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    Right after DB creation using DBCA, I would expect to see the following initialization paramaters populated in /oracle/u01/app/oracle/admin/ora10g/pfile/init.ora file that match the values I specified in the template file, but it appears that some initialization parameters are either not populated or incorrectly populated.
    db_cache_size=1g
    (this parameter entry is missing, not getting popultated at all)
    sga_target=1600m
    (sga_target populated with 1211105280)
    pga_aggregate_target=1g
    (pga_aggregate_target populated with 403701760)
    shared_pool_size=128m
    (this parameter entry is missing, not getting popultated at all)
    large_pool_size=0
    (this parameter entry is missing, not getting popultated at all)
    java_pool_size=0
    (this parameter entry is missing, not getting popultated at all)
    log_buffer=64000000
    (this parameter is correctly populated)
    transactions=610
    (this parameter is correctly populated)
    recyclebin=OFF
    (this parameter entry is missing, not getting popultated at all)
    cursor_sharing=EXACT
    (this parameter is correctly populated)
    Does anyone know why some initialization parameters did not get populated or incorrectly populated into init.ora?
    Thanks in advance.
    Ken

    Likely dbca currently uses the spfile to store the parameters, as you should do too.
    Apart from that the pfile Oracle uses is located in $ORACLE_HOME/dbs/init<sid>.ora
    It is possible this file is soft-linked to the file you mention.
    If it isn't the file you mention is not being used at all.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Payment Terms not getting populated on Intercompany Invoice document(FB50L)

    Hi All,
    I am facing an issue with the Vendor and/or Customer payment term on the inter-company invoice posted via FV50L/FB50L.
    We have defined companies as vendors and customers so that we could do the inter-company posting. The inter-company processing is done by FV50L/FB50L with postings to the GL accounts in respective company codes directly. Once it gets posted, SAP automatically creates 2 document: Vendor invoice and Customer invoice. The vendor invoice document would have the credit line item created automatically and so is the debit line item for the customer invoice.
    However, the payment terms from the vendor and/or customer master is not getting populated on the credit / debit line items generated automatically.
    I have verified the payment terms on vendor and customer, OBYA config, field status group for posting key & the recon account, authorizations and these thing look good.
    Have anyone come across this issue before? Please let me know.
    Point will be assigned to valuable suggestions!!
    Thanks very much for your help.
    Anish

    Hi Nakula,
    Payment term gets populated correctly from the vendor/Customer master data in case of FB60/FB70 resp. The issue is only with the automatic Intercompany Vendor and Customer line items created where it does not populate the payment terms.
    regards,
    Shreya

  • OVS value not getting populated in field

    Hi Experts,
    Kindly suggest me a solution for the below given issue.
    I have added three custom fileds to an already existing WD Coponent.
    And also added OVS help as an input help method to these fields.
    If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
    If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
    Below is the logic I have written.
    method ON_OVS_PAYMENT .
    TYPES:   BEGIN OF ty_payment,
                 payment TYPE char4,
                 desc    TYPE char30,
               END OF ty_payment.
    * declare data structures for the fields to be displayed and
    * for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
    *   add fields for the display of your search input here
          payment type char4,
    *      desc    type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    *   add fields for the selection list here
          payment type char4,
          desc    type char30,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_payment       type string,
            lt_payment       TYPE TABLE OF ty_payment,
            ls_payment       TYPE ty_payment,
            lv_short         TYPE string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    *   in this phase you have the possibility to define the texts,
    *   if you do not want to use the defaults (DDIC-texts)
          ls_text-name = `PAYMENT`.  "must match a field name of search
          ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name = `PAYMENT`.  "must match a field in list structure
          ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `DESC`.  "must match a field in list structure
          ls_text-value = `Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.
          ovs_callback_object->context_element->get_static_attributes(
              importing static_attributes = ls_search_input ).
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
          if ovs_callback_object->query_parameters is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    ******** TODO exception handling
          endif.
    *     call business logic for a table of possible values
    *     lt_select_list = ???
          lv_short = <ls_query_params>-payment.
          CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
          EXPORTING
          i_payment             = lv_short
          TABLES
          ET_PAYMENT            = lt_payment.
        lt_select_list[] = lt_payment[].
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    *   apply result
          if ovs_callback_object->selection is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `PAYMENT`
                                   value = <ls_selection>-payment ).
          endif.
      endcase.
    endmethod.

    Hi Pradeep,
    I don't think it really make any difference to the application run if we run from SE80 or run via application url.
    Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
    Regards,
    Rama

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • UWL : New tasks are not getting populated in the UWL

    Hi Experts,
        I<b> configured my uwl to my backend system , the completed tasks are getting populated in the UWL but the New tasks and in progress tasks are not getting populated in the UWL.(some thing strange).</b>
    When  i am trying to configure the universal  worklist system ,its givin me a caution message as  <b>System SHDCLNT012 does not support optimized delta pull</b> . where SHDCLNT012 is the system alias name.
    Is this the problem for not populating the new tasks in the UWL?
    Please provide me  the solution..
    Thanks & Regards,
    Sateesh

    Hi Sateesh,
    This message will appear if either the background jobs are not scheduled, or UWL cannot tell that the background jobs are scheduled. The message no longer appears once you ensure the background jobs are scheduled to run via the user id UWL_SERVICE and that user is mapped to my portal user ID UWL_SERVICE.
    Kai

  • Data not getting populated in output form

    hi all,
    i have to create a layout set with two pages, and fill the first page with ekko data and second page with ekpo data. i have designed the layout set. but the values are not getting populated in my form and logo is also not displaying.....
    can anyone help me.
    regards
    mano

    Hi,
    1.Delete the Logo Command from the Textelement.And re include from Include ->Graphics->Stored document server>Select logo>execute.
    2.Have you written the Driver program for the Layout.
    IF yes,Have you assign the Form and Driver program in NACE.
    3.If yes,Then Debug the Driver and Script ,check those values are coming or not.
    Regards,
    Shiva.

  • Taxcode not getting populated in MIRO Header in Dropdown

    Hi All,
    We created a new Taxcode through FTXP transaction for country and TAX schema and maintained condition records in FV11 transaction for relevant conditions.
    We created a PO with new tax code received goods.
    But while in transaction MIRO for LIV , new tax code is not getting populated at header in TAXCODE field.
    I have checked SDn for the same , they have specified OBTZ transaction for taxcode.
    I havent used this T.code in my previous assignments.
    Please throw some light on the same.
    With Regards,
    Vijaykumar P

    Hi All,
    Thaks for reply,
    But default tax code is maintained in OMR2.
    In MIRO transaction if we go to tax code tab and click Calculate Tax, the tax code in Basic data tab should get updated and all taxes has to be calculated correctly.
    But in this case the taxes are not calculated and taxcode is not appearing in dropdown also.
    Please do throw some light.
    With Regards,
    Vijaykumar P

  • Virtual Key figure not getting populated

    Hi All,
    I have included a virtual key figure in a multiprovider  on which the query is created and its underlying ODS.
    This issue is the virtual key figure is not getting populated . I am not sure what I am missing
    I did the following :
    1) Tried Debugging - Put a break point and execute the query in RSRT.It  did not go to the Exit. I also tried  generating the query from RSRT.
    I am using the BADI (RSR_OLAP_BADI) to populate the Vir Key Fig.
    Please guide me.
    Thanks,
    HM

    Hi All,
    Now that I am able to get the logic to come up in debug. I am faced with another issue.
    I am implementing  avery simple logic . I added a integer type key figure to the ODS and I am tryin to assign value 1 to the the key figure in the code (I am assigning 1 just ot check if the value is passed to query or not. I do have acomplex logic tha i need to implement).
    Here I am able ot see the value in the debug but in the qury the value is not populated.
    N ot sure what might be going wrong.
    code is
    l_z_avg = 1.
    <fs_zavglate> = l_z_avg .
    Appreciate help.
    Thanks,
    HM

  • Fom field not getting populated

    Hi,
    I have a field in the form role(multi select field). The value of another field in the form 'abc' is depedent on role selection. I have a rule with a switch and case statements for this. In the rule i am using
    <Rule>
    <switch>
    <ref>role</ref>
    <case>
    </case>
    </switch>
    </Rue>
    I tested the rule and it's working good.
    Now i am calling the rule in the field 'abc':
    <Field name='abc>
    <block trace'true'>
    <Expansion>
    <rule name='xxx'/>
    </Expansion>
    </block>
    </Field>
    The prolem here is that, even after i select the role, this field is not getting populated. It is empty.
    Not sure what i am missing. Please help.
    Thanks,

    step1) when you are getting value in the field on which "abc" is dependent , how are you getting that value?you are getting this value in derivation or expansion???
    step2: write the code logic for field "abc" in Derivation instaed of expansion. That should help.
    Please let me know if you are still facing the problem.
    Warm Regards,
    G

  • HT201324 I am not getting the verification code sent to my device ?

    I am trying to get my iCloud keychain up and running and I do not get the verification code which has to be sent to my phone - the details are all correct I am just missing something.

    Hello Ianpb2908,
    If you are having issues receiving the verification SMS when setting up your iCloud Keychain, you may find the information and steps outlined in the following article helpful, in particular this portion:
    If you didn't receive the verification code via SMS
    Make sure that you have a strong cellular network connection on your phone.
    Make sure that your phone number can get SMS messages. To check, ask someone to send you a text message.
    Make sure that the correct phone number is associated with your account:
    On your iPhone, iPad, or iPod touch, tap Settings > iCloud > Keychain > Advanced. (In iOS 7, tap Settings > iCloud > Account > Keychain.) Make sure the phone number under Verification Number is correct. If not, enter another phone number. 
    On your Mac, choose Apple menu > System Preferences. Click iCloud, then click Options next to Keychain. (In OS X Mavericks or earlier, click iCloud, then click Account Details.) Make sure the phone number under Verification number is correct. If not, enter another phone number.
    If you can't access a device that has iCloud Keychain enabled, contact Apple Support and verify your identity to get help setting up iCloud Keychain.
    Get help using iCloud Keychain - Apple Support
    Sincerely,
    - Brenden

  • Query:  Customer Exit variable not getting populated

    Hello Experts,  I created a Customer Exit variable (ZPREV_MTH_OPS) in the query designer (7.0).  I also put the necessary code in the function module "Z_BWFI_QUERY_CELL_MANIPULTN", but the query variable is not getting populated when I run the query using RSRT.  The boxes for "Variable is ready for input" and "variable is without context" boxes when defining the variable.
    This is my code in the exit:
    case i_vnam.
        when 'ZPREV_MTH_OPS'.
         break-point.
          if i_step = 2.
            clear l_s_range.
            if sy-datum+4(2) = '01'.
              wa_prev_month = '12'.
              wa_prev_year = sy-datum+0(4).
              wa_prev_year = wa_prev_year - 1.
            else.
              wa_prev_month = sy-datum+4(2) - 1.
              wa_prev_year = sy-datum+0(4).
            endif.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
            call function 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              exporting
                day_in            = wa_datum
              importing
                last_day_of_month = wa_datum2.
            concatenate wa_prev_year wa_prev_month '01' into wa_datum.
    *        l_s_range-low = wa_datum.
    *        l_s_range-sign = 'I'.
    *        l_s_range-opt = 'BT'.
    *        l_s_range-high = wa_datum2.
    *        l_s_range-sign = 'I'.
    *        append l_s_range to e_t_range.
            l_s_range-low = '20080901'.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'BT'.
            l_s_range-high = '20080930'.
            l_s_range-sign = 'I'.
            append l_s_range to e_t_range.
          endif.
      endcase.
    I also put a break point the exit, but it's not coming to the breakpoint. 
    Any suggestions?
    Thanks.

    Josh,  the link you provided reminded me to include the code in the include ZXRSRU01 also, instead of just changing the function module.  Thanks for your help and all those who tried to help me.
    case i_vnam.
       when 'ZREL12MTH' or 'ZPREV_MTH_OPS'.
         call function 'Z_BWFI_QUERY_CELL_MANIPULTN'
           EXPORTING
             i_vnam        = i_vnam
             i_vartyp      = i_vartyp
             i_iobjnm      = i_iobjnm
             i_s_cob_pro   = i_s_cob_pro
             i_s_rkb1d     = i_s_rkb1d
             i_periv       = i_periv
             i_t_var_range = i_t_var_range
             i_step        = i_step
           IMPORTING
             e_t_range     = e_t_range
             e_meeht       = e_meeht
             e_mefac       = e_mefac
             e_waers       = e_waers
             e_whfac       = e_whfac
           CHANGING
             c_s_customer  = c_s_customer.
    endcase.

  • Dbacockpit overview pane does not get populated

    Hi guys,
    I have already gone through the several other threads on sdn which repeat the same issue here but I am not able to find a solution via them. Can any one give me some leads into this...
    -- CHANGES DONE --
    We applied all relevant support packs which were part of Support stack 13. This involved also patching SAP BASIS from 10 to 13. Also NW04S 700 kernel was upgraded to patch 114 (SAPEXE and SAPEXEDB SAR packages)
    STATEMENT OF PROBLEM(S)
    Tcode dbacockpit does not refresh data in the overview pane.
    note: db02old still works and we are able to refresh stats from there but dbacockpit overiew pane does not get populated.
    Also post support packs: “sap_collector_for_performance” runs successfully but reports in job log “database system is not supported”
    When we do a refresh via dbacockpit, the job “refresh space statistics” ends with a “compute bcd overflow” dump.
    CHECKS ALREADY MADE
    --Note 1066044 – for the BCD overflow dump – does not help. We are already at BASIS pack 13 and the correction contained in the note is already in place. As
    per the note since are already at BASIS SP13 we should not be facing this. Why are we facing this then ?
    --Note 868063
    Call report rsoracup; put in con_name=DEFAULT; operatio=CREATE;F8 – did this.
    --Note 1002840.(checks done as per note)
    a) Check if SAP_Collector_for_perfmonitor is scheduled hourly
    It completes successfully but gives job log below
    1/16/2007 12:06:14 Job started
    1/16/2007 12:06:14 Step 001 started (program RSCOLL00, variant , user ID DDIC)
    1/16/2007 12:06:14 Clean_Plan:Cleanup of DB13 Plannings
    1/16/2007 12:06:14 Clean_Plan:started by RSDBPREV on server
    1/16/2007 12:06:14 Clean_Plan:Cleaning up jobs of system xxx
    1/16/2007 12:06:14 Clean_Plan:finished
    1/16/2007 12:06:15 Database system not supported
    1/16/2007 12:06:17 Job finished
    Why ?? (we got oracle 10.2.0.2)
    b) se16 -> table TCOLL. Check if entery RSORACOL exists.
    It does exist as below
    RNAME RSORACOL
    RENUM 1
    SYTYP S
    ALTSY
    DAYOW XXXXXXX
    TIMOD XXXXXXXXXXXXXXXXXXXXXXXX
    c)SE16 -> table ORA_MON_DBCON. Check for enrry con name: DEFAULT.
    It does exist as below
    CON NAME DEFAULT
    STATUS A
    MAX RUNTIME 1,800
    MAX UPLOAD 1,000,000
    LOG LIFE 100
    DESCRIPTION Local database. R/3 system available.
    d)se16 -> table db02_coll_plan. Check if all the entries have status A and there are 64 entries. This is ok
    --Note 1042725
    SE16-> PROGDIR for Name= 'LSDBORA3F03'; Set field EDTX to blank
    All entries have EDTX blank but there is no entry 'LSDBORA3F03’
    Despite all the above checks I am unable to get the dbacockpit to refresh. Does anyone have any ideas. Will putting in the latest DBSL shared library patch for oracle solve this... I did SAPEXE and EXEDB.SAR latest. Any ideas...?
    Cheers, Vikram
    [email protected]

    For this issue it's still not working for me in Sanbox BI. I got a SAP message open for this. But I got it to work on Dev and TST systems. There was one mistake I was making. This may not be the cause though but just for your info. When we go to dbacockpit, click on collector setup icon. And there when we give connection name = "default" and then action as "create connection", I was not saving the variant. Click save and give a name to the variant like "refresh stats" or something. Then click refresh icon so that the "Refresh space statistics" will run in background. When I saved the variant on dev and test BI I did not end with a BCD overflow dump for the  "refresh space statistics" job.The refresh space stat job needs to find the variant name.And this then populated the dbacockpit -> space -> overview pane. Although the "perf for monitor" job still has log entries "db system not supported" that doesn't matter. It's probably a message we can ignore.
    Also if you are still facing prob, check these.
    You say you are on SP12 which SP component are you referring to (stack number ?. BASIS ? BW ?). Make note I have done the support stack 13 which contains upto the BW patch upto 15 and upto BASIS patch 13. Note 1066044 says if you have BASIS 13 you won't face this problem .
    Is your "perf for collector" job running without issues. That is a prereq to the "Refresh space stats" job. Try to troubleshoot that as well. I think the refresh stats job has to find the data in table MONI which gets populated via "perf for collector" (RSCOLL00).
    regards, Vikram

  • Field in ALV not getting populated

    Hi all,
               I need some help. I am displaying an ALV with fields.
        GROUP     G/L ACCOUNT     Local currency       USD     Period
           100              10                       5                       5           12
           100               11                      6                       4            12
      now i have added an extra field TXT20 in the as last field of structure
        GROUP     G/L ACCOUNT     Local currency       USD     Period      TXT
           100              10                       5                       5           12          aa
           100               11                      6                       4            12         ab
    TXT should come as 3rd coloumn in the output.
    EXAMPLE:
         GROUP     G/L ACCOUNT       TXT      Local currency  USD     Period     
           100              10                      aa                  5              5           12         
           100               11                     ab                   6             4            12        
    I have changed the coloumn positions in the field catalog accordingly and I have not written or changed any select queries from earlier output.
    now my problem is PERIOD field is not getting populated in the ALv,the data is visible in the IT_FINAL which I am passing to Reuse_alv_grid_display. the field catalog is also getting build properly.
    so plz suggest some changes so that I can move ahead.

    Hi
      I don't know what's the reason and now I have no environment to test it, but you can try other way:
      1. define your fieldcate one by one as the sequence of your output like
          GROUP         G/L ACCOUNT          TXT           Local currency         USD          Period
          In this situation, you needn't use component -- position of fieldcate structure. Pay attention to
          fieldname in upper case.
       2. If only doing step1 has no effect, then adjust your structure of internal table. Sequence your
           component of IT_FINAL as the output field like step1.
       If still no effect, please let me know.

  • IS Retail - Inventory - Retail price BWGV0 is not getting populated

    Hi ,
    We have activated IS retail industry specific indicator in SBIW. Fo some reason when I do RSA3 in '2LIS_03_BF' , all the stock movements are displayed but the retial price field BWGV0 is not getting populated. Do you guys have come across this situation ? Please let me know.
    Thanks
    Hareesh

    Some documents below might worth taking look..
    Process key logic for MM inventory can be found in OSS note 492828
    Logic for MM purchasing can be found in note 684465
    Activating the process key logic in R/3 for MM should be as simple as setting the correct industry in MCB_ (also found under SBIW), but if it doesn't work look at OSS note 353042. In the end haveto use trans BF11 to add an entry to a table, even though the plugin is 2003.1 on R/3 4.6C.
    352344
    492828 Determining the transaction key for 2LIS_03_BF + 2LIS_03_UM
    Hope it Helps
    Chetan
    @CP..
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for