SRW.Run_Report is not working in Reports from 6i to 10g

Hi,
I have a report .rdf file that submits another .rdf report using the SRW.Run_Report. This code was working fine in Reports 6i version. We are upgrading the Reports 6i to Reports 10g, and did a small change in the call i.e., Removed the server parameter, and it is not working. This is in Oracle E-Business Suite environment. The first report is called as a Concurrent Program. Here is the call that was working fine in Reports 6i (i.e., Oracle Apps 11i environment)
srw.run_report('report='||l_source_dir||l_parent_shortname||'.rdf'||
' p_user_id='||l_user_id||
' p_resp_id='||l_resp_id||
' p_appl_id='||l_appl_id||
' p_conc_request_id='||
' batch=yes mode=character destype=file desname='||l_destination_dir||l_filename||
' desformat=verp_i012 p_vendor_id='||dealer_list_rec.vendor_id||
' p_trx_date_from='||to_char(l_date_from, 'DD-MON-RRRR') ||
' p_trx_date_to='||to_char(l_date_to,'DD-MON-RRRR') ||
' p_period_name='||l_period_name ||                                                                      
' server='||l_server
It has been modified to the following for Reports 10g (i.e., Oracle Apps R12 environment)
srw.run_report('report='||l_source_dir||l_parent_shortname||'.rdf'||
' p_user_id='||l_user_id||
' p_resp_id='||l_resp_id||
' p_appl_id='||l_appl_id||
' p_conc_request_id='||
' batch=yes mode=character destype=file desname='||l_destination_dir||l_filename||
' desformat=verp_i012 p_vendor_id='||dealer_list_rec.vendor_id||
' p_trx_date_from='||to_char(l_date_from, 'DD-MON-RRRR') ||
' p_trx_date_to='||to_char(l_date_to,'DD-MON-RRRR') ||
' p_period_name='||l_period_name
);

Thank you for your reply.
Yes, it's done using MOD-PLSQL version 10.1.2.0.2.
I did as you said: compared the 2 generated HTML files. It's not that it doesn't generate all tags. It generates all tags but some of them are different, that is it screws them up.
Here it is some example code.
For example, in 9i I have the following code:
div id=div_plus_GENERALE style="cursor:hand; display:none;"
<td> width=8 </td>
<td id=butt align=left style="font-family:Verdana,Tahoma;
font-size: 10px; font-weight: 400; color: '#ffffff';
background-color: '';
"onClick="if (butt_clicked) butt_clicked.style.cssText=restore_butt_style;
butt_clicked=this; restore_butt_style=butt_off_lit;
this.style.cssText=butt_on_lit;
var x = document.getElementById('Freccia_' + freccia_old);
x.style.display = 'none';
Freccia_sitointer_anagrafica_anagrafica_cliente_punto.style.display='block';
freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
onMouseOver="this.style.cssText=butt_on_lit;"
onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</td></tr>
<tr>
<td height=2></td>
</tr>
</table>
In 10g the HTML code looks like this:
div id=div_plus_GENERALE style="cursor:hand;"
<td width=8> </td>
<td align=left style="font-family:Verdana,Tahoma;
font-size: 10px; font-weight: 400; color: '#ffffff';
background-color: '';">
<a href="sitointer.anagrafica.anagrafica_cliente_punto target="frameCenter"
onClick="var x = document.getElementById('Freccia_' + freccia_old);
x.Style.visibility='hidden';
Freccia_sitointer_anagrafica_anagrafica_cliente_punto.Style.visibility='visible';
freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
onMouseOver="this.style.cssText=butt_on_lit;"
onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</a></td></tr>
<tr>
<td height=2></td>
</tr>
</table>
At this point I don't know what should I investigate next.
Thank you very much.
Daniela

Similar Messages

  • Forms 6i & SRW.Run_Report does not work on 10g client

    Hello Sir/Madam,
    I'm using 10g client with Forms & Reports 6i.
    FORMS 6i error => for some reason this combination is prompting FRM-10102 & FRM-40039 errors
    Attempted so far => attached the library, complied, it compiles ok, but somehow loses the library file at runtime
    Reports 6i issue => for Reports seems like it does not recognize SRW.Run_report built-in
    Attempted to run without "srw.run_report" it works..
    Please help me understand if any necessary "*.dll" files are missing? if so what might that be?
    Regards,
    Vani Sonti

    When you install Forms and Reports 6i, the correct Oracle client (8) is installed. I don't know what you did exactly, but you shouldn't try to change that.
    You can install the 10g client, but in a separate Oracle home. This way Forms and Reports still use the 8 client.
    FRM-10102 & FRM-40039 errorsThat looks like a problem in your forms60_path registry setting.

  • Stored procedures not working after migrating from 8i to 10g

    The Oracle stored procedures are generating an error following upgrading a ColdFusion web application from Oracle8i to 10g release 2.
    "Error","jrpp-102","05/28/08","13:35:09","insite","Error Executing Database Query.[Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'S_DEFAULT_LETTER_SETTING' ORA-06550: line 1, column 7: PL/SQL: Statement ignored The specific sequence of files included or processed is: new_letter.cfm, line: 63 "
    I've been looking at this for about 3 days with a colleague in the office. We can resolve this be recreating the stored procedure with a new name (e.g. adding the suffix "_v2"). Its not really practical for us to do this throughout the system. Anyone know what the root cause might be?
    I'm currently connecting to Oracle10g using SQLTools and Oracle8 client. I've yet to upgrade to Oracle10 client.
    I've tried selecting all the stored procedures and re-compiling them but it appeared to make no difference.

    The Oracle stored procedures are generating an error following upgrading a ColdFusion web application from Oracle8i to 10g release 2.
    "Error","jrpp-102","05/28/08","13:35:09","insite","Error Executing Database Query.[Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'S_DEFAULT_LETTER_SETTING' ORA-06550: line 1, column 7: PL/SQL: Statement ignored The specific sequence of files included or processed is: new_letter.cfm, line: 63 "
    I've been looking at this for about 3 days with a colleague in the office. We can resolve this be recreating the stored procedure with a new name (e.g. adding the suffix "_v2"). Its not really practical for us to do this throughout the system. Anyone know what the root cause might be?
    I'm currently connecting to Oracle10g using SQLTools and Oracle8 client. I've yet to upgrade to Oracle10 client.
    I've tried selecting all the stored procedures and re-compiling them but it appeared to make no difference.

  • HTML generated by PLSQL not working when migrating from 9i to 10g

    Hello everybody,
    We migrated a 9i database (web+application server on Windows) to 10gR2 (web+application server on Linux). The database contains a package that dynamically generates HTML and JSP tags .
    Problem: the HTML code generated in 10g by the package is different by the HTML code generated in 9i. The package generating the html in 10g is identic, equal with the package generating html in 9i. We also receive a the following message error in 10g when loading the web page in 10g:
    " 'Style' is null or undefined". It seems there is a problem with the Style object.
    Anybody has seen something similar, because I am not very familiar with HTML and JSP.
    Any help will be appreciated.
    Thank you, Daniela.

    Thank you for your reply.
    Yes, it's done using MOD-PLSQL version 10.1.2.0.2.
    I did as you said: compared the 2 generated HTML files. It's not that it doesn't generate all tags. It generates all tags but some of them are different, that is it screws them up.
    Here it is some example code.
    For example, in 9i I have the following code:
    div id=div_plus_GENERALE style="cursor:hand; display:none;"
    <td> width=8 </td>
    <td id=butt align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';
    "onClick="if (butt_clicked) butt_clicked.style.cssText=restore_butt_style;
    butt_clicked=this; restore_butt_style=butt_off_lit;
    this.style.cssText=butt_on_lit;
    var x = document.getElementById('Freccia_' + freccia_old);
    x.style.display = 'none';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.style.display='block';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    In 10g the HTML code looks like this:
    div id=div_plus_GENERALE style="cursor:hand;"
    <td width=8> </td>
    <td align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';">
    <a href="sitointer.anagrafica.anagrafica_cliente_punto target="frameCenter"
    onClick="var x = document.getElementById('Freccia_' + freccia_old);
    x.Style.visibility='hidden';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.Style.visibility='visible';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</a></td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    At this point I don't know what should I investigate next.
    Thank you very much.
    Daniela

  • Authorization Object is not working when report is modified.

    Hi BW Guru's
    We have Company Code as Authorization Object .and we have 3 company Codes (xxxx,yyyy,zzzz).where the users under Company code xxxx are not supposed to view company code yyyy,zzzz data etc.
    I modified an existing Report and transported to production.But the Authorization Object is not working for that report.The Report is defaultly displaying all the company codes data(xxxx,yyyy) for all the users.But for the other reports its(company code ) is working fine.
    What could be the problem?Is theproblem in transporting the objects.But i transported all the objects inluding auhorization object.
    Please send me the solution as it is very much urgent.
    The solution will be def. awarded with full points.
    Regards
    Sanjay

    hi Sanjay,
    please don't post the same question again, check and response back from your previous thread
    Re: Authorization Object is not working when report is Modified.
    hope this helps.
    would be nice if you reward for helpful answers to all of your previous postings, e.g
    docs related to RRI

  • Issue is TEXT_IO application API is not working in report builder 10g.

    Issue is TEXT_IO application API is not working in report builder 10g.
    TEXT_IO application api is working in report builder 6i. (Not working in upgrade from Oracle EBiz 11i to Oracle Ebiz R12)
    I saw that details in some forums, client_text_io is available for form builder 10g.
    Is any other api available for report builder 10g?
    If it is available what steps we need to do?

    All the CLIENT_% procedures are part of webutil in Forms. Forms uses the Java applet on the client PC to perform actions on the local PC via webutil. This is not possible for Reports.
    You can still use text_io on the server, but you need some other way to copy the files to/from the client PC.
    I wonder how you used the functionality in EBS R11. Even R11 uses web reports, so text_io already worked on the server, not the client PC.

  • IPhone 4s Voice mail notification not working after switching from Verizon to PagePlus.

    iPhone 4s Voice mail notification not working after switching from Verizon to PagePlus.  How can I get the notifications working?

    Contact your carrier - voicemail, and visual voicemail, is a carrier feature.

  • File- Export not working after upgrade from 11i to R12

    Hi,
    File -> Export not working after upgrade from 11i to R12.1.3 in few systems. Can you please let me know what could be the issue.
    If export record count more than 200 it is working fine in all the systems and if change the profile option "Export MIME type” value to ‘text/tab-separated-values’ from application/excel also it is wokring.
    Thanks and Regards,
    Jagadeesha

    Enabled the FRD. Below are few last lines. Can you please let me know what i can in this log file contents.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing GET_ITEM_PROPERTY/FIELD_CHARACTERISTIC Built-in:
    In Argument 0 - Type: Integer Value: 196613
    In Argument 1 - Type: Number Value: 54
    Out Argument 0 - Type: String Value: 12
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_MENU_ITEM Built-in:
    In Argument 0 - Type: String Value: FILE.EXPORT
    Out Argument 0 - Type: Integer Value: 19
    Executing GET_MENU_ITEM_PROPERTY Built-in:
    In Argument 0 - Type: Integer Value: 19
    In Argument 1 - Type: Number Value: 79
    Out Argument 0 - Type: String Value: TRUE
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_synch.menu_toolbar_sync. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: NULL
    In Argument 1 - Type: String Value: GLOBAL.OUT
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND GETPROFILE NAME="UPK_RECORDING_ENABLED" FIELD="GLOBAL.OUT" N
    FNDCPVCM, 11, Built-In, Entry, 316509814, USER_EXIT
    FNDCPVCM, 11, Built-In, Exit, 316509814, USER_EXIT
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.OUT
    Out Argument 0 - Type: String Value: N
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing GET_APPLICATION_PROPERTY Built-in:
    In Argument 0 - Type: Number Value: 75
    Out Argument 0 - Type: String Value: IHR40P
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed call_all_libraries. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_standard.event. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    FNDCPVCM, 10, Prog Unit, Exit, 316509814, /FNDCPVCM-3/P45_30_DEC_201223_28_33
    FNDCPVCM, 9, Trigger, Exit, 316509814, WHEN-NEW-ITEM-INSTANCE
    FNDCPVCM, 8, Prog Unit, Exit, 316509814, /DMU-4/P8_30_DEC_201223_23_12
    # 15 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301498413820
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3
    # 16 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301512613925
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS reports are always best viewed in IE and the report result what you see in IE always will not be same and consistent in thirdy party browswers.
    So consider using IE as workaround.
    Also please refer:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2188de10-cff9-4e24-b14f-da5121f1c4a4/ssrs-calender-control-not-visible-in-chorme-on-server?forum=sqlreportingservices
    Workaround here:
    http://www.rajbandi.net/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome/
    -Vaibhav Chaudhari

  • Debit/Credit Shift not working with report painter

    Dears,
    We have defined debit/credit shift while defining financial
    statement version. This functionality working well with F.01 however its not
    working with report painter results. any help will be highly appreciated
    Regards,
    FR

    Hi Dave,
    I have gone back to the books (JP Terry's "Creating Dynamic Forms with Adobe LiveCycle Designer") and think we can improve on things...
    var oFields = xfa.resolveNodes("ViolationsText[*].DebitVal"); // looks to resolve the repeating rows (I think)
    var nNodesLength = oFields.length; // assigns the number of rows to a variable
    var sumTotal = 0; // this is a temporary holding variable for the total, during the loop
    for (var i = 0; i < nNodesLength; i++) // this loops through as previous example
         if (oFields.ViolationsText[i].resolveNode("DebitVal").rawValue == "C")
              sumTotal = "";
              i = nNodesLength;  // stops the loop
         else
              sumTotal += oFields.ViolationsText[i].resolveNode("DebitVal").rawValue;
    this.rawValue = sumTotal;
    This would go in the calculate event of your Total Debit Points field. I would be amazed if it worked first time. I haven't run through LC. Give it a lash!! (a try!!)
    Good luck,
    Niall

  • Hierarchy not working at report

    Hi
    I have created level based hierarchy in RPD on one dimension table, but hierarchy is not working in report level.
    Can any one help.
    Thanks

    Hi
    Actually we are not getting any error message.
    But when we have enabled hierarchy on particular column, when we are using that column in report it should be getting some under line when we place cursor on that column data and when we click on one of the specified data we might be getting data related to that particular data. But it is not happening like that and we are able to see data as normal column data. This is my issue.
    Please suggest
    Thanks

  • On MacBook Air not work the Internet from iPad Wi-Fi mode, but work from iPad USB internet mode. Please help me) Thank)

    On MacBook Air not work the Internet from iPad Wi-Fi mode, but work from iPad USB internet mode. Please help me. Thank)))

    The following link has a Wi-Fi troubleshooting section for personal hotspot that may help: iOS: Troubleshooting Personal Hotspot

  • Auto brightness does not work after upgrade from iOS5 to iOS6 on my iPod touch. Is this intended by Apple, or is it a bug?

    I attempted to ask this question, yesterday. However, I am not used to typing with my thumbs, yet, and messed it up some. So, I will give this another try. Auto brightness does not work after upgrade from iOS 5 to iOS 6 on my iPod touch. Is this intended by Apple, or is it a bug?

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    iOS 6 changed how that feature works.

  • I got new iphone it had a problem of sleep/off button not working i replaced from care. now the replaced product had a problem that home button not working properly now what i want to do

    Igot new iphone it had a problem of sleep/off button not working i replaced from care. now the replaced product had a problem that home button not working properly now what i want to do

    Hello, krishna kumar.j. 
    Thank you for visiting Apple Support Communities.  
    I understand that you are experiencing and issue with your Home button.  Here are the troubleshooting steps when experiencing this.  
    Get help with buttons and switches on your iPhone, iPad, or iPod touch
    http://support.apple.com/en-us/HT203017
    Cheers, 
    Jason H.  

Maybe you are looking for

  • Problem with ApEx after upgrade of database to 10.2.0.2

    I could have posted this in the general Database forum since I am not sure whether the problem is directly related to the HTMLDB installation, perhaps it's only the place where the symptoms are shown, but here is it. One of the customers I am current

  • When back up to time capsule I get the message no access to backupcopyfiledisc/Volume/data/imac.sparsebundle ( error - 1 )

    When back up to time capsule I get the message no access to backupcopyfiledisc/Volume/Data/Terjesumac.sparsebundle ( error-1)

  • Feedback Form Processor

    I'm surprised how much time I have spent on this. I should have just posted the question here first. Anyway, I want to create a feedback form at my website using Dreamweaver. What is the best method? I say method, because I know there a couple of ste

  • No credit on Final product

    BED AED SED Ecess---codes should be there but should be added to material price. Bcoz our finished product is exempted from Excise.. so we cant get the credit of duties paid

  • Vector mask

    I was using the vector mask in Photoshop then opening the image in Illustrator and it was working just fine. Now when I open the image in Illustrator the vector mask is not there. Any suggestions on something I'm doing wrong?