CRM autorisations via ACE: code samples available?

Hello all,
We are currently looking into ACE to manage the objects in CRM which our users are allowed to see.
In our case we want our users only to see the customers which are assigned to their sales organisation. Due to the limited number of standard ACE rules which we can use as an example (only for CHM some are available) we have some troubles getting this working.
Can somebody provide us with code samples of the AFU, AFO and OBF methods of similar autorisation rules? (or at least autorisation rules where data from the user needs to be compared with data from the object itself)
We were able to debug the OBF method when activating the rule via the ACE Developer tool, but we never were able to come into the AFU method in debug mode. Does somebody know a trick?
Thank you and best regards,
Boris

Double U,
I have just enhanced the extractor for complaints in CRM.
I basically did the following:
1. Enhance extract structure - select the datasource in RSA6 and click "Enhance Extraction Structure'. Create the append structure containing the extra fields you wish to send to BW.
2. Function enhancement - select the datasource in RSA6 and click "Function Enhancement". Create a project (ZBW). Display the enhancments and assign RSAP0001. Click the "Components" button and modify function exit "EXIT_SAPRLSAP_001" to get your additional data from the business object.
3. Replicate the datasource to BW.
4. At this point I created my own InfoObject Catalog and InfoObjects for the additional data. You may wish to use existing ones.
5. I then created my own ODS object and created the update and transfer rules.
Hope this helps. The BW course TABW30 provides some details on how to do this.
I did not need to modify any BDocs to do this.

Similar Messages

  • ITunes U Code Samples Update! (Aug 3.)

    In case you missed it (I know I did), there are new code samples available on the iTunesU Support Site:
    http://images.apple.com/support/itunesu/docs/iTunes_UCodeSamples.zip
    The familiar Java and Perl examples can be found there, but there are also options for C, Python and shell.
    It also seems that the Perl example has changed -- code that I have in my version is no longer in the new one. Any chance we can get a diff file from Apple with the changes?
    And finally, for those who missed it, user-contributed C# and PHP authentication schemes have been posted to the forums:
    C# by Ed at NAIT
    http://discussions.apple.com/thread.jspa?threadID=557503&tstart=15
    PHP by Aaron Axelsen
    http://discussions.apple.com/thread.jspa?threadID=520959&tstart=45

    Hi,
    The release notes should contain information on when the example scripts change. They won't contain diffs, basically just an FYI.
    Duncan

  • I bought photoshop from pc world, it was a download via activation code my computer has broken and had to be replaced how do i re download program as i no longer have the scratch card

    i bought photoshop from pc world, it was a download via activation code my computer has broken and had to be replaced how do i re download program as i no longer have the scratch card

    you just need your serial number.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Any code samples for inputting content into content manager 8.1?

    Does anybody know where to find code samples of adding content to the Content Manager
    via the Java API?
    The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
    not 8.1.
    It's not clear from the documentation what the Repository and Path are supposed
    to be named. Perhaps we had a working example, this might help.
    Thanks
    Dave

    Does anybody know where to find code samples of adding content to the Content Manager
    via the Java API?
    The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
    not 8.1.
    It's not clear from the documentation what the Repository and Path are supposed
    to be named. Perhaps we had a working example, this might help.
    Thanks
    Dave

  • Code Samples for SDK programming in Java

    I need a complete set of Code Samples for SDK programming in Java, like the one that is available in VB and .Net.
    For Example, if you look at the following directory of machine where SDK is installed,
    C:\ProgramFiles\SAP\SAP Business One SDK\Samples\COM DI\VB.NET
    we have following Sample programs in C Sharp, VB6, VB.Net
    01.BasicOperations
    02.MetaDataOperations
    03.UsingSBObob
    04.SerialAndBatch
    05.OrderAndInvoice
    06.ObjectsSchemas
    07.Permissions
    08.LoadFromXML
    09.BudgetEditor
    10.Messages Service
    11.Basic Company Settings
    12. Report Layout Service
    13.SaveXML
    14.ItemCycleCount
    15.ApprovalStagesAndTemplateServices
    16.Alert Management Service
    Iam looking for Samples like what is available above so that we can understand JCO better.

    Hi Sridharan,
    The only JCO samples I know of are posted in the [thread|;.
    Regards,
    Vítor Vieira

  • Laura, I need some code samples you mentioned...

    Laura,
    I posted a message a few days ago regarding calling Stored Procedures in my JDev 3.1 (JDK 1.2.2) BC4J application. I need to be able to call them two different ways. The first involves passing some parameters to the SP and recieving back the ResultSet. In the other instance I simply need to make a call to them to perform some tasks on the DB side. Nothing will be returned from these SP's. You discussed implementing the SQL as a VO and gave me some code showing me how I might do this. You also mentioned that it is possible to create a method on the AppMod and call this from the JSP client. I need to know which method should work best for me and to get the code samples for the second option.
    Thanks.
    Rob

    Hi,
    Here is the code I used for the custom method on my VO (same could be used from the app module rather than a specific VO). The stored procedure I am calling here performs some calculations and returns an integer value:
    public int getTotalHits(String mon, String year) {
    CallableStatement stmt = null;
    int total;
    String totalhits = "{? = call walkthru.total_hits(?,?)}";
    stmt = getDBTransaction().createCallableStatement(totalhits, 1);
    try
    // Bind the Statement Parameters and Execute this Statement
    stmt.registerOutParameter(1,Types.INTEGER);
    stmt.setString(2,mon);
    stmt.setString(3,year);
    stmt.execute();
    total = stmt.getInt(1);
    catch (Exception ex)
    throw new oracle.jbo.JboException(ex);
    finally
    try
    stmt.close();
    catch (Exception nex)
    return total;
    After adding the custom method to your appmoduleImpl.java file and rebuilt your BC4J project, do the following:
    1. Select the Application Module object and choose Edit from the context menu.
    2. Click on the Client Methods page. You should see the method you added in the Available list.
    3. Select the method and shuttle it to the Selected list.
    4. Click Finish. You should see a new file generated under the application module object node in the Navigator named appmodule.java that contains the client stubs for your method.
    5. Save and rebuild your BC4J project.
    I wrote a custom web bean to use from my JSP page to call the method on my VO:
    public class GetTotals extends oracle.jdeveloper.html.DataWebBeanImpl {
    public void render() {
    int totalhits;
    try
    Row[] rows;
    // Retrieve all records by default, the qView variable is defined in the base class
    qView.setRangeSize(-1);
    qView.first();
    rows = qView.getAllRowsInRange();
    // instantiate a view object for our exported method
    // and call the stored procedure to get the total
    ViewObject vo = qView.getViewObject();
    wtQueryView theView = (wtQueryView) vo;
    totalhits = theView.getTotalHits(session.getValue("m").toString(),session.getValue("y").toString());
    out.println(totalhits);
    } catch(Exception ex)
    throw new RuntimeException(ex.getMessage());
    I just call the render method on this custom web bean from the JSP. I am not passing parameters to the render method of the bean, but instead access the parameters I need from the session:
    session.getValue("m").toString()
    I set these session parameters from the JSP that is called when the user submits their query criteria form. For example:
    // get the view parameter from the form String month = request.getParameter("month");
    String year = request.getParameter("year");
    // store the information for reference later session.putValue("m", month); session.putValue("y", year);
    Hope this helps.

  • Code Samples??

    Ross - it's been over a monthsince any sample code has been posted. I know you guys are all about pushing professional services, but many times that is not an option, nor should it be, and we are sitting here stuck because the documentation is so poor and we are forced to depend on a Plumtree resource responding to a post to get our jobs done. We understand that sometimes code samples are incomplete and that would be a caveat, but even if you just throw us a bone by providing sample code of some of the advanced UI customizations you guys have done internally. Something, anything. The QuickStarts aren't sufficient and you only have 10 pieces total of sample code outside of the documentation, the latest sample posted over a month ago. Any news on when more is coming or what Plumtree's strategy is in that arena?
    Regards,
    Sarah Wheeler

    I have to completely agree with Sarah's post. I have read the EDK guide, the UI Customization guide (which drove me to read a Java manual, I'm a C# developer), Setting Up the Development Portal, every bit of the online documentation (quickstarts, sample code), and most of the posts on this discussion board. To recap, I have read, sometimes multiple times, every bit of available documentation around, specifically, UI Customizations and extending the Plumtree Application.
    This has done me no good, and has only proven to confuse me.
    I understand the Model-View-Controller design pattern; we use it for our ASP.NET development. Plumtree's implementation of MVC is tied so closely to the PT Server API that it is impossible to decouple the two. The UI documentation goes into some detail about activity spaces, views, models, and controllers, but never explains "why" they work in relation to the Plumtree Application. There are only loose references to Plumtree's implementation of MVC, and this is Plumtree documentation! To further the confusion (and the confusion runs deep), each piece of documentation I read seems to contradict all the other documentation I've read. The setup for Visual Studio development is almost laughable there are so many steps to follow, and once again, there is never any "why" to the "how".
    I really hope that PT comes up with some decent documentation and sample code to compliment what I'm sure is a very scalable architecture. Right now it seems like the blind leading the blind, not just here, but all over these discussion boards.

  • Code sample HTTP get for J2EE server

    Hi,
    could somebody pls. provide a code sample to access a SAP WAS J2EE server via HTTP GET?
    I needed this to get a SAP Logon ticket issued to my web dynpro application. Basically I am imitating a logon to the server in order to get the logon ticket in return. This is the same as logging on using IE to http://server.domain:5xxxx. Should my user credentials be valid, the HTTP get would return a SAP Logon ticket (among other data).
    Thank you,
    Rene

    how would you direct the GET requests to one servlet and the POST requests to the other?
    Wouldn't they need to pass thru' yet another servlet to decide which is which (GET or POST), and redirect them accordingly?
    I would have both GET and POST handled by the same single-point-of-entry servlet. For example, not all data is sent to the server via a POST - you can send form data via a GET, using name/value pairs in the url.

  • [svn:osmf:] 16206: Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.

    Revision: 16206
    Revision: 16206
    Author:   [email protected]
    Date:     2010-05-18 17:42:03 -0700 (Tue, 18 May 2010)
    Log Message:
    Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.
    Modified Paths:
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLogger.as
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLoggerFactory.as
        osmf/trunk/docs/examples/org/osmf/logging/LoggerExample.as

    Tks for posting the resolution, it solve my problem too.
    keywords:
    ECLIPSE SSL ERROR "could not generate secret" TOMCAT 8
    java.security.NoSuchAlgorithmException: Algorithm DiffieHellman not available
    SOLUTION, In my case: REBUILD JDK over TOMCAT 8 configuration

  • Code sample to dequeue messages

    I am looking for a code sample to dequeue messages from CRM OD? How do I retrieve the xml file after it is generated. Do I need to use a web service to retrieve that?
    Preference would be to get the code snippet in java, but not necessary.
    Thanks.

    Hi,
    I'm assuming you are referring to integration event messages? If so, then yes, you do need to use WS in order to retrieve them from CRMOD. Please refer to the CRM On Demand online help for Integration Events. It will provide details on downloading the WSDL file for Integration Events and the schema files which are required to process the events once they are retrieved. The WS User Guide contains details regarding the use of the GetEvents and DeleteEvents methods to retrieve and delete events from the queue.
    Sorry, I don't currently have a code sample that I can provide.
    Thanks,
    Sean

  • About the Code sample

    Hello,
    I'd like to know how it is possible to send Code Sample.
    I've written, a code sample for SAP Business One.
    I posted it but now it get lost deep in the forum. Sometimes people make it go up, but it would be easier to make it always available as document. (if moderators think it worth it...)
    I also read there is point to be earned when code sample is given
    Contributor Recognition Program FAQ speaks about code sample, but it doesn't say what it the procedure to give code.
    Thanks for your help

    Top right corner - Submit Content, click it and you will seee a seciton on Code Samples with a link to <a href="https://www.sdn.sap.com/sdn/submitcontent.sdn?node=linkscnode2&contenttype=url&content=http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fFramework!2fcom.sap.sdn.submitform?prttheme=CSIN">sumbit your code sample</a>

  • Calculation of  tax via tax code

    Dears,
    There are some concepts about the pricing in PO that I never got it clear. I really appriciate it if someone can help me.
    1. What is the base amount for calculate the tax via tax code?
    In the invoice verification there often is a tax code in which a tax rate is decided. But what is the base amount of the tax? How does the system get the base amount from all kinds of conditions from purchase order? Does it related to the configuration in the condition type, or in the calculation schema?
    I looked into the tax code configuration to find the base amount condition type as BASB without any access sequence. and for India there is a basetype 362 in the pricing schema. I can not understand the code in routine 362, and for example there even isn't a basetype in China. Then how does the system get the proper amount for calculate the tax?

    You can create the Reg Info with the Plant and this message will not happens...

  • Unable to clear the invoice/credit in SAP via T-Code F-04

    Hello Guys,
    Unable to clear the invoice/credit in SAP via  T-Code F-04.
    While I proceed to Clear the cutomer open item i am getting below error.
    " The Entry GB XX Is Missing in Table T059Q".
    Kindly suggest what needs to be done to overcome with this message.
    Thanks and regards,
    Hemanth.

    Hi Hemanth,,
    Hope you are using Classic WHT for your company code in country GB.
    And the Classic WHT tcode XX was maintained in customer master data, but the same code would have been deleted from the system. Since these line items to be cleared also, stored that tax code only. So you are getting this erro in F-04.
    So you need to create the above said tax code in OBA7 and then you will be able to clear the customer line items with F-04.
    Regards,
    Srinu

  • Is there a RH standard for formatting code samples?

    In the RH default style sheet, I do not see a pre HTML tag or other tag that will display code samples in a monospaced font.
    I created custom styles for a single line code sample and another style for multiline samples.
    We want our code samples to be shaded. If I shade multiple lines, each line being separated with a paragraph, there is a small amount of
    white space between each line. We do not like this either.
    I then created a custom table style with a single shaded cell. I add my multiline sample code, then I apply the custom paragraph style to get
    the font and spacing between lines that I want.
    Is there a different best practice for this, so that the code sample would be rendered correctly if viewed from other devices that read the HTML and
    may look for the pre HTML tag?
    I am using RoboHelp 9 and I provide the output as Eclipse help. Our help files are integrated into Eclipse help in the Eclipse IDE.
    Thank you.
    Cynthia

    Hi Cynthia
    As much as it pains me to say it, this is one case where using a Form element might be your best bet. I say this because often code samples are used or presented with the intent of copying and pasting into something like Windows Notepad. And if you used the TextArea form element, you can place the code there and make it pretty easy for folks to copy it for use elsewhere.
    I stand to be corrected on this because I am not a "power CSS" person. (meaning I am aware there are complete two and three day classes one might attend on all the nuances of CSS) But RoboHelp won't really do anything to help you a great deal in formatting things. But it might be possible, somehow, to configure CSS to accomplish your goal of making the code look as you want.
    Cheers... Rick

  • Posting Incoming Payment via T-code: F-28

    Hi SAP,
    Our users need to post incoming payment via t-code F-28, but when they simulate the
    transaction, only 1 line item was appeared and system gave error
    message;" please correct the marked line item". Then i correct the line item (fill in business area).
    Then, when i enter the next posting for 2nd line item, system gave an
    error message: "You are not authorised for company code 9000". Before
    this our user can do the posting via incoming payment.This problem only
    happened after we upraded the system to ECC.6.
    I try check Txn SU53 to display the error message, unfortunately no error was generated by
    the system. Please help me. I did ask our local consultant before but they asked me to implement note 727973. we already implemented the note but the problem still happened.
    Will give points for those who help me solve this problem.
    TQ
    Regards,
    Nazrul

    Now that you are working on a ECC 6.0 the suitable note will be:
    "1249923 - FB05: F5 413 for field GSBER for automatically created item".
    Please, apply the correction instructions on this note and afterwards the problem should be solved.
    Regards,
    Lidia

Maybe you are looking for

  • Run MRP by vendor

    Hi, Do you know if there is any way to run MRP by vendor ? We would like to define for a planning run only material of a particular vendor. Thanks, PYR Edited by: Pierre-Yves Ryckwaert on Apr 7, 2008 2:49 PM

  • Union in ODI using KM

    Hi, I am trying to do union between 2 tables in ODI. It worked the following ways :- 1) By writing two interfaces and writing package on it. 2) Writing view on the tables in the database & then using this as a source in the interface But I could not

  • Sales Text of material master using create_text

    Hi All, I need to update Sales Text field for existing materials in material master. (mm02->sales Text view>sales text) This text will be of 40-50 char length. Now if i use CREATE_TEXT with following paramters, no text is getting updated in the mater

  • Edge Animate-Animation in HTML (WIX+Dropbox)

    Hello, my friends, I really hope, someone can understand / help me with my problem So, I created an animation for a landingpage on my website(built with wix.com). My problem is, that wix.com has got no folder-organisation or upload-function and my Ed

  • Request - ICC profile for the combination - w520 and Dell u2711

    Greetings, Due to the lack of a colorimeter, I come to you with a humble request for few calibrated ICC profiles for the DELL u2711 and the quadro 2000m w520. Probably tftcentral's review might be a well guidance for setting up a ICC profile http://w