BUFTYPECONV vs Data Dependent Routing

Hello everyone,
when using BUFTYPECONV for a service in conjunction with data dependent routing, which buffer type is used for the DDR? The original buffertype or the converted?
If I re-phrase the question: Which operation is performed first - buffer conversion or data dependent routing?
Any input on this welcome,
/Per
Per Lindstrom R2Meton AB, SWEDEN

Per,
The datatype conversion occurs after routing in the server that has been
chosen to process the service.
When the server receives the message and sees that it has receved an XML
buffer for a service with BUFTYPECONV specified, the postrecv function for
the XML buffer type converts the buffer to FML or FML32. When the service
calls tpreturn(), if the buffer passed to tpreturn() is an FML or FML32
buffer, it is converted back to XML before the reply message is sent back to
the caller.
<plindstrom> wrote in message news:[email protected]..
Hello everyone,
when using BUFTYPECONV for a service in conjunction with data dependentrouting, which buffer type is used for the DDR? The original buffertype or
the converted?
>
If I re-phrase the question: Which operation is performed first - bufferconversion or data dependent routing?
>
Any input on this welcome,
/Per
Per Lindstrom R2Meton AB, SWEDEN

Similar Messages

  • Using Data-Dependent Routing in combination with Membership provider

    Hi there!
    Currently we have two Web applications running on azure using a single SQL database. We are experiencing problems with performance because we are using only one database. We are investigating some solutions like documentDB and elastic scale.
    DocumentDb seems like a really good option for us because it looks like it can be implemented easily and we know just what to do.
    With elastic scale on the other hand we have to figure out what our options are. We are using a membership provider for our users to login in one of the two applications. The other web applications does not use a membershipprovider, it does not use a login
    system at all.
    in the backend of our code we determine a subscription_id for both applications to retrieve tenant data.
    I think we have a few options here
    1. to keep using the membershipprovider we could create a database just for the login mechanism so we can determine the subscription_id, and with that subscription_id we can use Data-Dependent Routing to retrieve the correct data from the correct shard.
    2. We can add extra columns to the Shard Map Manager database (i think i've read that it's not supposed to be used for user data) like username and password so we can login through this database.
    Does anyone has better options than the options mentioned before and can anyone give me advise on how we should deal with these issues?
    Thanks!

    Elmar --
    The best approach would be to maintain the Membership DB in a separate Azure SQL database.  Then you could shard your transaction details across an Elastic Scale set of databases based on the subscription ID.   (The Shard Map Manager
    database is not designed to be extended with additional columns, and Elastic Scale works by caching that Shard Map data in the client application anyway, and those in-memory structures can't be changed).
    You would use an ordinary ADO.Net connection to query membership for a Subscription ID, and then get an appropriate shard-specific connection using the Elastic Scale GetOpenConnectionForKey method, passing the subscription ID retrieved from
    the membership query. 

  • Data dependent routing with WebLogic

    How do you do data dependent routing with WebLogic Platform? Does it require additional
    products or can it be done just using WebLogic Platform components?
    Thanks

    WLI, or "WebLogic Integrator" may be what you are looking for, this is a
              full fledged message-flow/routing product built on top of JMS.
              If your needs are simple, you can roll-your-own data dependent routing
              using the WebLogic server built-ins of JMS, which provides reliable
              messaging, in combination with MDBs and/or Messaging Bridges - both of
              which allow the specification JMS selectors (filters). Furthermore,
              your MDB application can enqueue to a specific local destination (or a
              remote one, which is harder) based on the contents of the message it
              receives. Voila.
              For example, WorkQ (local or remote) --> MDB --> JobQ1 or JobQ2 or
              JobQ3. To simplify the MDB logic, JobQs could be on the same server,
              and therefore always available. (This is one of the advantages of
              having a JMS that can run in the same JVM as the app server, the other
              is very fast performance.)
              Tom
              David B wrote:
              > How do you do data dependent routing with WebLogic Platform? Does it require additional
              > products or can it be done just using WebLogic Platform components?
              >
              > Thanks
              

  • Tpdequeue and data depending routing

    Hi all,
    I would like to use data dependant routing. I try to use example from TMQUEUE server's reference.
    *GROUPS
    TMQUEUEGRP1 GRPNO=1 TMSNAME=TMS_QM
    OPENINFO="TUXEDO/QM:/dev/device1:myqueue"
    TMQUEUEGRP2 GRPNO=2 TMSNAME=TMS_QM
    OPENINFO="TUXEDO/QM:/dev/device2:myqueue"
    *SERVERS
    TMQUEUE SRVGRP="TMQUEUEGRP1" SRVID=1000 RESTART=Y GRACE=0
    CLOPT="-s ACCOUNTING:TMQUEUE"
    TMQUEUE SRVGRP="TMQUEUEGRP2" SRVID=1000 RESTART=Y GRACE=0
    CLOPT="-s ACCOUNTING:TMQUEUE"
    TMQFORWARD SRVGRP="TMQUEUEGRP1" SRVID=1001 RESTART=Y GRACE=0 REPLYQ=N
    CLOPT=" -- -qservice1"
    TMQFORWARD SRVGRP="TMQUEUEGRP2" SRVID=1001 RESTART=Y GRACE=0 REPLYQ=N
    CLOPT=" -- -qservice1"
    *SERVICES
    ACCOUNTING ROUTING="MYROUTING"
    *ROUTING
    MYROUTING FIELD=ACCOUNT BUFTYPE="FML"
    RANGES="MIN - 60000:TMQUEUEGRP1,60001-MAX:TMQUEUEGRP2"
    When I do tpdequeue("ACCOUNTING", "service1", ...), I got error in ULOG "4052 ERROR: NULL input buffer not allowed for service 'ACCOUNTING', which uses routing".
    Is it posible to use tpdequeue() with data dependant routing or only TMQFORWARD can dequeue messages from queue?
    Thanks.

    Hi,
    I'm not exactly sure what it is you are trying to do. Although the TMQUEUE servers advertise their service as the name of the queuespace, you cannot apply data dependent routing to that service as the buffer type that service uses is an internal Tuxedo buffer type and not one of the standard buffer types. This is because the service has to pass additional information (such as the information from the TPQCTL structure) besides the buffer being enqueued or dequeued.
    Where you can use data dependent routing is on the delivery of the message to a service performed by TMQFORWARD since TMQFORWARD simply uses tpcall() to invoke the service with the buffer retrieved from the queue.
    I'm not sure I answered your question, but if you could perhaps explain what it is you want to accomplish, I might be able to suggest something.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Data dependent routing

    Hi all,
    We would like to overwrite the routing function for FML32 buffer in tuxedo 9.1. The question is that it seems that the only way is defining a new type of buffer, and set the new function there. But also, we can'f find information about how to call the right server before, in the same transaction..
    Also we've heard that in tuxedo 10g you can define your own routing funcion. Is that true? any place where we could find more information about this issue?.
    Regards.

    Hi!!!
    first of all thanks for your responses!!
    In fact we have our database partitioned that way. We have oracle RAC and when different instances access to the same data we have many traffic that we need to avoid.
    So we have several instances of our servers in different groups each one connected to different instances of oracle rac.
    Each instance will allways access the same partitions. For example:
    INSTANCE0 - >PARTITION 0 AND 4 -> in this partition we have users like mod (user, 8)=0 or 4
    INSTANCE1 -> PARTICION 1 AND 5 -> in this partition we have users like mod (user, 8)=1 or 5
    INSTANCE2 -> PARTICION 2 AND 6 -> in this partition we have users like mod (user, 8)=2 or 6
    INSTANCE3 -> PARTICION 3 AND 7 -> in this partition we have users like mod (user, 8)=3 or 7
    we need to route all request for users that mod (user, 8) -> 0 or 4 -> to TUXEDO GROUP that connects with instance 0, and so on.
    We thought about the solution proposed by Malcom Freeman, but in our case we can't force our clients to change their systems and perform the mod operation. We are also considerating the opcion of moving our code to a new server such as:
    SERVER_CALLED_BY_OUR_CLIENTS
    { do nothing but calculate mod()
    call NEW_SERVER_WITH_NEW_FIELD_FOR_ROUTING
    But we already have many servers and many services.. and we are trying to avoid this opcion
    Now we are trying the overwriting option. For this we tryed that, if we change the routing function in FML buffer like:
    "FML32", /* type */
    "*", /* subtype */
    1024, /* dfltsize */
    _finit32, /* initbuf */
    _freinit32, /* reinitbuf */
    _funinit32, /* uninitbuf */
    _fpresend32, /* presend */
    _fpostsend32, /* postsend */
    _fpostrecv32, /* postrecv */
    _fencdec32, /* encdec */
    _newrouting, /* route */
    and we do:
    int _newrouting(char routing_name, char service, char data, long  len, char group)
    userlog ("calling new routing");
    return froute32 (routingname, service, data, len, group);
    It works (also we get our trace in ULOG). So we are trying now to get de routing field from data, and convert it and after that compose de buffer with new data to call _froute32... we hope that should work, but now we have some problems trying to get routing config from ubb (we're using MIB) to know the field we have to extract from buffer...The fact is that first we thought that in data we'll get the user, but it seems to be a bit complicated.
    Regards

  • Please Help PI Data Dependent Integration Builder Authorizations NOT Workng

    Dear Friends / Experts,
    I had spend many days and explored all Weblog  and links on this website and implemented all the steps required to acheive Data Dependent Integration Builder Security and I am not successful so far. I am just giving up now - Please Help Me ---
    As I said, I already read all the important Forum Links and SAP Web links and Followed Each and Every Step - service.sap.com/instguidesNW04 ® Installation ® SAP XI
    Security Requirement - Data Dependent/Object Level Authorizations in XI / PI
    In distributed teams or in a shared PI environment it might be necessary to limit authorization for a developer or a group of developers to only one Software Component or objects within a Software Component or to specific Configuration Objects.
    Our Environment - PI 7.0 SP 16
    Created a new role in the Integration Builder Design
    u2013Add Object Types of any Software Component and Namespace
    - Enable usage of Integration Builder roles in Exchange Profile
    Integration Builder u2013Integration Builder RepositoryParameter com.sap.aii.util.server.auth.activation to true
    Assign users to the newly created Integration Builder roles
    u2013Create dummy roles in Web AS ABAP, these roles are then available as groups in Web AS Java
    u2013Assign users to these roles
    u2013Assign the Integration Builder roles to the above groups in Web AS Java
    u2013Assign unrestricted roles to Super Users
    Please help - How to validate whether Data Dependent Authorizations are Activated?
    I am working with XI Developers and Basis Team and we did updated all the Required Exchange profile parameters.
    Per this Document - User Authorizations in Integration Builder Tools - Do we need to update the server.lockauth.activation in Exchange Profile. When We updated, It removed Edit Access from all XI Developers in PI
    In both the Integration Repository and the Integration Directory, you can define more detailed authorizations that restrict access to design and configuration objects.
    In both tools, you define such authorizations by choosing Tools ® User Roles from the menu bar. The authorization for this menu option is provided by role SAP_XI_ADMINISTRATOR_J2EE. Of course, this role should only be granted to a very restricted number of administrators. To activate these more detailed authorizations, you must set exchange profile parameter com.sap.aii.ib.server.lockauth.activation to true.
    The access authorizations themselves can be defined at the object-type level only (possibly restricted by a selection path), where you can specify each access action either individually as Create, Modify, or Delete for each object type, or as an overall access granting all three access actions.
    http://help.sap.com/saphelp_nw04/helpdata/en/f7/c2953fc405330ee10000000a114084/frameset.htm
    I was able to control display and maintain access from ABAP Roles, but completely failed to implement Integration Builder Security?
    Are there any ways to check Whether Data Dependent authorization or J2EE Authorizations are activated?
    Thanks a lot
    Satish

    Hello,
    so to give you status of our issue.
    We were able to export missing business component .
    But we also exported some interfaces after that and we had some return code 8, due  to objects still present in change list on quality system (seems after previous failed transports , the change list was not cleared completley...).
    So now we have checked that no objects is present in the change list of quality system and we plan to export again our devs on quality system.
    Hope after that no more return code 8 during imports and all devs transported correctly on quality system.
    Also recommending to read that, which is pretty good.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7078566c-72e0-2e10-2b8a-e10fcf8e1a3d?overridelayout=t…
    Thanks all,
    S.N

  • How to make net due date dependent on Payment Terms in credit memo FB75

    Hi Experts,
    In our system currently when we create credit memo using tcode FB75 system makes the invoive due immediately.
    We wanted to make this net due date dependent on payment terms given by us. Please let me know how can I achieve this..
    Please let me know if there is any user exit there or the configration path to achieve this...
    Regards,
    Vidya

    Hi,
    "vbdkr-zterm. is nothing but Payment terms
    *   Fetching Payment term details
        SELECT SINGLE * FROM t052 INTO w_t052 WHERE zterm = vbdkr-zterm.
        IF sy-subrc = 0.
          CLEAR i_faede.
          MOVE-CORRESPONDING w_t052 TO i_faede.
          MOVE: w_t052-ztag1 TO i_faede-zbd1t,
          w_t052-ztag2 TO i_faede-zbd2t,
          w_t052-ztag3 TO i_faede-zbd3t.
          i_faede-bldat = BKPF-budat.                         "this is Importnat posting date
          i_faede-koart = 'D'.
    *     Fetching Due date using Function Module
          CALL FUNCTION 'DETERMINE_DUE_DATE'
            EXPORTING
              i_faede                    = i_faede
            IMPORTING
              e_faede                    = e_faede
            EXCEPTIONS
              account_type_not_supported = 1
              OTHERS                     = 2.
          IF sy-subrc <> 0.
          ENDIF.
          w_invdate = e_faede-netdt.              "this field contains Net due date...
        ENDIF.
    Prabhudas

  • Data Dependent Authorization in Integration Directory

    Hi all,
    I faced a couple of questions regarding Data Dependent Authorization in Integration Directory:
    1) I've configured user role in Integration Directory to restrict access to certain services and communication channels.
    When I configure it as follows:
    Selection Paths:
       Operator: Include
       Party: -
       Service: ZMDMBS
    Objects:
       Operator: Include
       Types: *
       Actions: Full Edit
    I get expected behaviour: user assigned to this role can modify ZMDMBS and can't modify any other Service in ID.
    And when I change <i>Selection Paths -> Operator:</i> to <b>Exclude</b> I expect that all services will be modifiable except ZMDMBS. But in this case no of the services is modifiable.
    Is my configuration of the authorization wrong ?
    2) Is it possible to restrict access to all configuration objects relevant to specific Scenario ?

    <b>2) Is it possible to restrict access to all configuration objects relevant to specific Scenario ?</b>
    i dont think so it is possible. But u can lock the object so that other users cannot modify it.

  • FI: Payment condition calculating 2 due-dates depending on document-date

    Hello community!
    I'm searching for a definiton of a FI-payment-condition which is calculating two different due-dates depending on document-date.
    E.g.:
    Invoices dated from 01.03.08 till 09.03.08 should be paid on 10.04.08.
    Invoices dated from 10.03.08 till 31.03.08 should be paid on 10.05.08.
    Or must this be realized by a FI-substitution???
    Thanks for an answer.
    Kind regards,
    Bernd

    Hello,
    You didnot mention if u need posting date as base or document date. However your scenario, below is
    the answer for your query is
    1. Create one customised payment term only eg. XXX
        for first scenario,
       Day limit is 9 ;
       under payment terms tab , fixed date 10, Addl month 1
       for second scenario
       in the same payment term XXX
       Day limit is 31,
       under payment terms tab , fixed date 10, addl month 2.
    Explanation.
      as day limit is 9, what ever the dates of transaction between 1-9 it picks first setting
    and after 9th until 31st it picks second setting.
    I hope this clarifies you.
    Thanks
    G.Bharathi

  • Is Their Any Support For Data Aware Routing Through The Coherence DataGrid?

    Hi all,
    Following paragraph describes the feature i m looking for(*Data Aware Nodes*)......
    The Function Service can transparently route behavior to one or more nodes in the cluster. In the case of Data Aware Functions, the behavior can be directly routed to the node(s) that hosts the data needed to execute the function in parallel, stream and aggregate the results substantially reducing the time taken to execute complex data intensive tasks.
    So please tell me is their any support for above said question. If this feature is their in coherence please help me with it's configuration and implementation as well.
    Thanx

    Hi JK thank you for your reply
    I want to achieve Data Aware Routing in Parallel Execution (Parallel Function Execution).
    Consider a case where i have three nodes (say Node A,B C) in coherence cluster with partitioned scheme. Now suppose we have Employee related objects stored in cache of Node A and Node C only, but not on Node B. Then i want to perform some operation on Employee objects only in parallel fashion.
    In coherence i ll achieve this using map.invokeAll(collectionKeys, agent);_ from client program.
    Now my question to you is, as my operations are based on Employee objects only which are stored on Node A & c. Then When i request parallel Execution from client program which will connect to Node A from our cluster, will it go to Node B where their is no Employee objects ??????
    Edited by: 981644 on Mar 6, 2013 7:52 PM

  • Show date dependant of portal locale

    Hi,
    I want to display a date dependant of the locale of the user/portal/system settings. I assume the system settings are normally used. So if the user has an english system...use dd-mm-yyyy and if he has a dutch setting use mm-dd-yyyy for example.
    I searched on the forum and found a usefull post but there was a link which was broken...see post :
    How to Change Date Format according to the Locale/Country of Portal User
    I know that i can use the SimpleDateFormatter for that but i still have to enter a pattern....is it also possible to only supply a locale so it figures out the pattern itself?
    Much thanks,
    Hugo

    Hi Hugo,
    Use
    DateFormat.getDateInstance(int style, Locale aLocale)
    where you get Locale from
    WDResourceHandler.getCurrentSessionLocale()
    Or use IWDResourceHandler.formatDate().
    Regards
    Markus

  • Transfer Master Data Rate Routing

    Hello Gurus,
    We need to transfer Master Data (Rate Routing) with ALE. We already configure the ALE connection. We need to know which is the Process Code in the Inbound Table.
    Anyone can help us, please.
    Thanks in advance.
    Best Regards.

    Check this link
    http://help.sap.com/saphelp_47x200/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
    For BOM and materials there are transaction codes...but i could not get for WC and Routing...

  • Retriving data depends on date

    Dear Experts,
    Im having 3 line items in schedule agreement. Im retreving data depends on delivery date of line items.
    for suppose 1st line item is on 01.05.2008,2nd line item is 10.05.2008,3rd line item is 27.05.2008.
    if user give options 10.05.2008 to 30.05.2008,2nd and 3rd item are displaying. but 1st line item quality should be displayed in pending qty(of course,new field).
    Right now i need suggestions regarding date calucalation, if user selects 2nd and 3rd line item, 1st line item qty should be displayed in pending. How store the line item qty that is out of select-options?
    Please need ur suggestions,
    Regards,
    Bharat

    Hi,
    Take two internal tables:-
    one with all existing fields that you are currently fetching (say itab)
    and
    other with all the previous fields and also a include other fields that you want to include for those records that are not in date value from select-options (say it_final)
    And now use these queries:-
    select <field1> <field2> ...
    from <table_name>
    into itab
    where
    date in s_date. "condition for date in select options
    "move records in date range to final internal table
    move-corresponding itab to it_final.
    refresh itab.
    clear itab.
    select <field1> <field2> ...
    from <table_name>
    into itab
    where
    date not in s_date. "condition for date not in select options
    "move records from itab to final internal table for records not in date range
    loop at itab.
      it_final-field = itab_field.
      "append other values also for fields not in select options for date
      append it_final.
      clear it_final.
      clear itab.
    endloop.
    Now this internal table will contain all records that are in date range and as well with the records not in date range.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes)

    Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes data).
    Regards
    Dhirendra
    Moderator message - Moved to correct forum
    Edited by: Rob Burbank on Apr 21, 2009 8:58 AM

    Route definition is done at 0VTC. You have define the Route with its description, Transit time, factory calender, carrier info etc. It is stored in TVRO table
    Then yoiu will maintain the route determination in 0VRF.
    Route Determination:
    Dep zone of the shipping point + Destination zone (T-zone) of the ship-to + Transportation group + shipping conditions.
    Route determination details are stored in TROLZ table.

  • HT4356 why does it takes so long for my ipad to connect to my air printer i have a up to date bt router

    why does it take so long for my ipad to connect to my air printer when i need to print something i have a up to date bt router.

    Good Afternoon Geraldine,
    I understand you are wondering why you did not receive an email receipt instantly for an iBook purchase made on March 2nd.  Is this the first time you've noticed a delay?  I would suggest contacting the iTunes Support team to report the issue.  With your permission, they can access your account and possibly shed some light on this particular transaction.
    See your purchase history in the iTunes Store - Apple Support
    https://support.apple.com/en-us/HT204088
    Report a problem with an item purchased from the iTunes Store, App Store, Mac App Store, or iBooks Store - Apple Support
    https://support.apple.com/en-us/HT204084
    Regards,
    Judy

Maybe you are looking for