Linking between portlets

Can anyone describe how to create a link in one portlet that updates the data in another portlet on the same page.

hi Ying,
please check your DB availability/connectivity. are you able to ping to your db?
also check the application.log which should have indications of errors.
thanks,
AMN

Similar Messages

  • Links between portlets on the same page

    Hi,
    I want to search for an employee in a poplist. When I choose one from the poplist I want a report to start that will show all the projects he is working in.
    The above happens but when I put my form as a portlet on a page I want the report to start in another portlet on the same page. Now it opens in a new window and that's not good.
    This is how the link works.
    On the link in the form I have a call 'javascript:runrep()'
    On the form, in the 'Form text' section, in the 'Footer Text' I added the
    code for the runrep function (given below).
    <script>
    function runrep()
    var formObj = document.forms[0];
    var pers_id;
    for (var i=0; i < formObj.length ; i++){
    if (formObj.elements.name == "PERSONAL_SOK.DEFAULT.ID.01"){
    //PERSONAL_SOK is the form name
    pers_id = formObj.elements[i].value;
    break;
    var url="http://linux.ekn.se:7778/pls/portal/ppe_utv.ppe_visa_projektforslag.show?
    //PPE_UTV is the schema_name and PPE_VISA_PROJEKTFORSLAG is the report
    p_arg_names=pers_id&p_arg_values=" + pers_id;
    window.location=url
    </script>
    I guess the url has to have another adress to open on the same page, but what?
    /Jennie

    The post below shows you how to link two reports on the same page. You can probably modify it's solution to achieve what you're trying to do.
    Providing Oracle's default color pallete
    Regards
    Hsiu

  • Help!  Communication between portlets on diffrence pages

    I have two portal pages (A, B) including two portlets (A', B'). When click a link on portlet in page A, i want to redirect to page B and pass parameter to porlet B'.
    I tried using Portlet Event but it seem that they just only communicate with each other on the same page.
    Can anyone help me?
    Thanks very much!

    Ok.
    Assuming that you have configured portlet.xml with public-render-parameter associated to your portlet. For example:
    <portlet id="...">
    <supported-public-render-parameter>yourparam</supported-public-render-parameter>
    </portlet>
    <public-render-parameter>
            <identifier>yourparam</identifier>
            <name>yourparam</name>
    </public-render-parameter>And you created your page_parameter.
    Now in runtime when you add your portlet assign value from page parameter in parameters tab.
    In your portlet you can get your parameter with
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();     
    String location = req.getParameter("yourparam");PD: Wiring by parameters is so "old", you can try with Contextual Events too :). I recommed you starting to know Contextual Events framework to wire information between task flows, portlets, ui components...
    Basically with contextual events you have to:
    1) Create a handler method.
    2) Create a Data Control from your Java Handler class.
    3) Publish in binding layer your method.
    4) Publish a event in your page.
    5) Configure Event map: event published - your method consumer
    Off doc about wiring: http://docs.oracle.com/cd/E14571_01/webcenter.1111/e10149/pages_wiring.htm#BABIIGDD
    I hope you'll achieve your goal :).
    Regards.

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Is there a DIRECT link between SD schedule lines and delivery lines?

    Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)? 
    Is there a function module to retrieve the data?
    Example-
    One order line with 3 schedule lines.
    Each schedule line is for 2 units (total of 6 units).
    Three deliveries made.  1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
    You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line.  The schedule line already references the order line.
    I am using math to decrement the schedule lines used and make the link between VBEP and LIPS.  It works fine.  I need four records back....
    1st schedule line for 2 units uses delivery 123
    2nd schedule line for 1 unit (partial) uses delivery 124
    2nd schedule line for 1 unit (partial) uses delivery 125
    3rd schedule line for 2 units uses delivery 125
    Like I said, it works. Just wondering if I missed a more direct link.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • Change or delete the docflow link between two existing documents

    Hi All,
    Is there any FM or soulution to change the doc flow link between two documents .
    For ex .. i have document A and document B , and created a doc flow link from A to B , Now i have to change the succeeding document  to C
    I have tried to modify the doc link ,but its not working using crm_order_maintain.I thought of deleting the link between A and B and then create a new link Between A and C , but deletion of link bewteen A and B is also not working.
    I have checked with FMs CRM_DOC_FLOW_DELETE_CHECK_EC and CRM_DOC_FLOW_DELETE_EC, followed by CRM_ORDER_SAVE AND COMMIT . i could not find any exception from this FMs , but still the doc link is not deleted.
    Pls share if you have any suggestions.
    Regards,
    Nithish

    Hello
    I wrote a report to delink items from document flow. I uploaded it [here|http://wiki.sdn.sap.com/wiki/display/CRM/Removelinksfromdocumentflow].
    Please, use with caution and always perform careful tests before you run it in a production envinronment.
    Hope it helps
    Joaquin
    Edited by: Joaquin Fornas on Nov 15, 2011 11:49 AM

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • Link between Invoice and Payments

    As I understand the link between the A/R Invoice table and the Incoming Payment table is OINV.ReceiptNum = ORCT.DocEntry. My question is when does the ReceiptNum field get filled in? We have many closed Invoices that have a payment linked (viewed by going to Applied Transactions when on the Invoice) but the ReceiptNum field is still NULL in the database. Shouldn't these invoices all have a linked payment if they are closed?
    Regards,
    Jeremy

    Hi Steven,
    The reciptnum field is populated when the payment is created and the Invoice is a part of that payment. If you do a manual reconciliation this field is not populated.
    Open the payments that you see in Applied transactions to see if the Invoices are in the rows.
    Hope it helps,
    Jesper

  • One to One link between VBRP items and BSEG items

    Hi All,
    I am working on a program where I have to link between VBRP table items against BSEG table items.
    But in BSEG, the invoice items are summarised based on Material Number, profit center etc..
    Is there a way to divide them, like any other table which holds the data transferred to accounting from sales exactly as it is in the invoice tables (VBRP).
    If there is no such table, can any one help me figure out a logic where I can didvide the items of BSEG table exactly like the items of table  VBRP.
    Any help or input will be very highly appreciated.
    Thanks in advance
    Phani

    Thanks for the Replies Ramani and Monika...
    I alraedy have a relation between the Accounting Doc and Billing Doc (VBRP-vbeln to BSEG-belnr).
    what I am looking for is the Item wise one to one mapping.
    i.e  Assume that we have 4 items in VBRP under one Billing Doc....
    2 items have Similar Materials (Assume XYZ) and same Profit center (eq..MNO123)
    and the Other 2 items have material (ABC) and Profit center (PQR6789).
    Now these appear in Bseg as only 2 items, all the items with similar materials, profit center etc will be clubbed in Bseg (While Accounting). I.e In BSEG you will only find 2 entries for the above 4 items of VBRP.
    I need to divide the data that I am getting from BSEG exactly as they are in VBRP.
    Pls suggest if you know of any table where I can find this.....If not a table.., then a way to figure out the division of these BSEG items exactly as the VBRP items.
    Brgds
    Phani

  • FAX Sending - Link between SOST items and PO Data

    Hi all,
    We have a message type to send FAX to the vendors.
    This is tracked in SOST.
    There are some FAXes which get failed and are to be tracked individually in SOST.
    We need to make a report which gets all the failed PO #s.
    We are not able to arrive at the db link between the items in SOST and the PO data.
    Can anyone of you let us know how this can be done ?
    Thanks in advance.
    Regards,
    Vivek K

    Thanks for the Replies Ramani and Monika...
    I alraedy have a relation between the Accounting Doc and Billing Doc (VBRP-vbeln to BSEG-belnr).
    what I am looking for is the Item wise one to one mapping.
    i.e  Assume that we have 4 items in VBRP under one Billing Doc....
    2 items have Similar Materials (Assume XYZ) and same Profit center (eq..MNO123)
    and the Other 2 items have material (ABC) and Profit center (PQR6789).
    Now these appear in Bseg as only 2 items, all the items with similar materials, profit center etc will be clubbed in Bseg (While Accounting). I.e In BSEG you will only find 2 entries for the above 4 items of VBRP.
    I need to divide the data that I am getting from BSEG exactly as they are in VBRP.
    Pls suggest if you know of any table where I can find this.....If not a table.., then a way to figure out the division of these BSEG items exactly as the VBRP items.
    Brgds
    Phani

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

  • Link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH)

    Hi!
    Is it possible to find some link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH) without using batches, serial numbers and UDFs?
    Any ideas?
    Thanx!
    Regards,
    David

    Hi David,
    I only known of 1 link possibility.
    If you created the purchase order from the sales order (and the invoices are based on the orders) you can find the purchase invoice through the Purchase order, Sales Order, Sales Invoice.
    Regards
    Ad

  • Link between A/R Invoice and the A/R credit memo

    dear all
    how do we find the link between A/R invoice and it's credit memo from the database level.
    Thanks & Regards
    Kanishka Wickrama

    Hi
    You can link AR Invoice and AR Credit memo through internal reconciliation for that customer.
    Go to banking --> bank reconciliation --> Automatic Reconciliation --> internal reconciliation.
    Regards
    Kamlesh Vagal
    Edited by: kamlesh vagal on Jul 21, 2008 10:59 AM

  • View Link between two query views

    Hi is it possible to create a view link between two views having the where clause bind variables.
    How you set the bind variables at the run time for the View objects. It is giving hard time for me to use the Master view in the XmlData bean to generate the Xml document.
    I am able to set the Master views bind variables, but for view link destination view
    where clause bind variables are not able to set ( link object link condition bind variables are binded run time but the views where chause bind variables of destination view are unable to setand bind)
    Thanks
    null

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • Link between Schedule lines and delivery quantity

    Hi all,
    At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
    Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
    Thanks in advance.

    Hi Amol and Rahul,
    Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
    Hope I am clear.
    Thanks in advance.
    Edited by: Rajini R M on Sep 11, 2008 6:12 AM

Maybe you are looking for