Variable not processed after transport

Hi all,
I have several DS applications. All use an Input ready customer exit variable with a default date value for previous workday. On dev System all is fine and working. After promoting the applications to prod System the variable is populated with the value from dev System, not prod.
I analyzed that it works as designed for applications where the Initial view has not been edited.
For applications where I edited the Initial view the value from dev System is in the prompt. Also other filters depending on the Exit variable are not processed and Keep their filter value from dev.
It is very confusing for the users that in some applications the Default date is yesterday as it should be everywhere and in other applications they get an old date.
How can I tell the application to update all variables when the application is run.?
It behaves like a BEx workbook.
If I run the query on it is own all is fine, of course.
We´re using DS 1.4 SP0 PL1.
Greetings,
Arne

now i've defined them all before the loop and I get this error. Error is following modified code below.
<%
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:testdb");
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
String sql_count = "SELECT COUNT(*) FROM users";
ResultSet cn = stmt.executeQuery(sql_count);
cn.first();
int row_count = cn.getInt(1);
int num = (int)(Math.random() * (row_count));
int inum;
int jnum;
ResultSet rs;
for (inum=0; inum<row_count; inum++)
jnum = inum + num;
if (jnum >= row_count) { jnum = 1; }
String sql = "SELECT * FROM users WHERE ID = "+jnum+"";
rs = stmt.executeQuery(sql);
int ce = rs.getInt("cr_earned");
int cu = rs.getInt("cr_used");
if ((ce-cu) > 0) { inum = row_count + 1; }
rs.first();
String url = rs.getString("url");
con.close();
%>
***********ERROR***************
An error occurred between lines: 17 and 45 in the jsp file: /gtt/surf.jsp
Generated servlet error:
C:\tomcat\jakarta-tomcat-4.0\work\localhost\examples\gtt\surf$jsp.java:95: Variable rs may not have been initialized.
rs.first();
^
Thanks anyone.... ;-)

Similar Messages

  • ADOBE FM not exist after transport

    Hi dears,
    I'm facing to a problem with an adobe form transport.
    In dev, adobe works fine. I've transported the adobe in acceptance, after the transport, I test the adobe.
    Transaction sfp, test button.
    So I reach the initial screen of FM module. The FM is called /1BCDWB/SM00000007 and when I execute it, I've a dump. It's say:
    Short text
        The function module is not active or contains no code.
    What happened?
        The function module "/1BCDWB/SM00000007" is called, but
        cannot be found in its function group.
        Error in the ABAP Application Program
        The current ABAP program "/1BCDWB/SM00000007============FT" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    I know that with smartforms sometimes we need to regenerate the SF after transport with the option in the menu generate.
    I go in form object menu Form Object (first one) and choose generate.
    I've the information message (in green):
    Unable to find include '/1BCDWB/LSM00000007U01
    and the FM is not yet avaible
    In dev this manipulation generate works fine but not needed.
    Su53 in acceptance is ok last authorization wheck was successful and adobe in acceptance (the form and interface with sfp) are ok.
    Any help is welcome
    Thx in advance
    Vincent

    Hi Vincent,
    Similar to SMARTFORMS in adobe forms also the FM have a different name in different systems.
    So wherever you are writing the code to call your adobe form call FM: FP_FUNCTION_MODULE_NAME and get the fm name from there, replace your FM /1BCDWB/SM00000007 with the variable in which you are getting your Forms FM name.
    For example:
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = <Your form name>
        IMPORTING
          e_funcname = lv_funcname.
      CALL FUNCTION lv_funcname
        EXPORTING
          git_item       = git_item
          gs_header      = gs_header
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards,
    Vaibhav

  • ALV Title Not Display after transporting the Programme from DeV to Qlty

    Hellow Experts,
    i developed one ALV report with two screens, i transported the report from Development server to Qulaity server.
    in Development server report are working fine  but in Qulaity server after transporting the TiTle of ALV not display , plz give me some hint , below is my code to display alv title
    DATA: alv_grid       TYPE REF TO cl_gui_alv_grid.
    DATA:alv_grid_ref type ref to CL_GUI_ALV_GRID.
    DATA: layout    TYPE lvc_s_layo.
    layout-grid_title = 'Daily Material Reports.' .
    DATA: fieldcat  TYPE lvc_t_fcat.
    I m using  ALL METHOD alv_grid->set_table_for_first_display method for display alv .
    Thanks,
    Regards
    Neha.

    Hi neha,
    use the sap/help link to solve your issue,
    [http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm]
    if not use the below example code ,
    Heading 3 :h3  Set the title of the grid
    Fill the grid_title field of structure lvc_s_layo.
    Note that the structure lvc_s_layo can be used for to customize the grid appearance in many ways.
    DATA:
    ALV control: Layout structure
    gs_layout TYPE lvc_s_layo.
    For example :
    Set grid title
    gs_layout-grid_title = 'Flights'.
    CALL METHOD go_grid->set_table_for_first_display
                EXPORTING
               i_structure_name = 'SFLIGHT'
    is_layout      =gs_layout*
               CHANGING 
              it_outtab   = gi_sflight.
    Regards,
    Saravana.S
    Edited by: saravanasap on Dec 21, 2011 8:13 AM

  • Hierarchy Analysis Authorization does not work after transport

    Hi Gurus,
    I am facing a issue in hierarchy analysis authorization in quality system but the same authorization works perfectly fine in development.
    All hierarchy authorizations works in Quality except for this one. I found one old sap note describing this as program error but this note is not applicable in BW 7.3.
    I have checked the table RSECVAL, RSECHIER and authorization is active so everything looks good. Please advise if anyone faced this issue after transporting hierarchy auths to other systems
    Regards,
    Salman

    Salman,
    What I understood from your description is that you have same role+AA in Dev and QA, which provides access in Dev for all the nodes for said hierarchy but in QA, same role+AA provides access to the same hierarchy for all the nodes but one. Try to create a ZTEST analysis authorization in QA itself with access for the problematic hierarchy node and see if it works ? This will rule out the case if there is a difference in hierarchy in DEV & QA.
    Regards,
    Shivraj Singh

  • Web template with HTML framset not working after transport

    Hi,
    I've built a frameset which consists of two web-templates (role-menu and content area) those two are combined together using plain HTML which does not acontain any web items (uploaded via WAD). This works fine in development. After transporting to our QA environment all the templates have been transported with concode 0, but the frameset does not get loaded. I always get an "Error loading template ...". The two templates which contain web items work fine when used stand-alone.
    When looking in transport connection I see the following message:
    "Object ZWF_WEB_FRAMESET (Web Template Name) could not be collected for object ()"
    I also see the same behavior on another transport of a template. Nine out of ten ar fine, but one, all are exact copies - only the query used is different, does not work either. The query that is used has been transported and is working.
    Has anybody an idea what could cause this?
    Is there a way to regenerate templates (like RSRT for queries) ?
    Thanks in advance
    Bernd Dümmel
    KODAK Stuttgart
      using ve created a

    Did you upload the video?
    Did you provide the correct path to your HTML object?

  • Infotype not accesible after transporting to client 900

    I have created a new infotype 9000 which is a copy of infotype 0000 in client 100. it works fine in client 100 but while transporting to 400 and 900 it gives a warning message with return code 4 and the same infotype is not accesible in client 900.
    I have transported the infotype twice by creating new requests. As a last option I deleted the infotype and created it again. It works fine in client 100 but cannot be accessed in client 900 after transporting it.

    Ya I have defined the infotype characteristics and they are same as Infotype 0000. There is no error in client 100. I can save data in Infotype 9000 in client 100. Its the problem in client 900. The BASIS person who transported the request told me that while transporting he got a warning message with return code 4. And once its transported in 900 it gives the message 'No infotype exists for character string 9000 ' when accessed from t-code PA30. Its working perfectly fine in client 100.

  • Changes in WAD are not reflecting after transport

    Moving thread to Business explorer
    Thank you
    Edited by: YJV on Dec 22, 2009 2:09 PM

    I just remembered a similar problem we had with reports. Changes weren't visible after transport, however, when we opened the report and saved it in the report designer, the changes were visible. It had something to do with authorisations, most users missed the authorisation to 'generate' the report which was needed after transport. Maybe you can try opening the template with a SAP_ALL user or something on production to see if it's related (or test again on QAS with a new template and a user with limited authorisations.
    Kind regards,
    Alex

  • Message not  processed after technical routing

    Hi ,
    I have a SOAP ->ABAP Proxy (R/3) scenario that sometimes not processed completely. When checking the message in SXMB_MONI I notice a grey dot (which means log version) in the status column next to the message,  Upon opening the message I can't see any errors.
    The message has gone through the following steps.
    Inbound Message
    Receiver Identification
    Interface Determination
    Message Branch According to Receiver List
    Request Message Mapping
    Technical Routing
    But final stage call adapter not executed so i came to know that response message not reached to XI.
    This is occuring once or twice for every 25 to 30  messages.
    Can any one provide some suggestions to rectify the above issue.
    Thanks & Regards,
    Arun.

    Check out the below things,
    1. Check for which input data it is giving. (Any specific data).
    2. This may happen becaus of time out. (Huge data processing)
    Also check out below link,
    ['Log Version' status in 'SXMB_MONI']
    Resend the message from sender and it will work properly.
    Log version means "Waiting for response" and liable to fail if response not received on time.
    Edited by: Siddhesh Pathak on May 13, 2009 12:10 PM

  • Variables not updated after repository merge

    Hello,
    I am using OBIEE 11.1.1.7 and i am having issue with RPD patch merge.
    I have updated the value in the Variable and created a patch out of it.
    when i am trying to merge or apply this patch other RPD , it is not updating the value in the variables.
    can you please help me with this.
    Thanks.

    Anybody on this?
    Why do the labels of Project Variables not change in Weblogic Enterprise Server 10GR3 although they change in BPM Studio?
    I also tried deleting these project variables from the Engine Tables --> PPROCINSTANCE and PPROCINSTEVENT
    Restarted Weblogic
    Restarted the Engine
    Restarted the workspace
    Redeployed a fresh BPM project.
    But nothing changed?

  • MB_DOCUMENT_BADI Not Working after Transport

    Hi Experts
    I have created an implementation of the MB_DOCUMENT_BADI in our ECC6 system to perform some processing as part of the goods issue process.  The code has been unit tested and works as required.  I have transported the development to our QA system but despite the implementation showing as active the code is not executed.
    Having put a break point on the exit handler class this BADI does not get called in our test system.  Has anyone resolved this or a similar issue before? How can I identify why the badi is not being called?
    I'm not sure if this is an ABAP / transport issue or an MM configuration issue, but any help would ge gratefully accepted as I need to get this working and into our live system as a matter of urgency.
    Thanks
    Andrew

    Hi Shiva
    I have already got a breakpoint at this point and it does not hit this.  I have added a breakpoint in the method of the earlier implementation and this is not being hit either. 
    I now need to identify if this is not being hit as a result of my changes, or whether this implementation was not working before my transport, e.g. after our system upgrade that was completed last year.
    Kind regards
    Andrew

  • Query Changes: Variable not collected in Transport

    Hi Experts,
    Intiatlly some one created a query and it was transported to BWQ from BWD.
    Due to some changes, I needed to rework on the query. For that I did the following:
    a. In the Administrator Transport Workbench, I collected the query
    b. CLicked on the Transport checkbox
    c. Then assigned a new BEX Transport request.
    d. I then made changes in the query plus added a variable in the query.
    e. I checked my query and it was working fine in BWD.
    Now when I transport this query to BWQ, the transport fails and says
    "Error when acitvating element 4DKMNO0UMEXIN0FHM6RYXXJ3F"
    "Element 4E5X3H4IQ5BEDSZY1I6GW4P2J" is missing in version M"
    I think the transport is missing the variable I created. So why is this not collected?
    Secondly since this transport request was released will I have to recollect the query and variable. If so how?
    Thanks,
    Hundia

    I raised an OSS Message.
    The reply from SAP was:
    "We have analyzed the situation with the inconsistent queries.
    1. The error message
    'Unable ot detect element type for Element Recreated Formula:
    DBJFSQOSAL3WPK8LSCNUWNAJ"' is raise as a result of incorrect repair
    procedure most likely perfomed by the program ANALYZE_MISSING_ELEMENTS.
    This is very old report which allowes repair, but unfortunately this
    repair is not correct. Therefore we do not recommend you to use it
    in similar cases.
    The element DBJFSQOSAL3WPK8LSCNUWNAJ recreated by the program as a
    local formula must have type Calculated Key Figure. This info can be
    obtained just by analysis of the corresponding structure members which
    has to represent this CKF in the query...
    2. Missing element and INCONSISTENCY. This is logically related to
    the first case. I have perfomed extended anylysis and the situation is
    the following.
    Affected query YTEMP_ZSCNNM04_01 (4B75NN07LN3TJVDW9VX8OUACR) contains
    one unresolved reference to 4B773WHW1GK5WZAPK5CZHZSH7. This missing
    element can be a local structure member (FLM or SEL) or a reusable
    object like calculated or restricted KF
    Affected query ZORQSP_ZSPNNM021_NN_05 (4DUV3IK29VBJESNEWX20PBXM3) also
    contains one unresolved reference. This is pretty similar to the case
    above. The missing element is CKF. This can be found from the definitionof the related element.
    Affected query YY_FT_TEST has 3 unresolved references. Here the case
    is a bit different. According to my analysis the missing elements are
    just such global part of a query like Filter and Sheet. This more less
    means the entire definition of this query is not available.
    Possible solution.
    As far as I see, all missing elements are local for the BWD system.
    This means that most likely we can not use transports from the other
    system. By just to use this option aswell, please check if some of thesemissing can be found in the other systems
    4B773WHW1GK5WZAPK5CZHZSH7
    4BO650QIIZZ51VCNLZXSC4MP7
    4BO652NN9NEIPI7P2IIUUMB57
    4BPGWZK405TZ1061K1FSQCT0R
    4DVE6TT3PU9YJ6RQ4ETM2MDIJ
    and
    4DBJFSQOSAL3WPK8LSCNUWNAJ
    If you find something, it is necessary to transport them to the BWD
    system. This will solve some issues.
    But probably you will not find them. Therefore the alternative way will
    be to replaces the missing objects in the definition of the affected
    queries by some other availabe objects. This is to be done manually.
    For example mising CKF can be replaced by a constant value and then
    in Query Designer replaced once again by any avaialbe CKF.
    Such technique can help te achieve technical consistency of the queries
    ZORQSP_ZSPNNM021_NN_04, YTEMP_ZSCNNM04_01 and ZORQSP_ZSPNNM021_NN_05.
    Situaiton with the YY_FT_TEST is more critical. There are no chances
    to repair this one. The only option will be to delete it using the
    transaction RSZDELETE.
    Please tell me how would you like to process. In principle, this case
    is not really critical as the missing elements are just locally affect
    queries and not used by reusable query components like CKFs/RKFs which
    might be shared between many other queries also affecting them.

  • DSO Will Not Activate after Transport with rc=8

    Hello,
    I had a requirement to make two Purchasing DSOs (2LIS_02_ITM & 2LIS_02_SCL based) write-optimized. I made my changes in the development environment and transported them to QA. The transport went in with rc=8. All of my changes propogated; the DSOs are now write-optimized; however they are not active, nor are the corresponding transformations and DTPs.
    I tried activating directly in QA and it would not work. I also tried re-importing my transport, as well as creating a new activation transport and sending it to QA. Nothing worked.
    Can anyone help or give me some ideas as to how I can get this activated? Thank you!!!
    Here is some of my error text from the transport log:
    Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s)
    The creation of the export DataSource failed
    Error during the retrieval of the logon data stored in secure storage
    Error during the retrieval of the logon data stored in secure storage
    Error when creating the export DataSource and dependent Objects
    Error when activating DataStore Object
    The creation of the export DataSource failed
    Error during the retrieval of the logon data stored in secure storage
    Error during the retrieval of the logon data stored in secure storage
    Error when creating the export DataSource and dependent Objects
    Error when activating DataStore Object
    Error/warning in dict. activator, detailed log    > Detail
    Index /BIC/AZ_02_ITM00-RDR (field REQUEST is not in the table)
    Index /BIC/AZ_02_ITM00-RDR (field DATAPAKID is not in the table)
    Index /BIC/AZ_02_ITM00-RDR (field RECORD is not in the table)
    Index /BIC/AZ_02_SCL00-RDR (field REQUEST is not in the table)
    Index /BIC/AZ_02_SCL00-RDR (field DATAPAKID is not in the table)
    Index /BIC/AZ_02_SCL00-RDR (field RECORD is not in the table)
    Table /BIC/AZ_02_ITM00 could not be activated
    Table /BIC/AZ_02_SCL00 could not be activated
    Return code..............: 8
    DDIC Object TABL /BIC/ has not been activated
    Error when resetting DataStore Object Z_02_ITM to the active version
    DDIC Object TABL /BIC/ has not been activated

    Well...after reading your post it seems that only Basis team can help you.
    You need to restore connection from RSA1. ( context menu of source system) ..But to restore connection you will be needing Destination's IP Address or hostname, backtround user id /password. More over your system needs to be open ( SCC4) and modifiable ( SE06). All this access normally remains with Basis team.
    You can also go to SM59 -
    > ABAP connection--->Pick up your source system connection--.Check the RFC.
    I think your RFC connection is still pointing to the system where you did copy from. But that may not be the only problem. Even password may be wrong that you will know only after successful check of Destination test.
    So, in a nutshell , constact Basis team,
    Regards
    Anindya

  • Web Template Changes not visible after transport from Development to Test

    Weu2019ve run into a problem doing web development in BI 7.0 that I suspect someone has seen before and may quickly be able to point us in the correct direction.  Changes that are made to web templates in the Web Application Designer are correctly transported from development to the test environment, but we are still seeing the old version of the template when the report is executed.  We are able to see the web template changes in the Web Application Designer in the test environment.  We believe this is a caching issue and have cleared the query cache and the HTTP cache in SMICM.  Unfortunately, this has not resolved the issue.  Can you suggest another approach to resolve this issue?

    Not sure what you mean by browser cache.  We have deleted history, cookies, and all temporary Internet files.  The issue isn't limited to a single user, but exists for all users.  Through extensive testing we have established that you are able to see the web template changes in test in the WAD(Web Application Designer) after they have been transported from development, but can only view the changes when the web template is run for the first time.  Changes to existing templates can be seen in the WAD in test, but are not seen when the report is run.  The old version of the template appears to held in cache somewhere, but we haven't been able to find it and clear it.

  • Webservice Data Source is Not Overwriting after Transport

    Hi,
    I have a Webservice Data Source which is loading XML based Data to DSO & Then to Infocube.
    In development I it is working fine even Loading Delta perfectly. Then moved it production.
    Again due to some client request I have made changes in Web Service Data Source & DSO & Infocube.It is also worked fine in Development. Again moved to production.
    But after moving to production all objercts of DSO/Infocube changes are fine. Even Transformation/DTP is as it is with Development for upload from DSO To Infocube.
    Issue : The New Webservice datasource is not overwriting Old one, same also applies Transforamtion/DTP too.
    I need How to Overwrite it Datasource/Transforamation/DTP with new objects of same in Development.
    Please suggest.
    Regards,
    Subhadarshi

    Hello Prem,
    I think you might be working on BI 7.0 and this datasource you are talking of is a 3.x datasource?
    I have observed that when we activate a 3.x datasource in 7.0 system and replicate it in BI, it shows a modified status, but when you create a dataflow above it it becomes active. I think the datasource you have sent to production has no dataflow above it. Send the dataflow above transports for the datasource and it will get activated.
    Please let me know if you need any more information.
    Regards,
    Pankaj

  • Selection-screen texts are not shown after transporting to QAS server...

    Hello Experts,
    We created a custom transaction for MB52(Display warehouse stocks) named ZMB52.
    After I transported it to QAS server, the texts in the selection screen are shown
    as for example, p_bukrs, etc. When I looked at its text elements, it is maintained
    in German Language. My question is, should I translate it to English? And How do I
    properly transport it.
    Hope you can help me out here guys.Thank you and take care!

    Hi
    Have you created your own Selection screen Text elements
    or you simply copied the Std ones
    If you have created on your own it should have asked for the request and should have been transported with the request
    since you copied them as it is it is not displaying in ENglish language
    Translate to english and see
    otherwise create them in DEV with a request and transport it.
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • Am i able to factory unlock my iphone when its unactivated?

    i bought a phone which is locked by it's carrier. i asked the carrier to unlock it and i paid for it. they said that i just  need to wait a few days and then  restore my phone and it will be unlocked. but my problem is that my phone is unactivated an

  • [Solved] Boot messages waiting 10 secodns for device...

    Hello. When i'm boot my arch i got message waiting 10 secdonds for device /dev/sda1 (arch partition). I have in mkinitcpio this modules: ahci ext4 scsi_mod sd_mod libata. That's all what can i do run arch wihout waiting 10 secodns? Last edited by Spe

  • Which do we achieve Hide functionality in ALV's.

    Hello Friends, In ALV's How do we get Hide Functionaly. we use selfield in form definition. but In function module, which parameter acts as a HIDE. Thanks & Regards Sathish Kumar.

  • Disabling the Mail Application?

    I'm running 10.6.8 on an original 2006 Macbook Pro.  I've ALWAYS had a problem with my "Mail" application!!!  I NEVER use it!!!  I actually HATE it!!! But I LOVE using the "Calendar" application. My problem occurs when my turning on my computer and I

  • Installing iTunes 7.5 error

    Each time I try to install iTunes for Windows I get this eror Unable to install iTunes could not open key Hkeylocalmachine\software\microsoft\windows\currentversion\shareddlls. I have un-installed iTunes an Quicktimes deleted it from the registry and