Twitter api using data pooling
Hi Team , I am planning to pool data from Twitter,Faceback. How to pool the data any API Available for this?
Hello Rajkumar,
Twitter do have an API (https://dev.twitter.com/docs/api/1.1), it requires OAuth though which Power Query AFAIK don't support (yet). See this thread for more info: http://social.technet.microsoft.com/Forums/sqlserver/en-US/6f51d906-294a-4eeb-8e52-10323ea3128c/power-query-and-twitter-api-11?forum=powerquery
Facebook has limited support through built-in functionality in Power Query. http://office.microsoft.com/en-001/excel-help/connect-to-facebook-HA104019831.aspx
Best regards,
Daniel
Similar Messages
-
Plsql client for twitter api (using oauth)
Hi,
I am probably being a bit optimistic, but does anybody have a plsql client for twitter that will allow me to post status updates from oracle? I found this http://somecodinghero.blogspot.com/2010/09/updating-twitter-from-database-using.html, but it doesn't work, simply giving me 401 Unauthorized whenver I try.
Make my day? Please?
Thanks
RalphSo.... Are you ready? Let's go.....
Twitter Part:
1. Acess https://dev.twitter.com
2. Login
3. Create New Application
4. Fill out the data requested by twitter(and create application).
5. Click button "Create my acess token".
6. Copy Consumer key ,Consumer secret ,Access token ,Access token secret to Notepad++(or elsewhere).
7. Click the Tab Settings, and change Application Type to "Read, Write and Access direct messages". click the "Update..."
After installing DB and verified that you have Java 1.5 in your local machine and downloaded twitter4j jar.
1. Open Jdeveloper(i'm working with 11.1.2.1.0)
2. Create a new Application. Create a java Class with:
package client;
import twitter4j.*;
import twitter4j.conf.ConfigurationBuilder;
public class TweetMeMan {
public static String sendTweet(String msg, String sOAuthConsumerKey, String sOAuthConsumerSecret, String sOAuthAccessToken, String sOAuthAccessTokenSecret ) {
String result = "Ok";
try {
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setOAuthConsumerKey(sOAuthConsumerKey);
cb.setOAuthConsumerSecret(sOAuthConsumerSecret);
cb.setOAuthAccessToken(sOAuthAccessToken);
cb.setOAuthAccessTokenSecret(sOAuthAccessTokenSecret);
TwitterFactory tf = new TwitterFactory(cb.build());
Twitter twitter = tf.getInstance();
Status status = twitter.updateStatus(msg);
System.out.println("Successfully updated the status to [" + status.getText() + "].");
} catch (Exception e) {
System.out.println("Error : " + e.getMessage());
result = e.getMessage();
return result;
}3. Click Project Settings and in Libraries add twitter4j(version).jar
4. Compile project. No errors? Nice.... Errors? Check the log and fix them ;)
5. Create a New Deployment Profile
5.1. Profle Type : Jar File
5.2 Deployment Profile Name : vrodriguestweet (in my case)
6. Deploy the vrodriguestweet (it will save de jar file in deploy folder)
7. Open command line (cmd.exe)
8. Write
loadjava -r -f -o -user vrodrigues/yourpaswword@YourDB your_location_of_the_jar_created_above\vrodriguestweet.jar9. Open Sqldeveloper(or sqlplus) and check if there is under Java this name exists : client/TweetMeMan
9.1 client is the java package i created the java file.
10. Now let's create the function:
CREATE FUNCTION letsTweetVR (p_message varchar2, p_OAuthConsumerKey varchar2, p_OAuthConsumerSecret varchar2, p_OAuthAccessToken varchar2, p_OAuthAccessTokenSecret varchar2 )
RETURN VARCHAR2
AS LANGUAGE JAVA
NAME 'client/TweetMeMan.sendTweet
(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) return java.lang.String'; 10.1. No errors? Amazing....keep going you are almost there...
11. Let's tweet:
BEGIN
DBMS_OUTPUT.PUT_LINE(letsTweetVR('Tweeting from database...Awesome, right?',
'your_OAuthConsumerKey',
' your_OAuthConsumerSecret',
'your_OAuthAccessToken',
'your_OAuthAccessTokenSecret')
END;Of course you can do this inside a package or passing the values from some interface.... And you can also do other things that twitter4j does... Like Search for Tweets and so on and so on. ;)
Did someone like this? Or i'm an idiot? : D
All credits goes to the developer of twitter4j....
P.S Remember that this is my first usage of java in DB...so if you can do better, please advise ;)
P.S.1. I will blog this with entire full steps.... just trying to get the time for it :/
https://lh6.googleusercontent.com/-ktXgF_N5rQU/Tz0hx8cEbgI/AAAAAAAAA-s/LOoTf_5pnd0/s864/twiiter.png
Edited by: Vitor Rodrigues on 16/Fev/2012 15:46 -
Return data is null while calling Exchange Online rest api using jquery on Chrome and Mozilla
Hi,
I am developing a SharePoint hosted app in which I am calling Exchange online rest api using basic authentication to get mail for the user. This works fine in IE but returns null data when opening in Chrome or Mozilla.
Is there something I am missing while making rest call to api?
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, AjeetHi,
This forum is to discuss problems of Office development such as VBA, VSTO, Apps for Office .etc. But I think your question is related to app for SharePoint. I suggest you posting it in
App for SharePoint forum for more efficient responses.
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Select table when import using Data Pump API
Hi,
Sorry for the trivial question, I export the data using Data Pump API, with "TABLE" mode.
So all tables will be exported in one .dmp file.
My question is, then how to import few tables only using Data Pump API?, how to define "TABLES" property like command line interface?
should I use DATA_FILTER procedures?, if yes how to do that?
Really thanks in advance
Regards,
KahlilHi,
You should be using metadata_filter procedure for the same.
eg:
dbms_datapump.metadata_filter
(handle1
,'NAME_EXPR'
,'IN (''TABLE1'', '"TABLE2'')'
{code}
Regards
Anurag -
When we are using Event pooling tables explicitly we have insert data into
hi all
i have read about event pooling table,
if we implement event pooling tables then explicitly we have insert table information (like product_dim) in event pooling table explicitly
suppose i have updated more then 5 tables in my database that time i have to enter(insert) 5 table information in event pooling table(Tables_nq_emt) in the back end
if so then what is the use of event pooling table???
this is event pooling table i have crated in back end
CREATE TABLE S_NQ_EPT (
UPDATE_TYPE DECIMAL(10,0) DEFAULT 1 NOT NULL,
UPDATE_TS DATE DEFAULT SYSDATE NOT NULL,
DATABASE_NAME VARCHAR2(120) NULL,
CATALOG_NAME VARCHAR2(120) NULL,
SCHEMA_NAME VARCHAR2(120) NULL,
TABLE_NAME VARCHAR2(120) NOT NULL,
OTHER_RESERVED VARCHAR2(120) DEFAULT NULL NULL
ThanksHi,
IF you are using event pooling then you should make use of triggres in database.Create a trigger 'after insert' on some major table which you think is gonna update after every etl load.As soon as some data is inserted into this table trigger will automatically insert a record in event pooling table and cache will be purged.I am not sure about the syntax of triggers.Please google it around.
If you are trying to purge cache through oDBC procdure then you need to create a shell script and based on whether ETL load has completed ,you need to execute this script.
regards,
Sandeep -
Data source for application using both pooled and non pooled connections
Hi guys.
I am integrating Oracle's connection pooling into an existing application that had formerly used dbConnectionBroker. It looks like this task should be quite straightforward. However, for consistency, I would also like to replace other Connection logic within the application to use Oracle classes. This will involve using OracleDataSource to obtain a Connection object. ( without pooling ).
So in this case, the application will use both pooled and non pooled Oracle connections. They will be connecting to the same database. The question I have is in regard to the use of data-sources.xml.
Are there any special considerations for the required attribute values within data-sources.xml under this scenario ?
Help will be greatly appreciated.
Regards.
Steve.Hi Steve -
It should be feasible for you to define a single datasource using multiple location entries to indicate what sort of pooling behaviour you wish to use.
If you lookup and use the "location" attribute, you will receive a javax.sql.DataSource object which will not provide connection pooling.
If you lookup and use the "ejb-location" attribute you will receive a DataSource object that will support connection pooling operations.
Note that this is using the emulated datasource approach, and transaction support is limited to a single resource (one database) for these datasources - you won't get 2PC support for transactions.
If you need a transaction to span two separate resources (ie two databases in same tx) then you will need to use the non-emulated datasource approach.
There is a chapter in the J2EE Services Guide which describes the datasource model we have with OC4J. This might provide you with some more useful information. See Chapter 11 - http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97690/ds3.htm#1004903
cheers
-steve- -
My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!
Hi,
You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
You can find a sample scripts if you google around.
What do you mean "how to map any API to our staging table" ?
You should do at least the following mapping (which column(s) in the staging table will provide these information):
- the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
- the value set values and description
Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do... -
SAPUI5 sending tweet using twitter API
Hello Experts,
I was wondering if i could simply tweet something from SAPUI5 directly onto twitter ?
I just want to have a textarea where i put in my tweet's text, and then i just push the button tweet.
Any of you have more information regarding this ?
Kind Regards,
BartHi,
you can use twitter API to create SAPUI5 application. you will find more information at Overview: Version 1.1 of the Twitter API | Twitter Developers
But it requires API key and OAuth access. earlier I developed few application based on JSON Rest APIs. you will find more info on this blog Creating SAPUI5 Applications based on Public JSON APIs or Web Services
also check this blog UI5 & Twitter - Designing the Solution from Gareth Ryan related to this subject.
Regards,
Chandra -
Twitter API and Edge Animate not working
Hi,
I have watched great video about using Twitter API in Edge Animate on Adobe TV and I thought I would give it a go.
I followed the steps and unfortunately it's not working for me.... Not even an error message when tested in a browser, nothing...
Here's my code for compositionReady:
try {
// Read tweets, set number of tweets to display
var 0 = { username: "adobeedge", count: 4};
var twitterUrl = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name="+o.username+"&count="+o.count;
// AJAX function for communicating to Twitter API
$.ajax( {url: twitterUrl, dataType: "jsonp"} )
.success(function(data) {
$.each(data, function(index, item) {
var itemRenderer = sym.createChildSymbol("itemRenderer", "tweetContainer");
itemRenderer.$("tweet").html( item.text );
itemRenderer.$("image").css("background-image", "url("+item.user.profile_image_url+")");
catch(error) {
alert("Error: "+error.toString());
Any suggestions?Please, could you replace "adobeedge" by "adobeanimate".
Before:
After:
try {
var o = { username: 'edgeanimate', count: 4 };
var twitterUrl = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name='+o.username+'&count='+o.count;
$.ajax({url: twitterUrl, dataType: 'jsonp'})
.success(function(data) {
$.each(data, function(index, item){
var itemRenderer = sym.createChildSymbol("itemRenderer", "tweetContainer");
itemRenderer.$('tweet').html( item.text );
itemRenderer.$('image').css( "background-image", "url("+item.user.profile_image_url+")" );
itemRenderer.play( index * -100 );
catch(error) { alert("Error: "+error.toString()); } -
How to get useful data from request?
Hello.
I am looking for creating a management tool for a web site. All I want is that is there any ready to use API or package or open source project for retrieving user�s information? I just mean that is there any easy to use way in java to get useful data from a client (for example location, his or her system configuration and information �).
Thanks.If you dump all the data from request (see the javadoc, and especially the "header methods" ) you'll see the data you can get are quite simple.
The only thing you can try to rely on are ;
- the IP address from the sender (when reversed to DNS, you can sometime use the tld to locate the country it comes from. Yet, you'll get many .com name, so it's not that significant. it may also give you the IAP used). Note that if the user is using a proxy, it's the proxy IP that you'll collect
- the User-Agent header : from this, you can guess the OS and the browser used
- the Referer header : usefull to get where your user comes from (where they found a link to your site)
- the Cookie header : if you're using a servlet container with session id stored in cookie, you should see the Cookie header appear on the second request to your site. That helps finding out wether your user accep cookie or not (from a server point).
Besides these, i don't think you can get any other useful data without asking your users on a form. Note that it's the client that decides to send Referer, User-Agent or Cookie headers. Those are not mandatory to the Http Protocole and some browser allow their user to fool their content (butmore than 90% of the widespread browsers don't) -
I am really having problem controlling the data usage. It seems that iPhone 5c and 5s both use data when wifi is available. And plus, the data seems to be dumped all at once every 6 hours most of the time. I know I am neither uploading nor downloading 140MB over data at 7am. DOes anyone know how to control this?
I switched off almost all background data usage (except messages). I am not on facebook etc. What is going on?Thanks for trying Jay's suggestion, zole. The iPhone should still be able to use WiFi to send and receive iMessages. By design though, Apple devices will turn off WiFi when the phone goes dormant (screen turns off) so if you are in the midst of downloading something or a new message comes in, the phone will be using the available mobile data by default. You can turn cellular data on or off for individual applications http://vz.to/1IuZJIM instead of completely shutting off the cellular data. In that same section, you can see what applications may be using more cellular data than others to go into that specific app for settings (for example, if Facebook is using a lot of data, go into the application's settings and make sure the video autoplay is turned to WiFi only).
JenniferH_VZW
Follow us on Twitter www.twitter.com/vzwsupport -
Error while invoking custom API using Database Adapter
Hi,
I've a requirement where in I need to fetch the data returned by a recordtype of a custom API. I've implemented this by invoking the custom API using Database Adapter. I'm facing a problem while performing this.
The custom API holds the signature as:
PROCEDURE EMP_DET
Argument Name Type In/Out Default?
P_DEPTNO NUMBER IN
L_LINE_TBL TABLE OF RECORD OUT
I've a schema with which it needs to be validated. It looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:po="http://www.mycompany.com/ns/sales" targetNamespace="http://www.mycompany.com/ns/sales" elementFormDefault="qualified">
<element name="EmployeeDetails">
<complexType>
<sequence>
<element name="EmpNo" type="integer"/> <element name="EName" type="string"/> <element name="Job" type="string"/> <element name="Mgr" type="integer"/> <element name="HireDate" type="date"/> <element name="Sal" type="decimal"/> <element name="Comm" type="decimal"/> </sequence>
</complexType>
</element>
</schema>
I did a transformation to the above stated Emp.xsd with the xsd created for my custom API by the BPEL process. I could create the process and deploy successfully, but while invoking I get the following error. (I'm using BPM 10.1.3.1 with JDev 10.1.3.1)
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>6502</code>
</part><part name="summary"><summary>file:/D:/OraBPEL/bpel/domains/default/tmp/.bpel_my_poc_1.0_16c5d0f7b937c780d27d8975726a15cb.tmp/emp_details.wsdl [ emp_details_ptt::emp_details(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'emp_details' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the SCOTT.BPEL_EMP_DETAILS.EMP_PKG$EMP_DET API. Cause: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
[Caused by: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
; nested exception is:
ORABPEL-11811
Error while trying to prepare and execute an API.
An error occurred while preparing and executing the SCOTT.BPEL_EMP_DETAILS.EMP_PKG$EMP_DET API. Cause: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
[Caused by: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
</summary>
</part><part name="detail"><detail>
Internal Exception: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at "SCOTT.BPEL_EMP_DETAILS", line 1
ORA-06512: at line 1
Error Code: 6502</detail>
</part></remoteFault>
Can someone let me know as to why I'm getting this error? Also lemme know if such an approach is valid to do, if not please suggest me alternate methods to do this.
Thanks in advance,
GayathriThe 'numeric or value error' is one we have seen many times. The problem has been identified and fixed. Refer to this thread for more information.
Issue with DB Adapter - ORABPEL-11811 -
How to update field values in a database table using module pool prg?
hi
how to update field values in a database table using module pool prg?
we created a customized table, and we put 2 push buttons in screen painter update and display.
but update is not working?
data is enter into screen fields and to internal table, but it is not updated in database table.
thanks in adv
vidyaHI,
we already used the update statement. but its not working.
plz check this.
*& Module Pool ZCUST_CALL_REC
PROGRAM ZCUST_CALL_REC.
TABLES: ZCUST_CALL_REC,ZREMARKS.
data: v_kun_low like ZCUST_CALL_REC-kunnr ,
v_kun_high like ZCUST_CALL_REC-kunnr,
v_bud_low like ZCUST_CALL_REC-budat,
v_bud_high like ZCUST_CALL_REC-budat.
ranges r_kunnr for ZCUST_CALL_REC-kunnr .
ranges r_budat for zcust_call_rec-budat.
DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
*data:begin of itab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of itab.
*data:begin of Jtab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of Jtab.
CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
*start-of-selection.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'ENQUIRY'.
perform multiple_selection.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9001'.
WHEN 'UPDATE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
perform update on commit.
WHEN 'DELETE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE USER_COMMAND_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
endcase.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Module STATUS_9001 OUTPUT
text
MODULE STATUS_9001 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9002 INPUT
text
module USER_COMMAND_9002 input.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'UPDATE'.
perform move_data.
UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
ENDIF.
WHEN 'DELETE'.
perform move_data.
DELETE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
ENDIF.
endcase.
endmodule. " USER_COMMAND_9002 INPUT
*& Module STATUS_9002 OUTPUT
text
module STATUS_9002 output.
SET PF-STATUS 'ZCUSTOMER1'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_9002 OUTPUT
*& Module update_table OUTPUT
text
module update_table output.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
endmodule. " update_table OUTPUT
***Selection Data
FORM SELECT_DATA.
SELECT mandt kunnr budat code remarks FROM zcust_call_rec INTO
table itab
WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
ENDFORM.
****append vendor code
FORM APPEND_CUSTOMER_CODE.
clear r_kunnr.
clear itab.
clear r_budat.
refresh r_kunnr.
refresh itab.
refresh r_kunnr.
IF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_high
IMPORTING
OUTPUT = r_kunnr-high.
r_kunnr-option = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
CALL SCREEN '9000'.
ENDIF.
PERFORM V_BUDAT.
ENDIF.
ENDFORM.
FORM V_BUDAT.
IF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'BT'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-HIGH = v_bud_HIGH.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
CALL SCREEN '9000'.
r_budat-low = ''.
r_budat-option = ''.
r_budat-sign = ''.
ENDIF.
ENDIF.
ENDFORM.
*& Form update
text
--> p1 text
<-- p2 text
form update .
commit work.
endform. " update
*& Form move_data
text
--> p1 text
<-- p2 text
form move_data .
clear itab.
refresh itab.
move-corresponding zcust_call_rec to itab.
MOVE ZCUST_CALL_REC-MANDT TO ITAB-MANDT.
MOVE ZCUST_CALL_REC-KUNNR TO ITAB-KUNNR.
MOVE ZCUST_CALL_REC-BUDAT TO ITAB-BUDAT.
MOVE ZCUST_CALL_REC-CODE TO ITAB-CODE.
MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
APPEND ITAB.
delete itab where kunnr is initial.
endform. " move_data
thanks in adv
vidya -
Using Oracle pooling in 10.2 with ingres datasource
Hi;
I'm trying to use Oracle Pooling in 10.2 using OracleConnectionCacheManager class with ingres database.
I got the following exception:
java.sql.SQLException: Invalid Oracle URL specified
The URL i'm using is:
jdbc:edbc://HOST:TM7/DATABASE
When i'm using the same URL with Class.forname() it's working fine!
I don't know what i'm missing.
Any Help?
Thanks in advance.yes we have a standalone version of 10g being converted to RAC mode..
old version
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
converted to
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
i understand the binaries would be different, but are the libraries different too? -
HTML tags not displayed when using Data Template
Hi All...
I'm developing a BI Publisher report in which one of the columns is a clob data type. I'm using an xsl stylesheet to format the data present in the clob column.
I've developed the report using data template as the data set. The problem is the clob column which has the HTML tags where not displayed properly...for example
the tag starting with
<
is replaced with
& lt;
I did a couple of searches in this forum and in tim's blog but couldn't find a proper solution...
http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
API and HTML Formated Content
Re: Problem with text data elements containing escaped HTML codes
HTML Output from CDATA
Re: HTML formatted output
Re: Special characters in CLOB are making report fail
Re: Formatting of HTML tag problem
I'm using BI Publisher standalone:Release 10.1.3.2. In one of the threads..
Re: Special characters in CLOB are making report fail
I came to know that data template cannot generate proper HTML tags for release 10.1.3.2. Is there any work around way to get the proper HTML tags when data template is used as a data set?
Thanks in Advance...
Edited by: user10280715 on Dec 9, 2008 3:13 PMIssue could be with the data that is selected in the other environment. It generally happens that the ALV will not give the same results as in the DEV in the other systems.
Possible errors could be the control break statements in the loop...endloop block. validate the correctness of the control break stmts if any.
Maybe you are looking for
-
Execute Query in different Window
I want to execute query on block which is placed in different windows. I create two different windows A1 and B1 I want to execute Query on B1 while my cursor is on A1 and based on A1.item1.
-
A Balloon window pops up before Minefield opens. I have to "X" it of "OK" it 3-4 times then Minefield opens.
-
Problem with the flex and the webservice
Hey everyone, I have a problem with flex; I declared a web service ( that I test it and it works ) inside flex and declared also the operation. But it seems that flex doesn't recognize the web method so when i use something like ws.Getheader.send() i
-
I've read that Adobe Camera Raw (ACR) does a very good job of removing chromatic aberration artifacts. I do believe that, but what specifically in ACR is the tools / sliders that will do this magic ?
-
Help with iMessage for iPod touch. Please & Thank you!
Well I recently updated to the ios5 for my iPod Touch 4G yesterday. I wanted to try out the iMessage but it keeps telling me "Could not sign in. Please check your network and try again." I'm in a wireless hotspot and have wi-fi connection. So why doe