Message Transfer Between Panels

Hi all:
Here (http://www.erc.msstate.edu/~shravan/Hierarchy_files/slide0001.htm) is the hierarchy of the Java Swing application i want to develop. I have a "MainFrame" which has three panels (A, B and C). Those panels have sub panels ((A1, A2) (B1, B2) (C1, C2)). I have objects (which i am actually planning to implement as independent pluggable components using the "Observer" pattern) on these sub panels.
Now let us say an event happens on "Obj O1" (changes state) and this should trigger a change on "Obj O10" and "Obj O12". What is the best way to implement this? I mean .. how can we transfer a message from an object somewhere in the tree to another object somewhere else in the tree? Because i am implementing object O1 as pluggable component (using Observer pattern), i can add O10 and O12 as listeners (Observers) to it. But, how can i get the reference of O10 and O12 in the panel A1?
Could anyone please advice?
Thanks a lot in advance,
Shravan

Hi. I had to implement something similar to this, except my objects weren't all in the same container. What I did was create an EventManager that could register listeners of type EventListener. The EventListener interface had methods like onXXX(). When one object needed to communicate a message, it would tell the EventManager and all the listeners would be notified. Here is some pseudo/sample code:
public class EventManager
    private static List listeners = new ArrayList();
    public static void register(EventListener listener)
        listeners.add(listener);
    public static void unregister(EventListener listener)
        listeners.remove(listener);
    public static windowOpened(String name)
        for (int i = 0; i < listeners.size(); i++)
            ((EventListener)listeners.get(i)).onWindowOpen(name);
public interface EventListener
    public void onWindowOpen(String name);
public class SomeClass
    public void doSomething()
        EventManager.windowOpened("bob");
public class SomeOtherClass implements EventListener
    public void onWindowOpen(String name)
}

Similar Messages

  • Message Transfer between Objects

    Hi all:
    Here (http://www.erc.msstate.edu/~shravan/Hierarchy_files/slide0001.htm) is the hierarchy of the Java Swing application i want to develop. I have a "MainFrame" which has three panels (A, B and C). Those panels have sub panels ((A1, A2) (B1, B2) (C1, C2)). I have objects (which i am actually planning to implement as independent pluggable components using the "Observer" pattern) on these sub panels.
    Now let us say an event happens on "Obj O1" (changes state) and this should trigger a change on "Obj O10" and "Obj O12". What is the best way to implement this? I mean .. how can we transfer a message from an object somewhere in the tree to another object somewhere else in the tree? Because i am implementing object O1 as pluggable component (using Observer pattern), i can add O10 and O12 as listeners (Observers) to it. But, how can i get the reference of O10 and O12 in the panel A1?
    Could anyone please advice?
    Thanks a lot in advance,
    Shravan

    Hi. I had to implement something similar to this, except my objects weren't all in the same container. What I did was create an EventManager that could register listeners of type EventListener. The EventListener interface had methods like onXXX(). When one object needed to communicate a message, it would tell the EventManager and all the listeners would be notified. Here is some pseudo/sample code:
    public class EventManager
        private static List listeners = new ArrayList();
        public static void register(EventListener listener)
            listeners.add(listener);
        public static void unregister(EventListener listener)
            listeners.remove(listener);
        public static windowOpened(String name)
            for (int i = 0; i < listeners.size(); i++)
                ((EventListener)listeners.get(i)).onWindowOpen(name);
    public interface EventListener
        public void onWindowOpen(String name);
    public class SomeClass
        public void doSomething()
            EventManager.windowOpened("bob");
    public class SomeOtherClass implements EventListener
        public void onWindowOpen(String name)
    }

  • Message transfer between R/3 to XI By RFC call

    Hi all,
    I am trying to pass some parameters to XI by making an RFC call from R/3.In sm59 the connection is working fine with the RFC destination declared.I have created an RFC enabled function module and  it has   5 import parameters .The FM doesn't contain any query as i have queried in the calling program. The program as followes;
    DATA  : IT_ZXIRFC LIKE ZXIRFC.
    DATA: IS_BILL_NUM LIKE ZXIRFC-BILL_NUM,
          IS_BUYERVATNUM LIKE ZXIRFC-BUYERVATNUM,
          IS_BUYERACCNUM LIKE  ZXIRFC-BUYERACCNUM,
          IS_PRODUCTDES LIKE  ZXIRFC-PRODUCTDES,
          IS_BUYERNAME LIKE ZXIRFC-BUYERNAME.
    SELECT * FROM ZXIRFC INTO  IT_ZXIRFC
             WHERE BILL_NUM = 'ABC1234'
               AND BUYERVATNUM = 'CH456789'
               AND BUYERACCNUM = 'THE456789'.
    ENDSELECT.
           IS_BILL_NUM = IT_ZXIRFC-BILL_NUM .
           IS_BUYERVATNUM = IT_ZXIRFC-BUYERVATNUM.
           IS_BUYERACCNUM = IT_ZXIRFC-BUYERACCNUM.
           IS_PRODUCTDES = IT_ZXIRFC-PRODUCTDES.
           IS_BUYERNAME = IT_ZXIRFC-BUYERNAME.
    CALL FUNCTION 'ZRFC_XI_TEST1' IN BACKGROUND TASK  DESTINATION 'SAP_X3ATEST'
      EXPORTING
        I_BILL_NUM          =  IS_BILL_NUM
        I_BUYERVATNUM       =  IS_BUYERVATNUM
        I_BUYERACCNUM       =  IS_BUYERACCNUM
        I_PRODUCTDES        =  IS_PRODUCTDES
        I_BUYERNAME         =  IS_BUYERNAME
    COMMIT WORK.
    I am getting notthing in moniter of XI when i excecute this program.
    Please have a look at this and suggest me the solution.
    Thank you,
    Best regards,
    Priya parmeshwar.

    Hi,
    In SM59 my RFC destination is working fine.I have done the configuration according to Michal' blog
    https://weblogs.sdn.sap.com/pub/wlg/1438.The [original link is broken] [original link is broken] [original link is broken] [original link is broken] RFC  destination details as followes:
    RFC destination :  SAP_X3ATEST
    Gateway Host :   ld8022
    Gateway service: sapgw22
    Program Id : RFCTEST1
    and here i have checked the Registered server program.
    The same data has been updated in communication channel  with a sender RFC adapter type.
    Thankx,
    Priya

  • The Question about stock transfer between HU-Management and WM-Management

    Hi,
    There is a scenario about stock transfer between HU-Management and WM-Management storage location. I use transaction MB1B , movement type 313 , 315. After Good issue from WM-management storage location, outbound delivery will genarated, then Pack, Create/Confirm TO, at last post goods issue for the outboud delivery. But when i do movement type 315, there is a warning message "Data of preceding document was not transmitted", and from the F1 help i find this system reponse "You can maintain an indicator that makes information about preceding documents in this delivery available under delivery type in Customizing. For some characteristics of this indicator, the type of preceding document and the related document and item numbers must be transmitted to delivery creation. At least one of these parameters is missing.".
    So, My questions are:
    1. Generallily, Outbound delivery is created by SO, inbound delivery is created referenc PO, but how the stock transfer for 2 steps generate the outbould delivery and inbound delivery? Could you pls tell me the where i can config this in the IMG?
    2. What's "Data of preceding document was not transmitted" mean ? how to fix this issue ?
    Best Regards
    Boxer Du
    I am the SAP fans, focus on MM and WM. I am interesting TRM Yard Management and Cross Docking now.Very Gladly to talk you about these areas. I want to exchange the knowledge with you, and want to be a good friend of you. Pls contact me. You can find My MSN in the profile. Thanks.

    Hi,
    Sure, The inbound delivery type is set up in the IMG->Logistics General -> HU management -> Basics ->Delivery type -> Delivery type determination.
    For Inbound delivery type 'HID' is maintained in this view.
    Best Regards.
    Some One want to discuss the details , can contact me. Thanks.

  • SD billing document (transfer between plants) error in document splitting

    Dear Gurus.
    I have the following scenario.
    New GL activated
    Zero balance on Profit Center.
    SD billing document is created after the shipping of material (internal transfer) between 2 plants belonging to the same company code.
    I have several user exits activated and they are not well documented if activated.
    Case1.
    The billing document is usually created with materials populated with the same Profit Center.
    In Tr VF01/VF02 the function: Release for Accounting is executed and no accounting document is created (OK cause they belong to the same company code), this function is just closing the cycle of the billing document to set the status as completed.
    Case2.
    Billing document containing several materials with more than one Profit Center
    During the execution of the function: Release for accounting the following error is gotten: Position 1 is not populated with Profit Center - apparently caused by the splitting rule - financial document creation -  the status of the billing document is not set to Completed, is kept as opened.
    As I commented In case 1 I do not have any accounting document (no error message)
    Doubt 1
    Is it possible that the splitting rule is being checked even though no accounting document is created (remember billing in a scenario of material transfer between plants belonging to the same company code)?
    Apparently in case 1 I do not have any error cause the splitting rule is deriving the profit center in a passive basis: Inheritance.
    In the other way, in case 2 the splitting rule is trying to derive the profit center in an active basis. In my configuration I actually do not have any configuration for the combination of transaction, variant, position to be derived, position basis.
    Doubt 2.
    Is this the standard behavior of SAP?
    Could this be caused by a user exit not identified?
    thanks in advance for any advice provided
    Regards vpa
    Valentin PA.
    2.
    In case 1 is clear that as only one profit center is shown theoretically the inheritance rule is populating the Profi

    It would be possible, I suppose.  You could generate Idocs from the SD system (or an interface file) and import that info into the FICA system.  Of course the FICA system could not know about the sales order etc - so limited research abilities would exist. 
    For the second question, that would only function in a single system scenario, and yes the SD document flow would reflect its clearing status in FICA.
    regards,
    bill.

  • Error when doing two step transfer between Plants with split valuation

    Hi expert,
    I´ve activated split valuation for Material X , it has three Valuation types ( NEW, REPAIR and DAMAGE ) . The problem arose when i tried to do a two step transfer between plants ( mov 303 ) and i got the following error msg :
    Use one-step procedure for transfer posting to mat. subj. to valuation
    Message no. M7048
    Diagnosis
    In the receiving plant, the material is subject to split valuation. For this material, a stock transfer cannot be carried out using the two-step procedure.
    Procedure
    Use the one-step procedure (movement type 301) or a stock transfer order for the stock transfer.
    The message is very clear itself , but... i just wonder if there`s actually any way to avoid this, I tried to change the error msg into a warning but couldn´t find it in customizing. Thanks for any comments on this !

    Hi,
    What do you mean with "inconcistent to my storage type definition?", is that mean i can process two step transfer without using PO/delivery process or one-step movement? coz according to business requirement, we must use two step transfer considering to the distance between plants is so far and we want to make it the simple way so that PO/Delivery process isn't better solution. I think, this is an standard procedure all company over the world can use but just the reason of split valuation the system can't execute the transaction.
    Is there any config i miss to? is there any user exit i can use for this requirement? please help me..
    thanks,
    AJ

  • ABUMN- Assets transfer between assets class within company

    hi
    i am using the T. code ABUMN for Assets transfer between one class to other with thin the same cpmpany  for the assets purchased during currenting year not posting give error message AA417, for old assets it is working.
    pls help to solve this issue
    thanks and regards

    Hello all,
    We are testing the transaction ABUMN in a system version ECC 6.0 with New G/L activated and, we have received an error message GLT2152 asking for an account determination...
    We have custumized the characteristics for general ledgers activating Zero balance & Mandatory field's flags for Profit center and, just Zero balance for the Segment; additionally we created and customized the Zero-balance Clearing Account.
    We also checked that all involved accounts were included in the "Classify G/L Accounts for Document Splitting" customizing icon and, that the document type generated by the asset transfer is included in the "Classify Document Types for Document Splitting" one...
    I personally think that perphaps the system finds that each Asset has a different Cost center (linked to their own profit centers and segments) so it stops and wonders which one most be derived for the splitting document... The zero balance clearing account could be the solution but, I don't know why it is not working...
    So, since there is not any SAP-Note nor info regarding this error message GLT2152, we appreciate any comment or guidance from you friends.
    Thanks a lot in advance and, best regards,
      Manuel

  • Stock transfer between storage location in IS -Retail

    Hi,
    I want to have a Stock transfer order between two storage locations in the plant.
    I have activated the "Activate Stock Transfer Between Storage Locations", now i can create a STO and have the "Issuing SLoc" tab.
    Having that i get an error message "Not possible to determine shipping data for material XXX" Message no. 06280.
    I am trying to have the shipping data in customizing for set stock transfer  - "Define Shipping Data for Plants", but my site is not listed due to the use of IS Retail. Is there a way to configure it?
    Tnx
    Lior

    Hello Lior,
    in Retail your distribution center is a vendor and a customer, and your store is a customer. Therefore when you create master data for your distribution centre and store, you also create the vendor and customer masters that are required.
    By this link of the DC / Store to the customer master the shipping data is derived. I hope this answers your question.
    If you have further queries related to this, please do post them.
    Regards,
    Smitha

  • Stock transfer between company codes

    Dear Experts,
    I am doing stock transfer between two different company codes.  Purchasing order type wil be NB & SD delivery type will be : NLCC
    i have done  all w.r.t configuration requirement for between company code, when i go for ME21N, unable to  get purchasing order type NB but its showing only UB & item category U.  systme giving message like : item category U & pur order type is UB would like to proceed. But it would be for between plants within same company code.
    Please assist me where i am doing wrong...
    Best Regards
    Badari
    Edited by: badaripro on Feb 23, 2010 7:15 PM
    Edited by: badaripro on Feb 23, 2010 7:15 PM

    Dear Badari,
    I don't understand. Do you say that you just start ME21N and can only choose order type UB there? In this case it has nothing to do with the question if the STO is cross-company or not, since the system doesn't know the plants yet.
    I would assume somebody just deleted the document type NB in your customising or you are not authorised to use it - please start ME21N again, observe the error (can't choose NB), leave the trs and run trs SU53 to check your authorisations.
    BR
    Raf

  • Stock transfer between plants for split valuated materials

    Hi,
    I'm doing a stock transfer between plants without STO.
    The FG's are split valuated,which are transferred from central warehouse to other warehouse at different states.
    I'm trying to use mvt type 303 and 305 to transfer the FG.
    But getting error "Use one-step procedure for transfer posting to mat. subj. to valuation".
    Please suggest how to achieve the requirement.
    Is it possible to make 303 mvt type document to be parked and posted.
    Regards,
    Venkatesh

    << Moderator message - Cut and paste response from Error when doing two step transfer between Plants with split valuation removed and points unassigned. Plagiarism is not allowed in SCN >>
    Refer below link with same issue discussed,
    [two step transfer with split valuation |Canu00B4t use two step transfer with split valuation ?]
    Edited by: Rob Burbank on Feb 3, 2012 11:30 AM

  • Interaction between Panels in Java Swings

    hai, i m new to Java swings and i dont know how to interact between various panels present in single frame window.the following code is a program in which i need to interact between three panels.Can some one tell me how to do this.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class JP extends JFrame
    JPanel p= new JPanel(new FlowLayout());
    public static void main(String a[])
    JP j= new JP();
    public JP()
    Container c=getContentPane();
    c.setBackground(Color.black);
    JTextField j= new JTextField(20);
    j.setText("Program");
    c.add(j);
    //adding panel1 and panel2
    p.add(new jp1());
    p.add(new jp2());
    c.add(p,BorderLayout.EAST);
    setVisible(true);
    pack();
    class jp1 extends JPanel implements ActionListener
    JTextField jtf1;
    public jp1()
    JButton b1=new JButton("Connect");
    b1.addActionListener(this);
    b1.setActionCommand("Connect");
    add(b1);
    JButton b2=new JButton("Disconnect");
    b2.addActionListener(this);
    b2.setActionCommand("Disconnect");
    add(b2);
    jtf1=new JTextField(30);
    jtf1.setText("hai");
    add(jtf1);
    public void actionPerformed(ActionEvent ae)
    String str1=ae.getActionCommand();
    System.out.println(str1);
    jtf1.setText(str1);
    class jp2 extends JPanel implements ItemListener
    public jp2()
    JCheckBox cb1=new JCheckBox("Pt-Pt");
    cb1.setSelected(true);
    cb1.addItemListener(this);
    add(cb1);
    JCheckBox cb2=new JCheckBox("Multipoint");
    cb2.setSelected(true);
    cb2.addItemListener(this);
    add(cb2);
    public void itemStateChanged(ItemEvent ie)
    JCheckBox str2=(JCheckBox)ie.getItem();
    System.out.println(str2.getText());
    I need to display details in the main frame "JP" when performing some actions on panel1(jp1) and panel2(jp2)....
    Plz help me with this.....
    Thanks to all.

    Rodney_McKay thanks for ur reply.
    i have aligned the code and the details i need are given below...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class JP extends JFrame
         JPanel p= new JPanel(new FlowLayout());
         public static void main(String a[])
              JP j= new JP();
         public JP()
              Container c=getContentPane();
              c.setBackground(Color.black);
              JTextField j= new JTextField(20);
              j.setText("Program");
              c.add(j);
              //adding panel1 and panel2
              p.add(new jp1());
              p.add(new jp2());
              c.add(p,BorderLayout.EAST);
              setVisible(true);
              pack();
    class jp1 extends JPanel implements ActionListener
         JTextField jtf1;
         public jp1()
              JButton b1=new JButton("Connect");
              b1.addActionListener(this);
              b1.setActionCommand("Connect");
              add(b1);
              JButton b2=new JButton("Disconnect");
              b2.addActionListener(this);
              b2.setActionCommand("Disconnect");
              add(b2);
              jtf1=new JTextField(30);
              jtf1.setText("hai");
              add(jtf1);
         public void actionPerformed(ActionEvent ae)
              String str1=ae.getActionCommand();
              System.out.println(str1);
              jtf1.setText(str1); // Code required to settext in textbox of main panel
    class jp2 extends JPanel implements ItemListener
         public jp2()
              JCheckBox cb1=new JCheckBox("Pt-Pt");
              cb1.setSelected(true);
              cb1.addItemListener(this);
              add(cb1);
              JCheckBox cb2=new JCheckBox("Multipoint");
              cb2.setSelected(true);
              cb2.addItemListener(this);
              add(cb2);
         public void itemStateChanged(ItemEvent ie)
              JCheckBox str2=(JCheckBox)ie.getItem();
              System.out.println(str2.getText()); // Code required to settext in textbox of main panel
    };When i click the button in panel1 the message should be displayed in the textbox of main panel.
    Similarly the panel2 event should display a message in main panel.
    i will try with inner class, u also give me any possible solutions.

  • I can see my husbands library and he can see mine but we can not transfer between computers, I can see my husbands library and he can see mine but we can not transfer between computers

    I can see and play my husbands lirary and he can see and play mine but we can't transfer between computers.  How can we do that

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • Hi I am having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and loading then I get an error message saying unable to download app. Eventually,after many attempts it works.

    Hi Guys - for a few days I have been having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and downloading then eventually says unable to download app. Sometimes after many attempts it wil eventually work. I tested it on an old iPhone 3G and got the same problem so it is not an iOS 5 issue. My WI-FI connection is working fine. I was wondering if this is an App Store problem? Anyone else in the UK having this problem?

    Hi John
    iTunes Support wasn't of any use to me.
    I have also been having another problem - with BBC iPlayer and other video streaming not working due to insufficient bandwidth, despite my overall download speed being consistently around 50Gb.  This is also affecting AppleTV downloads
    I am using Virgin Media as my ISP, and was wondering whether you do as well.  This might be the common thread.
    -Bernard

  • Billing in Stock Transfer between two plants of two different company codes

    Hi Friends,
    I am doing the scenario of stock transfer between two plants of different  company codes.
    I have some issues in Billing for this..
    What are the settings do i need to to for Pricing in SD point of view.
    Ex:
    Supplying         /         Receiving
    Com.Code:2000     /        CompanyCode:1000
    Plant:2100              /         Plant:1100
    SA:2000/10/00      /          SA:1000/10/00
    I created Customer 5555 w.r.t sales area of supplying company code (2000/10/00)
    I created Vendor  7777 and assigned Supplying Plant 2100 in add purchasing data.
    In IMG Settings:
    Define Shipping Data for Plants: In Receving Plant i assigned customer 5555 and sales area blank
                                                        In Supplying Plant i assigned customer blank and sales area as 2000/10/00
    Create Checking Rule: Standard(B SD Delivery)
    Define Checking Rule: Standard(Avallability-01assigned to checking rule B)
    Assign Delivery Type and Checking rule: Document type(NB)-Supplying Plant(2100)-Delivery Type(NLCC)-Checking Rule-(B)
    Assign Doc Type:Supplying Plant(2100)-Receving Plant(1100)-Doc type(NB)
    What are Pricing settings in SD i have to do?????????
    Process:
    ME21N->VL10B->VL02N(PGI)->VF01(IV)->MIGO->MIRO
    I have gone through many threads in Forum but confusion in Pricing Part..
    Some are mixing with the inter company sales proces..
    Pls guide me..
    With Regards

    Do the following steps for STO Customizing:-
    1. Create a customer master record for the issuing plant.
    2. Create a vendor master record for the issuing plant, and enter customer account number in the Customer field on the Control screen.
    3. Repeat steps 1 and 2 for the receiving plant.
    4. Assign the plants to the customer master record in Customizing for Materials Management (MM), by choosing Purchasing <Purchase Order < Set Up Stock Transport Order< Plants.
    The Process Flow would be as follows :-
    Create a stock transport order, following the standard procedure, and send the order to the issuing plant.
    Issuing plant has processes your order, and when it is ready to ship,the storeperson at the issuing plant issues the goods using a transfer posting. The excise clerk there creates an excise invoice.The excise supervisor verifies and posts the excise invoice.It then sends the goods to you, together with the excise invoice.
    Once the goods arrive, you follow the standard procedure for incoming excise invoices:
    The excise clerk captures the excise invoice, using the stock transport order as the reference document. The storeperson enters the goods receipt, again using the stock transport order as the reference document.Alternatively, you can first enter the goods receipt and then capture the excise invoice.
    The excise supervisor then posts the excise invoice.
    Best Regards,
    Ankur

  • Stock transfer between Plant/Storage location to Plant/Storage location

    Dear Experts,
    This is a MM component of SAP Retail.
    We have 4 brands ( Plants of type B, Plants of type C etc) that needs inventory from the same Distribution center (Plant A) for some common products. Here the direction is to prioritize the inventory per brand. The requirement is one brand should not take the inventory of the other brand.
    To overcome this problem , the solution proposed is to have different storage location for different brands in the same DC.
    When we run replenishment  planning for the brands and do a ATP check, the availability check should consider only the one issuing storage location in the DC which we allocated for the brand.
    I do see the following set up in SPRO and I have done the following.
    Step1: Activate Stock Transfer between Storage Locations
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> u2018Activate Stock transfer between storage locationsu2019
    Step2: Assign Delivery Type and checking rule according to storage
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations->Assign Delivery Type and Checking Rule According to Storage
    Step3: Define Shipping Data for Stock Transfer between Storage Locations
    SPRO ->Material Management ->Purchasing ->Purchase Order ->set up stock transport order ->set up stock transport order between storage locations -> Define Shipping Data for Stock Transfers between Storage Locations

    Step4: Define Rule for Determination off Shipping Point
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations -> Set-up Storage-Location u2013dependent shipping point determination->Define rule for determination of shipping point
    Step5: Shipping Point Assignment According to Storage Location
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> Set-up Storage-Location u2013dependent shipping point determination-> Assign Shipping Points According to Storage Location
    Question.No:1- After completing the above set up  in me21n, the issuing storage location field is greyed out. I am not able to enter any value here. Can you please help.
    Question.No:2
    I do see the following setting.
    Under IMG ---> Material Management ---> Purchasing --> Purchase Order --> Set up Stock Transport Order -->Business Add-In for Determination of Issuing Storage Location
    Display the IMPLEMENTATION
    Double click on the method GET_SUPPLYING_SL
    Click the Execute button
    Click the detail button on IF_EX_MD_EXT_SUP
    Execute GET_SUPPLYING_SL
    There is a prerequisite for this BADI .I have done those things.What i dont understand is where to force the combination of supplying site/issuing stor.loc/receiving site/receiving stor.loc
    Kindly provide your inputs.
    Thanks,
    Vasanthan

    Dear,
    Have You configure MRP in second plant (where you want to transport the Material).
    Please try with this and do again Po for stock transport.
    Regards
    Piyush Patel

Maybe you are looking for