Business RulesSDK-sample for defining pattern for Standard test

I am designing Business rules using RulesSDK
while defining rule pattern if I use this piece of code
     Pattern p1 = r.getPatternTable().add();
     p1.setFactType("MessageType");
     p1.setVariable("msg");
     p1.setTestForm(Pattern.TEST_FORM_ADVANCED);
     AdvancedExpression adv = p1.getAdvancedExpression();
     adv.setValue( "msg.from.address==\"[email protected]\"" );
then it is defining patter with advanced test, I want to use Standard test, please tell me which class/method to use or if you can please give small example it will be very helpful.
thanks
Yatan

Please help me, I am stuck due to this.
thanks
Yatan

Similar Messages

  • What is the criteria for define GL for profit center

    Dear Profit center Guru,
    Can guide , what is the business logic to "Choose Additional Balance Sheet and P&L Accounts/Choose Accounts" for profit center. all the Proft Loss accounts should be there? or what kind of PL should be there , and what kind of Balance sheet accounts should be defined for profit center.
    Thanks,
    Kick

    Hi H.Kick
    at Choose Additional Balance Sheet and P&L Accounts/Choose Accounts we define which accounts or account intervals we want to transfer to Profit Center Accounting. It is imperative that we maintain all the GL accounts which need to be transferred to Profit center. Needless to say that if we donu2019t maintain the GL accounts here, the balance will not be transferred to PCA.
    This setting is also particularly required, if no profit center is entered for a specific transaction in one of these GL accounts, the system posts to the default profit center for that account interval.
    This particular configuration can also be called from the SAP easy access
    menu by entering 3KEH in the command field.
    Note that the GL codes for Customers and Vendors including Advances (special GL account) which are called Reconciliation accounts should not be maintained in the 3KEH table. Reason being the Customers and Vendors line items are not transferred to the PCA module online. We have to run month
    end programs to transfer Customer and Vendor balance from FI module to PCA Module
    These are GL codes which are reconciliation accounts for customer and vendors, that should be excluded from the 3KEH table.
    Hope i tried my best to make you clear on this.
    as well see comments in the thread by MR.vanne what is the criteria for define GL for profit center
    Thanks...Vyas
    Edited by: vyas on Jun 11, 2009 5:25 PM

  • ANN: Video tutorial for defining a PHP local testing server on Windows

    I have created a video tutorial to show how to define a PHP
    local
    testing server on Windows. It's just under 8 and a half
    minutes, and can
    be found here:
    http://experts.na3.acrobat.com/phplocalsitewin/
    I made it for Windows only to avoid confusing viewers with
    too many
    bewildering choices. I'll try to make a Mac version in the
    not too
    distant future, but don't yet have video capture software for
    a Mac.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

    "David Powers" <[email protected]> wrote in message
    news:gfc9vd$2qt$[email protected]..
    >I have created a video tutorial to show how to define a
    PHP local testing
    >server on Windows. It's just under 8 and a half minutes,
    and can be found
    >here:
    >
    >
    http://experts.na3.acrobat.com/phplocalsitewin/
    >
    > I made it for Windows only to avoid confusing viewers
    with too many
    > bewildering choices. I'll try to make a Mac version in
    the not too distant
    > future, but don't yet have video capture software for a
    Mac.
    Great tutorial David, thanks for sharing
    Thierry
    http://www.TJKDesign.com/go/?0
    | Articles and Tutorials
    http://divahtml.com/products/scripts_dreamweaver_extensions.php
    | Extensions
    that keep your markup clean
    http://www.fourlevel.com/ |
    CSS Menus, Gallery, Tab Panels, etc

  • Program for designing patterns for fabric

    I need advice on which program would be best for designing patterns to then use for fabric printing, wall paper etc.
    I am a complete adobe novice.
    Thanks,
    Kim

    Hi kimtreasure,
    For designing you can use Adobe Illustrator and Adobe Photoshop.
    For more info:
    Photoshop : Adobe Photoshop CC new features | Buy Photoshop CC
    Illustrator : Adobe Illustrator CC new features | Buy Illustrator CC
    Download trial version.
    Creative Cloud Help | Install, update, or uninstall apps
    Thanks,
    Atul Saini

  • IMG Settings for "Define Settings for Attachements" SRM 5.5

    Hi!
    I hope some can help me too.
    I use SRM 5.5 and want configure also attachement transfer from SRM to R3 (700).
    I have implemented the
    BAPI - BBP_CREATE_BE_RQ_NEW
    with the method
    FILL_REQ_INTERFACE
    and the statement
    CV_ATTACH_TRANSFER_ACTIVE = 'X'.
    I have also done the settings in DC10, DC20, DC30.
    But my Problem is that i dont get a attached document in R3 if i look in TA (ME23N).
    In SICF i have configure the docserver with ALIAS.
    In SMICM i get no error message if i start with NONE entry in field RFC Connections.
    Can anybody give me help with the IMG settings in "Define Settings for Attachements"?
    i think in this settings i have some to fill out but dont know really what!
    please can someone help me with this problem.
    Thx
    Wolfgang

    Hi and thx for answer!
    I have now added in the BAPI the 2 statements
    BE_STORAGE_CAT = 'DMS_C1_ST'
    BE_DOC_TYPE       =  'SRM'
    and now i get in SAP Portal following error message if i want attach a file:
    The instruction at "0x0adca7b9" referenced memory at "0x00000000"
    The memory could not be read.
    After this i try it again without this2 statements and i get the same error message?!?
    So what can i do now?
    thx for any help
    br Wolfgang
    @ In the TA MN23n i look at the item position line for attached files but nothing their.

  • ICWC - define filters for case management 5.0

    If I want to limit the Cases linked objects and logs to BP's, sales order, & service tickets are the proper setting.
    1. SPRO > interaction center webclient > business transaction > case management > define filters for displaying case detail.
    2. Define filter = ZTEST,
    enter any heading descriptions 1- 5
    Navigation = RecFolderToRecordDetail
    3. Assign element types,  add entries
    CRM_BUSINESS_PARTNER
    CRM_SALES_TRANSACTION
    CRM_SERVICE_TRANSACTION
    Can BOL type, description, path to bol 1, path to bol 2, etc all stay blank? to default to SAP functionality?
    4. Define Filter profile = ZTEST1
    5. assign filter ZTEST1 = ZTEST
    Step #3 is the one I want to be sure I understand.  Will rewards points.
    6. assign the filter in a different SPRO entry.

    I'm guessing zdefault had same description default and it was picking up the default one in error.

  • Define pattern from selection PSE7

    I have both PSE6 and PSE7. Is there a reason that the area for "define pattern from selection" is grayed out in PSE7 but not in PSE7. Is there something I have to change in the settings to get it to work in PSE7?

    Next time, just try deleting the settings file: quit the editor, then restart it while holding down ctrl+alt+shift. Keep holding the keys till you see a window asking if you want to delete the settings. Say yes.

  • I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide? can this be automated?

    I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?
    can this be automated?

    Not in Illustrator. You will need a CAD program or similar where you can dial in such manufacturing criteria.
    Mylenium

  • I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?

    I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?
    can this be automated?

    do you mean Anchor Point to Anchor Point should be less than 7mm? A Script could check segment lengths, on demand, not automatically as you draw.

  • Reg. Business Object of Sample order request ( sales) for workflow

    Hello Friends,
    Path: Sales-> Maintain Sales transactions ->Sample Order Request
    I want to create workflow for below scenario.
    When i create Sample order request in CRM, that time workflow should be triggered and notification mail go to a concerned person.
    now for that i need Business Object for Sample Order Request.
    So please can you suggest me a Business Object (BUS) for this sales transaction of sample order request.
    Thanking you,
    Marmik Shah

    hi Namikh,
    business object for sample order request is BUS2000115
    i think for achieving your scenario, you don't need to make a workflow.
    there is another way than using workflow, i.e. using action.
    based on my experience, there more effort for building workflow for sending mail notification when a transaction document is created than using an action.
    but if you insist, than you need to make a customization of business object BUS2000115
    hopes it helps.
    cheers

  • How define a pattern for having a number formatted

    Hello,
    anybody knows how to define a pattern for having an input number formatted in this way:
    150.000.000,88
    I've tried to use the following pattern( pattern="#.#00,00") ...but - of course - It does not work.....
    I'm using Jdeveloper 11.1.1.7
    <af:inputText value="#{pageFlowScope.contractBean.localTot}"
                          label="#{contractBundle.BASE_TOTALE}"
                          columns="12"
                          maximumLength="#{bindings.baseTot.hints.precision}"
                          id="it2"
                          valueChangeListener="#{pageFlowScope.contractBean.baseTotChangeList}"
                          autoSubmit="true"
                          required="true">
                    <f:validator binding="#{bindings.baseTot.validator}"/>
                <af:convertNumber type="number" minFractionDigits="2" maxFractionDigits="2" pattern="#.#00,00"/>
              </af:inputText>  

    Guessing you tried this, but have you tried:
         <af:convertNumber locale="de"  ...
    or
         <af:convertNumber locale="#{requestContext.formattingLocale} ...
    Hope this helps.

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

  • Create User-defined field for Marketing Documents

    I need to create a User-Defined field for Marketing Documents under Title and Rows.
    I need to do it via .NET instead of manually go into SAP to create it.
    Does anyone can give me idea on how to do this?

    Hi David,
    There are examples of how to do this in the SDK samples (look for MetaDataOperations project in the DI samples).
    There are also examples in the SDK help. Here's one:
    Private Sub AddUserField()
    '// The UserFieldsMD represents a meta-data object that allows you
    '// to addremove fields from tables or change the fields' characteristics
        Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
    '// In any meta-data operation there should be no other object "alive"
    '// but the meta-data object, otherwise the operation will fail.
    '// This restriction is intended to prevent a collisions.
        '// The meta-data object needs to be initialized with a
        '// regular UserFields object
        Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
        '// When adding user tables or fields to the SAP Business One database
        '// use a prefix identifying your partner name space
        '// this will prevent collisions between the various partners add-ons
        '// SAP's name space prefix is "BE_"
        '// Set the Fields' mandatory properties
        oUserFieldsMD.TableName = "OCRD" '// BP table
        oUserFieldsMD.Name = "BE_UserField1"
        oUserFieldsMD.Description = "A user field"
        oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
        oUserFieldsMD.EditSize = 20
        '// Add the field to the table
        oUserFieldsMD.Add
    End Sub
    Kind Regards,
    Owen

  • Flex design pattern for BlazeDS transfer objects

    Dear Community,
    I have a question regarding the nature of objects transferd from BlazeDS backend to the Flex client.
    According to some adobe docs all the presentation logic should be in flex and BlazeDS should provide only services.
    The question is what kind of transfer objects should be used? with what level of abstraction?
    To make it more clear let's talk about a simple forum application like adobe forums.
    I have created a Forum service, which returns a Forum transfer object, which has a List of Threads, with each thread having a List of Messages.
    Flex gets the Forum transfer object and does all the presentaiton work.
    This is a very nice seperatin of concerns architecture BUT there are two major performance issues:
    - when the forum becomes bigger the transfer object will be huge
    - the flex will use huge client resources to create the presentation of the forum transfer object.
    So my question is what is your strategy/ design pattern for such a problem.
    An obvious answer would be create services that include the presentation logic and use transfor objects like ThreadListPage which will include only the first 10 threads.
    Thanks in advance

    I think you are going to get a few varied types of answers to a general question like this, but I will comment on a few things.  First, you should only be transmitting the data that you need to use or display to the user at the time.  If this forum was implemented in Flex (I wish) you wouldn't transfer the text for all the threads.  You might not transfer the thread text at all (just the subjects), you'd make calls back to the server to fetch that data when and if you need it.
    Also, I think you are overestimating the resources required for the Flex "presentation layer".  If you think about it, these workstations we have here are pretty idle most of the time when you're at a website.  Nowadays there's plenty of processing power just sitting there waiting, so as long as your design isn't flawed the CPU or memory are rarely going to be a bottleneck with Flex.
    The way I design, BlazeDS (or GraniteDS etc) should mostly just be "serving data".  There is some flexibility available, for example I don't see a problem with putting certain types of business rules (such as a limit on the number of results that can be recieved in a search) within server side code, and validation rules on the Flex side.  So there's not too many "industry standards" in Flex yet beyond maybe what's done in the various standard architectures, at least not that I'm aware of.
    You might find it beneficial to look into some of the various frameworks/architectures available like Cairngorm, Mate, Swiz, and so on.  Learning how they work (looking at examples) would probably answer some of your questions too.

  • Books about MVVM, architecture, design patterns for Windows Phone 8.1

    Hi,
    I'm looking for a book or books (or other resources) that explain how to develop an app with a proper architecture. I mean what each layer (bussines layer, data layer, network access) should do and how should it look like. I'm also looking for a book about
    MVVM.
    Right now I'm struggling with how to create a layer for network communication - how to separate classes for requests and responses, how to manage requests and create some queue of requests and also to provide some way to cancel them when they are no longer
    needed, how to work with servers that use some level of security (cookies, certificates etc.).
    Another thing is caching - how to design a short-term cache or a persistant cache (database), what technologies I can use etc.
    Last thing that I'm struggling with is also naming. How to name classes in those layers, e.g. to distinguish between classes mapping data from some ORM database, for mapping on JSON in network communication. etc.
    I hope you got the idea :)
    Thanks.

    Currently, I don't find a book about MVVM pattern for Windows Phone 8.1, but I think MSDN and some blogs have some useful samples and conceptions: http://msdn.microsoft.com/en-us/library/windows/apps/jj883732.aspx
    http://channel9.msdn.com/Series/Windows-Phone-8-1-Development-for-Absolute-Beginners
    And I think your question includes too much scopes, maybe you need to split it into some blocks and get help in the related forum
    Best Regards,
    Please remember to mark the replies as answers if they help

Maybe you are looking for

  • SOA server 10.1.3.3 state is FAILED_NOT_RESTARTABLE

    Hi, I just shut down SOA sever as I forgot to start DB service and so console was not coming up. But on shutting down I got the following message - OBJECT DELETED I was clueless as to why I got this and now when I am trying to bring up the server it

  • Philips LCD TV with Ethernet does it work with TC

    Philips have on some of their top models an Ethernet point in the back of the TV for connection to the network but has anyone got it set up with an airport unit? and if so can you please tell me how to make it work. thank you in advance

  • Profit Center and Business Arra

    Hi, What are the Disadanatages of Business Area and what are the advantages of profit center? Thanks,

  • Mail message displaying "blocked plug-in"

    I used to copy youtube videso and send them to friends via mail... Never had a problem doing so with OSX 10.6.8 NOW alla of a sudden that is not possible and I get a "blocked plug-in" in the body of the message instead of the youtube video... How do

  • [SOLVED] Arch Kernel Configuration

    Hi, I'd like to compile recompile the Kernel but I would like to know wich are the default configuration settings that the compiled kernel26 of the core repository has. I would like to tweak some things but starting from that configuration not from t