Dynamic creation for Workflow Transitions

Hi,
I have a custom wf to deprovision and move users.
Depending on the entries in the list $userNames i want to create transitions for each user and do these activities parallel with an and-split
How can i do that?
Greetings,
Rabb

Hi,
U want to add two no. using BO.
For this u have to create 'z' Object .
Inside that create 'z'Method.
Now after that u can write ur functionality of adding two no. in that method.
this u can use in ur WF.
Or u can use delegation also.
Take selfitem as a supertype for BO.
Or there is one step-conatiner operation...
u can directly use that for addition of two numbers.
details:
Each business object has the following properties:
a.     Object Type ID u2013 It is used for internal identification of the business object.
b.     Object Name u2013 It is used for external identification of the business object.
                Using this property external system can interact with SAP system.
c.     Super Type u2013 It is the parent object from which all the components of the BO are inherited.
d.     Name u2013 It is a descriptive name of the BO.
e.     Description u2013 It is a brief description of the business object type.
f.     Application - The application component to which the BO belongs to.
g.     Program - Program that will contain the ABAP code of the BO.
hope it helps u!
Regards,
Mamta

Similar Messages

  • Bussiness Object creation for workflow

    Hi Experts,
    I am new in workflow and want to make the workflow for addition of two numbers.
    Please can anyone guide me the steps which i have to follow.
    I want to make my own BO , But there  several options like supertype,object type ..etc.
    Please explain the BO and other steps to follow .
    Rgds,
    Premraj

    Hi,
    U want to add two no. using BO.
    For this u have to create 'z' Object .
    Inside that create 'z'Method.
    Now after that u can write ur functionality of adding two no. in that method.
    this u can use in ur WF.
    Or u can use delegation also.
    Take selfitem as a supertype for BO.
    Or there is one step-conatiner operation...
    u can directly use that for addition of two numbers.
    details:
    Each business object has the following properties:
    a.     Object Type ID u2013 It is used for internal identification of the business object.
    b.     Object Name u2013 It is used for external identification of the business object.
                    Using this property external system can interact with SAP system.
    c.     Super Type u2013 It is the parent object from which all the components of the BO are inherited.
    d.     Name u2013 It is a descriptive name of the BO.
    e.     Description u2013 It is a brief description of the business object type.
    f.     Application - The application component to which the BO belongs to.
    g.     Program - Program that will contain the ABAP code of the BO.
    hope it helps u!
    Regards,
    Mamta

  • How to add an extra dynamic columns in workflow inbox?

    Hi Every Expert,
    Transaction SWL1 only provides Six columns as dynamic columns for workflow inbox. But we need to use 7 to 8 dynamic columns. How to add these two extra columns into workflow inbox?
    Thanks,
    Shirley

    Thank you very much for all you responses.
    Due to SAP only provides 6 columns, I can't add anohter extra dynamic column. I may consider to change task to show the contents in preview pane.
    Thanks again to everyone.
    Shirley,

  • Hi frnds this is the code for dynamic creation of users in plsql but these statements r not executing so pls help me for this error

    DECLARE
    n NUMBER;
    BEGIN
    n:=1;
    WHILE(n<=10)
    LOOP
    CREATE user EM||n IDENTIFIED BY KLU;
    GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM||n;
    COMMIT;
    n:=n+1;
    END LOOP;
    END;

    Hi,
         Here is the dynamic query for creating user and to give grants to user,
    DECLARE
       n         NUMBER;
       cr_user   VARCHAR2 (300);
       gr_user   VARCHAR2 (300);
    BEGIN
       n := 1;
       WHILE (n <= 10)
       LOOP
          cr_user := 'CREATE user EM' || n || ' IDENTIFIED BY KLU';
          gr_user := 'GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM' || n || '';
          EXECUTE IMMEDIATE cr_user;
          EXECUTE IMMEDIATE gr_user;
          n := n + 1;
       END LOOP;
    END;
    Edited: Removed When OTHERS Exception Handling from Code.
    Cheers!

  • Java Core Program :: Dynamic Object Creation for Classe & Invoking the same

    Hi,
    I need to create a dynamic object for a class & invoke it.
    For eg: I have a table in my DB where all the names of my java classes are stored. I need to call name from the table of the DB and call that class dynamically in my java program.
    ResultSet_01 = executeQuery("select classname from class_table where class_descrip = 'Sales Invoice' ");
                   while(ResultSet_01.next())
                        String class_name = ResultSet_01.getDouble("classname");
                   }Now using the string in class_name that is fetched from ResultSet_01, I need to create an object for the class_name & invoke the class that is been created with the same name.
    Thank in advance.
    Regards,
    Haider Imani

    Well for a start since a class name is a String, not a number you'd better start by getting the name with getString() not getDouble().
    You need to work with fully qualified names, (FQNs) like "com.acme.myproject.MyDynamicClass", not just the bare MyDynamicClass.
    The next question is where the .class files for the dynamically loaded classes are stored. If they are part of your normal program code, on the class path, then you can use Class.forName to load the class and return a Class object. If they are in some special place you'll need to create a URLClassLoader and get the Class from that.
    Generally, when you load a class this way, it should implement some known interface, or extend some know abstract class. By placing objects of the dynamic class in a reference to that interface you can use the methods defined in the interface.
    The usual way of getting an instance of a dynamic class is to call newInstance() on the Class object.

  • Can we create a dynamic action for Training and Event Management???

    Hi All
    i need to configure automatic email generation for an employee when he gets booked for a training program in the training and event management module. can we use a dynamic action for it? and how to configure it?? I also guess that i have to use the Feature MAILS for it. but i am not sure abt it and also not sure how to configure it. I will really appreciate if someone can provide me with a step to step configuration for the same. Its urgently sought.
    Thanks and Regards

    Notifications in T&E are done through Workflow.Dynamic Actions are only for PA Infotypes.
    ~Suresh

  • Dynamic creation of ComponentUsage

    Hi people,
    I want to reuse a view (ViewA) in different views (ViewB, ViewC, ViewD).ViewA has a quite complex logic, so it is necessary to outsource this view.  Not only the logic, but also the count of UIElements and contextelements is quite large, for this I don't want to implement this part redundant in the views A, C and D.
    I have to use ViewA in a table in  the TablePopin UIElement. Every line of the table should have its own instance of ViewA. Is that possible?
    My idea is it, to put the view in an own component. For every tableline I need an instance of the componentUsage. My problem is now, that I'm not able to create at runtime a ComponentUsage and at designtime I don't know how many instances I need. Is it possible in webdynpro to create dynamic instances of ComponentUsage?
    If you know an other way, that prevents me from implementing the view and its logic more times, please tell me!
    Thanks in  advance,
    Thomas Morandell

    Hi Thomas,
    just for clarification. Principally it is possible in Web Dynpro to dynamically create new component usages of the same type like an existing, statically declared one. This means after having defined a component usage of type ISomeComp (component interface definition) you can dynamically create new component usages which all point to the same component interface definition ISomeComp:
    wdThis.wdGetISomeCompUsage().createComponentUsageOfSameType();
    But this dynamic creation approach implies, that you must also embed the component interface view of this component usage to the view composition dynamically; and this is (unfortunately) quite cumbersome and complicated based on the existing Web Dynpro Java API (it is not yet optimized for a simple dynamic view composition modification.
    Additionally, like Valery pointed out, the dynamic creation of new component usages is not compatible with table popins.
    Regards, Bertram

  • Dynamic Creation of UI in adobe forms??

    Hi Experts,
    I need to create a dynamic interactive form and dynamic UI elements in the interactive form.
    As per my requirement I need to display a pdf and I will be getting values from the RFC's. I need to show the form segments and the UI elements only when there's a data from the RFC else not. I am unable to understand whether this requirement needs generation of the UI elements dynamically or I can do it statically as well.
    The form thus generated will be having data from the RFC which based on the data quantity may exceed to n number of pages.
    In case it needs dynamic creation can you suggest me please how to achive it in interactive forms?
    Helpful answers will be appreciated.
    Warm Regards,
    Gaurav

    Hi,
    subForm1:-
    Flow content
    Allow page breaks
    Place: following previous-----> This means when you are repeating the subform the previous one should be followed.
    Say you have a table and have 3 columns in it.
    After 1st column is completed, the next column should come with 1st comun
    After: Continue filling parent--->Continously fill the data with the parent element
    Repeat sub form min count is 1 : Minimum of 1 line item will be printed
    Height: Expand to fit is true.: If the field height is increased it automatically expands.
    For help in Adobe Press F1 or Goto Help--> Adobe Designer Help in Adobe Designer
    After installing Adobe Designer, goto the specific folder
    C:\Program Files\Adobe\Designer 8.0\EN you can get sample documents.
    For help press F1 after opening designer.
    Sub Form1: Content--> Flowed, Flow direction --> Top to bottom
                       Binding --> Check the checkbox Repeat Subform for each data item
    Subform 2: Content --> Positioned, No pagination No binding settings changes needed.
    Hey i forgot to mention the Header Subform where you create all these subforms should be flowed.
    Try it once like this and lte us know
    Edited by: Sankar Narayana on Oct 3, 2008 5:06 PM

  • Dynamic creation of date in selection variant

    Hi All,
    I have a Z program for updating a field in BOM item. One of the input field in the report is "Valid From Date". Actually the current date is automatically fetched through a function module and it is defaulted in that field. 
    Our client is using selection variant for ease of use. The problem here is old date in the selection variant  is replacing the current date. I want current date to be created automatically during insertion of variant also. How can i solve this problem. Is there any selection variable inside the variant for dynamic creation of Date?
    Thanks
    Sankar

    As I know there is no setting for this. For any std or Z report variant function with L should act same way...anyway you discuss with your ADABer.
    See the help for variables
    Selection Variables                                                                               
    The following three types of selection variables are currently          
        supported:                                                                               
    o   Table variables from TVARV                                          
            You should use these variables if you want to store static          
            information. TVARV variables are proposed by default.                                                                               
    o   Dynamic date calculations:                                          
            To use these variables, the corresponding selection field must have 
            type 'D' (date). If the system has to convert from type T to type D 
            when you select the selection variables, the VARIABLE NAME field is 
            no longer ready for input. Instead, you can only set values using   
            the input help.                                                     
            The system currently supports the following dynamic date            
            calculations:                                                       
            Today's date                                                        
           From beginning of the month to today                               
           Today's date +/- x days                                            
           First quarter ????                                                 
           Second quarter ????                                                
           Third quarter ????                                                 
           Fourth quarter ????                                                
           Today's date - xxx, today's date + yyy                             
           Previous month                                                                               
    o   User-specific variables                                            
           Prerequisite: The selection field must have been defined in the    
           program using the MEMORY ID pid addition. User-specific values,    
           which can be created either from the selection screen or from the  
           user maintenance transaction, are placed in the corresponding      
           selection fields when the user runs the program.                                                                               
    The SELECTION OPTIONS button is only supported for date variables that 
       fill select-options fields with single values.                         
    i.e means we can do that with D also.

  • Custom Approval Screen required for workflow to be executed via CRM Web UI

    My requirement is to create a custom approval screen for workflow. I am Not aware as to how to create a custom approval screen for workflow that could view via CRM Web UI and Execute the workitem as well.
    Experts please help me with the creation of a task with custom approval screen.

    Hi Surjith, thanks for your answer but is not the right one.
    This is an standard method and is working fine, I think the problems must be in some setup I have to do but I'm missing.
    Thanks a lot.
    Regards
    Felipe

  • How to pass Stages Guid dynamically in declarative workflow

    hello,
    How to pass Stages Guid dynamically in declarative workflow.
    Example For List we used to pass guid like this 
    System.Guid.Parse("{$ListId:Lists/Testlist;}")
    help me out to pass stage guid...
    any help would be appreciated!!!!
    Thanks regards, Vignesh.

    You need to make use of command line arguments. You can go through this link for example.
    http://www.freeos.com/guides/lsst/ch02sec14.html
    In your shell script(say test.sh) you can have
    exp fas/xxxxxx@fasbd001 file=audit_grn_28aug.dmp tables=audit_grn query=\"where org_grp_i=$1 \"$1 indicates it accepts the first argument from command line. if you want to pass 19, add that next to the script you're executing.
    From command line you can call this shell script say test.sh 19

  • Basic questions in SRM for Workflows+need material

    Hi All,
    I have developed Workflows in SAP R3.I am very new to SRM. I have following questions -
    1. What is the use of BADI when we implement Workflow? My understanding till now is to provide all approvers to the
       Shooping Cart.That means for workflows without approval we dont need to BADI to implement.
    2. Is there any other concepts more i have to know? Like in R3 Event will be triggered with help of change doc, status mang., LIS exceptions and all through SWEC tx. is it same in R3?
       Sorry to ask very basic questions.
       Can anyone provide me step to step guide to configure SRM workflows and Cookbook for SRM?
       My Email id is [email protected]
       It will be very helpful for me.
       Thanks in advance.
       Ashwani

    Hi,
    1.All the n step workflows(where approvers are determined dynamically) in SRM can be implemented only using the BADI "BBP_WFL_APPROV_BADI".the main purpose of this BADI is to fetch the Approvers/agents for the workflow.In addition to the  n step WF,you also have no approval, 1 step and 2 step approval workflow in which the agent assignment can be done directly(no BADI reqd) and this is applicable for all types of business objects i.e. Shopping cart,Bid etc.For more details refer the foll link;
    http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
    2.Work flow concepts are same as in R/3.So techincally you can create your custom workflows in the same way.
    Do let me know if you need any further help.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Workflow transition time

    Hi
    Workflow transition time does not work.
    I created a simple workflow transition Yes--No 1 min, no transition the status of the workflow YES

    You have a workflow with 2 states 'state 1' and 'state 2' AND you have added a 'transition after time' for 1 minute from 'state 1' to 'state 2'. Then, when you create an entry which has this workflow associated, it enters 'state 1'. After a minute, it does not transition automatically into 'state 2'?
    If the above is true, I'd be happy to take a look at your workflow process definition. You can export it and attach with your reply.
    -- Khurram

  • Define Dynamic column for integrated inbox

    hi ,
    can any one explain me what is the puprose of this setting.
    SPRO>SRM>Cross application basic settings>sap business workflow>define Dynamic columns for integarted inbox.
    what we maintain here and how it is helpful
    regards
    subhash

    Hi Subhash,
    Please check if the following link helps you:
    How to add an extra dynamic columns in workflow inbox?
    Regards,
    Saumya

  • How to provide dynamic labels for calculated columns in HANA calc views

    Hi all,
    we have the requirement to provide dynamic labels for some calculated columns in our calculation view - how to do that?
    Thanks and kind regards,
    Alexander

    Calculated Columns can only generate a value from fields of the current item. And only some types of fields (for example, it can't use a lookup column).
    Consider using a workflow to accomplish your goal.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

Maybe you are looking for

  • Sharepoint Foundation 2013 User field issue

    Guys, I have an issue with Sharepoint Foundation 2013 site that we have created some custom workflows for. We have a couple required fields that we type in a users name and it automatically pulls up a user based on Active directory. once we choose th

  • Apple ID / iCloud - Cannot verify email address , maybe used in a different account?

    Hi all! Until last week I was having a Family Account on MobileMe. Now that I have transferred all sub accounts to iCloud I moved the main account, too. All sub accounts are working fine and the can use all services like Find my Friends. Now after ha

  • Marketing Attributes in C4C

    Hello, I need something similar to the SAP CRM (on premise) marketing attributes to classify the accounts: each account can have more than one attribute value for the same attribute (eg.: Attribute: INDUSTRY, values: Mechanic, Automotive, Robotics. T

  • Number of cocatenation limit

    Hi, First of all I'm not sure if this is the correct place to ask this, my apologies if this is incorrect :) The company I work for develops software and for logging purposes they use concatenations:  "+ (String Concatenation)" Now, we often have ove

  • Pause movie in keynote?

    how do i pause a movie in a keynote presentation?