Need official code samples

I need official sample of BPM 11.1.1.5 with BAM. Does anyone konw where I can download it?

I need official sample of BPM 11.1.1.5 with BAM. Does anyone konw where I can download it?

Similar Messages

  • 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 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

  • Code sample of sendRedirect using Web Dynpro NetWeaver 6.4

    Hi ALL,
      I’m building a Web Dynpro application under Netweaver Developer Studio 6.4 and I need to redirect to another URL while the client click on a button. 
      I know it should be something like request.getServletResponse(true).sendRedirect("myURL");
    But I’m not sure how to get the request, or the response in order to apply the sendRedirect method.
      Do you have any code sample or Web documentation I could use to redirect my Web Dynpro application?
    Best regards,

    Hello Jean-François,
    To navigate to http://www.yahoo.com you have 2 options:
    1) Call
    WDClientUser.forceLogoffClientUser("http://www.yahoo.com");
    2) Define Outbound plug with name Url in interface view, mark it as exit, define parameter Url with type String. Add usage of interface view in your view and add something like this in action handler:
    wdThis.wdGet...InterfaceViewController().wdFirePlugUrl("http://www.yahoo.com");
    Best regards, Maksim Rashchynski.

  • Why do so many code samples here use Arrays?

    I've seen many code samples here use Arrays. Why? I much prefer to use ArrayLists, and Vectors if I need synchronization or HashSets if I require uniqueness. I don't understand why people are using Arrays when the Collection classes are so useful. You can change the underlying datastructure without changing any of the access code.

    I guess they are faster...
    public class Test1 {
         public static void main(String[] args) {
                Integer zero = new Integer(0);
                   long start = System.currentTimeMillis();
                   for (int j = 0; j < 1000; j++) {
                        Integer[] array = new Integer[10000];
                        for (int i = 0; i < 10000; i++) {
                             array[i] = zero;
                   long finish = System.currentTimeMillis();
                   System.out.println(finish - start);
                   start = System.currentTimeMillis();
                   for (int j = 0; j < 1000; j++) {
                        ArrayList arrayList = new ArrayList();
                        for (int i = 0; i < 10000; i++) {
                             arrayList.add(zero);
                   finish = System.currentTimeMillis();
                   System.out.println(finish - start);
    }~460 ms for array
    ~1600 for ArrayList
    Still, the benefit of the Collections interface and the better OO design of code that uses these classes is probably worth it in most cases, IMO.

  • 2004 Code samples

    Hi
    I have written a few pieces of code for sbo 6.5 and now need to write some code for 2004. I know the code is similar, are there any code samples for 2004 ? I can only see 6.5 samples
    Many thanks
    Andy

    Hi Andy,
    When you install the SDK Implementation on the SAP Business One CD then you have access only to the help files and samples of the UI API.
    To have access to the DI samples and help files you need another CD exclusive for the SDK. If you use the setup.exe inside the SDK CD and you click on Custom you can see the possibility of installing DI and UI help files and samples.
    If it doesn't work please deinstall the SDK implementation and then install the SDK on the SDK CD.
    Hope it helps
    Trinidad.

  • Code sample for rtp server. please!

    hi
    I need to get a rtp server code, may it simple, in order to learn from it. Did not find anything from browsing. could anyone send me a sample or a link?
    thanx a lot

    Hi,
    thanks for the link. I have aleready checked that, i should have specified more..
    The thing is that these examples require that we have the client IP and port . But in case of a NATed client, I don t see how to get this client IP.
    I looked in JMF API desperately for getting client info. But the only thing I get is the Participant class. No IP address nor a port to work with.
    'Anyone has a clue, or a code sample of a small server that listen for clients and retrieve dynamically their IP/port? would help a Lot
    thanx

  • 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.

  • 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

  • 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.

  • 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

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • Vendor Database - Need Transaction code

    Hi All,
    Last week i have posted a query with regard to pulling the Vendor Database (Need : Vendor Code / Description/ Address 1/ Postal Code / Payment Type )
    Few experts have suggested me to use S_ALR_87012086 T-Code, however the problem is we dont have access to use this Transaction. Can someone help me to pull the information from through any other way.
    Regards,
    Srikanth

    Hi
    As suggested by earlier thread it is standard ! It is very easy to follow the SAP standards. For time being you can use like
    SE16 Table > LFA1 table > Give vendor code & execute. You can get all required data. If not take ADRNR number and pass the smae in to ADRC table ,where you can get exactly what you want. Link is vendor and ADRNR number.
    Rgds
    SUMA

  • I Need Java code for following Algorithm

    * I Need Java code for following algorithm. Kindly any one help.
    1. Read the contents (ideas and its corresponding scores) from two files named as 'a' and 'b'.
    2. Stored the file 'a' contents in array a[].
    3. Stored the file 'b' contents in array b[].
    4. compare both files like
    if(a.equals(b[j])
    Writing the common idea and add the score from file 'a' and 'b'.
    else
    write the uncommon idea and its score..
    For example :
    Form Agents.txt
    action,65
    architecture,85
    eco-,15
    essay,30
    form,85
    form,85
    link,40
    tangent,25
    Form Agents1.txt
    Black holes,69
    essay,78
    Herewith i have above mentioned two files named as Form Agents and Form Agents1.
    Form Agents has eight fields
    Form Agents1 has two fields
    --> 'essay' is common in two files, so store the idea 'essay' and add the score from Form Agents score is '30' and Form Agents1 has 78 (essay 108).
    Finally it stores idea in another file with uncommon fields also.
    Please help us.

    We have tried with following code.
    But we cant add the scores.
    For Example:
    Form Agents.txt --> has "essay,30"
    Form Agents1.txt --> has "essay,78"
    Result is: essay,108
    Finally it stores idea in another file with uncommon fields also.
    So Any one pls correct the following code.
    try
    DataOutputStream o1=new DataOutputStream(new
    FileOutputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\CandidateResponses\\Form
    Agents.txt"));
    //Reading the contents of the files
    BufferedReader br= new BufferedReader(new InputStreamReader(new
    FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\Ideological\\Form
    Agents.txt")));
    BufferedReader br1= new BufferedReader(new InputStreamReader(new
    FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
    World\\Project\\Material\\art\\System Agents\\Form Agents\\Related\\Form
    Agents.txt")));
    while((s=br.readLine())!=null)
    s1+=s+"\n";
    while((s2=br1.readLine())!=null)
    s3+=s2+"\n";
    int numTokens = 0;
    StringTokenizer st = new StringTokenizer(s1);
    String[] a = new String[10000];
    String[] br_n=new String[10000];
    int i=0;
    while (st.hasMoreTokens())
    s2 = st.nextToken();
    a=s2.substring(0,s2.length()-3);
    s6=s2.substring(s2.length()-2);
    br_n[i]=s6;
    i++;
    numTokens++;
    int numTokens1 = 0;
    StringTokenizer st1 = new StringTokenizer (s3);
    String[] b = new String[10000];
    String[] br1_n=new String[1000];
    int j=0;
    while (st1.hasMoreTokens())
    s4 = st1.nextToken();
    b[j]=s4.substring(0,s4.length()-3);
    s7=s4.substring(s4.length()-2);
    br1_n[j]=s7;
    j++;
    numTokens1++;
    int x=0;
    for(int m=0;m<a.length;m++)
    for(int n=0;n<b.length;n++)
    if(a[m].equalsIgnoreCase(b[n])){
    int sc=Integer.parseInt(br_n[m]);
         int sc1=Integer.parseInt(br1_n[n]);
    int score=sc+sc1;
         o.writeBytes(a[m]+","+score+"\n");
    break;
    else
    o.writeBytes(a[m]+","+br_n[m]+"\n");
    break;
    }catch(Exception e){}

  • I need php code for copy paste our all histroy of browser in a text page.

    I need php code for copy paste our all histroy of browser in a text page can any one send me the code please.

    You can use an application like GarageSale for doing this....
    http://www.macupdate.com/info.php/id/16035/garagesale

Maybe you are looking for

  • IPhone 3G won't switch from bluetooth

    Unlike so many threads I've seen, my phone has no trouble pairing and connecting to a bluetooth device. My problem comes later, when the device is off, and not even nearby. If I use my phone in the car with it's built in bluetooth, I have to manually

  • How to install and run NWBC.

    Hi, 1). I want to install and run NWBC on my system. Please let me know how to install and use NWBC. 2). I want to know that i have to install NWBC on every end user system or I can install this on server itself . 3). Is there any license issue for N

  • Help For selection screen

    Hi, I dont have any selection screen in my program. But when user press enter the transaction he should get  some screen in which some message is written" This pgm is for background". Plese suggest me.

  • DB13 Check DB performances

    The Check DB via DB13 is getting more than 6 hours to complete on our Sap system. It's and ECC6 with the database size about of 300GB, at latest kernel for Sap and  SP level for Ms-Sql. The hardware is really well sized and it seems not a problem due

  • Where can I find Fieldpoint 6.1

    I recently upgraded to LabView 2013 and, since then, I can no longer get my software to communicate with my FieldPoint hardware.  I am using FieldPoint driver version 6.0.11. I've been poking around the forums and, as far as I can tell, I need FieldP