Updatable RadioButtons in a report
Hi All,
I want one solution, i have a report which has coloumn that has radio buttons, i need a solution such a way that if users click on radio button it should be updated in the back end, can anybody please help me with this.
Thanks
Hi,
I have three solutions, depending on your requirements: Re: User Radiogroup in Tabular Form
Andy
Similar Messages
-
How to lock a database Z table before updating it through a report program
Hi,
How to lock a database Z table before updating it through a report program and also how to unlock it after my updation.
The whole process is done through report program.Hi,
Go to SE11, in the option 'Lock object' enter the name of your lock,
begin with 'E', suppose 'EXXXX' And create. In tab 'Tables' fill the
table name where the record you want to lock exist and select the
lock mode. Lock mode can be shared and exclusive. If 'shared',
when you lock the record, other can also read data, but can not
modify. If 'exclusive', when you lock the record, other can neither
read nor modify the record. After save and activate, you will get two
function module.'ENQUEUE_EXXXX' to lock record,
'DEQUEUE_EXXXX' to release lock on one record.
When use this function module it only lock one record at a time. It
does not lock the table.
Regards,
Omkaram. -
Dear Sir/Madam,
Adobe acrobat claims that there is an update.
However the update process is very flaky and unreliable.
Very poor service, with useless update prompts.
System report is attached.
Please fix the update, before advertising useless prompts for updates, for paid versions.
ThanksNothing is attached.
You should also be aware that there are a number of scams and malwares claiming fake updates.
Please post your report and tell us exactly what product and exact version you have.
And be aware you aren't talking to Adobe. -
Software Updates - C. Deployment States report
Please help me if I run Software Updates - C. Deployment States report. I am getting compliant, below other status so these status means software updates instated? Then why it
is not showing as compliant Installing update(s), successfully installed update(s), waiting for another installation to complete.To see the real compliance of the installed updates you should look at the compliance reports. For a specific software update group you could use the report
Compliance 3 - Update group (per update).
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Update button in sql report for each row can only get the report value
I have to added Update for each row of records like:
select a.*,'Update' button from (
select c.*,d.login from country c,champ d
where c.champ_id=d.champ_id(+)
order by c.name) a
then go to the report->edit button ->Column Link
I added some items P40_REGION, P40_CHAMPID,P40_ACTIVE,P40_CODE and assign the value like #region#,#active# ,#code# to these item, but when I click the update button in the report I found the values such as #region#,#active# ,#code# is the report value not the select list selected value(the region, active column are displayed as select list lov).
Can anyone tell me how to sort this knid of problem?
Thanks a lot!Sorry, it doesn't work. I also tried apex_application.g_f01(i), but not everytime I can get the value or get the incorrect value. If you have time you can try to create it like what I have described. Our team use two days now but still can not sort this problem.
-
Firefox 29 . Will auto update work ok without reporting missing files ?
I am getting ready to switch from IE to Chrome or Firefox. I have read numerous complaints about the Auto Update feature on Firefox. Below is a copy of one of them. How common is this problem?
Firefox has almost 1/2 billion users. Chances are there are many people will post about a problem even if it only affects a small minority or is fixed.
Possibly you are asking about the Rapid Release Cycle. I think most would agree it initially caused problems mainly with incompatible addons. That problem is largely resolved now. Corporate users deploying Firefox may also have had issues but now have the option of using a different release channel of Firefox.
Your article was apparently not attached, maybe you could provide a link to it. I would point out that discussion of Development issues is normally considered off topic on this forum. I will edit the title from
* Is there a problem with missing files with FF auto updates?
to
* Firefox 29 . Will auto update work ok without reporting missing files ?
That way the question is current and we actually expect developers to be around this week answering questions about Firefox 29. -
Revision: 2785
Author: [email protected]
Date: 2008-08-08 09:56:23 -0700 (Fri, 08 Aug 2008)
Log Message:
update clover code coverage report, add tests for asc commandline arguments
Modified Paths:
flex/sdk/trunk/modules/asc/build/java/build.xml
flex/sdk/trunk/modules/asc/test/compiler/runtests.py
flex/sdk/trunk/modules/asc/test/compiler/testconfig.txt
Added Paths:
flex/sdk/trunk/modules/asc/test/compiler/cmdline/
flex/sdk/trunk/modules/asc/test/compiler/cmdline/abcfuture.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/avmtarget.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/avmtarget.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/avmtargetn.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/avmtargetn.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/config.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/config.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/exe.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/exe.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/help1.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/help1.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/help2.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/help2.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/m.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/metadata.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/movieclip.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/sanity.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/sanity.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_bytes.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_flow.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_flow.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_instructions.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_parse_trees.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/show_parse_trees.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/static_semantics.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/static_semantics.err
flex/sdk/trunk/modules/asc/test/compiler/cmdline/swf.as
flex/sdk/trunk/modules/asc/test/compiler/cmdline/swf.err -
How to trigger pop-up window in report and update data base from report
Hi All,
I have a requirement, in a report output list to trigger a pop up window with some rejection codes corresponding to each sales order when i select from the output list. Also i need to update data base by selecting one of the rejection code in the pop-up window list for that sales order. Can any one please let me know how to achive this.
Also, i have check boxes for each record in the output list. Also, i have added one more check box as "Select All'. When select 'Sleect All' check box , all check boxes need to be checked, how to achieve this. PLease let me know.
Thanks in advance.
Regards,
RajeshHi check this code of editable ALV report... I updated the data base with the changes made..in the editable ALV
*& Report ZJAY_EDIT_ALV
REPORT zjay_edit_alv.
* TYPE-POOLS *
TYPE-POOLS: slis.
* INTERNAL TABLES/WORK AREAS/VARIABLES
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
w_field TYPE slis_fieldcat_alv,
p_table LIKE dd02l-tabname,
dy_table TYPE REF TO data,
dy_tab TYPE REF TO data,
dy_line TYPE REF TO data.
* FIELD-SYMBOLS *
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_wa> TYPE ANY,
<dyn_field> TYPE ANY,
<dyn_tab_temp> TYPE STANDARD TABLE.
* SELECTION SCREEN *
PARAMETERS: tabname(30) TYPE c DEFAULT 'MARA',
lines(5) TYPE n DEFAULT 7.
* START-OF-SELECTION *
START-OF-SELECTION.
* Storing table name
p_table = tabname.
* Create internal table dynamically with the stucture of table name
* entered in the selection screen
CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_table->* TO <dyn_table>.
IF sy-subrc <> 0.
MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
LEAVE TO LIST-PROCESSING.
ENDIF.
* Create workarea for the table
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
* Create another temp. table
CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_tab->* TO <dyn_tab_temp>.
SORT i_fieldcat BY col_pos.
* Select data from table
SELECT * FROM (p_table)
INTO TABLE <dyn_table>
UP TO lines ROWS.
REFRESH <dyn_tab_temp>.
* Display report
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
TABLES
t_outtab = <dyn_table>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*& Form SET_PF_STATUS
* Setting custom PF-Status
* -->RT_EXTAB Excluding table
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZSTANDARD'. "copy it from SALV func group standard
ENDFORM. "SET_PF_STATUS
*& Form user_command
* Handling custom function codes
* -->R_UCOMM Function code value
* -->RS_SELFIELD Info. of cursor position in ALV
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
* Local data declaration
DATA: li_tab TYPE REF TO data,
l_line TYPE REF TO data.
* Local field-symbols
FIELD-SYMBOLS:<l_tab> TYPE table,
<l_wa> TYPE ANY.
* Create table
CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN li_tab->* TO <l_tab>.
* Create workarea
CREATE DATA l_line LIKE LINE OF <l_tab>.
ASSIGN l_line->* TO <l_wa>.
CASE r_ucomm.
* When a record is selected
WHEN '&IC1'.
* Read the selected record
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
rs_selfield-tabindex.
IF sy-subrc = 0.
* Store the record in an internal table
APPEND <dyn_wa> TO <l_tab>.
* Fetch the field catalog info
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_structure_name = p_table
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
* Make all the fields input enabled except key fields
w_field-input = 'X'.
MODIFY i_fieldcat FROM w_field TRANSPORTING input
WHERE key IS INITIAL.
ENDIF.
* Display the record for editing purpose
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
it_fieldcat = i_fieldcat
i_screen_start_column = 10
i_screen_start_line = 15
i_screen_end_column = 200
i_screen_end_line = 20
TABLES
t_outtab = <l_tab>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc = 0.
* Read the modified data
READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
* If the record is changed then track its index no.
* and populate it in an internal table for future
* action
IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
<dyn_wa> = <l_wa>.
i_index = rs_selfield-tabindex.
APPEND i_index.
ENDIF.
ENDIF.
ENDIF.
* When save button is pressed
WHEN 'SAVE'.
* Sort the index table
SORT i_index.
* Delete all duplicate records
DELETE ADJACENT DUPLICATES FROM i_index.
LOOP AT i_index.
* Find out the changes in the internal table
* and populate these changes in another internal table
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
IF sy-subrc = 0.
APPEND <dyn_wa> TO <dyn_tab_temp>.
ENDIF.
ENDLOOP.
* Lock the table
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc = 0.
* Modify the database table with these changes
MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
REFRESH <dyn_tab_temp>.
* Unlock the table
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table.
ENDIF.
ENDCASE.
rs_selfield-refresh = 'X'.
ENDFORM. "user_command -
Alright, I have been through the entire board and found bit and pieces here and there on how to do this, but I am not satisfied with the results. Answers to these questions will dictate whether we use this product or not.
1) The QBE solution is great for the above EXCEPT I am unable (it seems) to make updates to the form portion of the Report/Form combination. I need to be able to lock off certain fields and disallow certain functions. Other's have asked whether this can be done. No answers issued forth.
Is there some way short of hacking into the PL/SQL code of updating the form on a wizard created QBE?
2) I was able to create my own report, link (via link object) to a custom form (update the form as I needed). Now I would like my users not to have to hit the query button (which is absurd in this case because they already have the proper record displayed). So I need to open the form in "update" mode. I have seen some different approaches to this on the board, and all kinds of code, but is there a simple way to do this (preferably from the tool, not hacking code)?
I see the code in the various posting (including the FAQ), the question is where I put in in the context of my link from report to form (if it is in the native pl/sql, this is not an answer because we will not go that route; having code blown away by the tool and have to be reentered. It goes in in the context of the tool or we don't use the tool).
Also, is there a way to utilize the "close" button from the QBE that so nicely takes you back to the report and does a refresh?
This is the simplest app I could dream up to test this product and it looks like it falls short.
In summation:
1) Generate a report. (yes)
2) Link to form (yes)
2a) Link direct to record (no query click) (no, without hacking)
3) update the form (yes, if after query click)
4) Jump back to report at spot where you left, do automatic refresh (just like QBE) (No, without hacking)
Again, this is the simplest and most common of apps, I cannot understand why it would be so hard to accomplish. What am I missing? Anybody on the board, please advise.
nullIf your report is created using ‘Reports From SQL Query’ then you can modify it using the following to achieve this:
1. Remove the link from ‘Column Formatting’ section of the report object.
2. In the SQL of the report , use custom link to the column where you want to provide link using the syntax
select a.empno,’‘||a.ename||’‘ ename_link,a.deptno
from scott.emp a
Order by a.empno
and the form will always open in ‘INSERT’ mode with passed values filled in.
Thanks
Krishnamurthy -
Can user update the 6i canned Reports output in any format?
Hi,
We are converting the existing 2.5 reports to 6i reports and our users requested a functionality to update the output of the canned reports. I can generate the output in PDF, RTF, HTML, XML from the developer and view it but cannot update the information. Another thing I notice that whenever report get generated to HTML format it doesn't pick up the images at all. Usually ant htm or html file we can update by opening up into word, but any thing generated from the reports are unable to openup in the word. The html tag just handles the text, no images.
In short, can u guide me to the right way so I can run the report and generate to any one Format and also user can update if they need to. Buying PDF reader(editable) is not an option.
Thanks in advancerun your report to RTF and use word to open them and change whatever you like.
-
Reconcilation Accounts are not updating in KE80 PCA-Report
Hi,
i have executed all balance carry forward to PCA transactions,Still the reconcilation accounts balances are not updating in the KE80-PCA report.I have maintained all reconcilation accounts in 3KEH transaction.Is this the reason,to not update the reconcilation balances in the PCA report?
Kindly advice me
Thanks
SupriyaHello,
There is no need to maintain the reconciliation accounts in 3KEH.
You only need to maintain the additional balance sheet accounts in 3KEH.
If you further interested to determine on various level, you can write the PCA determination in 3KEI
Please remove reconciliation accounts from 3KEH.
Execute F.5D (Balance Sheet Adjustment)
Execure 1KEH, 1KEK, 1KEI and 1KEJ reports. (Make sure that you have removed test runs)
Useful transaction code is KE5T, where you can see the difference between FI and PCA
Regards,
Ravi -
Safari 6.0 5, iCal, Software update, Dashboard have crash reports
Hallo!
Safari 6.0 5, iCal, Software update, Dashboard crashing on my MacBook Pro.
I have Mac Os X v10.7.5.
Should I post here all crash reports?
Thanks in advance.Hello ...
If Safari, iCal, Software Update, and Dashboard are all crashing, there's no need to post multiple crash reports. The startup disk may need repairing.
Launch Disk Utility located in HD > Applications > Utilities
Select the startup disk on the left then select the First Aid tab.
Click Verify Disk (not Verify Disk Permisions)
If repairs are necessary, restart your Mac while holding down the Command + R keys. Let go of the keys when you see the spinning progress indicator. You will see a window with the built-in utilities to repair the disk and reinstall OS X using OS X Recovery
Apple does recommend a high speed broadband internet connection for OS X Recovery.
Message was edited by: Carolyn Samit -
Update statement in After report trigger
Hi
I've written an update statement on a standard table to update one of its attributes in after report trigger.
And then commit.
I tried running the report without moving to reports top. The table was not updated.
What could have gone wrong?
Thanks
Regards
BalaKrishnaCould you provide the UPDATE statements?
-
Update database logon in reports using java
Please review the code below and let me know where did I go wrong! I am able to login to CMS and able to retrieve the list of reports. Now, I am trying to update the database credentials for a single report using java (My requirement is to update all 200 reports though!).
This is the 100th time I go this error message: Failed to open the connection.report.lib.ReportSDKServerException: Failed to open the connection.
I also wrote a sample java program which tries to connect to the sql server database with same login credentials - this works perfectly fine. But, if I use the same connection url, driver name and login credentials, this report fails to update for whatever reason. Please help me ASAP..Thanks!
import com.crystaldecisions.sdk.exception.*;
import com.crystaldecisions.sdk.framework.*;
import com.crystaldecisions.sdk.occa.infostore.*;
import com.crystaldecisions.sdk.occa.managedreports.*;
import com.crystaldecisions.sdk.occa.report.application.*;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import java.util.Iterator;
class ChangeDataSource {
public static void main(String args[]){
String cms = "134.X.X.X:6400";
String username = "Administrator";
String password = "";
String auth = "secEnterprise";
IEnterpriseSession enterpriseSession = null;
ISessionMgr sessionMgr = null;//CrystalEnterprise.getSessionMgr();
Exception failure = null;
boolean loggedIn = true;
ReportClientDocument clientDoc = null;
if (enterpriseSession == null)
try
sessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = sessionMgr.logon(username, password, cms, auth);
System.out.println("\nLOGIN SUCCESSFUL\n");
catch (Exception error)
loggedIn = false;
failure = error;
if (!loggedIn)
System.out.println("\nLOGIN FAILED\n");
else
// Query for the sample report from the Enterprise CMS.
try {
IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
IInfoObjects infoObjects = iStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_INSTANCE=0 AND SI_PARENT_FOLDER=771");
System.out.println("\ninfoObjects size = "+infoObjects.getResultSize());
IReportAppFactory reportAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportFactory");
IInfoObject infoObject = (IInfoObject)infoObjects.get(0);
clientDoc = new ReportClientDocument();
clientDoc = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
System.out.println("Report "+ infoObject.getTitle() +" Opened");
switch_tables(clientDoc.getDatabaseController());
}catch(ReportSDKException re){
re.printStackTrace();
}catch(SDKException re){
re.printStackTrace();
private static void switch_tables(DatabaseController databaseController) throws ReportSDKException {
//Declare the new connection properties that report's datasource will be switched to.
//NOTE: These are specific to using JDBC against a particular MS SQL Server database. Be sure to use the
//DisplayConnectionInfo sample to determine what your own connection properties need to be set to.
final String TABLE_NAME_QUALIFIER = "dbname.dbo.";
final String DATABASE_NAME = "dbname";
final String DBUSERNAME = "userid";
final String DBPASSWORD = "pword";
final String SERVERNAME = "134.X.X.X";
final String CONNECTION_URL = "jdbc:sqlserver://134.X.X.X:1433;DatabaseName=dbname";
final String DATABASE_CLASS_NAME = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
final String DATABASE_DLL = "crdb_jdbc.dll";
//Obtain collection of tables from this database controller.
Tables tables = databaseController.getDatabase().getTables();
System.out.println("\nTables size = "+tables.size());
//Set the datasource for all main report tables.
for (int i = 0; i < tables.size(); i++) {
//ITable currTable = tables.getTable(i);
ITable table = tables.getTable(i);
//Keep existing name and alias.
table.setName(table.getName());
table.setAlias(table.getAlias());
//System.out.println("Table Name = "+table.getName()+" Alias "+table.getAlias());
//Change properties that are different from the original datasource.
table.setQualifiedName(TABLE_NAME_QUALIFIER + table.getName());
System.out.println(table.getQualifiedName());
//Change connection information properties.
IConnectionInfo connectionInfo = null;
try{
connectionInfo = table.getConnectionInfo();
//System.out.println("conn info: "+connectionInfo);
}catch(Exception re) {
re.printStackTrace();
//Set new table connection property attributes.
PropertyBag propertyBag = new PropertyBag();
//Overwrite any existing properties with updated values.
propertyBag.put("Trusted_Connection", "false");
propertyBag.put("Connection URL", CONNECTION_URL);
propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
propertyBag.put("Server", SERVERNAME);
//propertyBag.put("Database Name", DATABASE_NAME);
propertyBag.put("Server Type", "JDBC (JNDI)");
//propertyBag.put("URI", null);
propertyBag.put("Use JDBC", "true");
propertyBag.put("Database DLL", DATABASE_DLL);
connectionInfo.setAttributes(propertyBag);
System.out.println("\n Properties SET\n");
//Set database username and password.
//NOTE: Even if these the username and password properties don't change when switching databases, the
//database password is *not* saved in the report and must be set at runtime if the database is secured.
connectionInfo.setUserName(DBUSERNAME);
connectionInfo.setPassword(DBPASSWORD);
connectionInfo.setKind(ConnectionInfoKind.SQL);
table.setConnectionInfo(connectionInfo);
//Update old table in the report with the new table.
try {
databaseController.setTableLocation(table, tables.getTable(i));
}catch(ReportSDKException re) {
re.printStackTrace();
System.out.println("\n All tables updated\n");I have exactly same error. I can confirm that CRJavaHelper.changeDataSourceReportClientDocument clientDoc,
String reportName, String tableName,
String username, String password, String connectionURL,
String driverName,String jndiName)
has very slow performance.
Obviously the line:
clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
works very slow. I also have JDBC defined in report and also stored procedure, that returns recordset (cursor) in 0.48 sec.
I am using CR Reports Server XI R2 and custom JAVA client program that renders report to pdf.
Lines from java program:
rpt = new ReportClientDocument();
String report = "C:
temp
CrystalReport1.rpt";
rpt.open(report, com.crystaldecisions.sdk.occa.report.application.OpenReportOptions._openAsReadOnly);
CRJavaHelper.changeDataSource(rpt, "The specified item was not found.", "", "jdbc:oracle:thin:@oratest:1521:oratest","oracle.jdbc.driver.OracleDriver", "");
CRJavaHelper.addDiscreteParameterValue(rpt, "", "P_INET_ID", id);
rpt.refreshReportDocument();
PDFExportFormatOptions pdfOptions = new PDFExportFormatOptions();
ExportOptions exportOptions = new ExportOptions();
exportOptions.setExportFormatType(ReportExportFormat.PDF);
exportOptions.setFormatOptions(pdfOptions);
InputStream is = rpt.getPrintOutputController().export(exportOptions); -
Trigger on RCV_SHIPMENT_HEADERS while Receipt Updation in Put Away Report
Hi,
I am working on PUT Away Label Report :
The process is follows:
When receipt is saved , a trigger will fire on RCV_SHIPMENT_HEADERS and in trigger a package will be called which in turn will submit the report for the receipt that is newly created.
The problem here is trigger is working fine when new receipt is created,But when receipt is updated using ADD to receipt option or In case of Internal sales order.The trigger is not firing as trigger is fired for every new insertion.
I am not able to find any column to know that receipt is updated and to track the quantity that is receipted recently . Since RCV_SHIPMENT_LINES table will have the track of the Total receipted quantity till date.
I am attaching the script of Trigger i am using for insertion.Please suggest me how to approach in this scenario.
Trigger that is used for new receipt insertion:
AFTER INSERT
ON rcv_shipment_headers
FOR EACH ROW
DECLARE
PRAGMA AUTONOMOUS_TRANSACTION;
l_request_id1 NUMBER;
BEGIN
BEGIN
If :NEW.RECEIPT_NUM IS NOT NULL
Then
l_request_id1 :=
fnd_request.submit_request ('XXINV',
'MTUPUTAWAY',
NULL,
:NEW.RECEIPT_NUM,
:new.SHIP_TO_ORG_ID
commit;
End If;
END;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
Thanks in advance,
Best Regards,
Maheshyou should post this question in the ebusiness-forum..
Maybe you are looking for
-
How can I get an invoice?
I've just transfered some money to my skype, but I need an invoice for the company. How can I request one? Thank you very much for your help in advance!
-
Removing AddressBar, StatusBar from Default Application Window
Hi, I want to hide address bar from default application window! This application would be triggered from a link in another (web dynpro / non-web dynpro) application. And user should not be able to see where he is gets navigated. So, is there anyway w
-
View Postings and Messages for Valuation and Translation
Hi Everyone, Inevitably after valuation (FAGL_FC_VAL) or translation (FAGL_FC_TRANS) is run at month-end and the user exits out of the transaction, questions arise as to how certain items were revalued or translated. What I'm trying to locate is if
-
Weblogic 8.1 SP4 on AIX Performance issues
We are currently facing big performance issues with our servers that are holding just a couple of applications. The server specs are: System Model: IBM,7040-681 Processor Type: PowerPC_POWER4 Number Of Processors: 2 Processor Clock Speed: 1500 MHz CP
-
Windows server 2008 sp2 andoracle database 10g r2
We have created a server with windows server 2008 sp2, installing various roles, active directory, domain, dhcp server, dns server, some others, and various functionalities, and all works fine. After all of this we are trying to install oracle databa