Running of VAT or GST report in Psoft
Hi,
Is there anyone here who use Psoft VAT and Intrastat Module to generate VAT (value-added tax) or GST (good & service tax) report? Please advise.
Cheers!
VAT report changes from PeopleSoft version to version, can you tell me what is your application version and let me know what exactly you would like to know about VAT reports.
Jayaprakash Tedla
Similar Messages
-
Wrong amount in VAT Declaration Box Report
Hi,
I am running the VAT Declaration Box Report, but the EU Vat Code (acqusition/reverse) amount doubles up.
I have box number 2 with XX2 box component and XX2 has E2 and E21. The total of the invoices listed shows an amount, but the actual box component XX2 has doubled the amount.The box is on credit side.
Therefore when i look at the report i have XX2 credit amount 70,000 while E2 is only 35,000 and E21 is 0.
The JEs of the invoices post both input and ouput VAT as the code is ticked as being acqusition/reverse, but why is that total different?
Thank you!
CristinaHi,
SAP found the issue. You can check SAP Note 1604993.
If there is a new effective from period defined in the VAT Declaration Boxes Setup, the VAT Declaration Box Report will
show total amounts multiplied (according to the number of periods defined).
They plan to fix this in 8.81 PL08.
Thanks,
Cristina -
"no data found" run-time error masking SQL/report mismatch
Hi all,
At last, figured out a vexing problem and wondering if anyone else either:
a) has also hit the problem, and hopefully
b) has figured out a clever way around it.
Namely, in our AppEx apps, we rely on SQL query generation from PL/SQL packaged functions. This "best practice" promotes reuse, automated testing, etc. Great idea - works great.
However, we've repeatedly come across a situation where we go to run a page with a report on it only to get a "report error: ORA-01403: no data found" message where the report should be. Not much to go on. After trial and error, it turns out that simply going to the Region Definition page (where the PL/SQL function call is defined) and clicking the "Apply Changes" button cleared the problem up.
Mystifying because the actual SQL query generated by the PL/SQL is valid (we've got a nightly testing job that pulls the PL/SQL function calls out of the AppEx metadata tables, executes them to get back the SQL and then validates the SQL).
Turns out this problem looks to be a result of columns changing in the actual SQL itself, and hence not matching up to the Region Attributes (column names, one assumes) that AppEx knows about. Simply clicking Apply Changes causes AppEx to validate the returned query and then it adjusts the column attributes (one assumes) so that things match up.
So - the $64,000 question(s):
1) Are there any cool AppEx APIs to be able to try and detect this situation? Given an app of middling complexity (50-100 pages, each with various queries/reports), this is not an attractive issue to deal with manually.
2) Any cool AppEx APIs to fix, or auto-sync these situations? (Essentially programmatically calling the "Apply Changes" button if you will).
At a minimum, it would be great if AppEx could be updated to put out some kind of more informative error message when this occurs - maybe something along the lines of "Region Attributes Do Not Match Data Returned from Query", or something like that at least.
Thanks for any input/ideas,
Jim C.Thanks to all for your prompt responses.
Vikas actually did me the favor of pretty much clarifying my info for me (tks Vikas). Yes, to all the above. It's PL/SQL code generating a SQL query, so 1 is (a); we want to use query-specific columns so it is (2a). And yes, the whole problem is that the something does change to cause the SELECT statement column list to change...nature of the beast, so "don't do that" doesn't really help here.
Scott - sorry, should have been more explicit. Basically, we have a PL/SQL function behind a report that returns a SQL statement for the report. If that PL/SQL code changes to add a new column to the report (without going to the corresponding Report Attributes page and clicking the "Apply Changes" button to get AppEx to revalidate the query), then you wind up with this "no data found" error msg, which doesn't exactly point you to the root of the problem.
It seems as though the "parse at compile-time" is really what's going on here. There must be some kind of "run-time" check going on as well, that is resulting in the "no data found" message. Seems as though it ought to be fairly straightforward to add some kind of check at run-time to handle that exception a little cleaner. Is there an official process to register a "Request for Process Enhancement" for AppEx to do this?
In the meantime, thank you Vikas for the pointer to the APEX_APPLICATION_PAGE_RPT_COLS view - that looks like it will do the trick nicely. Given that, we can now add logic to our nightly "app tester" job that can compare what columns AppEx expects to find in a given report (for a given page) with the actual SQL (coming back from the PL/SQL function call) to essentially "validate" the AppEx meta data and at least let us know when these things get out of sync.
BTW - if anyone would be interested in the actual contents of that "app tester" logic, I'd be happy to post it (someplace...here? Studio site?). It's basically just a PL/SQL block of code that currently runs in cron that just validates any SQL embedded in our app. (I suppose it is a little "hard-coded" since it does use our naming conventions for packages/functions to parse the PL/SQL calls from the Meta Data but it might still serve as a usefull starting point...) Since our AppEx app(s) sit on top of a database schema that is in fairly constant flux, we need the ability to know when somebody has changed something in the schema that needs to be accounted for in AppEx. The job primarily just parses the AppEx meta data to find PL/SQL function calls that return SQL, executes that PL/SQL to get the generated SQL, then just validates that SQL and reports back any invalid SQL calls. Perhaps we're in some unusual development environment (15-20 people working on a database schema with 700-800 tables/views) but it seems as though it would be fairly easy, for anybody using PL/SQL to generate SQL (which is a GREAT and powerful thing, by the way - thanks to whoever thought that up in AppEx land) to run into this issue.
Jim C. -
Showing running totals on AR statatement Report
Hi All I need assistance in populating the Running totals on AR statement Report , I am trying to calculate the running total on the RDF using the (sum Over Partition ) and Not on the RTF template please assist .
here is my query below :
select customers.customer_name,
detail.customer_id,
detail.customer_site_use_id,
:CP_ACC_NAME,
:CP_ACC_NUM,
:CP_BRNCH_NAME,
:CP_COL_EMAIL,
:CP_COL_PHONE,
:CP_BRANCH_NR,
decode( (select meaning
from ar_lookups
where lookup_type = 'INV/CM/ADJ' and lookup_code = detail.class), 'Payment', apply_date, trx.trx_date) TRX_DATE,
trx.INVOICE_CURRENCY_CODE,
trx.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE_BAL,
NVL(trx.term_due_date,trx.TRX_DATE) term_due_date,
detail.customer_id cst_id,
detail.customer_site_use_id cst_site_id,
detail.customer_trx_id,
detail.trx_number,
(select meaning
from ar_lookups
where lookup_type = 'INV/CM/ADJ' and lookup_code = detail.class) class,
detail.amount_full_original,
detail.end_bal * -1 , (detail.end_bal + detail.amount_full_original)* -1 closing_balance ,
detail.amount_full_original - detail.the_order * -1 closing_bal,
(detail.amount_full_original - detail.running_total) running_total ,
detail.running_tot ,
customers.customer_name address1,
customers.address1 address2,
customers.address2 address3,
customers.address3 address4,
customers.city||' '||customers.state address5,
customers.country||' '||customers.postal_code address6,
addr.address1 rm_address1,
addr.address2 rm_address2,
addr.address3 rm_address3,
addr.address4 rm_address4,
addr.address5 rm_address4,
:p_as_of_date_from date_from,
to_char(to_date(:p_as_of_date_to,'DD-MON-YYYY'),'DD-Mon-YYYY') date_to,
addr.org_id rm_org_id,
rtrim(to_char(sysdate,'DD')||' '||to_char(sysdate,'Month'))||' '||to_char(sysdate, 'YYYY') curr_date
from (select customer_id, CUSTOMER_SITE_USE_ID, trx.CUSTOMER_TRX_ID,trx.TRX_NUMBER, null apply_date,ps.class,ps.AMOUNT_DUE_ORIGINAL amount_full_original, the_trx.end_bal,the_trx.running_total , the_trx.running_tot , 1 the_order
select customer_trx_id, sum(acctd_end_bal) end_bal , running_total , running_tot
SELECT ps.customer_trx_id ,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_from))
* ps.amount_due_remaining) start_bal,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_to))
* ps.amount_due_remaining) end_bal,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_from))
* ps.acctd_amount_due_remaining) acctd_start_bal,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_to))
* ps.acctd_amount_due_remaining) acctd_end_bal ,
(sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_from))
* ps.amount_due_remaining) + sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_to))
* ps.acctd_amount_due_remaining) ) running_total ,
sum((sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_from))
* ps.amount_due_remaining) + sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
NULL,to_date(:p_as_of_date_to))
* ps.acctd_amount_due_remaining) )) over (partition by ps.customer_trx_id order by ps.customer_trx_id)running_tot
FROM ar_payment_schedules_all ps
WHERE ps.payment_schedule_id+0 > 0
--JF2 AND ps.gl_date_closed >= to_date(:p_as_of_date_from)
AND ps.class IN ( 'CB', 'CM','DEP','DM','GUAR','INV')
AND ps.gl_date <= to_date(:p_as_of_date_to)
and org_id = nvl(:P_ORG_ID,org_id)--1246
--and customer_id = :p_customer_id --1075
--and CUSTOMER_SITE_USE_ID = :p_customer_site_id --1066
--and customer_trx_id = 66291
--'|| l_ps_org_where ||'
GROUP BY ps.customer_trx_id ,ps.acctd_amount_due_remaining , ps.gl_date,ps.gl_date_closed ,ps.class , rownum
ps.customer_trx_id ,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
ra.gl_date,to_date(:p_as_of_date_from))
* ( ra.amount_applied + NVL(ra.earned_discount_taken,0)
+ NVL(ra.unearned_discount_taken,0))) start_bal,
sum(ar_calc_aging.begin_or_end_bal(ps.gl_date,ps.gl_date_closed,
ra.gl_date,to_date(:p_as_of_date_to))
* ( ra.amount_applied + NVL(ra.earned_discount_taken,0)
+ NVL(ra.unearned_discount_takenHi
Yes i would like more help as i have never used group by roll up before
SELECT p.employee_number,
p.full_name employee_name,
DECODE (p.sex, 'M', 'Male', 'F', 'Female') gender,
(DECODE (p.per_information4,
'01', 'Indian',
'02', 'African',
'03', 'Coloured',
'04', 'White')) race,
p.original_date_of_hire,
a.effective_start_date startdate_current_position,
RTRIM (SUBSTR (ps.NAME, 1, INSTR (ps.NAME, ';')), ';') current_position,
ho.NAME current_organization,
xx_return_company_name(a.person_id, a.effective_start_date) current_company,
RTRIM (SUBSTR (ps1.NAME, 1, INSTR (ps1.NAME, ';')),';') previous_position,
ho1.NAME previous_organization,
xx_return_company_name(a1.person_id, a1.effective_start_date) previous_company,
a1.effective_start_date startdate_prev_position
FROM per_assignments_v2 a,
per_assignments_v2 a1,
per_all_people_f p,
per_all_positions ps,
per_all_positions ps1,
hr_all_organization_units_tl ho,
hr_all_organization_units_tl ho1
WHERE a1.person_id = a.person_id
AND NVL (a1.position_id, 9) <> a.position_id
AND a1.effective_end_date = a.effective_start_date - 1
AND p.person_id = a.person_id
and ho.ORGANIZATION_ID=ps.ORGANIZATION_ID
and ho1.ORGANIZATION_ID=a1.ORGANIZATION_ID
AND a.effective_start_date BETWEEN p.effective_start_date AND p.effective_end_date
AND a.position_id = ps.position_id
and p.EMPLOYEE_NUMBER not in ('1','2','3')
AND a1.position_id = ps1.position_id(+)
order by p.full_name -
Hi Experts,
What exactly determines which AP Invoices are included in the VAT Declaration Box Report in 2005?
If we take the VAT code E2 from the Demo company, any Invoices I create are included in the report. If I create another VAT code with the same settings but a different rate, an invoice for this new rate is not being included in the report?
Which option decides whether a VAT Code's transactions are included in the VAT Declaration Box Report?
Thanks
GreigAnswering my own question...
VAT Declaration Boxes window in the Set-up menu -
How to run the parameter form example report :pform_report.jsp
how to run the parameter form example report : pform_report.jsp ?
I got these error message:
Reports Error Page
Sat Oct 18 11:58:24 CST 2003
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
PI with the name 'xml' can occur only in the beginning of the document.'.
at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
at examples.tools._pform__report._jspService(_pform__report.java:79)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
at java.lang.Thread.run(Thread.java:484)repost !
please help! -
Grant the access rights to manager run the work flow history report without edit /delete rights
I found that only Team Member / Workspace creator / Administrator can run
the work flow history report. However, we have a Purchase Order request
which need ask the supervisor for 1st approval and manager for 2nd approval.
But those managers want to see who prepare the P.O. and supervisor done the
first approval before their 2nd approval. How can I can grant the access
right to the manager to run the work flow history report for this purpose? I
tried grant the role "team member" to those manager, however, it will also
allow them to modify or delete the entry as they are the team member, but we
only want allow those managers can approve the entry and view the work flow
history without other acces such as add/delete/edit to prevent the human
mistake.
Pls advise how can I do this? Thanks!
RegardsCreate a new role in teaming can fulfill this requirement. Thanks!
"Joey" wrote in message news:_Cvqo.66903$[email protected]. .
I found that only Team Member / Workspace creator / Administrator can run
the work flow history report. However, we have a Purchase Order request
which need ask the supervisor for 1st approval and manager for 2nd approval.
But those managers want to see who prepare the P.O. and supervisor done the
first approval before their 2nd approval. How can I can grant the access
right to the manager to run the work flow history report for this purpose? I
tried grant the role "team member" to those manager, however, it will also
allow them to modify or delete the entry as they are the team member, but we
only want allow those managers can approve the entry and view the work flow
history without other acces such as add/delete/edit to prevent the human
mistake.
Pls advise how can I do this? Thanks!
Regards -
Error running Table Definition (cktci) Repository Report in Designer 10G
Hi
There seems to be some internal limitation when running the Table Definition Repository Report (cktci).
We have over a thousand tables defined in Designer and if I try to run the report for all tables it falls over with the reports.log saying
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-271504897: Error executing CA utility.
REP-3335: Unhandled Internal CA Error.
caxml 2
REP-0002: Unable to retrieve a string from the Report Builder message file.
REP-271504897:
Not very useful information.
If the report is run using a smaller subset of tables. For example if I use a parameter of A% for the table name then it works OK.
I have been able to create reports up to about 600 pages but after that it falls over. So if I try to run the report with a parameter like S% it will fall over.
Just wondering if anyone else has come across this issue and found a fix.
There is the obvious workaround of running the report for smaller subsets of data but we would like it to be able to run for all tables if possible.
Any feedback appreciated.
Regards,
AdrianSorry for the slow reply. I've been trying a number of different things to get this to work.
I reinstalled Developer as suggested but we don't have a patched version so there were no additional patches to apply. I re-ran the installer anyway to see if it would update anything.
I couldn't find any reference to Developer patches that might fix this issue in metalink.
I also tried messing with the JVM options to give it more memory etc but that didn't help.
After using the Designer diagnostics trace I got the arguments it uses to run the same report from the command line.
This resulted in the same issue. So at least it was consistent from Designer as well as the command line.
This suggests it is a reports issue rather than Designer.
Running the reports trace didn't provide any extra information. Found a bug that suggested changing any formula columns to not return NULL.
Tried updating the report to fix that too but no joy.
I will post here if I discover the solution. -
Does SAP ECC6 support advance tax return (rfumsv00)/GST reporting for USA a
Does SAP ECC6 support advance tax return (rfumsv00)/GST reporting for USA and Canada?
Hello
I think it does.
However please check this
In some countries, you cannot use the general program for tax returns to create the annual tax return because of specific national reporting requirements. For these countries, SAP delivers additional country-specific programs to meet these reporting requirements.
For the individual country-specific reports, see the General Ledger menu under Reporting ® Tax Reports.
The program RFUSVX10 performs the data medium exchange, allowing you to transfer the DME file to a hard drive or diskette. You can find more information on this topic in the program documentation.
Regards -
How to run a Oracle 9i .JSP report from outside 9i Reports Builder
Hi,
I have successfully created a .JSP report from within 9i Reports Builder. It runs fine and generates desired output using Run -> Web Layout from the Reports Buider menu. The output is a .htm one.
Now, my requirement is to run this .JSP from my application without using Reports Builder. In other words, I want to integrate this .JSP with my existing application which will fetch data dynamically for the user. There is no hint to this solution in the 9i Reports Tutorial available at OTN.
A sample code would be highly helpful.
Regards,
- Parthapartha,
you deploy a reports-jsp to your oracle9i application server like any other JSP. copy it to a directory in the application servers document tree.
when you execute the reports-jsp it will need a reports server (in process or stand alone) to execute since the actual data-management is done by the reports-server.
regards,
philipp
PS : if you have further reports related questions, you might want to post those in the reports forum here on OTN. -
Run the Period Close Exceptions Report in GL Module (R12.1.3)
Dear Members,
From metalink I have downloaded a document with the title ORACLE FINANCIALS E-BUSINESS SUITE, RELEASE 12 PERIOD END PROCEDURES_
In this document under the procedures of GL Period Closing, I found the below step:-
*9a. Run the Period Close Exceptions Report*
This is a new step in Release 12. The General Ledger accounting can run the Period Close Exceptions report to double check that there are no outstanding transactions in the subledgers and GL, and ensure a follow-up with relevant colleagues if any exceptions are identified.
But in the GL Module, I cant see any report with the name Period Close Exceptions
Can any one please shed some light on the above concept.
Many thanks in advance.
Regards.The exact name of the concurrent program is 'Subledger Period Close Exceptions Report'.
Check it is available in SRS window. Otherwise add this program to the request group of your responsibility.
Actually when you close the GL period, the check will be done for unaccounted events and untransferred journals and if any exceptions found this program will be launched automatically.
But it is good to run before closing the period as said in the document.
By
Vamsi -
How do you run a Wagetype G/L report in SAP
Hi SAP experts
In SAP system,How do you run a Wagetype G/L report?
regards
KrishnaAarti
Thanks for your answers,this was the report I was looking for .
Full points awarded to you .we can also use this transaction code directly
PC00_M99_DKON
regards
krishna -
Problem running a concurrent program from Reports
Hi,
I've come across a problem while running a concurrent program from Reports. The report is executed OK and at the end, I call a concurrent program by firing fnd_request.submit_request. I catch then the req_id returned and it gives me 0. I tried to replace the concurrent program, which is a UNIX shell script, with just a simple script that echos "hello", but anyway, I get 0 as return value from fnd_request.submit_request.
The next step I tried to set apps_initialize with proper vUSER_ID, vRESP_ID and vRESP_APPL_ID, but did not get away with that. My last try was to hardcode vUSER_ID to a sysadmin user, in case this was rights-related issue but did not work as well.
Am now looking into a possibility of actually getting the error, why it failes. I found some posts where FND_MESSAGE.RETRIEVE and FND_MESSAGE are used but this apparently does not work under Reports (am using reports builder v. 9.2.0.4.0).
Any suggestions how to solve this issue?
Thanks,
David Lacina.Hi,
Make sure that the concurrent program you are calling exists (case sensitive) and is enabled.
Create a PL/SQL package and use that to call your request - the you'll be able to use fnd_message.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
Error while running Java application using Crystal Reports 2011
Hello,
I would like to ask for your help.
Environment details:
Java based standalone application in Development environment.
Crystal Reports 2011 (no SP applied)
Oracle 11g ( 32 bit client installed)
Win7 64 bit OS.
Workflow:
While running the java application, which will display the reports I am getting the below mentioned error. I guess that is because I am missing the Crystal runtimes (Correct me if I am wrong).
I know that CR2011 do not have any sdks/ jar available for deployment. In this case, which runtimes should I be using? Does installing CR2011 be enough in the development box?
Please provide me the link from which I can download the same.
Let me know if I need to provide more details on this. Any suggestions are most welcome.
Thank You.
Code used:
reportClientDoc = new ReportClientDocument();
System.err.println("Opening the Report ");
reportClientDoc.open(REPORT_PATH, 0);
// this is where the error or exception is thrown
_Error: _
log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
log4j:WARN Please initialize the log4j system properly.
com.crystaldecisions.sdkreport.lib.ReportSDKException: com/businessobjects/reports/jdbinterface/common/DBException---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.<init>(SourceFile:703)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
at com.crystaldecisions.sdk.report.application.ClientDocument.if(SourceFile:504)
at com.crystaldecisions.sdk.report.application.ClientDocument.open(SourceFile:669)
at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
at rp.batch.bo.RpJRCExportReport.runReportExport(RpJRCExportReport.java:517)
at rp.batch.bo.RpSchedReportRun.process(RpSchedReportRun.java:163)
at rp.batch.bo.RpSchedReportRun.drive(RpSchedReportRun.java:240)
at rp.batch.bo.RpSchedReportRun.main(RpSchedReportRun.java:265)
Caused by: java.lang.NoClassDefFoundError: com/businessobjects/reports/jdbinterface/common/DBException
at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
... 12 more
Caused by: java.lang.ClassNotFoundException: com.businessobjects.reports.jdbinterface.common.DBException
at java.net.URLClassLoader1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.LauncherAppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 28 moreHelp me ...
Ambient:
Crystal Reports Viewer 14.0.0.0
java.vendor = Sun Microsystems Inc.
java.version = 1.6.0_37
os.name = Windows NT (unknown)
os.version = 6.2
os.arch = amd64
Exception:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
Source:
import java.awt.BorderLayout;
import javax.swing.JFrame;
import com.crystaldecisions.ReportViewer.ReportViewerBean;
import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
public class HelloWorldSwing {
* @param args
public static void main(String[] args) {
HelloWorldSwing pgm = new HelloWorldSwing();
try {
pgm.createAndShowGUI();
} catch (Exception e) {
e.printStackTrace();
//JOptionPane.showMessageDialog(null, e.toString());
* @throws Exception
public void createAndShowGUI() throws Exception {
// Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
// Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle("Titolo del Report");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init(new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
frame.getContentPane().add(viewer, BorderLayout.CENTER);
frame.setSize(1930, 1030);
frame.setVisible(true);
viewer.start(); -
Dear friends
When I try to run the following code, I keep getting a message that says
"The field "GT_FIELD" specified here has a different field type.".
I have run this in many occassions and it has worked before. I would appreciate if some one can help me with this. Following is the code
CODE FOLLOWS----
REPORT ZSAPMZRFT_ZWMSCHED_REPORT MESSAGE-ID zrammessage LINE-SIZE 168
LINE-COUNT 20(6) NO STANDARD PAGE HEADING.
TABLES: zwmsched,
zwmwave.
Data : v_repid LIKE sy-repid,
BEGIN OF s_zwmsched occurs 1,
mandt LIKE zwmsched-mandt,
werks LIKE zwmsched-werks,
lgnum LIKE zwmsched-lgnum,
ship_date LIKE zwmsched-ship_date,
carrier LIKE zwmsched-carrier,
vbeln LIKE zwmsched-vbeln,
kunnr LIKE zwmsched-kunnr,
custname LIKE zwmsched-custname,
city LIKE zwmsched-city,
state LIKE zwmsched-state,
zip LIKE zwmsched-zip,
qty LIKE zwmsched-qty,
uom LIKE zwmsched-uom,
wt LIKE zwmsched-wt,
wt_uom LIKE zwmsched-wt_uom,
volumn LIKE zwmsched-volumn,
vol_uom LIKE zwmsched-vol_uom,
inco LIKE zwmsched-inco,
equipment LIKE zwmsched-equipment,
door LIKE zwmsched-door,
wavenum LIKE zwmsched-wavenum,
load_seq LIKE zwmsched-load_seq,
notes LIKE zwmsched-notes,
pick_stat LIKE zwmsched-pick_stat,
load_stat LIKE zwmsched-load_stat,
bol_stat LIKE zwmsched-bol_stat,
mbol LIKE zwmsched-mbol,
seal LIKE zwmsched-seal,
gm_status LIKE zwmsched-gm_status,
createdate LIKE zwmsched-createdate,
created_by LIKE zwmsched-created_by,
changedate LIKE zwmsched-changedate,
changed_by LIKE zwmsched-changed_by,
END of s_zwmsched,
Begin of temp_zwmsched occurs 1,
so_lgnum LIKE zwmsched-lgnum,
so_vbeln LIKE zwmsched-vbeln,
pa_date LIKE zwmsched-ship_date,
pa_wvno LIKE zwmsched-wavenum,
pa_door LIKE zwmsched-door,
carrier LIKE zwmsched-carrier,
pickstat LIKE zwmsched-pick_stat,
mbol LIKE zwmsched-mbol,
loadstat LIKE zwmsched-load_stat,
bol_stat LIKE zwmsched-bol_stat,
pgi_stat LIKE zwmsched-gm_status,
end of temp_zwmsched.
TYPE-POOLS : slis.
DATA :
gt_field TYPE slis_t_fieldcat_alv,
wa_field TYPE slis_fieldcat_alv,
gt_layout TYPE slis_layout_alv.
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: so_lgnum FOR zwmsched-lgnum,
so_vbeln FOR zwmsched-vbeln,
pa_date FOR zwmsched-ship_date,
pa_wvno FOR zwmsched-wavenum,
pa_door FOR zwmsched-door,
carrier FOR zwmsched-carrier,
pickstat FOR zwmsched-pick_stat,
mbol FOR zwmsched-mbol.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK block1.
SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-002.
SELECTION-SCREEN SKIP.
PARAMETERS: loadstat LIKE zwmsched-load_stat,
bol_stat LIKE zwmsched-bol_stat,
pgi_stat LIKE zwmsched-gm_status.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK block2.
select * from zwmsched into corresponding fields of table temp_zwmsched
where
lgnum in so_lgnum AND
vbeln in so_vbeln AND
ship_date in pa_date AND
wavenum in pa_wvno AND
door in pa_door AND
carrier in carrier AND
pick_stat in pickstat AND
mbol in mbol AND
load_stat = loadstat AND
bol_stat = bol_stat AND
gm_status = pgi_stat.
wa_field-col_pos = 1.
wa_field-tabname = 'ZWMSCHED'.
wa_field-fieldname = 'LGNUM'.
wa_field-seltext_l = 'WARE HOUSE'.
wa_field-outputlen = 11.
APPEND wa_field TO gt_field.
*wa_field-col_pos = 2.
*wa_field-fieldname = 'VBELN'.
*wa_field-seltext_l = 'DELIVERY'.
*wa_field-outputlen = 10.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 3.
*wa_field-fieldname = 'SHIP_DATE'.
*wa_field-seltext_l = 'SHIP DATE'.
*wa_field-outputlen = 11.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 4.
*wa_field-fieldname = 'WAVENUM'.
*wa_field-seltext_l = 'WAVENUM'.
*wa_field-outputlen = 11.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 5.
*wa_field-fieldname = 'DOOR'.
*wa_field-seltext_l = 'DOOR'.
*wa_field-outputlen = 5.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 6.
*wa_field-fieldname = 'CARRIER'.
*wa_field-seltext_l = 'CARRIER'.
*wa_field-outputlen = 8.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 7.
*wa_field-fieldname = 'PICK_STAT'.
*wa_field-seltext_l = 'PICK STAT'.
*wa_field-outputlen = 10.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 8.
*wa_field-fieldname = 'MBOL'.
*wa_field-seltext_l = 'MBOL'.
*wa_field-outputlen = 5.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 9.
*wa_field-fieldname = 'LOAD_STAT'.
*wa_field-seltext_l = 'LOAD STAT'.
*wa_field-outputlen = 10.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 10.
*wa_field-fieldname = 'BOL_STAT'.
*wa_field-seltext_l = 'BOL STAT'.
*wa_field-outputlen = 11.
*APPEND wa_field TO gt_field.
*wa_field-col_pos = 11.
*wa_field-fieldname = 'GM_STATUS'.
*wa_field-seltext_l = 'PFI STAT'.
*wa_field-outputlen = 9.
*APPEND wa_field TO gt_field.
gt_layout-zebra = 'X'.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = gt_field
IT_FIELDCAT = gt_layout
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = temp_zwmsched
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.You problem is right here.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
<b>IS_LAYOUT = gt_field
IT_FIELDCAT = gt_layout</b>
IT_EXCLUDING =
Should be....
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
<b>IS_LAYOUT = gt_layout
IT_FIELDCAT = gt_field</b>
IT_EXCLUDING =
Regarsd,
Rich Heilman
Maybe you are looking for
-
hi all, i have enabled key mapping manually for all the lookup flat tables with the corresponding remote system in data manager, but when a new records are getting added i wanted all the new records in the flat table to be automated, when i am import
-
ICWeb - Create a PO an R/3 and send PO number back to CRM ICWeb
Hi, I'm in a service ticket in ICWeb, I want to create PO's on R/3 and have the PO numbers linked to the service ticket. I have it working with Transaction Launcher and a BOR object - but it's not the most stable solution. This is how it works: Send
-
How can you tell what version of JDK a class was compiled under
Kind Folks, I have a Java application purchased from a vendor that is certified to run under JDK/JRE 1.2xxx. I recently received some extensions to the application from the vendor's consulting arm but I am having problems with the extensions. I belie
-
We have 2 3.42 systems - one on Fedora Core 1 and one on RedHat Enterprise 3 and wish to join as an array. However no matter whether use command line or array manager and primary or secondary(to be), it starts - prompting for administrator account, a
-
Hap_document bsp need help
We are using Version ECC 5.0 extension set 1.10. First Requirement. Our requirement is once the document is created by hr for an employee X in R3 where his manager is Y and his managers manager is Z. Now the document must be available for all three