Datagram Receive query

Hi Folks,
I facing one problem. I am using following code to receive datagrams. The problem is even server has stopped sending datagrams . It is not throwing Interrupted exception. It is waiting in a loop and and not coming out of loop.
     dc = (DatagramConnection)
     Connector.open("datagram://" remoteUDPServerAddress ":"+remoteUDPServerPort,Connector.READ_WRITE,true);
while (true)
          dg = dc.newDatagram(r.size);
          try
               dc.receive(dg);
          catch (InterruptedIOException e)
               System.out.println("\n No more Datagrams Timed out");
               Alert a = new Alert
               ("UDPClient", " No more Datagrams Timed out...", null, AlertType.ERROR);
               a.setTimeout(Alert.FOREVER);
               display.setCurrent(a);
               e.printStackTrace();
               break;
//someother code
}

You need to query the BizTalkMgmtDb database to get details.
select DateModified from BizTalkMgmtDb..adm_ReceiveLocation
where name='XXXX'
Replace XXXX with your receive location name.
HTH,
Rachit

Similar Messages

  • Find technical name of receiving query in RSBBS assignment

    Dear Experts,
    under transaction RSBBS one can assign sender/receiver details. While the technical name of both sender and receiver are entered when createing the RRI, one can only retrieve a compressed ID (i.e. 46F28FNV1L4H1QENI1KKEKWUCAZPAOPRD) for the receiver in transaction RSBBS.
    We would like to find a way to determine the technical name of that particular compressed ID. I have already searched the RSBBS* tables, but I cannot get past the compressed ID (field RONAM) in i.e. table RSBBSQUERY
    My question:
    - Can you provide me a table/view/program/transaction/... that shows the relationship between senders and receivers by means of technical query names (not ID's)?
    - Or can you provide me (step-by-step) the relation between different tables and fields that would allow me to do so?
    Kind regards,
    PJ

    Hi Simon,
    thank you for your reply. I have researched your proposal, and I can indeed find the relation between my sender query's technical name ZSENDERQUERY_Q001 and the field RSBBSQUERY-RONAM that looks like this: 46U5CEI2BU3U8P8GZOFWWN3GKAZSD_C03 (Mind the name of the infoprovider at the end!).
    This information can also be retrieved from transaction RSBBS, where I can enter 1 senderquery's technical name, and which returns me the associated RSBBSQUERY-RONAM values in the column "Receiver Object". Your contribution allows me to create a view to get this information for multiple sender queries from different cubes.
    However, I would like to go one step further. From this RSBBSQUERY-RONAM value I would like to get the target/receiving query's technical name that looks like this "ZRECEIVERQUERY_Q002".
    This is my ultimate goal as I need to delete all obsolete queries from the BI system, and the associated jumpqueries. Creating a single list by means of a view would help me a lot.
    Kind regards,
    Pieter-Jan

  • RRI Jump Query opens the receiver query in standard Template??

    Hi,
    Few questions from me (Note I have searched the forum database for answers but didnt get a convincing answer)
    1) How can I use 1 web custom built template for 2 different queries?
    2) I have created the sender receiver setting for the Jump queries. The problem that I am facing is that the sender query uses the custom built web template but when I use GOTO the receiver query instead of using the custome template it executes in standard webtemplate. Kindly suggest how can I open the receiver query in the custom built web template after GOTO function.
    Thanks for all your help in advance..
    - Amit

    Hi SS,
    I agree to the statement that RRI uses link to Query but if we setup the custom web template for that jump query in WAD....it will never open in that template via RRI ???
    That very disappointing discovery for me !!!
    Any other possiblity to make this work????
    What if I have the sender and receiver query web template(custom) same???.is it possbile to use the same template for these two template even after jump ???
    Regards

  • How to find out sender query by using receiver query in RRI

    Hi,
    I have do some assignment settings .I know receiver query name ,but i don't know sender query name .
    please suggest me how to find out sender query name .
    is there any table /t-code ?
    Thanks,
    EDK.....

    Hello,
    If the receiver query is web report, then goto table RSBBSQUERY and in RONAM field put the web report name.
    You will get the sender query UID in the field ELTUID.
    Now take this UID and goto table RSRREPDIR and put this UID in COMPUID and you will get the query name.
    If the reciever query is bex query then get the UUID as above from RSRREPDIR by providin the tech name and then go to table RSBBSQUERY to get the UID of the sender query.
    Regards
    Shashank

  • Pass Key date from Sender to Receiver Query

    Hi,
    We have a requirement to pass key date from the sender query to receiver query.
    In our sender query we derive the key date based on the calendar month value entered by the user on the variable screen and this is used to determine the hierarchy structure to be used for report.
    The user have the option to drill down to detailed query (using RRI) from the context menu option. We would like to use the same key date in the drill down query as the sender query. The drill down query does not have any variable selection.
    In RRI settings I can not see the way to pass on the key date.
    Any help is appreciated.
    Thanks,
    Ankit

    Hi Suman,
    Yes, we do not have variables in the receiver query as we expect the settings in RSBBS to pass the filter values to the receiver query and which is being done consistently.
    The problem is that we do not have any option to pass key date. If required we can add a customer exit variable but how will it work if the user does not want to enter the variable values for the drill down report.
    Thanks
    Ankit

  • Passing Multiple Single Values from Sender Query to Receiver Query in RRI

    Dear All.
    We have 2 - Bex Reports ZBEX_1 & ZBEX_2
    1. In ZBEX_1 having the fileds data like the below.
    Account Doc. Number - Clearing Document --- Amount
    12345                  -  65432                --- 100
    12346                  -  54321               ---  50
    2. In ZBEX_2 having the following data.
    Account Doc.Number -- Amount
    45342                     - 10
    66666                        -  100
    65432                       -   10
    54321                      - 5
    3. I am Traying to create RRI Between ZBEX_1 & ZBEX_2 , with Sender query as ZBEX_1 and Receiver query as ZBEX_2
    If I drilldown from ZBEX_1 need to show the following output in the ZBEX_2
    Account Doc. Number  -  Amount
    65432                       -     10
    54321                      -     5
    i.e If Clearing Documnet in the ZBEX_1 is same as Account Doc. Number in ZBEX_2 those Account Doc. Numbers I have to show in the output of ZBEX_2 RRI Report.
    Both the records I have to show at a time.
    So please suggest me
    1. How to pass Multiple Single Values to Next Query using RRI
    2. How to Map Clearing Document to Account Doc. Number in RRI.
    NOTE: Account Doc. Num length is same as Clearing Document
    Please suggest me.
    Thanks & Regards,
    Kiran Manyam

    Your scenario of passing values from multiple records in Source does not suit well for RRI Jumps.
    In ZBEX_2 query, create a Replacement path variable on Clearing Document. In that Replacement path variable, use the Replacement with query option and choose the ZBEX_1 as the underlying query source.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/589b3c494d8e15e10000000a114084/frameset.htm
    When you execute ZBEX_2, what ever clearing document values that ZBEX_1 has will be passed through the replacement path variable as a filter to the ZBEX_2
    Hope it helps!
    Uday Pothireddy

  • Regarding Sender query and receiver query

    Hi Masters
          I have one sender query and receiver query. Both queries contain G/L account.
    First I got sender query report, in this report I drill down one free charactteristics field to get correponding field sales document in receiver report.
    Is it mandatory which field i drill down in sender report should be in receiver report?
    Could you please help ?
    Thanks in Advance
    Raja.S

    I would rewrite the first one to:
    Select t.id_entity,t.id_trade_ref,p.am_stock
    from trade t,posting p
    where t.id_trade_ref = '5V973781B'
    and p.id_trade_ref = t.id_trade_ref
    This way, you really make the join between the table.
    I think the join is better because it uses less code. I do not think you will notice much performance win between one or the other, especially because it concerns only a few rows.

  • Clarification req. about the receiver query output in RRI

    Hi,
    I need some insight on the output that i see in the receiver output in RRI.
    For e.g, In the sender query, I see a list of Cost Elements. Now, I see one of the Cost Element ( select any one context cell) and the perform the RRI Jump.
    Now , can you please let me know if in the receiver Query, do I see output only for that particular Cost Element OR all the cost Elements ( irrespective of wht cell on go on the sender query and perform the Jump )..
    FYI, currently, when I do the jump, I see all the cost elements even though I select one cost element..Is it the way RRI works ?? OR am I missing out on something..
    Please let me know...
    Thanks..
    Punkuj..

    Report - > Costs and Allocations : Costcenters -> Source Query/Infocube/Summary Level
    CostCenter|CostElement|Fiscal Period|Actual Amount
    C001.........|CE123.........|2007007.......|120$
    Report- > Costcenter Line Item Details - > Target Query/DSO/Detailed Level
    CostCenter|CostElement|DocNum|DocumDate|Fiscal Period|Actual Amount
    C001.........|CE123.........|10023.....|2007/09/12|2007007.......|50$
    C001.........|CE123.........|10024.....|2007/09/16|2007007.......|50$
    C001.........|CE123.........|10025.....|2007/09/19|2007007.......|20$
    Overall Result...................................................................120$
    Requirement for jump - > For Document Details like Document Number, Document Date......
    Procedure : Rclick on 120$ - GO TO - Costcenter Line Item Details
    For e.g, In the sender query, I see a list of Cost Elements. Now, I see one of the Cost Element ( select any one context cell) and the perform the RRI Jump.
    You should only see one Costelement from where the jump was made , assuming you have same set of variables in both source and target queries and additional details in the target query if any.
    Dollar Amounts may not match as time period values are not passed on to the target query.
    Now , can you please let me know if in the receiver Query, do I see output only for that particular Cost Element OR all the cost Elements ( irrespective of wht cell on go on the sender query and perform the Jump )..
    Appropriate jump would be from the Dollar Amount Cell  ( like 120$ in the above example ) and it depends on the variables you passon etc....primarly the requirement.
    Jump may not work from the Overall Result Rows, Node Level Dollar Amounts.....
    FYI, currently, when I do the jump, I see all the cost elements even though I select one cost element..Is it the way RRI works ?? OR am I missing out on something..
    What are your variables in the source and target query ?
    What is the requirement anywas?

  • RRI - How to edit the Receiver query

    Hello All,
    As per http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/156e3fefa13042e10000000a114084/frameset.htm
    I created a Target for my query (sender). The target or receiver query is also a BeX query in the same system.
    Now in my sender query, I have Department in my rows and Employees in the columns. When I double click on Department, it takes me to Target but it does not show the report in the format I want. How do I modify the receiver query?
    Also if someone has good knowledge in RRI, it would be really helpful if you can help me out with my query?
    Thanks in advance
    Regards,
    Abhishek

    Hi Abhishek,
    -- Characteristics that are to be filled from the sender query should be defined as free characteristics. A hierarchy node restriction, for example, can also be transferred to free characteristics as a property.
    -- Changeable variables for the receiver query are not filled by the RRI.
    -- Selections for various InfoObjects are transferred if the InfoObjects have the same reference characteristic.
    When the RRI is called, the sender query transfers the following filters to the receiver query:
    ·        global filters
    ·        values in the navigation block (dynamic filters including the presentation hierarchy)
    ·        filters from the restricted key figure selected
    ·        filters from the drilldown characteristics selected
    The system first fills the variables and then fills the navigation block. In order to do this, a unique characteristic assignment must be possible. Selections for various InfoObjects can then be transferred, as long as the InfoObjects reference the same basic characteristic. Hierarchy nodes are triggered in selections and can then be transferred to the respective InfoObjects.
    See this link and if any further questions get back to me :
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/bc2d38c4b3f205e10000009b38f8cf/frameset.htm
    Assign Points if Helps !!
    Regards,
    Naveen Rao Kattela

  • RRI : Web Template (7.0) as a receiver Query

    Hi All,
    I am facing a strange problem.
    In sender query, I have Employee,Employee Post and Employee Start Date.
    I have to pass employee to Receiver Web Template which shows Employee History.
    When the employee number is passed to the receiver, it ask to enter Valid from and to date.
    When I am going to RRI query by clicking on a Employee->Go to, I have to enter a date. But after that it shows all the employee with the one which I have passed.I tried all kind of settign in assignment details.
    Now when I keep receiver as query on which this web template has been based, it is working fine. I am facing this issue only when I use web template as a receiver.
    Any ideas will be highly appreciated.
    - Jaimin

    Please check if you are performing anything or in web template or any commands or selection parameters being reset or set in template.  Is this template involves any other web item apart from analysis item? Try removing them if at all you don't want them.

  • HTTP RECEIVER QUERY

    hello everyone,
    I have to develop a synchronous scenario, SOAP Sender to HTTP Receiver.
    Soap sender will be passing suppose 2 fields Name and Employeeid and the Http receiver will be replying back the 
    response with entire employee details (name, id, address, dateofbirth, etc).
    Http receiver has to be accessed via a URL like 
    https://abc.com/test/servlet/ServletInterface?command=getdetails&emp_name=<Name>&emp_id=<Employeeid>
    This is an https request, henc an RFC destination needs to be configured in XI and SSL has to be activated but how will i add the parameters Name and Employeeid to the URL mentioned in the RFC destination.
    i went through many blogs on SDN, but i could not figure out how to append the URL mentioned in the Http Destination. Is it possible to do dynamic configuration with SSL enabled.
    i tried passing URL https://abc.com/test/servlet/ServletInterface?command=getdetails in the HttpDestination and also configured a mapping for dynamic configuration but with no success.
    please let me know if i am on the right track. if not please suggest.
    thanks in advance.
    Edited by: praveen kalwa on Feb 22, 2008 1:33 PM

    Hi,
    XI supports only PUT method of http request. While adding parameters to the addr string is considered as a GET method.
    Refer following blog in this regard.
    /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    -Kavita

  • Receivables - Query of Customers, sorted by Payment Terms?

    I'm looking for an easy way to run a query (through the Applications layer) of all customers, sorted by their Payment Terms (Net 30, Net 45, etc.)
    Any ideas?

    Hi Robert.......
    You can consider the Days of intervals as the payment temrs.
    For Example put 30 days it will give the report only for 30 days which is nothing but for 30 days payment terms.
    put 40 days it will give the report only for 30 days which is nothing but for 40 days payment terms.
    Hope this works for you.....
    Regards,
    Rahul

  • QUERY when run on WEB and RSRT then RRI show selection screen on receiver.

    Hi,
        We have two query: Query 1 and Query 2.
        Query 1 can be RRI to Query 2.
       The variable for fiscal period and Forecast version are both mandatory. The selection for plan version is optional.
       When run this on BEx Analyzer, the jump work smoothly without pop-up of selection screen of the receiver query.
       However, when run on RSRT and Web, the selection screen is being pop-up and you need to press execute button before the 2nd query will be shown.
       The value of the variables is pass correctly.
        Fiscal Period on 1st query is being restricted by two variables.. one interval variable on Free characteristics.. and one single variable on restriction of key figure. The single variable is the one exist and passed on the 2nd query.
       Hope you can help me.

    the only thing i can think of on the wbe is a setting for opening windows in tabs or open new window under tools for rsrt not sure, did you try to run it in HTML in rsrt?
    it could be setting in SPRO for reporting worse comes to worse open a note with sap.

  • Query from master data

    I am trying to create a structure to create a query as follows from 0EMPLOYEE master data. I have ceated a BI infoset with 0EMPLOYEE and using that to create this query. This query is intened to be used as the receiver query in RRI.
    Sender Query (query1):
                                  Employee Distribution by perfromace rating
    Performance Rating  Before_Min Below Above Total
    Receiver Query (query2) : this should feed the employees used in query1 and get their attributes in a query
    Employee       Last_Name First_Name, Annual_Salary
        A
        B
    Qns:
    1, What is the best approach to get this?
    2. How do I create a characteristic query for Employee (without key figures) as in qurey-2
    Amy help is apprecaiated.
    Thanks in advance

    Hi Bob,
    Thanks for your message. I got the receiver query working by configuring the infoobject as a infoprovider and getting "# of records" as the dummy KF into the query and hide it. I need to clean up to supress results reow.
    For connectign to this query as RRI, in the assignment details, do I use it as an Infoobject - parameter for 0EMPLOYEE or any other setting. I used the above settings and see more employees in the list than I had expected. i don't see the employee ids being passed on from Q1 to Q2 to provide a reduced result set when I limit the scope in q1 (eg: by filtering using the org unit or personnel area).
    Any clues?
    Thanks
    Raj

  • Set/get variables with RSBBS from  query 1 to query 2

    Hi BW Experts,
    I created a sender/receiver assignment from query 1 to query 2 using RSBBS. For two characteristics I assigned the processing method by “Variable”. Process mode for these variables in the receiver query is by “customer exit”. But I don’t know how to set/get values of these variables.
    Is there any function module to do it ??
    Please help!!
    Dev

    thanks...but i m not used in RSBBS and i m afraid i m lost
    could anyone explain me in detail :
    - what i have to do for setting the sender & receiver,
    - before to set parameter ID in the sender how to get the information of the current line (which will serve for the jump)
    please help! i promise points
    Dev

Maybe you are looking for

  • Site to Site VPN on Cisco ASA

    Hello, I'm trying to set up a site to site VPN. I've never done this before and can't get it to work. I've watched training vids online and thought it looked straight forward enough. My problem appears to be that th ASA is not trying to create a tunn

  • Is the HP Photosmart Pro print plug-in for Adobe Photoshop available using Windows 7 64 bit?

    Hi guys. Having a bit of a struggle with printing with sheets (as against using rolls) on my DesignJet Z2100.  I'm having difficulty in getting the rotation correct, paper margin issues etc and had thought that maybe the print plug-in may assist. Che

  • RV180W firmware 1.0.5.4 DHCP lease problem

    Yesterday I upgraded my RV180W to firmware 1.0.5.4. Today the only machine that we have with XP can't get a DHCP lease (we have some 20 machines that can that all have W7 o W8.1). Also none of the iPhones nor Androids that connect via wifi get leases

  • Howto Force Garbage Collection manually in Oracle Application Server

    Hi, I have a Oracle SOA suite installed on Oracle 10g Application Server. The heap memory for the SOA oc4j container is 2G with a permgen space of 256M. But it looks like there is some memory leak somewhere and the Heap area is getting filled frequen

  • Default Value Date Picker Field

    Hello: In a detail tabular form I am referencing a date picker field from the master form as default value. This is the situation in the detail form: TABULAR FORM Column Name:                   FECHAREGISTRO -- the field's name in the detail tabular