How to use same jco destinations for two DCS

Hi,
    I have a scenario where two dcs are using the same function module so i have a doubt that can we make jco destinations different for two dcs or not,plz help me
Thanks,
Santhosh.

Vanama
JCO Destination names are associated with models and not DCs. You can use same or different JCO destination names across different models.
Typically if you are using a common set of function modules(RFCs) you might decide to create one or more model (each model consisting of logically related RFCs)in one DC and use it accross different DCs(By declaring the usage of the DC in other DC and declaring model usage in a particular component). This not only will save build time during design process, but will also bring in modularity and reusability. But its purely a design decision you need to make based on your requirement.
kk

Similar Messages

  • How to use same RESULT SET for two different events

    hello friends,
    I need to use same result set for two different events. How to do it.
    here My code,
    private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {
    // TODO add your handling code here:
    try
    String selstate,selitem;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:tourismdatasource","sa","");
    selstate="select * from tab_places where state=?";
    PreparedStatement ps=con.prepareStatement(selstate);
    ps.setString(1, jComboBox1.getSelectedItem().toString().trim());
    ResultSet rs=ps.executeQuery();
    if(rs.next())
    jTextField1.setText(rs.getString("place_ID"));
    jTextField2.setText(rs.getString("place_name"));
    jTextField3.setText(rs.getString("category"));
    byte[] ba;
    ba=rs.getBytes("image");
    ImageIcon ic = new ImageIcon(ba);
    jLabel6.setIcon(ic);
    in=true;
    catch(ClassNotFoundException cfe){JOptionPane.showMessageDialog(null, cfe.getMessage());}
    catch(SQLException sqe){JOptionPane.showMessageDialog(null,sqe.getMessage());}
    Now i need the same Result Set(rs), in another event(jButton6ActionPerformed),
    private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
    }  how do i get dat resultset,
    help me out

    One post wasn't enough?
    {color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5246634{color}
    db

  • How to Use Same Navigation Panal for two different query

    Hello,
    My requirement is I have to display three different report in same web template in three different tab.
    I have created a custom web template with tab.
    in each tab i have assigned three different analyser table and assigned three different report in each data provider. once I run the report that works fine, each tab is displying each report seperately.
    The problem I am having here with navigation panal. Navigation panal is working ok for 1st report, but when I go to the 2nd  tab for  2nd report nev attribute itself is not displying. is there any special setting that i am missing?
    If any one know about the same pls help me
    Thanks
    Samit

    Hi
    When u select the Generic navigational block to ur template. select that and right click go to properties, in the lift side of u web item will come in that last but one option is Affected data providers is there double click on the list u will get the option
    Shashi

  • How to map same sales unit for two keyfigures

    hi,
    i am using two key figure with reference of one sales unit(0SALESUNIT) but in update rules i am getting only one key figure the other key figure is not showing in update rules.
    i want to use the same sales unit for two different key figure.
    How to do it.
    Ankit

    Hi Ankit,
    if you have 2 key figures that are not defined as a reference of another key figure, but just use 0SALES_UNIT as their unit, you should have no problems with the update rules. The system will show both key figures in the update rule (or transformation).
    Also then the logic you map for 0SALES_UNIT will apply to both key figures in a transformation. For an update rule the same applies, unless you map the 2 key figures differently on purpose.
    I am not sure if your question was saying that you have defined a key figure as a reference to another key figure. If you have that situation, you should still be fine. If not try the approach above, after all there is not much benefit in creating a reference key figure in contract to creating a reference Characteristic (sharing master data, etc.)
    Best,
    Ralf

  • Is it possible to use same data source for two info cube

    Hi,
    My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level.
    Then we searched and we found out one hot to doc for summarized display of stock values on storage location level.
    Problem is that we have gone live in last December and we are using " 0AFMM_C02 " and it contains around 1,81,26,000 records. and according to note we have to use
    "0IC_C03".
    Both the cube uses same data sources for the data.So, how to get the data for "0IC_C03".
    and how to delete the data of existing info cube.And is it possible to delete data selectively from the info cube.
    Pls. help.
    Regards,
    viren.

    Hi,
    You can't create update rule from PSA.You can create from the infosource or from ODS or from cube to cube or ODS to ODS.
    In your scenario, what you can do is create update rules from the ODS to the new cube and then transfer the data from there. Or from the Infosource create rules to the new data target and then upload the full data and then set up the delta.
    Third option is to create update rules from the existing cube to the new cube and then load all the data one time. Then you can deactivate the update rules as that was needed only for 1 time data transfer.
    Cheers,
    Kedar

  • Can I use same result set for two queries?

    Hi,
    Can I use the same result set for two queries?
    For example:
    ResultSet rs = null;
    rs = ps.executeQuery(query1);
    while (rs.next()) {
    rs = ps.executeQuery(query2);
    while (rs.next()) {
    Is it OK to use? or Is there any preformance issues?
    Appreciate your help.
    Thanks in advance.
    Prasad Vagolu

    Sure. You have a variable of ResultSet type. First you create a ResultSet and assign it to that variable. Then later you create another ResultSet and assign it to that same variable. Assigning an object reference to a variable takes essentially no time, and at any rate it isn't any faster to assign it to a different variable. Also, no matter whether you use one variable or two, you are still creating two ResultSets.
    However, you really should be closing your ResultSets after you finish using them. That's nothing to do with the assigning-to-a-variable question.

  • How to use same group element from two dataset

    Hi,
    I've two datasets in xml file which has one common field(say colA). I've two subreports in the workbook, first one from dataset_1, second one built from dataset_2.
    ColA should be used as a group-by field above the section and split-by-page-break. If I use colA from respective dataset in the subreports, first it will display subreport_1 for each colA value and then starts subreport_2. How can I display 2 subreports for one colA value then pagebreak and in next page 2 subreports for 2nd colA value..so on?
    Please suggest.
    Regards.

    Hi Vetsrini,
    Thanks very much for your help.
    There are 2 distinct M_KOG3_CONC in xml dataset I posted: 000 and 574. The same field is named as M_KOG3_CONC2 in 2nd dataset.
    Desired output:
    KOG3: 000
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    KOG3: 574
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    My problem is to match value of M_KOG3_CONC2 with current value of M_KOG3_CONC inside for-loop of M_KOG3_CONC; ie, when M_KOG3_CONC=000 from 1st dataset, bring those rows from 2nd dataset which has M_KOG3_CONC2=000, when M_KOG3_CONC=xxx, bring rows from 2nd dataset with M_KOG3_CONC2=xxx so on..
    I used that if statement only to enforce matching between M_KOG3_CONC and M_KOG3_CONC2.
    I ran your template. It is giving too high values for Monthly No. of Services, which is not there in the xml dataset.
    Can you please look.
    Kind Regards.

  • Using Same Bank Account for two different company code

    Can we use the same bank account number and ABA key for two different company codes? Both the company codes are in USA and with the same currency.
    Scenario is to separate one division of the company code to a separate company code. Client wanted to know if we can use the same bank account so that they dont have to open another bank account

    The system will allow the same ABA and bank account on two different company codes.  However, if you use electronic bank statement (EBS) functionality (or plan to use it in the future), you will not be able to import bank statements for the account if it exists on two company codes.  The EBS program uses the house bank/account ID tables to assign a company code to the bank statement.  If the account exists for more than one company code, the program cannot assign a company code and it will give an error.
    Regards,
    Shannon

  • How to Use same contact list on two iPhones

    How do I use same "All Contacts list" / address book on two different iPhones?  Currently using Verizon backup assistant.

    Use a service which lets you sync contacts between devices e.g. Apple iCloud, Gmail with Contacts etc.

  • How to use Same Inspection plan for Multiple Plants?

    Hello,
    When I create a Process Order for material (M1), release and save it for a Plant A then I get the Inspection lot automatically.
    Now I have another Plant B that we have created. We would like to use the same Inspection plan that has been created for Plant A and M1
    So in the changed mode(QP02) of the Inspection plan for Plant A in the material assignment tab I added the Material M1 and the Plant B. I am assuming this means when I create the Process order for M1 in Plant B then it should use the same Inspection plan.
    But when I create the Process Order for M1 for Plant B, release and save it then it does not created the Inspection lot automatically(though I can create Inspection lot manually)
    Can you tell me if there is setting that will allow me to create the Inspection lot automatically on saving the Process order which should use the Inspection plan that I just assigned.
    And also let me know if there is a better way to handle same Inspection Plan for same material but multiple Plants.
    Thanks
    SAP Fans...

    Dear,
    For your message my understanding is that you are not getting Inspection lot created in Plant"B". Inspection lot for a material would get created based on the Inspection Setup for the material master "QM View", so compare the QM for the material in both plants and correct it for Plant "B".
    Probably I feel Inspection Setup is not complete for the material in Plant "B" - Generally when extending material by copying referance, in the QM view you need to click the Inspection Setup Button, for the data to be copied...otherwise it does not copy the Inspection setup from the referance plant.
    Regards,
    Prasobh

  • How to use same Bonjour Names on two Airport devices?

    Is there a way to set and keep using the same Bonjour names for all devices on a network with an Airport Time Capsule Base Station as the main WiFi router and an Airport Express Base Station as a backup WiFi router? 
    (e.g. to save the config file of ATCBS and restore to AEBS.)

    Use a service which lets you sync contacts between devices e.g. Apple iCloud, Gmail with Contacts etc.

  • How can we use same material code for two different sales area

    Hello friendsu2026
    Hope you all doing well
    I am facing a problem and I will be thankful to all of you, for your suggestions
    Issue:
    I have a *material created in 3000/10/19 for domestic purpose *,now our company has decided to export it for that we have created a new sales are 3000/13/20 for export,we cannot create the salesa are as 3000/13/19 due to some  company issues,
    Is there any way how I can use the material already in 3000/10/19 into new sales area 3000/13/20.
    Will common distribution channel and division concept will be applicable here
    As the material is same,and we donu2019t want to go for any more new material code. *
    Thanks
    Siddharth Sharma

    Hi Sharma,
    when a material is used in domestic and exports.....i hope it should be seggreagated based on dist chnl.......but not division.
    because material is Division specific. it can be there in only one division. like mother child relation.
    that is the reason why...... it is maintained inside BASIC DATA...... but not in input screen while creating material master.[unlike dist chnl]
    because a material can be in multiple dist chnl....but not multiple division.
    I feel only alternative is creating new material if you are already decided to devide the sales by division for domestic and foriegn.
    Purpose of common dist chnl/div is to maintain pricing/condition in one common whenever you change master data.......
    hope this gives you the clarity
    regards
    Satya.SCM

  • HT204053 Was using same apple ID for two iPhones. Just got new Apple ID for second phone.. Now how do I get new iCloud account

    How do I set up my iCloud account on this phone

    You turn off data syncing with the current account, then delete it from you phone, then set up the new account and migrate your data to the new account.  On the phone that will be getting the new acount, start by going to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on the iPhone.  After everything is turned off, scroll to the bottom and tap Delete Account.  (This will only delete the account from his phone, not from iCloud.  The other phone will not be effected by this.)  Next, set up a new iCloud account on this phone using your new Apple ID and turn iCloud data syncing for contacts, etc. back to On.  When prompted, choose Merge.  This will upload the data to this new account.

  • How to use one Bex Variable for two purposes in one query?

    Hi,
    I want to prompt for a UOM in a query. Then I want to use that one UOM variable to do 2 tasks in the query:
    1. Perform a UOM conversion on one restricted key figure (no filtering)
    2. Filter in a second restricted key figure (no conversion)
    How would I use a variable (or two?) to do this? I do not want to have 2 UOM prompts.
    Thanks!
    Gregg

    Oh, it all seems so easy now!  Hindsight 20-20...
    Solution was to create a new input ready variable for Unit.
    1. Restrict the key figures which need restricting using new variable
    2. For conversions, in BI backend us T-code RSUOM and create new conversion type associated with new variable. Then for each key figure needing conversion, set the conversion parameter to use the new conversion type.
    Between both 1 & 2 above, the same variable is used & thus prompted only once.
    Solution works perfectly.... as it should. Hope this helps someone else!

  • How to use Stock Category Group for two different configuration.

    Hi all,
    I want to use the stock category group to do this scenario:
    I have two process using the same location, the process A wants to consider Stock cat. Grp. 'ZSW' (SAPAPO/LOC3) so it will consider Stock using CC, CF and CE. The process B wants to consider Stock Cat. Grp. 'ZST' to consider only CC.
    My doubt:
    How can I do that setup to make different things according the process? I tried to do something in Planning Area (SAPAPO/MSDP_ADMIN) but doesnu2019t work.
    Can anyone help me?
    Thanks,
    -Ralph Veiga

    Hi Ralph Veiga,
    Indeed the stock category group is define at location level...
    I think your answer involves macros more than PA settings.
    First I will suggest to split the stock key figure into 2: one for CC, one for the other.
    For the CC, use the standard (cetegory group with CC only on the location master)
    Now you need to populate the second key figure with CF and CE.
    You should be able to built a macro using function PHYSICAL_STOCK() to get what you want.
    For sure yuo first need a way to check if you want or not the CF and CE. Here implement your own logic for exemple base on your product characteristics with either MAT(), MAT_C(), MAT_EXTRA(), MATLOC_C()...
    Else you can use a Z function in the macro to collect this data, but it involves ABAP coding.
    PS: you don't actually need to split the key figure into to, but I think it helps with visibility...
    Regards
    Julien

Maybe you are looking for

  • Items on desktop disappear

    Ever since I upgraded to Lion, when I restart my computer each day the items that were on my desktop are automatically relocated to a folder in my documents folder that is labeled "2011 November" and I have one labeled "2011 October". These are locat

  • ITunes empty!  is there anyway that i can sync my itunes to my ipod?

    I opened up my itunes today to find that it was completely empty. nobody else has access to my comp so i know that it wasn't that someone erased all my music, playlists, videos, podcasts.... is there anyway that i can sync my itunes to my ipod, so th

  • Advanced generics, Maps and double use of '?'

    I have a variable declared like this private Map<Class<? extends Customer>, CustomerManager<? extends Customer>> customerManagers; This map maps from some class of customer to the manager that manages customers of this class. To fetch the correct man

  • DISP+WORK STOPPED-----------ORA::376 ERROR

    hi all, 1) in my ides system, disp+work got stopped 2) when i check the syslog in mmc i came across  ORA :: 00376 error occuring several times. file cannot be read at this time .ora-1110 error. 3) i went through the sap note::328785. 4)DBIF_REPO_SQL_

  • Performance of ExternalizableLite

    Hi there,      Just a quick quesstion, in wanting to test the performance of serialization in relation to ExternalizableLite can I assume that the implementation of the DataInput and DataOutput interfaces are in fact DataInputStream and DataOutputStr