Call view from one DC to anothe Dc
Hi ,
How to access view from one DC to another DC.
Please give me details.
Thanks
Risha
go through this thread [Accessing one DC from Another|Re: interacting one DC with another DC]
nikhil
Similar Messages
-
Can anyone give me step by step for calling FM from one SAP to another SAP
can anyone give me step by step for calling FM from one SAP to another SAP
points will be rewarded,
thank you,
Regards,
Jagrut BharatKumar Shukla*& Report RFC_FOR_CUSTOMER_LIST
*& RFC to a Fn. module from another system which implements BAPI
REPORT rfc_for_customer_list.
DATA:
fl_status TYPE i.
DATA:
fs_message TYPE bapiret2.
DATA:
BEGIN OF fs_customers,
id TYPE s_customer,
name TYPE s_custname,
END OF fs_customers.
DATA:
t_customers LIKE
STANDARD TABLE
OF fs_customers.
CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
IMPORTING
return = fs_message
TABLES
customerlist = t_customers.
IF sy-subrc EQ 0.
fl_status = 1.
LOOP AT t_customers INTO fs_customers.
WRITE:
/10 fs_customers-id,
30 fs_customers-name.
AT LAST.
WRITE:
/,/5 'No of customers in R3N = ', sy-tabix.
ENDAT.
ENDLOOP.
ELSE.
MESSAGE 'RFC failed' TYPE 'S'.
EXIT.
ENDIF.
TOP-OF-PAGE EVENT *
TOP-OF-PAGE.
IF fl_status NE 0.
WRITE:
/12 'ID' COLOR 6,
32 'NAME' COLOR 6.
SKIP.
ENDIF.
This is one small example...
Regards,
Pavan -
Display views from one DC in another DC
hi,
I have 2 DCs. In the furst DC, I have a web dynpro component containing 2 views.
I want to display these views in one of the views of my second DC based on condition.
how to go about it ?
thanks!
seventyroshttp://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0ae5f90-1679-2c10-4183-8c64cf932088
it tells how to show the view from other dc in surrounding dc.
you just have to customize a little bit, in your case, you display the view directly.
in the doc, it is using navigation.
Edited by: John Wu on Oct 22, 2011 3:15 PM -
AJAX calling report from one page to another not Reseting Pagination
I have links on one page that when clicked are calling a report on another page and loading it in a DIV with AJAX. The problem I am having is that the reports on the 2nd page are built dynamicly depending on the link you click. If you are viewing lines 16-30 and go to a report that only has like 5 lines, you get the Need to Reset Pagination error.
Invalid set of rows requested, the source data of the report has been modified.Reset Pagination>
In the htmldb_Get line, I thought you could set it to reset pagination when it fires. The AJAX is below. Does the RP need to be somewere else? or am I just missing something...
function doReport(pC,pM) {
document.getElementById('report_drop').innerHTML = 'Loading Page...';
var tableRow = document.getElementById('reports');
tableRow.style.display = 'block';
var get = new htmldb_Get(null,$x('pFlowId').value,'RP',2);
get.add('P2_CODE',pC)
get.add('P2_MPC',pM);
gReturn = get.get(null,'<clip>','</clip>');
get = null;
$x('report_drop').innerHTML = gReturn;
init_htmlPPRReport($x('report_drop').getElementsByTagName('DIV')[0].id.replace('report',''));
return;
}So from what I understand the line below should be resetting this
var get = new htmldb_Get(null,$x('pFlowId').value,'RP',2); Edited by: Matt.Smith on Jul 18, 2011 12:08 PMHi,
Source setting for that form page item P1_COUNTRY is
Source Used:"Only when current value in the session state is null"
Source Type: Static Assignment.Since i build this form along with report.
Is im missing something.
Regards,
Mini -
Error while creating the view from one instance to another instance
Hi Experts
I want to Create a view which reside in one instance for example xxx Instance . I want to create the same view which reside in xxx instance to another instance for example YYY Instance How to acheive this ?
I tried desc the View take the view script from XXX instance and copied the view script to YYY instance when I compiled Iam getting an Error
For Example My view in XXX Instance
CREATE OR REPLACE FORCE VIEW xxx.sample
First_name,
last_name
as
select "F_NAME",
"L_NAME"
FROM EMP;When try to copy and compile the same view in my YYY Instance
i am getting error
ORA: table or view does not exist
Advance Thanks
ATA.T wrote:
Hi Experts ,
Thanks For all your valuable information I amTrying Of DB Link i think so
As per My understanding If wrong anywhere please advice me
Here Instance is Like : One DB 10g divided into several Instance like (test , devlopement , production Instance)
Now hope i ll make my req clear .
Coming to my reqirement
the actual table EMP is in xxi.TEST (Here xxi => Schema and test is an Instance )
I want to create the view which is based on by table EMP which in my test instance to devoplment instance
For example xxo.development (here xxo => Schema and development is an Instance )
Need to access the xxi schema in Test Instance How can I create a DB Link please share your ideas and advice me
Advance Thanks
ATIt's still not at all clear, but let me outline what I think you are after
Given a database, ORCL_A
In database ORCL_A we have a schema, HALFTRACK
User HALFTRACK has a table, MYSTUFF
Given a database, ORCL_B
In database ORCL_B we have a user GREENBRASS
User GREENBRASS needs to be able to query the table HALFTRACK.MYSTUFF.
In database ORCL_B, as user GREENBRASS
create database link mylink
connect to halftrack identified by halftracks_pswd
using ORCL_A;
select * from mytable@mylink;The db link defines a connection specification to ORCL_A, using the credentials of a user on ORCL_A. The target of the USING clause in the link definition must be an entry in the tnsames.ora file on the server hosting database ORCL_B.
When querying through the link, database ORCL_B is simply acting as a client to ORCL_A, no different that a sqlplus session on ORACL_B's server. As far as ORCL_A is concerned, ORCL_B is just another client requesting a connection, connecting with the credentials defined in the link definition. -
Copy Query View from one User to another User
Hi
I have a question that whether we can copy Query View created by an User to another User .
Please help me with some way of doing it.
Regards,
VimarshVimarsh,
Can the user not just eMail their view to their colleague?
Regards
Gill -
How to call repaint() from one panel for another panel
I have two classes (leftPanel and rightPanel), which extends JPanel. I have added these panels to the container of the JFrame. I have a JButton in my left leftPanel. When I click the button I want that the repaint method of rightPanel is called. Please tell me how to do that.
Ok, the reason it wasn't working is because the two classes don't have a reference to each other. They don't have anything in common at all. The only class hooking them together is the myFrame. Therefore, myFrame is the class that should be the communication link. I've added a few lines of code to myFrame, but didn't change the other classes. Now myFrame has an actionListener and it listens for the leftPanel.leftButton. When the leftButton fires, myFrame tells rightPanel to repaint. Another cool way would be to have an actionListener on rightPanel and register that with leftPanel when you instantiate them in myFrame.
GL
kimoS
import javax.swing.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.event.*;
import java.util.*;
public class myFrame extends JFrame implements ActionListener{
leftPanel left;
rightPanel right;
static int st=0;
myFrame(){
left=new leftPanel();
left.leftButton.addActionListener(this);
right=new rightPanel();
this.getContentPane().add(left,BorderLayout.WEST);
this.getContentPane().add(right,BorderLayout.CENTER);
public static void main(String args[]){
myFrame mf=new myFrame();
mf.setSize(500,500);
mf.setVisible(true);
public void actionPerformed(ActionEvent e){
right.repaint();
class leftPanel extends JPanel {
JButton leftButton;
leftPanel(){
leftButton=new JButton("leftButton");
this.add(leftButton);
leftButton.addActionListener(new leftButtonListener());
class leftButtonListener implements ActionListener{
public void actionPerformed(ActionEvent e){
myFrame.st=myFrame.st+1;
System.out.println("st value inside listener="+myFrame.st);
// ??? here I want to call repaint method of rightPanel
class rightPanel extends JPanel{
int flag=-1;
public void paintComponent(Graphics g) {
update(g);
public void update(Graphics g){
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.drawString("If " myFrame.st" increases then repaint() called on click of button",30,100);
flag=flag*(-1);
if(flag==1){
g2.drawString(" painting is working",100,200);
} -
We have a customer that has global layouts in their dev version of the web. When they want to start their prod version of P6 8.3 web, do the layouts come over with the data migration? Is there any documentation out there?
Thanks,
BobThat's in the client or professional. There is not a place to export layouts in the web.
-
Passing the values from one pgm to another pgm (Calling pgm has no sel scr)
Hi gurus,
In my requirement i need to pass the values from one program to another program.
I am using SUBMIT statement . But , the program which i am calling has no selection screen.
So how can i pass the values?
Please help me ASAP.
Regards,
Bhanu.RExport your internal tables or work areas to a memory id in ur program before u use submit.
Then in second pgm you have to import from memory id given above.
example.
EXPORT gs_header FROM gs_header to memory id 'HEADER'.
EXPORT gt_item FROM gt_item to memory id 'ITEM'.
SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.
In your second pgm you can write
import gs_header TO gs_header from MEMORY id 'HEADER'.
import gt_item TO gt_item from MEMORY id 'ITEM'. -
I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process. I have iTunes 11.0.1.12 on both computers so the help screenshots do not help as such
Then stop trying to use HomeShare and use one of the other options listed in the document from which your question was posted.
-
How can I make a Face Time call from one country to another( supporsing both parties using iphone 4s). What will be the caller charges. If there is no charges as we use wifi, will there be a charge till connecting the call?
FaceTime is free to use. You will not be charged for using FaceTime.
-
Calling a drawLine() from one class to another from an ActionEvent
I have several JPanel objects called and placed on a JFrame. The JFrame has a RadioButton group with radio buttons. If I select a radio button and call a drawLine() method from a JPanel, I receive a "NullPointerException". Is it not possible to call this graphic method from one class to another?
Thanks for any input you can provide.
JohnRemember that each panel draws it's own current state. So you need the ActionPerformed to change the state in your target panel.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
public class PanelComm extends JPanel {
private SubPanelOne subPanelOne = new SubPanelOne();
private SubPanelTwo subPanelTwo = new SubPanelTwo();
public class SubPanelOne extends JPanel {
public SubPanelOne () {
setLayout ( new BorderLayout() );
setBorder ( BorderFactory.createTitledBorder ( "SubPanel One" ) );
Reactor reactor = new Reactor();
ButtonGroup group = new ButtonGroup();
JPanel radioPanel = new JPanel(new GridLayout(0, 1));
JRadioButton buttonOne = new JRadioButton ( "One" );
buttonOne.addActionListener ( reactor );
group.add ( buttonOne );
radioPanel.add ( buttonOne );
JRadioButton buttonTwo = new JRadioButton ( "Two" );
buttonTwo.addActionListener ( reactor );
group.add ( buttonTwo );
radioPanel.add ( buttonTwo );
JRadioButton buttonThree = new JRadioButton ( "Three" );
buttonThree.addActionListener ( reactor );
group.add ( buttonThree );
radioPanel.add ( buttonThree );
add ( radioPanel ,BorderLayout.LINE_START );
protected void paintComponent ( Graphics _g ) {
super.paintComponent ( _g );
Graphics2D g = (Graphics2D)_g;
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
public class SubPanelTwo extends JPanel {
private JLabel text = new JLabel();
public SubPanelTwo () {
setLayout ( new BorderLayout() );
setBorder ( BorderFactory.createTitledBorder ( "SubPanel Two" ) );
text.setFont ( new Font ( "Verdana" ,Font.PLAIN ,30 ) );
text.setHorizontalAlignment ( JLabel.CENTER );
add ( text ,BorderLayout.CENTER );
protected void paintComponent ( Graphics _g ) {
super.paintComponent ( _g );
Graphics2D g = (Graphics2D)_g;
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
public void setChoice ( String cmd ) {
text.setText ( cmd );
public class Reactor implements ActionListener {
public void actionPerformed ( ActionEvent e ) {
subPanelTwo.setChoice ( e.getActionCommand() );
public PanelComm () {
setLayout ( new GridLayout ( 1 ,2 ) );
add ( subPanelOne );
add ( subPanelTwo );
// main
public static void main ( String[] args ) {
JFrame f = new JFrame ( "Panel Communication" );
f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
f.getContentPane().add ( new PanelComm() ,BorderLayout.CENTER );
f.setSize ( 320 ,120 );
f.setVisible ( true );
} // main
} -
What are the methods called while navigating from one applet to another one
Hi All,
Could any one brief me about "When you navigate from one applet to another what are the methods called ?".
Thanks in advance.
Best Regards,
N.Madhusudhanan.http://forum.java.sun.com/thread.jsp?forum=421&thread=426771&tstart=0&trange=100
-
Dear All,
Budget Data is copied from one Version to another Version using Tools>copy Version option. How can you view Data copied to new Version, when you receive a message Version is successfully copied.
I think we can do that by selecting appropriate version in the version dimension while accessing the Forms or in Smart View.
Can you please let me know how to do this or different options available with this process.
Thanks in Advance for your valuable time...A form to check the data with the correct POV, a Smart View query, excel addin retrieve, financial report, export data, report script, take your pick.
Cheers
John
http://john-goodwin.blogspot.com/ -
RFC Call from one server to another
Hi,
Is it possible to use an rfc from one server to another on the same network?
My Idea was that we can do so, however there's a little confusion about the same .
Please clarify.
Regards,
VikasHi,
call SE37 and search for RFC* with F4.
Sending system side(SEND--800)
Create function module by using Tcode SE37 or SE80
goto attributes select remote function
activate
Receiving system side(RECE--000)
goto Tcode SM59
here select the R/3 Connections-->click on Create Button
give RFC Desstination : TESTRFC
Connection Type : 3 for Connecting two systems
Description : Some meaningful Description
Press enter
give Target system Name : SEND
Language : EN
Client : 800
user Name : sapuser
Password : xxxxxx
save this connections & click on test connections(f8)
& Remote logon(f7)---> it will open a session
with client 800 that is your sending system
then only your RFC is correct
create a report in SE38 Tcode
data : c1 type i.
data : itab like mara occurs 0 with header line.
call function 'ZRFCFM' destination 'TESTRFC' --->Function Module 'ZRFCFM' your just create at Sending system
exporting
importing
exceptions
<b>Reward points</b>
Regards
Maybe you are looking for
-
Table for finding delivery date
hello all, i m making a report for which will display the delay in delivery per vendor wise, can anyone tell me that how can i determine the time/days delayed by vendor? i m trying to take diffrence betbeen delvery date in PO and date on which Delive
-
HI floks i did some development in new smartform its working fine but i have issue in data base performance is 76% . but i utilize similar below code with various conditions in various 12 places . is it possible to reduce performance this type of cod
-
How can i get getwayed url string using pluggable nav in news portlet?
hi. How can i get getwayed url string using pluggable nav in news portlet? A code just like below is what I want. <param value="param=http://.../portal/server.pt/gateway/PTARGS_.../http/..."> I tryed the following, but didn't work as I wanted. 1.<par
-
When scanning to file, I get this error message: an error occurred saving the images to the chosen location. Please make sure you have write permission in the chosen file location. Error 8, [ (2 106,0) ]. Have installed the latest drivers; set sha
-
I have just purchased a canon pima iX6550 . However I cannot locate the software or driver anywhere , including the installation disk . It keeps referring me to the manufacturer.