Procedure for custom type

Hi,
I found from the replies by Jerry(PM) about the example procedure for custom type in the url
http://technet.oracle.com:89/ubb/Forum82/HTML/000379.html, but when we click on the link above, it says page cannot be displayed. is there a different url to access that code. Basically i am trying to create a custom type image with border, height and width resized than the one loaded into the portal. so after creating the attributes, what all should i pass as parameters to the pl/sql procedure? i saw in one example item_id and i don't know what that is and how it should be passed.?
any help please....
thanks

HI Jerry,
Thanks. That is was i was looking for. But i have a question in that procedure. You are passing p_itemid as a parameter for attribute itemid. i assume it is a number. but my question is what is being passed in that. if we have a attribute as itemid, then the user using that custom item type, has to type in something right. what will they type in the itemid. why do we need itemid?
I am trying to create a custom item type for image with width and height. so i can have those two attributes created and then added to the custom item type called cust_image and then in the procedure, i can call a procedure and pass only width and height right. do i have to pass itemid too?my question is in that case what will be there in itemid and why is it being passed?
thanks for your help and reply again.
thanks
valli

Similar Messages

  • How to set partner determination procedure for customer hierarhies.........

    hi,
    sap gurus,
    how to set partner determination procedure for customer
    hierarhies.........
    regards,
    balaji.t
    09990019711.

    Hello Rajesh,
    The PDP is set up in customizing.You must create a regular partner determination procedure.In the IMG choose
    CRM>Basic Functions>Partner Processing-->Define Partner Determination Procedure
    You can define a partner determination procedure for each object type.
    PDP assigned to the object type Campaign can also be campaign-type-dependent.
    IMG:CRM>Marketing>Marketing Planning and Campaign Management>Partner Processing>
    Assign Partner Determination Procedure
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Multiple "Bill To" for Customer type Business Partners

    Hi all!
    Can someone tell me when the functionality of Multiple "Bill To" addresses for Customer type Business Partners became available? I have a customer on 2007A SP00 PL06 and we cannot create more than one, while in my test system at 2007A SP00 PL41 I do.
    Thanks,
    Richard.

    Dear Richard,
    You are requested to check this in the latest patch and see if the issue is resolved for you.
    Becasue in earlier patches this problem is there.
    In case the issue is not resolved, please update the message.
    Regards
    Vikas Rastogi

  • Pricing Procedure for harvest type of products - wheat/ corn

    Dear Gurus,
    I have to define a price procedure for harvest products such as wheat, corn etc... The only piece of information I have is that there is no minimum quantity and that the unit of measure is the Kilo or the Ton.
    Based on that, could anyone give me ideas on how to create a basic price procedure, which conditions could apply, also taking into consideration a 'discount conditions' that would be - say a manual one -.
    Your input is greatly appreciated.
    Regards
    Chris

    Hi ,
    Request you to create a account assignment group for material as wheat and also document pricing provedure for wheat by going in to below path.
    SPRO--S&D-B.Fs-Pricing-Pricng Control-Define and assign pricing procedures-Define document pricing procedures/Define customer pricing procedure.
    Then go to pricing procedure and palce them accordingly.After defing the required combinations ,then assign them for required sales areas in t code:OVKK.
    Hope it ehlps.
    Regards,
    Pasapula.

  • Procedure for Output types

    Hi Gurus,
    Can any one please tell me the complete procedure for  configuring output type.
    Requiremnt is I have to configure a o/p type for  Order Confirmation  &  Invoice.
    regards,
    Ajoy

    HI,
    Thanks.
    my  ID --- ajitmphadke  athe rate of g mail.com
    I want to know how a output type is configured, what is condition record, partner profile, access sequence.
    Or send reply on same mail
    Thanks
    in advance
    Ajoy

  • PR release procedure for material types

    Hi all,
    I have a question, I created new release procedure for combination :
    1. NB pur.requsition, purchasing group + material type (let sey roh.. etc)
    2. YNB pur.requsition, purchasing groups + material type (ZSTE-001, ZSTE-002, ZSTE-003).
    - 3 characteristcs for pur.groups, doc.type and material type.
    - 1 class
    - 2 release groups (E1 and P1)
    - For release group P1, In rel.strategy in classification I entered values for pur. requisition (NB), purchasing groups (001,002, 003 ect) and material types (ZUSL-001.. ect)
    - For release group E1, in rel. strategy in classification entered values
    values for pur. requisition (YNB), purchasing groups (001,002, 003 ect) and material types (ZSTE-001, ZSTE-002, ZSTE-003)
    So, problem is that if I enter pur.requisition YNB and material type ZSTE-001, needs release; if I add item with material type ZUSL-001, there is no release.
    How can I restrict the values so that is giving error if by mistake is entered between material types ZSTE-001, ZSTE-002, ZSTE-003 material type ZUSL-001 in document type YNB, which is not allowed to be entered?
    Thanks in advance,
    Anchi

    Hello
    In PR you can set up this release strategy without classification release strategy.
    w/o classification strategy you can define the release line item wise. so you can give diiff materual group you can enter with line item wise.
    Laxman

  • Override doDML for custom type

    Hi,
    I'm overriding the doDML method of my entity class. Instead of inserting directly into a certain table I redirect the insert handling to a special PL/SQL package method. This works fine, until I want to use a custom as one of the columns of the table / one of the arguments of the package method.
    E.g. the custom type looks like this:
      CREATE OR REPLACE TYPE mylist AS TABLE OF VARCHAR2(10);I use this type for a nested table column in a certain table. The PL/SQL does some pre-/post-processing and inserts a new record in the table my entity object is based on. When I create the entity using the Entity wizard it correctly detects the column as of SQL type mylist and Java type oracle.jbo.domain.Array with elements of type String.
    Anyway, the prepared statement I create looks something like the following:
      String stmt = "BEGIN mypkg.insert(:1, :2); END;";
      PreparedStatement p = e.getDBTransaction().createPreparedStatement(stmt, 2);
      if (getId() != null) p.setInt(1, getId().intValue());
      else p.setNull(1, Types.INTEGER);I want to set the 2nd parameter (which is of the mylist type) in a similar way. But I don't know which SQL type I should choose from. If I choose Types.ARRAY I get an invalid type error, the same goes for Types.OBJECT, and Types.BLOB. And which set... method should I call on the prepared statement? And what should I pass to this method? The Array object of the results of the getData() method of the Array object?
    Regards,
    Peter

    Types.ARRAY should be the right sql-type
    The value should be an oracle.sql.ARRAY instance.
    To prepare and return one of this type you
    first need to prepare the Array domain for DML by calling arrayDomain.prepareForDML(jdbcconn) (passing in the jdbc connection object) and then call arrayDomain.getData()to use in your setObject() call.

  • Stored Procedure for custom permission check

    Hi,
    I have created 2 UDTs for Master Data and Master Rows, and generated a UDO form for this.
    Only few users can add master data, but all users should be able to update fields in the rows for existing master records (but not the fields in the header).
    For this, I can probably add a custom permission UDF in User Master.
    But how can I code the Stored Procedure based on this UDF in the User Master, and whether rows are modified for existing records?
    Thanks.

    John......
    Try this.....
    IF (@object_type = '140' And (Select ObjType From OPDF
           Where DocEntry = @list_of_cols_val_tab_del)='46'
    AND @transaction_type IN ('A'))
    BEGIN
    if exists(select t0.DocEntry from OPDF T0 inner join PDF4 T1 on
    T0.DocNum = T1.DocNum where t1.ObjType ='46' AND (T0.Series = '15' AND T1.OcrCode != 'U-1')
    and T0.DocEntry = @list_of_cols_val_tab_del)
    begin
    select @error = 1,
    @error_message = 'Check Unit'
    end
    End
    Above SP will only work when your Series Code is 15 and OcrCode is not equal to 'U-1'....
    Please confirm........
    And Object type for Payment Draft 140 is right.....
    Regards,
    Rahul

  • Stored procedure with custom type failed from jdbc

    DECLARE X Abp_Online_Dataselection.BULK_SCHEME_TAB; BEGIN Abp_Online_Dataselection.ABP_ONLINE_SCHEMESELECTION('BSWD','IN','NEW',X); FOR R IN X.FIRST .. X.LAST LOOP DBMS_OUTPUT.PUT_LINE(X(R).SCHEME_NAME); DBMS_OUTPUT.PUT_LINE(X(R).ISSUE); DBMS_OUTPUT.PUT_LINE(X(R).CURRENCY); DBMS_OUTPUT.PUT_LINE(X(R).PRICE); DBMS_OUTPUT.PUT_LINE(X(R).GIFT); END LOOP; END;
    Here Abp_Online_Dataselection.ABP_ONLINE_SCHEMESELECTION is the stored procedure which I can run
    in SQL client.
    How can I access the result returned by this.
    What I have tried is this
    Connection conn = myservice.getPooledTestConnection();                CallableStatement cstmt =  conn.prepareCall("{call Abp_Online_Dataselection.ABP_ONLINE_SCHEMESELECTION(?,?,?,?)}");         java.sql.Array recarray;         cstmt.setString(1, "BSWD");         cstmt.setString(2, "IN");         cstmt.setString(3, "NEW");                cstmt.registerOutParameter(4, java.sql.Types.OBJECT); // What is the right type?         if (cstmt.execute()) { }
    This gives invalid column type exception.

    Normally it requires driver specific code.
    If it was me I would wrap it in another proc and use a cursor (or whatever it takes) to traverse the result so it returns a normal result set to java.

  • Release procedure for Document Park / Post

    Dear FI experts,
    We want to set release procedure for Customer Credit Notes (FB75)
    For this we did following configuration -
    FI >> FI Global Setting >> Document >> Document Parking (all setting w.r.t. release approval)
    Created and parked a document using FB75.
    In MM procedure we give the authorisaiton of Release code to respective users and then he is able to release the PO.
    What is to be done in this case ?
    What is the process / tcode for releasing this parked document.
    Thanks & Regards
    Rajesh

    Hi Prem
    Thanks for ur reply
    I tried MRBR but system is giving following message -
    There are no blocked invoices that match your selection
    Message no. M8654
    In MM release procedure , authorisation of Release code is given to respective users and then he is able to release the PO.
    What is to be done in this case ?
    Can you please explain??
    Regards
    Rajesh

  • Procedure for Keyframes

    I noticed that you have an in and out point for key frames in color, however, what is the process of setting things up? Despite the in and out point, the settings (for example a shape) begins to show up immediately when the clip starts even if you set your first key frame half way through it. So I've been taking the shape, starting at the beginning of the clip and then setting my track points outside of the frame to keep the shape invisible, then when I get to where I want to actually start showing the shape, bring it into view and then start actually key framing my clip from there.
    However, I always have to pay around with this to get things to work properly and I haven't put my finger on the problem so that I can just key frame and move on instead of spending considerable time jerking around with stuff.
    Anyone know a good procedure for this type of thing?
    glenn

    Do a search on tracking in Geometry on this forum. As I recall, placing the tracking points outside the frame will lead to erratic behaviour. Leave the shape where it is supposed to be and keyframe the correction (in secondaries, I gather?) so that it is "invisible" even though the shape is there.
    We used to have a situation like this in daVinci, where a power window had to exist at the in and out points through a dynamic or it would do stuff beyond human comprehension, as it "materialized " out of hyperspace.
    jPo

  • Can "Customer Type" be set automatically with webform submission?

    Is there a way to set the "Customer Type" automatically once a customer submits a webform?
    For example, in a site for a High School I have a webform for parents to sign up and register and another one for students. Once they complete the forms they are all listed as Customers (CRM), but "Customer Type" is blank. I've been looking but haven't been able to find a way for "Customer Type" to be set to "Parent" or "Student" depending on which form they filled out. Is this possible?

    Hi,
    Unfortunately not possible at this stage.  Only an admin user can update the customer type manually in the back-end. 
    Kind regards,
    -Sidney

  • Oracle Instant Client and OUT Parameter of custom type in Stored Procedures

    Hi @ all!
    I try to set up a simple client application, that calls a stored procedure via Instant Client from C#.
    The stored procedure and assiciated types looks like this:
    TYPE MYVALUE AS OBJECT
          Id      INTEGER,
          value     FLOAT
    TYPE MYVALUELIST AS TABLE OF MYVALUE;
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT MYVALUELIST)
                                           IS
    ...I created an Oracle Command executing this SP and added OracleParameters for ID and (where I got stuck) the RESULTSET.
    Is it possible to pass a parameter with a custom type from C# in some way?
    I already tried it as a function with SELECT * FROM TABLE(ReadValues(1));
    With my parameter RESULTSET as the RETURN type. But since I use DML within the procedure, this does not work inside of a query...
    Any suggestions?
    Thanks in advance!

    Hi Greg!
    Sorry, I misunderstood the forum topic then. =(
    Anyway, in the example you provided in the link, this is nearly exactly my situation. But there the Oracle.DataAccess.Client is used, where the OracleDBType can be called to initialize an object of type person. I use the instant client libraries called by using System.Data.OracleClient. There is only the OracleType enum, that does not contain an object or something similar.
    So I do it right now after trying a bit with a ref cursor parameter and an OracleDataAdapter - the ref cursor is passed back from Oracle as a DataReader, so die DataAdapter is able to use it for a .Fill():
    OracleCommand cmd = new OracleCommand();
    cmd.Parameters.Add("RESULTSET", OracleType.Cursor).Direction = ParameterDirection.Output;
    OracleDataAdapter odr = new OracleDataAdapter(cmd);
    DataTable result = new DataTable();
    odr.Fill(result);Within my stored procedure I just added the following OUT parameter:
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT sys_refcursor)
                                           IS
    currentlist MYVALUELIST;
    ... [Adding elements to that list] ...
    OPEN resultset for select * from TABLE(currentlist);It works now, but I don't like that solution that much since I'm always afraid that there are lots of opened cursors idyling around. Do I have to close this one explicitly after filling my table by the DataAdapter?
    Regards

  • Procedures for implementing a snapshot scenario with custom DataSources

    Hi Gurus,
    I have checked the How To paper ([How to Handle Inventory Management Scenarios in BW (NW2004)|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]). However, only SAP standard BW objects are mentioned in the paper e.g. InfoCube (0IC_C03), Material Stock InfoSource (2LIS_03_BX), Material movements IS (2LIS_03_BF) and Revaluations IS (0LIS_03_UM).
    On the contrary, I need to handle custom DataSources for the Snapshot scenario. Are there any differences in the implementation methodology? Which additional aspects should I take into consideration? For example, the load sequence, delta type, etc.
    Could you please list out the step-by-step procedures for such an implementation?
    Thanks in advance!
    Regards,
    Meng

    Hi Meng,
    You can approach this in two ways.
    1) If the volume of data is not much, you can derive the balance at query level, as follows.
    User enters the date, based on this restrict your key figure to display all values less than this date.
    2) If the volume of data is high, then you will have issues with performance if you are calculating the balance in the front end. In this case, you can model this with 'Non cumulative' key figure.  Again there are 2 ways of approaching this back end solution based on the volume of data. ( Say in one case you have 2 years of history in your DSO and in the second case, you have  5 years of history ).
    A) For example, If there are only 2 years of history
    Create a non cumulative Key figure 'ZBALANCE' with inflow and outflow, in a cube.
    Map this to your credit and debit as + and - respectively and map the calender day to posting date.
    Just initialise the dataload with data transfer and start loading the delta as normal.
    You will be able to see the balances for each and every calday in your reporting.
    This approach is straight forward and simple.
    Compress the cube for getting the better performance.
    B) If there are 5 years of history and you are not interested in loading all the 5 years data in getting the balance
    Here you want to have the initial balance, continue delta and would like to load 2 years of history.
    The cube and non cumulative KF are created as mentioned above.
    For generating initial balance, you have to create another DSO without calander day and ZBalance mapped to credits and debits in additive mode. Load your DSO data into this new DSO to generate initial balance. This balance will be loaded to your cube as initial balance. ( Like 2LIS_03_BX ).
    You have to compress this request with marker update ( Must ).
    Load your historical data for 2 years from the original DSO. Compress without marker update ( Must ).
    initialise without data transfer from DSO to cube and load deltas normally.
    Compress the delta requests normally for performance reasons.
    Please read the 'Inventory document' in detail.
    Please let me know, if any of the information is still not clear.
    Thanks,
    Krishnan

  • Requirements not fullfilled for Condition type - Pricing Procedure

    When I am doing the pricing procedure, the error thrown is "Requirements not fullfilled for Condition type". Can any one suggest how to fix this problem ?

    Hi Sunil,
         Please first of all check the condition type in Pricing Procedure. In condition type column check the requirement. Here conditon is,  once requirement is fulfilled which you have mentioned in the condition type then only it will be executed. Take a help of  ABAP'er regarding this requirement if it is customized requirement.
    We should know the purpose of requirement in condition type.
    Venkat.

Maybe you are looking for

  • Registering Item types

    Hi Experts, I am a workflow developer. When we try to add configuration about the action to be taken when user clicks a task, we dont see required task IDs in the XML file that is generated. It does list some of the custom developed tasks but not all

  • Using converter

    Hi, I am trying to convert a MidLet File to my Palm. However, the converter that I have downloaded from the Sun web site doesn't work. I do not know how to set the class path to make the converter work. I am using xp pro with NetBeans IDE. I have try

  • Unable to load performance pack, using Java I/O instead

    I'm writing because we're having some troubles with the performance pack load. We're getting this error message when the server starts: <Feb 1, 2005 11:30:26 AM CST> <Error> <Performance Pack> <Unable to load performance pack, using Java I/O instead.

  • Resubmitting the fault messages from ESB Portal

    Hi, We are facing some changes in Resubmission process in ESB Portal. When we try to resubmit the fault message in ESB Portal we are getting the error and there is nothing available in the event viewer The resubmission failed: 500 - InternalServerErr

  • Music player with lyrics support.

    i just want to know.... when would nokia(ovi) would start supporting lyrics in its integrated player??  gurrr!! i have nokia C7-00. its really pathetic to have player eith no lrc support. hope i would find it sooner in coming updats. :-|