Dependency type -Procedure

Hi ,
Please send me detail information about dependecy type -procedure in
varient configuration.
My mail ID is
[email protected]
Best Regards...
Abhay

hi,
please refer the link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
regards,
Mohan

Similar Messages

  • Importance of object dependency  type procedure

    Hi Friend,
    Good Morningu2026
    Could any one explain the importance of object dependency  type procedure and its uses with same scenario.
    Thanks in advance,
    Mohan M

    Hi Mohan,
    Procedures are used to infer values for charecterisitcs. These are a type of object dependencies used in VC.
    Procedures can overwrite defualt values or they can set defualt values for charecterisitcs,  several procedures can be assigned to an object (for eg. a BOM item or operation) and define processing sequence.
    These are maintained in Charecteristics, Charecteristic values, configuration profiles, BOM item, Routing operation etc.
    Eg: Processing Sequence:
    A configurable material has characteristics COLOR and PRESSURE. The following procedures are allocated to the configuration profile of the material.
    0010 $SELF.COLOR = u2018GREENu2019 IF PRESSURE >= 10
    0020 $SELF.COLOR = u2018YELLOWu2019 IF PRESSURE >= 50
    0030 $SELF.COLOR = u2018REDu2019 IF PRESSURE >= 100
    The sort sequence ensures that pressure greater than or equal to 100 always sets the color u2018redu2019.
    Inferring Charecteristic Values with procedures:
    Let's assume Configurable material BIKE has the following characteristics:
    CharacteristicS AND THEIR Values                 
    WEIGHT
    FRAME                                          Aluminum                  10 KG
                                                         Steel                           14 KG
    EXTRAS (multiple-value)              Mudguard                   0.5 kg
                                                          Luggage rack             1.0 kG
    Procedure
    1. Create a procedure for the weight of the BIKE, depending on the frame.
    2. This procedure has the following source code:
    $SELF. WEIGHT = 10 if FRAME = u2018Aluminumu2019,
    $SELF. WEIGHT = 14 if FRAME = u2018Steelu2019.
    3. Allocate the procedure to the configuration profile of material BIKE.
    The weight of a bicycle increases if you select additional extras, such as mudguard or luggage
    rack.
    1. You define a procedure with the following source code:
    $SELF.WEIGHT = $SELF.WEIGHT + 0.5 if EXTRAS = 'Mudguard',
    $SELF.WEIGHT = $SELF.WEIGHT + 1 if EXTRAS = 'Luggage rack'
    2. Allocate the procedure to the configuration profile of material BIKE.
    Result
    1. When you configure the bike, the value u2018Aluminumu2019 is selected for characteristic FRAME.
    This triggers the first procedure, which sets the value 10 kg as the WEIGHT.
    2. Characteristic EXTRAS has values u2018Mudguardu2019 and u2018Luggage racku2019. This triggers the
    second procedure, which increases the value of characteristic WEIGHT to 11.5 kg.
    You can also use procedures to count or summurize values of charecterisitics.
    You can use procedure to change the values in master data such as BOM / routing. and also to maintain default values.
    Hope this will be helpful to you. Any queries, Please post.
    Regards,
    Pavan

  • Report program to list out characteristics having dependency type procedure

    Hi folks,
    My requirement is to generate a report, in which i have to list out characteristics having dependecy type procedure(7).
    The tables are CABN(characteristic),CUOB(Assignment of Object to Dependency),CUKB(Administrative Information for Dependency Maintenance).By linking these tables we can get the result.
    Pls provide the code to achieve the above task.It's urgent.We need to write a select query for that.
    Regards,
    Ramesh

    You could use the QuickViewer to create your query, no programming involved.  It sounds like you know the tables to use and should be able to join them.
    Just a word of caution, Urgent is not a good word to use in a thread.  You may want to refer to the new Strict Guidlines: /people/michael.schwandt/blog/2008/06/23/moving-to-strict-rules-to-improve-quality-and-control

  • What are dependency types?

    What are dependancy types in variant configuration ?
    & what they indicate?
    1. Precondition
    2. Selection Condition
    3. Action
    4. Procedure
    5. Constraint

    Dependancy types in Variant configuration:-
    Dependencies let you do the following:
    Describe the interdependencies between characteristics and characteristic values
    Control which components are selected from a bill of material (BOM) and which operations are selected from a task list
    Change the values of fields in BOM items and operations during configuration
    1. Precondition
    You can use preconditions to hide characteristics and characteristic values that are not allowed and thereby ensure that the configuration of an object is consistent.
    2. Selection Condition
    You can use selection conditions to ensure that all the objects relevant to a variant are selected:
    Selection conditions determine which variants require a specific component or operation
    Selection conditions determine when it is mandatory to assign a value to a characteristic
    You can allocate selection conditions to the following objects:
    Characteristics
    BOM items
    Operations in task lists
    Sub-operations
    Sequences of operations
    Production resources/tools (PRTs)
    3. Action
    You use actions to infer values for characteristics. You cannot overwrite values that are set by an action.
    You can also use actions to change field values in BOM items or operations in routings.
    Now in ECC6 this is Obsolete
    4. Procedure
    You can use procedures to infer values for characteristics
    You can assign procedures to the following objects:
    The characteristic value that triggers the procedure
    The characteristic that triggers the procedure
    The configuration profile of the configurable object
    5. Constraint
    This dependency type is mainly for intensively interactive configuration tasks and for configuration tasks in which you need to take into account the dependencies between the characteristics of several objects. The main purpose of a constraint is to monitor the consistency of a configuration.
    Regards
    Samunder Singh
    U can also refer the link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/92/58c228417011d189ec0000e81ddfac/frameset.htm

  • Is there a way to get the correct order from the dependent types of a sche

    Hi ,
    I have a CT facing the following problem:
    When trying to built a SQL script to create all the object types within a schema using the DBMS_METADATA packages.
    Did insert in a table the names of the types that will be exported following a concrete order, next loop into the table and call the DBMS_METADATA package for each row.
    These type are depedent between them, there are some type attributes calling other types and here the issue
    First : try to generate the order by created column of dba_objects and when the generated SQL script is launched a lot of type appearing as incomplete state due to the order isn't correct.
    Second : try to insert the table ordering by object_id colums of dba_tables view, it appears incomplete types too.
    Currently want to insert the table using a recursive query with connect by against the dba_type_attrs starting with the rows when ATTR_TYPE_NAME is not null (the types that are called by other types), but this way has a issue dificult to resolve: the roots of hierarchy are the rows when ATTR_TYPE_NAME is not null and we've dependencies between roots nodes
    The question is is there a way to get the correct order from the dependent types of a schema?
    Platform: IBM SP AIX
    DB version: 9.2.0.7
    Any help will be appreciated .
    Thanks in advance.

    The xxx_dependencies view should give you the dependencies betwee nthe various types. I would look at something along the lines of:
    SELECT object_name, referenced_name
    FROM (SELECT o.object_name, d.referenced_name
          FROM user_objects o, user_dependencies d
          WHERE o.object_name = d.name(+) and
                o.object_type = d.type(+) and
                d.referenced_type(+) = 'TYPE' and
                o.object_type = 'TYPE')
    START WITH referenced_name IS NULL
    CONNECT BY PRIOR object_name = referenced_nameThe outer join between user_objects and user_dependencies is required to generate the names of types which are not dependent on other types, or do not have other types dependent on them.
    HTH
    John

  • Trying to understand Provides Dependency type

    I am trying to understand the Provides dependency type. I have
    reviewed the online documentation, but I'm not quite there yet.
    I have a SQL script, with a create table statement, to create
    the CUST table. When I parse the SQL script, I think I should
    get a Provides dependency with a subtype of Created. However, I
    don't get any Provides dependency types.
    Am I missing a step? Do I need to create something else? Or
    have I completely missed the boat?
    Thanks!
    Vini

    Vandana,
    What you see is the way the Dependency Manager is designed to
    work. When you parse a file or object it looks for things it
    provides and things it uses.
    In the case of a ddl script with a create table statement the
    dependency tables will populated with provides dependencies for
    the table and the columns. If this is all you have parsed, and
    you use the dependency manager to show the dependencies for ddl
    file you will see no dependencies in the right hand side results
    pane. This is correct. In the left hand pane of the Dependency
    manager you expand the ddl file node you will see the table(s)
    created in the file. These are the provide dependencies.
    (As an aside, if you parse an Oracle Form and select the form in
    the Dependency manager left pane, you can expand the node and see
    all the blocks and items etc in the form. This is because the
    form "provides" all these "things" that maybe subclassed into
    other forms)
    If you subsequently parse other objects/files that use the table
    then you will see the dependencies between them in the right hand
    pane.
    The slightly confusing part is if you have modelled the table in
    Designer as well as stored the ddl that creates the table the
    dependency manager doesn't show dependencies between them. The
    product just treats these as two providers of the same table. So
    this means when look at, say a form that uses the table, the
    dependency manager will show that the for uses both file and
    modelled table.
    I hope this makes things clearer
    Regards
    mark

  • Query for records on a block with Query Data Source Type : Procedure

    Hi All,
    The veriosn of form I'm using is:
    Forms [32 Bit] Version 6.0.8.23.2
    I have a block based on a procedure.
    But when I enetr-query and search for records specific to ceratin criteria even then the result of the Query is all records.
    Is Query not allowed on a block with Query Data Source Type : Procedure.
    Hope my question is clear.
    Thanks in advance.
    Regards
    Arif

    When you use a table based block, forms can construct any select with any where clause based on the given inputs. Using a procedure based block, forms cannot "know" which in or out parameter of the procedure corresponds to which item. Even if Forms could pass the value of an item to an argument automagically, the procedure would have to "do something" with the argument, and you´d have to code it.
    So, any item that should be used in the where-clause must be mapped to an argument.
    Perhaps it would be easier to use a table based block querying a view? For DDL, you could use an instead-of-trigger on the view.
    Regards,
    Gerd

  • How to put the new developed Requirement into an output type procedure...

    Hi,
    If we developed an new Requirement for an output type, how to put this new requirement number into the output type procedure???
    for example: RV61B912
    The requirement number is 912.
    Thanks

    any helps?
    Thanks

  • DC Public part - Dependancy type

    Hi,
    I have added public part of a DC in another DC. Now I need to edit Dependency Type for the public part. I have options of design time, build time, deploy time, run time. Please let me know what all to be selected.
    regards,
    Shabeer

    Hi Shabeer,
    Select the Build Time option which serves ur purpose.
    You can go through this link for more information:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/e6/504540d1b79523e10000000a1550b0/frameset.htm[/url]
    Regards,
    Jhansi
    null

  • Query dependants of procedure

    Hi,
    I have a procedure "procedure1" which has tables TEST1, TEST2, TEST3 and TEST4. The example procedure looks like this
    create procedure procedure1
    doc1 varchar2(20);
    doc2 varchar2(20);
    doc3 varchar2(20);
    doc4 varchar2(20);
    doc5 varchar2(20)
    begin
    select col1, col2, col3, col4, coll5 into doc1, doc2, doc3, doc4, doc5 from TEST1, TEST2, TEST3, TEST4 where col1=col2,col2!=col3;
    dbms_otput.put_line('The values are",doc1,doc2,doc3,doc4,doc5);
    end;
    Now I need a query which gives me the list of the tables that are used in the procedure "procedure1"
    In the above example if we write a query on procedure1 then the output must display the tables which are used in the procedure
    o/p eg:
    TEST1, TEST2, TEST3, TEST4
    simply saying I need a query which gives me the depandant tables on procedure.
    Thanks in advance....

    I'm still not sure what the difference is between "dependancy tables list which are used" and "the tables which are used in the procedure" but what is wrong with this?
    CREATE OR REPLACE PROCEDURE p
    AS
       d1 demo1%ROWTYPE;
       d2 demo2%ROWTYPE;
       d3 demo3%ROWTYPE;
    BEGIN
       NULL;
    END;
    Procedure created.
    SELECT name, type, referenced_owner referenced_name, referenced_type
    FROM   user_dependencies d
    WHERE  d.name = 'P';
    NAME              TYPE               REFERENCED_OWNER REFERENCED_NAME          REFERENCED_TYPE
    P                 PROCEDURE          WILLIAM          DEMO1                    TABLE
    P                 PROCEDURE          WILLIAM          DEMO2                    TABLE
    P                 PROCEDURE          WILLIAM          DEMO3                    TABLE
    3 rows selected.Edited by: William Robertson on Sep 3, 2010 11:19 PM

  • Query data source type = procedure or from clause

    1)I have a form where a block is based on a from clause. In the source name I entered a simple sql statement.
    Isn't the items suppose to show without any other action or
    WHAT ELSE DO I NEED TO DO IN ORDER TO SEE THE BLOCK ITEMS EQUIVALENT TO THE COLUMNS IN THE QUERY?
    2) I have a form where a block is based on a procedure.
    First I created a package in a program unit with the procedures query_procedure, insert_procedure, update_procedure, delete_procedure and lock_procedure.
    Then I set the query data source name to the package query_procedure. The columns and arguments were automatically filled by Forms - they are fine as well.
    Forms automatically created the block triggers insert-procedure,delete-procedure, update-procedure and lock-procedure.
    Everything seems to be fine but when I run the form and execute the query I get frm 40505 - unable to perform query.
    What am i doing wrong?
    This is the package:
    PACKAGE pkgdeptemp IS
    type dept_emp is record (
    empno number(4),
    ename varchar2(10),
    job varchar2(9),
    hiredate date,
    sal number(7,2),
    deptno number(2),
    dname varchar2(14));
    success constant number :=0;
    type dept_emp_ref is ref cursor return dept_emp;
    type dept_emp_tab is table of dept_emp index by binary_integer;
    procedure query_procedure (resultset in out dept_emp_ref, p_empno in number);
    procedure lock_procedure (dmlset in out dept_emp_tab);
    procedure insert_procedure (dmlset in out dept_emp_tab);
    procedure update_procedure (dmlset in out dept_emp_tab);
    procedure delete_procedure (dmlset in out dept_emp_tab);
    END;
    PACKAGE BODY pkgdeptemp IS
    function get_success return number is
         begin
              return(success);
         end;
    procedure query_procedure (resultset in out dept_emp_ref, p_empno in number) is
    begin
         open resultset for
              select e.empno, e.ename, e.job, e.hiredate, e.sal, e.deptno, d.dname
              from emp e, dept d
              where e.deptno = d.deptno
              and e.empno = nvl(p_empno, e.empno);
    end query_procedure;
    procedure lock_procedure(dmlset in out dept_emp_tab) is
         tempout number(4);
    begin
         for i in 1..dmlset.count loop
              select empno
              into tempout
              from emp
              where empno = dmlset(i).empno
              for update;
         end loop;
    end lock_procedure;
    procedure insert_procedure (dmlset in out dept_emp_tab) is
         cursor c_dept (i binary_integer) is
         select deptno
         from dept
         where deptno = dmlset(i).deptno;
         tempout number(4);
    begin
         for i in 1..dmlset.count loop
              open c_dept(i);
              fetch c_dept into tempout;
              if c_dept%notfound then
                   insert into dept(deptno,dname)
                   values(dmlset(i).deptno, dmlset(i).dname);
              end if;
              close c_dept;
              insert into emp (empno,ename,job,hiredate,sal,deptno)
              values (dmlset(i).empno, dmlset(i).ename, dmlset(i).job, dmlset(i).hiredate, dmlset(i).sal, dmlset(i).deptno);
         end loop;
    end insert_procedure;
    procedure update_procedure (dmlset in out dept_emp_tab) is
         cursor c_dept (i binary_integer) is
         select deptno
         from dept
         where deptno = dmlset(i).deptno;
         tempout number(4);
    begin
         for i in 1..dmlset.count loop
              open c_dept(i);
              fetch c_dept into tempout;
              if c_dept%notfound then
                   insert into dept(deptno,dname)
                   values(dmlset(i).deptno, dmlset(i).dname);
              else
              update dept
              set deptno=dmlset(i).deptno,
              dname=dmlset(i).dname;
              end if;
              close c_dept;
         update emp
              set empno=dmlset(i).empno,
              ename=dmlset(i).ename,
              job=dmlset(i).job,
              hiredate=dmlset(i).hiredate,
              sal=dmlset(i).sal,
              deptno=dmlset(i).deptno;
         end loop;
    end update_procedure;
    procedure delete_procedure (dmlset in out dept_emp_tab) is
    begin
         for i in 1..dmlset.count loop
              delete from emp where empno = dmlset(i).empno;
         end loop;
    end delete_procedure;
    END;

    for ur q1:
    create the text items manually in the layout editor or in the obj navigator then specify there properties manually in the the pallette.
    database item = yes
    column name = field name in ur select statement
    for q2:
    try running the form again and press F8 then if an error occur press F1 or shift F1 to show the error in ur code.
    i suspect u forgot to specify a value for the in parameter the reason why u get an error that is specify the actual parameter for ur in argument then press F8.
    enjoy!

  • PLSQL BLOCK TO RUN A TYPE PROCEDURE

    I have created a type called bank_account which has many member functions and procedures to open ,close,deposit and withdraw.I have created a type body where these member functions are defined.i have created a table based on this type.
    Now my problem is that the plsql block that i have written to call the member function open gives the following error:
    method dispatch on NULL SELF argument is disallowed
    the plsql block is as given below:
    SQL> run
    1 declare
    2 amount real;
    3 a bank_account(this is the type);
    4 begin
    5 amount:=&amount;
    6 a.open(amount);
    7 dbms_output.put_line('account opened');
    8* end;
    Enter value for amount: 5
    old 5: amount:=&amount;
    new 5: amount:=5;
    declare
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 6
    please help me to solve my problem
    null

    I have created a type called bank_account which has many member functions and procedures to open ,close,deposit and withdraw.I have created a type body where these member functions are defined.i have created a table based on this type.
    Now my problem is that the plsql block that i have written to call the member function open gives the following error:
    method dispatch on NULL SELF argument is disallowed
    the plsql block is as given below:
    SQL> run
    1 declare
    2 amount real;
    3 a bank_account(this is the type);
    4 begin
    5 amount:=&amount;
    6 a.open(amount);
    7 dbms_output.put_line('account opened');
    8* end;
    Enter value for amount: 5
    old 5: amount:=&amount;
    new 5: amount:=5;
    declare
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 6
    please help me to solve my problem
    null

  • Setting Query Data Source Arguments Property for Block with TYPE Procedure

    Hi,
    I have a block whose type is 'Procedure', this returns a PL/SQL table.
    I pass an IN OUT variable declared in the Package header and all works well.
    What I need to know is how, if I have ANOTHER argument, how do I set it programatically prior to EXECUTE_QUERY.
    I can see how to set the Name and Value manually at the "Query Data Source Arguments" property but if I need to set it dynamically in the code how would I do it.

    Thanks,
    Worked it out.
    Set the VALUE to the name of a Global variable and populated the variable before executing the procedure.
    Thanks

  • VLD-10010: TRANSFORMATION's bound object null of type Procedure has been de

    Hi,
    Any one have idea about this error, which comes while validatiing a process flow whcih has a Transformation operator with a global procedure.
    thanks in advance
    regards
    raja

    Problem solved.
    Mappings should be dragged vom Explorer: "Available Objects"
    into Process flow.

  • How to infer values in characteristics of material

    Hi Experts
    I am trying to infer a characteristic (manufacturer name) based on another characterisitc (manufacturer number) for material master. I have done the following steps:
    -created the characteristic (single value, Additional Value ticked, Not Ready for Input ticked)
    -created the function (with manufacturer number as input parameter)
    -created the function module for the above function
    -created the dependency (type Procedure)
    -assigned my dependency to the characteristics
    -added the charateristics to a class
    All these above objects are in Release/ active status.
    In the dependency editor, I have put the following code to call my function/ function module Z_MFRNR_NAME
    FUNCTION Z_MFRNR_NAME                
    (ZZ_MFRNR = $ROOT.ZZ_MFRNR,          
    ZZ_MFRNR_NAME = $SELF.ZZ_MFRNR_NAME).
    In the function module, I am using CUOV_GET_FUNCTION_ARGUMENT (to get manufacturer number from table QUERY) and CUOV_SET_FUNCTION_ARGUMENT (to set manufacturer name in table MATCH).
    The problem is that when I assign my class to a material in MM01/MM02, the function module is not called (I have a BREAK-POINT) hence the manufacturer name is not populated in the characteristic.
    If I change the characteristic manufacturer name to 'Ready for Input' and try to enter a value manually, I hit my break-point but the manufacturer name returned by the function module is still not populated on the characteristic and I get a message 'Inconsistent values inferred for characteristic Mfr Name'. I checked the details of this message and it tells me that the value I entered manually and the value returned by the function module are incompatible with each other. This indicates that the function module is working fine as it is returning the manufacturer name.
    Can someone please explain:
    1. Why is the function module not called in the first place when the class is assigned to a material ie when there is no manuall entry to the characterirstic?
    2. When there is manual entry and the function module is called, why doesnt the characteristic pick the value retured by the function module?
    Am I missing something here.
    Thanks in advance
    Farooq

    Hi,
    Found the problem, I was assigning my dependency to the wrong characteristic. It should have been assigned to the Manufacturer number (inferring characteristic) rather than the Manufacturer name (inferred characteristic).
    Farooq

Maybe you are looking for

  • Operations on master_detail

    HI I AM HAIL TO EVERY BODY IN ORACLE OTN NETWORK FORUM i have question and hope to get answear from the members here iam using (win xp ,jdeveloper r2.4) i have master detail (table_table) on my page can i do operations like(create insert,delete ...)

  • Mirroring Ipad to TV

    I am wondering if i purchase Apple TV if it broadcasts the Ipad throught all apps. Example: I am using a human body app from the app store and would like to broadcast it while in a court room onto a tv (wirelessly). Ive seen that you can open up airp

  • Active Directory plugin not correctly creating users home directories

    Is there a trick to getting the Active Directory plugin in 10.4.7 to correctly create home directories for AD users? It is creating them with the root owning everything in it, and this is unacceptable. Our setup: We have a Active Directory network (W

  • Share project configuration with team and Build Path?

    Question 1: Is it possible to share the Flex Builder project settings (Flex Build Path, etc.) with other users?  It would be nice to be able to do this so all developers on a team do not have to follow a step-by-step procedure for setting up a projec

  • New AIR game - Saturate: A bullet-storm survival shooter

    Hi all, I've been working for over a year on game with a publisher (not this game!), and it is still many months away from release.  In the meantime I was anxious to get something released to the public in the short term, so two weeks ago I started S