How to send data back to publishing stream
Hi,
Environment: ActionScript3.0, FMS, Flash Project created in Flash Develop
How to send data back to publishing stream? I need to send data back to publishing stream.
Using NetStream.send() we can send data to subscribers but is it possible to send data from subscriber back to publisher using any NetStream method.
One other solution to this is remoteSharedObject, but if it is possible with NetStream class then let me know.
Thanks
There are a number of ways to extract data from CRM On Demand including:
* Export - manual process, generate CSV file containing CRM On Demand data
* List/Analytics - manual process, export the contents of a report of list to a CSV
* Web Services - programmatic, develop an application that queries for data within CRMOD
* Integration Events - programmatic, use workflow to trigger event creation and then poll for events to know when an operation occurs on a record (i.e. Insert of new Account record)
As for getting that data into another system, that will depend on the system and the methods available for inserting data that it makes available.
Hope this helps.
Thanks,
Sean
Similar Messages
-
How to send data back to the server
i create a program to send data back to ther server using j2me.
its work well on emulator but when i install the application on sony ericsssin p910i or k700i or nokia 7710 then its not working and simply hang.
here is sample code which is run well on emulator but not on mobile.
what is the problem in that or how can this code run in mobile is there any mobile specific setting or internet setting.
Pls reply asap.
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* An example MIDlet to invoke a CGI script.
public class ThirdExample extends MIDlet {
private Display display;
// String url = "http://www.javacourses.com/cgi-bin/getgrade.cgi?idnum=182016";
String url = "http://sampler.infopro.stpn.soft.net/midletdata.asp?name=name";
public ThirdExample() {
display = Display.getDisplay(this);
* Initialization. Invoked when we activate the MIDlet.
public void startApp() {
try {
getGrade(url);
} catch (IOException e) {
System.out.println("IOException " + e);
e.printStackTrace();
* Pause, discontinue ....
public void pauseApp() {
* Destroy must cleanup everything.
public void destroyApp(boolean unconditional) {
* Retrieve a grade....
void getGrade(String url) throws IOException {
HttpConnection c = null;
InputStream is = null;
OutputStream os = null;
StringBuffer b = new StringBuffer();
TextBox t = null;
int x = 5, y =7;
try {
c = (HttpConnection)Connector.open(url);
c.setRequestMethod(HttpConnection.GET);
c.setRequestProperty("IF-Modified-Since", "10 Nov 2000 17:29:12 GMT");
c.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
c.setRequestProperty("Content-Language", "en-CA");
os = c.openOutputStream();
String str = "?idnum=182016";
byte postmsg[] = str.getBytes();
for(int i=0;i<postmsg.length;i++) {
os.writeByte(postmsg);
os.flush();
is = c.openDataInputStream();
int ch;
while ((ch = is.read()) != -1) {
b.append((char) ch);
System.out.println((char)ch);
t = new TextBox("Final Grades", b.toString(), 1024, 0);
} finally {
if(is!= null) {
is.close();
if(os != null) {
os.close();
if(c != null) {
c.close();
display.setCurrent(t);
}>i create a program to send data back to ther server using j2me.
its work well on emulator but when i install the application on sony ericsssin p910i or k700i or nokia 7710 then its not working and simply hang.
here is sample code which is run well on emulator but not on mobile.
what is the problem in that or how can this code run in mobile is there any mobile specific setting or internet setting.
Pls reply asap.
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* An example MIDlet to invoke a CGI script.
public class ThirdExample extends MIDlet {
private Display display;
// String url = "http://www.javacourses.com/cgi-bin/getgrade.cgi?idnum=182016";
String url = "http://sampler.infopro.stpn.soft.net/midletdata.asp?name=name";
public ThirdExample() {
display = Display.getDisplay(this);
* Initialization. Invoked when we activate the MIDlet.
public void startApp() {
try {
getGrade(url);
} catch (IOException e) {
System.out.println("IOException " + e);
e.printStackTrace();
* Pause, discontinue ....
public void pauseApp() {
* Destroy must cleanup everything.
public void destroyApp(boolean unconditional) {
* Retrieve a grade....
void getGrade(String url) throws IOException {
HttpConnection c = null;
InputStream is = null;
OutputStream os = null;
StringBuffer b = new StringBuffer();
TextBox t = null;
int x = 5, y =7;
try {
c = (HttpConnection)Connector.open(url);
c.setRequestMethod(HttpConnection.GET);
c.setRequestProperty("IF-Modified-Since", "10 Nov 2000 17:29:12 GMT");
c.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
c.setRequestProperty("Content-Language", "en-CA");
os = c.openOutputStream();
String str = "?idnum=182016";
byte postmsg[] = str.getBytes();
for(int i=0;i<postmsg.length;i++) {
os.writeByte(postmsg);
os.flush();
is = c.openDataInputStream();
int ch;
while ((ch = is.read()) != -1) {
b.append((char) ch);
System.out.println((char)ch);
t = new TextBox("Final Grades", b.toString(), 1024, 0);
} finally {
if(is!= null) {
is.close();
if(os != null) {
os.close();
if(c != null) {
c.close();
display.setCurrent(t);
}> -
Hi.
how to send data back to the server using J2ME or how to communicate with server using J2MEi am using http its work well on emulator but when i install the application on sony ericsssin p910i or k700i or nokia 7710 then its not working and simply hang.
here is sample code which is run well on emulator but not on mobile.
what is the problem in that or how can this code run in mobile is there any mobile specific setting or internet setting.
Pls reply asap.
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* An example MIDlet to invoke a CGI script.
public class ThirdExample extends MIDlet {
private Display display;
// String url = "http://www.javacourses.com/cgi-bin/getgrade.cgi?idnum=182016";
String url = "http://sampler.infopro.stpn.soft.net/midletdata.asp?name=name";
public ThirdExample() {
display = Display.getDisplay(this);
* Initialization. Invoked when we activate the MIDlet.
public void startApp() {
try {
getGrade(url);
} catch (IOException e) {
System.out.println("IOException " + e);
e.printStackTrace();
* Pause, discontinue ....
public void pauseApp() {
* Destroy must cleanup everything.
public void destroyApp(boolean unconditional) {
* Retrieve a grade....
void getGrade(String url) throws IOException {
HttpConnection c = null;
InputStream is = null;
OutputStream os = null;
StringBuffer b = new StringBuffer();
TextBox t = null;
int x = 5, y =7;
try {
c = (HttpConnection)Connector.open(url);
c.setRequestMethod(HttpConnection.GET);
c.setRequestProperty("IF-Modified-Since", "10 Nov 2000 17:29:12 GMT");
c.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
c.setRequestProperty("Content-Language", "en-CA");
os = c.openOutputStream();
String str = "?idnum=182016";
byte postmsg[] = str.getBytes();
for(int i=0;i<postmsg.length;i++) {
os.writeByte(postmsg);
os.flush();
is = c.openDataInputStream();
int ch;
while ((ch = is.read()) != -1) {
b.append((char) ch);
System.out.println((char)ch);
t = new TextBox("Final Grades", b.toString(), 1024, 0);
} finally {
if(is!= null) {
is.close();
if(os != null) {
os.close();
if(c != null) {
c.close();
display.setCurrent(t); -
Sending Data Through a Output Stream...
Hello,
I am writing a program that works on a network...a server is running and client will connect to the server and send specific data for the server to complete transactions on.
The transactions that are mainly seen are SQL SELECT statements and as you can imagine a statement could bring back many records.
At present I have been able to send specific data through streams and have turned this into parameters on the server side and performed SQL. What I need help with or suggestions on is how to get the data back to the client. In some cases it may need to be displayed on screen or just used for further processing?
Please let me know if this is not 100% clear.
Thanks,
PIf you are able to send data over a network, then I assume that you know how to do network programming in Java, as well as knowing SQL.
Java has JDBC - Java DataBase Connectivity API that supports your requirements in full.
If you require a custom solution, then you need to be able to read data back from the server - when the server returns the ResultSet back to the client.
A Socket object has both input and output streams. Seems that you know about the output stream, do you not know about the input stream?
If the server is setup to send data back to the client over the same socket, then you should simply be able to read the results back from the socket's input stream. -
How to send data to RFC Destination(RFC SENDER Adapter)
Hi ,
Scenario: R/3 Backendà RFC Sender Adapterà XIàsome other system.
I have configured the RFC destination (of the type TCP/IP) at R/3 System and have registered the Program ID (specified in the RFC destination) in the XI server and using it in the configuration parameters of the RFC Sender Adapter.
Problem: I do not know how I can send data to the RFC destination. (Should I use a report program/ ABAP Function Module?) Can anybody provide me with a sample code of Report Program/Function module (whichever is required), how to send data to the RFC Destination, so that it may be picked up by my RFC Sender Adapter.
Thanks and Regards,
Siva MarananiI have one query for you that
I am trying to develop a scenario in SAP XI
SAP R/3 ( RFC function module) sends a synchronous request to the XI and SAP XI will send this request to a third party web application using HTTP receiver adapter.
I am able to send the data/message and it is successfully received at the third party web application.
But I am facing one issue that I am unable to receive any message/data in my RFC module back.i have seen in sxmb_moni that the two messages are displayed in successfuly processed but in SAP R/3 side nothing get happedned
Can you tell me how to use some waiting mechanism in function module to wait for the response from SAP XI.
Regards
Gopesh -
HOW TO SEND XML BACK TO PRINT? (See Inside thread for more info)
Hello Everybody,
Because there is not a lot of documentation on if_fp and if_fp_pdf_object
I found out that i can retrive my PDF from the ADS with the following code:
data:
lo_fp TYPE REF TO if_fp ,
lo_pdfobj TYPE REF TO if_fp_pdf_object,
pdf_xstring TYPE xstring,
xml_data TYPE xstring,
lv_xml_data_string TYPE string.
Get FP reference
lo_fp = cl_fp=>get_reference( ).
Create PDF Object using destination 'ADS' (<-- this is how it is defined in SM59)
lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
set document
lo_pdfobj->set_document(
EXPORTING
pdfdata = fp_formoutput-pdf ). " fp_formoutput-pdf is of type xstring
Tell PDF object to extract data
lo_pdfobj->set_extractdata( )." obsolate!!!
call METHOD lo_pdfobj->set_task_extractdata( ).
Execute the call to ADS
lo_pdfobj->execute( ).
lo_pdfobj->get_data(
IMPORTING
formdata = xml_data ).
After this i can manipulate xml_data but dont know how to send it back to print...
Can you direct me to the solution please?
Thank you in advance,
Eran Fox
p.s.:
Component version SAP ECC 6.0
Unicode System No
Database system ORACLE
Release 10.2.0.2.0
Kernel release 700Hi Billy
Yikes - how embarassing ! Thanks for pointing out my beginners mistake there. I've fixed my code - and also implemented the substitutions of parameters like you suggested - I like that approach.
Unfortunately the end result is no better - the line
utl_http.read_text(resp,response_text);
Still returns nothing back
The headers that are coming back are
Date: Thu, 04 Jul 2013 08:31:56 GMT
Server: Apache/2.2.16 (Ubuntu)
X-Powered-By: PHP/5.3.3-1ubuntu9.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Connection: close
I guess I will need to try chasing it with the fastsms vendor so see if they can check my incoming request and see if there are any glaring problems. I know the xml is correct as I am now logging the xml string just before I send it and when I take that string and put it in their test form it works perfectly - something else in the puzzle is missing. I've had no experience using utl_http before - perhaps it's no possible to read the xml repsonse using this ?
Anyway, thanks for your help Billy.
ps - How do you paste your code into your message to get that formatting ?
Cheers,
Brent -
How to send data from internal table to the shared folder in ABAP
Hi experts,
My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is "
xxx\y\z....".
I do not have any idea on how to send data from internal table to the shared folder path.
can anybody please help me out how to do this?
Thanks & Regards
Sireesha.Where that folder is located, its on presentation server i.e. desktop or application server.
If its on presentation server, use FM GUI_UPLOAD.
If its on application server, then use DATASET functions. Have a look at below link.
[File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
I hope it helps.
Thanks,
Vibha
Please mark all the useful answers -
How to send data to bam data object through java code
how to send data to bam data object through java code
I've made a suggestion in other thread: https://forums.oracle.com/thread/2560276
You can invoke BAM Webservices (Using Oracle BAM Web Services) or use JMS integration using Enterprise Message Sources (http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bam_ent_msg_sources.htm)
Regards
Luis Fernando Heckler -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
How to send Earphones back to Apple(Warranty)??
Hi, i got a problem with my earphone.
my left earphone was garbled so i went to this website and ordered new ones for free(I still have warranty). Everything is fine so far, I got the new earphones and they work, but I don't know how to send the broken ones back. Apple said that I would get instructions how to send them back, but i didnt get any, only a letter that I dont have to pay anything because of my warranty.
So now Im trying to find out if the carrier matters and what carrier it is. I really dont know what to do. My repair status number is D10792823.
Im really mad right now because if I dont get my earphones sent to Apple I have to pay a $29 non-return fee.
Hope somebody can help me.
Marcel
(Sry for my post in the others thread, I didnt know how to open a new thread)If you need to send them back, there will be shipping label under the one that shipped them to your house. Peel off the top label.
You would use the same carrier.
Everything is already paid for so don't fill out new forms and don't pay anything.
You can go here -> https://support.apple.com/repairstatus/Main
and check on the status. It should show Awaiting customer return (or something similar) if they want them back.
If in doubt, call 1-800-myapple. -
How do I get back my photo stream pictures which I accidently deleted
how do I get back my photo stream pictures which I accidently deleted? I cant remember whether I have back up or not.
If they aren't in Photos>Photo Stream, then they are deleted and cannot be recovered. Try restoring from a recent backup that has those photos.
-
APO/BW: How to get back from APO to BW/ How the send data from BW to APO
Hi,
1. I read that BW is the data layer for APO DP and therefore, I expected data to flow from BW, the data layer, to APO DP but not the reverse. Yet, I also read that data can be transferred from Livecache back to BW by using the extractor technology from BW. Can you clarify this for me?
2. If possible, please provide the steps to use this extractor technology to extract data back to BW in detail so that I can try it.
ThanksHi Amanda,
1. The data flow is from BW to APO, and from APO to BW.
from bw to apo, to feed planning area, characteristic value combination, in APO we have infocube to feed the data, as we know APO has BW inside (all the tcodes RSA1 etc are valid), datamart scenario is used here, we create infocube in APO, update rules, infosource and assign datasource from BW.
The data flow from APO to BW, to get the plan data inputted by user, we generate datasource in APO from planning area (compare with 'generate export datasource' from infocube), transaction /SAPAPO/SDP_EXTR. 'extractor technology' here in practice is just like when we are using datasource
take a look
http://help.sap.com/saphelp_scm50/helpdata/en/c9/199170f13711d4b2f20050da385632/frameset.htm
2. as mentioned in #1, you can use the transaction /SAPAPO//SAPAPO/SDP_EXTR to handle planning area-datasources in APO, or /SAPAPO/MSDP_ADMIN - planning area; choose your planning area, and menu extractor tools (or generate datasources), again datamart scenario is used here, after the datasource generated in APO, it's replicated in BW (APO act as source system), the rest steps are just same as when extract data from other SAP source system
simply what you need to practice is /SAPAPO/SDP_EXTR to 'generate export datasource', the rest steps should be familiar already for you
check
http://help.sap.com/saphelp_scm50/helpdata/en/8f/9d6937089c2556e10000009b38f889/frameset.htm
http://help.sap.com/saphelp_scm50/helpdata/en/e0/9088392b385f6be10000000a11402f/frameset.htm
hope this helps. -
PDF form sending data back as FDF
Hi there,
I created a pdf from a Indesign doc and opened it in acrobat 9 to use form wizard, I successfully managed to save and send the pdf from my mac to my partners pc. He was able to fill in the form but when clicking the submit by email button it was only sending me back the FDF file. I checked my settings on the submit button but had checked the box for 'PDF the whole document'. I had notes from an earlier version of acrobat and it stated that after I have created the form and saved the mailto button etc, under 'advanced' I should click on 'Enable usage rights in Adobe Reader'. Yet I could not find this so I tried 'Extend features in Adobe Reader' but this stills sends me back the FDF file which I cannot access the data from.
Ideally I would like the pdf to come back rather than the FDF is there any way this can happen?
KirstySorry, but I am a little confused.
Let me give you a scenario.
The user clicks the button on the JSP it sends the primary key value or user id to the servlet.
The servlet calls my session entity beans and returns data base on that call.
At that point the servlet has the data. Even if I set it in the session object in the servlet, I will have to populate the jsp how?
Do I set the values on the jsp from the servlet or within the jsp itself? Use setparameter, setattribute?
The button click starts it all off, but when the servlet is done processing, will I need to detect some other event in the jsp if I want to to populate the fields from within the jsp?
In other words, if I put code in the jsp to populate the text fields after the servlet is finished executing, what triggers the code ((YourObject) request.getSession().getAttribute("your key")) to process inside jsp?
I am making sense. -
How to get data back from an action ?
Hello,
Would it be possible to get data back from an action (out of the question EO_MESSAGE & ET_FAILED_KEY )?
For example we got an order with order positions and we need a "function" to e.g. count all positions. Because of Performance the function should not be processed each time the order is changed, read or a position is added. Instead the function should be processed only if it was called explicitly.
Is it possible to create a kind of action which is actually counting all entries and export the number of them?
How to mark a parameter in is_parameters as exporting?
Is this just done by (naming-) convention?
What is the preferred way to have “methods” with returning/exporting values?
Regards,
LorenzHello Lorenz,
As you have already figured out , the Action API provides you with only the messages and failed keys if any.
Post action execution , you can always execute a retrieve or retrive by association , to get the latest buffer snapshot , which of course would include the changes that you have made in your action.
If you want to ensure that users have explict control on execution of your "fucntion", then of course , you should model it as an action on the BO.
The parameter is_parameters is an IMPORTING parameter. You CANNOT use it to export anything back from the action. For importing , you can of course have any structure to use as the is_paramaters , which you model as the action parameter structure which modelling your BO action.
From an external entity the only way to interact with a BO is by consuming the BO services and you are bound by the BOBF standard interfaces. Any and all data you require needs to be modelled as node attributes ( persistent or transient ) and fetched using the RETRIEVE, RETRIEVE_BY_ASSOCIATION or QUERY services.
Regards,
Indranil. -
How to send data using serial Communication
I want to make serial communication using RXTXcomm.jar file.I was written the code.From this I got the list of serial ports avilable on pc but then after when I was tring to send command to machine which is attached to port it didn't gave any reply.
Tell me that how to send command to port?This is how I do it:// open port, get ownership
SerialPort serialPort= (SerialPort)portId.open(APPLICATIONNAME, timeout);
// no framing and no threshold
serialPort.disableReceiveFraming();
serialPort.disableReceiveThreshold();
// communication speed, parity, stopbits and databits
serialPort.setSerialPortParams(BAUDRATE, SerialPort.DATABITS_8,
SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
// no handshaking or other flow control
serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_NONE);
// timer on any read of the serial port
serialPort.enableReceiveTimeout(TIMEOUT);
// open streams for reading and writing
InputStream is= serialPort.getInputStream();
OutputStream os= serialPort.getOutputStream();... then you use the 'os' stream for writing and the 'is' stream for reading.
kind regards,
Jos
Maybe you are looking for
-
This problem occurred in the last few weeks and is a real downer for me because I like apple products but if I can't use wifi then I can't do my work or use much data Any possible solutions will help. Thanks
-
ORDER BY ON INDEX COLUMN IS TAKING MORE TIME
Hi, The following SQL query when executed with ORDER BY is taking 3 mins. If we remove ORDER BY it is taking 32 secs. We have an index on ID which is used in ORDER BY clause. Can any one tell us what could be wrong? My assumption is ORDER BY on an in
-
ConcurrentModificationException in MSS approval view
I have tried to configure Approval by Manager FPM application of MSS , I tried to remove the drill down step and make an individual approve step the first step. There was no success.And after I have returned all the configuration of this FPM applicat
-
I answered my security questions a few years back, does it matter if answers are capped or not? Thought the answers were correct.
-
Automatically scrolling to an item in a JList
Hi all, i have several jlists with about 30 - 50 items and i would like to take the user directly to an item in the list as he enters characters that match a list item. Are there any existing interfaces with this behaviour? If not, has anyone written