Dynamic creation of variant

Hi Friends,
      I need to schedule a report in background at runtime.... for that i got a function Module SUBST_SCHEDULE_GENERATOR
in this function module, we need to pass variant, but as the report is a BDC and should run for different values at every run, values i can get at runtime.Here i need to create a variant for those values ........so that i can pass it to the FM.
Is there any function module or any other way to create a variant at runtime.
or is there any other way to create a background job snd in that  case how to pass screen fields..
Thanks & Best regards
Dev

Try SUBMIT statement. Check code below.
(Ref: SAP documenation.
Sample:
DATA: number TYPE tbtcjob-jobcount,
      name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
      print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
  EXPORTING
    jobname          = name
  IMPORTING
    jobcount         = number
  EXCEPTIONS
    cant_create_job  = 1
    invalid_job_data = 2
    jobname_missing  = 3
    OTHERS           = 4.
IF sy-subrc = 0.
  SUBMIT submitable TO SAP-SPOOL
                    SPOOL PARAMETERS print_parameters
                    WITHOUT SPOOL DYNPRO
                    VIA JOB name NUMBER number
                    AND RETURN.
  IF sy-subrc = 0.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = number
        jobname              = name
        strtimmed            = 'X'
      EXCEPTIONS
        cant_start_immediate = 1
        invalid_startdate    = 2
        jobname_missing      = 3
        job_close_failed     = 4
        job_nosteps          = 5
        job_notex            = 6
        lock_failed          = 7
        OTHERS               = 8.
    IF sy-subrc <> 0.
    ENDIF.
  ENDIF.
ENDIF.

Similar Messages

  • DYNAMIC CREATION OF VARIANTS

    Hi All,
    i want to run the report in the back ground and the selection screen having the date as selct-options
    and i want to put highest date as yesterday for every day when i run in back ground, then how can i create the variant dynamically where the highest date is varying.
    regards
    Krishna

    As per what i understand, you want the high value of the date field to be populated with yesterday's date.
    In that case, what should be the low value?
    There are 2 ways you can achieve this.
    1st Method
    1. Create a variable in TVARVC with TYPE as 'S'.
    2. Populate the same variable in the INITIALIZATION event of your program.
    3. Create a variant and use the Variable populated above.
    2nd Method
    1. Populate the date field with the reqd values in the INITIALIZATION event of your  
        program.
    2. Create a variant and in the variant, choose "Save field without values" for the date
        field in the selection screen.
    Hope this helps.
    Thanks,
    Balaji

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

  • How to use a Dynamic Transaction Screen Variant

    Hi,
    I'm trying to use a standard variant (ZVA01) asociated to trx VA01.
    I created this transaction variant in order to avoid changes of adresses's fields  of the partners (bill to party)  during the Sales Order creation.
    I set as 'Only Display' this fields.
    The problem we have is that, we also have 'One Time customers', in this case those blocked fields should be available to change its data during SO creation.
    How can I change dynamically the transaction variant to be used in VA01 , based on
    in the type of cliente (CPD or not CPD) ??
    I have read that there exists a DYNAMIC TRANSACTION VARIANTs option, but I have  not understood its way of use.
    Could some body give me a link to this topic or explain it ?? .
    Thanks ...
    Regards
    Tania Moreno

    Tania,
    I have never heard of 'DYNAMIC TRANSACTION VARIANT'.  There does exist Dynamic date variables for Variants.
    http://help.sap.com/saphelp_erp60/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm
    I think you should probably use a userexit to achieve your business requirements.  Perhaps USEREXIT_FIELD_MODIFICATION
    within include MV45AFZZ.
    Best Regards,
    DB49

  • Mass Creation of Variants

    I have hundreds of products that all have the same variant configurations, and I understandably don't want to pay someone to manually go through the WebTools interface to create all the variants.  After looking through the WebTools database, I am planning on creating a little SQL script that will copy the variant information from one product to another. 
    1)  Select all records from Variant table where ConfigPartNo = 'itemtocopyfrom'
    2)  Create new rows in Variant table that match the previously selected rows, switching out the ConfigPartNo to 'itemtocopyto'
    3)  For each of the first selected VariantIDs in the Variant table, Select all the records in the PartsVariant table where VariantID = VariantID
    4)  Duplicate each of those rows, substituting the new VariantID of the parts created in step 2
    I can't find anyplace else that is affected by the creation of variants.  Will this work, or is there a better way to approach this?
    Thanks,
    Derek

    In case anybody else is interested, I whipped up this in Access VBA today.  Basically all the form does is have two list boxes filled with all the products in WebTools.  You can only select one from the FROM listbox, but you can select as many products in the TO listbox as you want.  This code then loops through all of the selected TO products, duplicating all the variants settings of the FROM column. 
    My code is only lightly commented and does very little error checking, but it does the job.  One thing to note if you end up using this code is that it doesn't check to see if it is duplicating variants, so if you click it twice or run it on a product that already has variants, it will add all of the variants from the FROM product.
    Depending on how much I need to use this, I may extend it a little more so that I can choose to copy only certain variant categories rather than all variant categories, but we'll see.  If I do anything significant, I'll hopefully remember to come post it here.
    If anyone is interested in the original Access database that runs this, just send me an email at derek AT seatability DOT com and I'll send it over to you.
    Dim SQL As String
    Dim con As ADODB.Connection
    Dim rsVariantFrom As ADODB.Recordset
    Dim rsVariantTo As ADODB.Recordset
    Dim rsPartsVariantFrom As ADODB.Recordset
    Dim rsPartsVariantTo As ADODB.Recordset
    Dim rsAutoVariantID As ADODB.Recordset
    Dim rsPartsMaster As ADODB.Recordset
    Dim CopyFromProductID As String
    Dim CopyToProductID As String
    Dim AutoVariantID As Integer
    Dim varItm As Variant
        CopyFromProductID = lstCopyFromPartNo.Value
        'Open Database Connection
        Set con = New ADODB.Connection
        con.ConnectionString = "Driver={SQL Server};" & _
                   "Server=server;" & _
                   "Database=database;" & _
                   "Trusted_Connection=yes"
        con.Open
        For Each varItm In lstCopyToPartNo.ItemsSelected
            CopyToProductID = lstCopyToPartNo.ItemData(varItm)
            Set rsVariantFrom = New ADODB.Recordset
            SQL = "SELECT * FROM Variant WHERE ConfigPartNo = '" & CopyFromProductID & "'"
            rsVariantFrom.Open SQL, con, adOpenForwardOnly, adLockReadOnly
            Set rsVariantTo = New ADODB.Recordset
            SQL = "SELECT * FROM Variant WHERE ConfigPartNo = '0'"
            rsVariantTo.Open SQL, con, adOpenDynamic, adLockOptimistic
            Do Until rsVariantFrom.EOF
                ' Copy all the old Variant Fields, only changing the ConfigPartNo to the new ProductID
                rsVariantTo.AddNew
                    rsVariantTo.Fields("ConfigPartNo").Value = CopyToProductID
                    rsVariantTo.Fields("Description").Value = rsVariantFrom.Fields("Description").Value
                    rsVariantTo.Fields("ImageURL").Value = rsVariantFrom.Fields("ImageURL").Value
                    rsVariantTo.Fields("MarketingText").Value = rsVariantFrom.Fields("MarketingText").Value
                    rsVariantTo.Fields("VariantType").Value = rsVariantFrom.Fields("VariantType").Value
                    rsVariantTo.Fields("DefaultPartNo").Value = rsVariantFrom.Fields("DefaultPartNo").Value
                    rsVariantTo.Fields("RequiredFlag").Value = rsVariantFrom.Fields("RequiredFlag").Value
                    rsVariantTo.Fields("SortOrder").Value = rsVariantFrom.Fields("SortOrder").Value
                    rsVariantTo.Fields("SynchFlag").Value = rsVariantFrom.Fields("SynchFlag").Value
                    rsVariantTo.Fields("SynchDate").Value = rsVariantFrom.Fields("SynchDate").Value
                rsVariantTo.Update
                ' Retrieve most recent Autoincrement / Identity value from connection
                Set rsAutoVariantID = New ADODB.Recordset
                SQL = "SELECT IDENT_CURRENT('Variant')"
                rsAutoVariantID.CursorLocation = adUseServer
                rsAutoVariantID.Open SQL, con, adOpenForwardOnly, adLockReadOnly, adCmdText
                AutoVariantID = rsAutoVariantID.Fields(0).Value
                rsAutoVariantID.Close
                Set rsAutoVariantID = Nothing
                Set rsPartsVariantFrom = New ADODB.Recordset
                SQL = "SELECT * FROM PartsVariant WHERE VariantID = '" & rsVariantFrom.Fields("VariantID").Value & "'"
                rsPartsVariantFrom.Open SQL, con, adOpenForwardOnly, adLockReadOnly
                'Return an empty recordset to add the copied PartsVariant rows
                Set rsPartsVariantTo = New ADODB.Recordset
                SQL = "SELECT * FROM PartsVariant WHERE VariantID = '0'"
                rsPartsVariantTo.Open SQL, con, adOpenDynamic, adLockOptimistic
                ' Copy all the old PartsVariant fields, only changing the VariantID to the new VariantID
                Do Until rsPartsVariantFrom.EOF
                    rsPartsVariantTo.AddNew
                       rsPartsVariantTo.Fields("VariantID").Value = AutoVariantID
                       rsPartsVariantTo.Fields("PartNo").Value = rsPartsVariantFrom.Fields("PartNo").Value
                       rsPartsVariantTo.Fields("DisplayText").Value = rsPartsVariantFrom.Fields("DisplayText").Value
                       rsPartsVariantTo.Fields("UseBaseFlag").Value = rsPartsVariantFrom.Fields("UseBaseFlag").Value
                       rsPartsVariantTo.Fields("BaseAdj").Value = rsPartsVariantFrom.Fields("BaseAdj").Value
                       rsPartsVariantTo.Fields("SortOrder").Value = rsPartsVariantFrom.Fields("SortOrder").Value
                       rsPartsVariantTo.Fields("SynchFlag").Value = rsPartsVariantFrom.Fields("SynchFlag").Value
                       rsPartsVariantTo.Fields("SynchDate").Value = rsPartsVariantFrom.Fields("SynchDate").Value
                    rsPartsVariantTo.Update
                    rsPartsVariantFrom.MoveNext
                Loop
                ' Close PartsVariant recordsets and destroy object
                rsPartsVariantFrom.Close
                rsPartsVariantTo.Close
                Set rsPartsVariantFrom = Nothing
                Set rsPartsVariantTo = Nothing
                rsVariantFrom.MoveNext
            Loop
            ' Set the master record of the item to be a Variant Master
            Set rsPartsMaster = New ADODB.Recordset
            SQL = "UPDATE PartsMaster " & _
                    "SET VariantMasterFlag = 'Y' " & _
                    "WHERE PartNo = '" & CopyToProductID & "'"
            rsPartsMaster.Open SQL, con
            ' Close Variant recordsets and destroy object
            rsVariantFrom.Close
            rsVariantTo.Close
            Set rsVariantFrom = Nothing
            Set rsVariantTo = Nothing
            Set rsPartsMaster = Nothing
        Next varItm
        con.Close
        Set con = Nothing

  • Dynamic creation of TabStrip

    Hi,
    I want to create a tabstrip dynamically.The tabstrip should have 3 tabs, and in each of the tabs i want to put some UI elements like a label, input field, dropdown, tables.........etc.
    Im able to create the tabstrip and add tabs to it dynamically.
    I've even created the UI elements which i wanted to put in the tabs.............But im not able to proceed as i dont know how to add the UI elements to the tabs.......
    Can anyone tell me how to add UI elements to a tab in a tabstrip?
    Regards,
    Padmalatha.K
    Points will be rewarded.

    Hi,
    Following code will help you to understand the dynamic creation and adding them
    //Tabstrip
           IWDTabStrip tabStrip = view.createElement(IWDTabStrip.class);
           //Tab
           IWDTab tab = view.createElement(IWDTab.class);
           //Input Field
           IWDInputField inputField = view.createElement(IWDInputField.class);
           //Adding inputfield to tab
           tab.setContent(inputField);
           //Adding tab to tabstrip
           tabStrip.addTab(tab);
    //Finally add this tabstip to either your root container or some other container.
    Regards
    Ayyapparaj

  • 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 field in Variant

    Hi,
    I have to make Period (from),Year (from),Period (to)
    and Year (to) as Dynamic in  the Variant for Program RKKRCO02.These are of type Parameters.
    Please let me know how I can get it done.
    Thanks in Advance,
    Savitha

    HI Savitha,
    If u open the variant and observe, there some options like hiding parameters and select-options. The same thing we can do my some function modules which will play the dynamic operation with variants in the selection screen.
    And if u want to fix some values in the variant for any date field, you can do by this way.
    To set the dynamic date:
    Save variant on the selection screen.
    In the vairant screen, press F4 against your field in the column "Selection Variable"
    Select D here.
    In the column Name of the variable, press F4 to have the list of the possible rules.
    Here you can select "Current date - xxx,current date + yyy" if you want to have certain period.
    When you select this system will pop up to put the values for XXX and YYY.
    Say for last 7 days, you can set the values XXX as 7 and YYY as0.
    But the best way is to change the program, if possible, and fill the select option in the initialization event.
    Reagrds,
    Raghu.

  • Dynamic creation of business graphics.

    Hi,
    i have a piece of code which dynamically create a business graphics. If i use the same node data and create BG in statically.. i am able to view the graph. In case of dynamic creation , i am getting graphical rendering error. Have i missed something here..
    The piece of code i had used is..
         IWDBusinessGraphics bg = (IWDBusinessGraphics)view.createElement(IWDBusinessGraphics.class,null);
              IWDCategory c = (IWDCategory)view.createElement(IWDCategory.class,null);
         //     c.setDescription("tableutility");      
              c.bindDescription(wdContext.getNodeInfo().getAttribute(IPrivateSDNUtilityView.IContextElement.TEST));                                                                               
    bg.setCategory(c);
              bg.setDimension(WDBusinessGraphicsDimension.PSEUDO_THREE);
              IWDSimpleSeries ss = (IWDSimpleSeries)view.createElement(IWDSimpleSeries.class,null);
              ss.bindValue(wdContext.nodeDepartments().getNodeInfo().getAttribute(IPrivateSDNUtilityView.IDepartmentsElement.NO_OF_PEOPLE));
              ss.setLabel("Simple Series");
              ss.setLabel("No of People");
              bg.addSeries(ss);
              bg.setChartType(WDBusinessGraphicsType.COLUMNS);
              bg.bindSeriesSource(wdContext.nodeDepartments().getNodeInfo());
              bg.setIgsUrl("http://<hostname>:40080");
    Please help.
    Regards
    Bharathwaj

    Please got through following link
    <a href="/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities:///people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities

  • Dynamic Creation of Buttons and Actions HELP

    Hi there,
    I have got a problem (or maybe even two) with the dynamic Creation of buttons. The code below creates the buttons.
    My main problem is, that the parameter created for the button's action isn't propagated to the assigned event handler. I get a null, though the name of the parameter in the event handler and the name of the parameter added to the action are the same.
    Could it also be that I'm always using the same action? I.e. does wdThis.wdGetAddElementAction() always return the same action instance? If yes, how can I create individual actions for each button?
    Any help is appreciated!
    Cheers,
    Heiko
    "    for(int i=rootContainer.getChildren().length; i<wdContext.nodeFeature().size();i++)
                   IPrivateVCT_Feature.IFeatureElement featureElement = wdContext.nodeFeature().getFeatureElementAt(i);
                   IWDTray featureTray = (IWDTray) view.createElement(IWDTray.class, featureElement.getName());
                   IWDCaption header = (IWDCaption) view.createElement(IWDCaption.class, featureElement.getName()+"_Header");
                   header.setText(featureElement.getName());
                   featureTray.setHeader(header);
                   featureTray.setExpanded(false);
                   rootContainer.addChild(featureTray);
                   IWDButton button = (IWDButton) view.createElement(IWDButton.class, featureElement.getName()+"_Button_AddElement");
                   IWDAction actionAddElement = wdThis.wdGetAddElementAction();
                   actionAddElement.getActionParameters().addParameter("featureIndex", new Integer(i).toString());
                   button.setOnAction(actionAddElement);
                   button.setText("Add Element");
                   featureTray.addChild(button);

    Hi Heiko,
    You have done everything correctly....except for 1 line
    in the code...
    Replace the following line in your code:
    actionAddElement.getActionParameters().addParameter("featureIndex", new Integer(i).toString());
    Replace the above line with this code:
    button.mappingOfOnAction().addParameter("featureIndex",i);
    Actually in your code, you are not associating the parameter with the button...
    Note that addParameter(...) comes with two signatures: addParameter(String param, String value) and addParameter(String param, int value). You can use any of them based on yuor need.
    Hope it helps,
    Thanks and Regards,
    Vishnu Prasad Hegde

  • Dynamic Creation Form

    Hi friends,
    Is there a way to create dynamic creation forms in ADF,in jdev 10.3.3?
    By this I mean--I need to populate a table in my DB and on my page I have an add button,
    now at each click of add button,a new creation form should be displayed on the page one below the other.
    finally there would be a Save button that would save all my entries to the table.
    I searched a lot for the same...Please do help if anybody has any ideas..
    Thnks in Advance..c ya
    kavitha
    Edited by: user6403440 on May 5, 2009 2:22 AM

    Hi,
    well, the easiest would be to create an updateable table and add new rows. If you need a form then you can use af:forEach or af:iterator with the table binding to render input form elements (more like a custom table rendering). However, its quite a bit of development that is required for this.
    Frank

  • Dynamic Creation of Entity Objects (ADF Business Components)

    Hi All,
    We have a requirement to create Entity Objects for the dynamically generated tables in our application and at the same time bind them to different views.
    Our product create multiple tables at runtime with some sort of naming convention, and we couldn't find a way in JDeveloper to generate entity objects for the tables created dynamically.
    Please provide some pointers if you have experienced or worked on similar requirement.
    Thanks,
    Nikhilesh

    Thanks for the help Sudipto.
    The link which you have shared, describes the creation of an entity object and then modify the operations like Delete Update and Insert etc to be performed on the entity object by creating IMPL classes and implementing certain interfaces.
    But I need to create Entity objects dynamically. My application creates new tables for some functionality at the run time and I have to create Entity objects for those new tables as soon as the new tables are created.
    I was just wondering if, there is any API available for creating the entity object from Java code instead of invoking the wizard in the Jdeveloper.

  • Dynamic creation of control

    Hi is it possible to create control buttons in run time based on the input given by the user.Do any one have the demo program

    Intaris a écrit:  Yes, but that's not strictly creating controls, is it?  It's mimicing controls. It's certainly a nice feature to have when you come up against a fundamental limitation of LV, but I think someone who is not yet aware of the fact that LV in itself does not support dynamic control creation should try first to write code in a way that is compatible with this....
    My point of view is different. When somebody ask a question, for which there is indeed a solution, I'll try to avoid saying "No, there is no solution". I'll balance my reply to take into account "environment" parameters (difficulty, cost, time, compactness...). As a university professor, this is a situation I have to face with my students on a daily basis. And, from experience, I found it is most often more rewarding for everybody to say "Yes you can...but...". It leaves the parter the possibility to decide himself if the solution fits his needs.
    In the specific case of LabVIEW limitations, I also think that it is better to acknowledge the limitation and propose a workaround (= a way to write code that is compatible with the problem) that is most often more efficient than the way the "customer" was considering.
    There are no problem, just solutions 
    Message Edité par chilly charly le 09-18-2008 08:47 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Dynamic creation of component

    Hi ,
    I try to create a component in DC B from DC A.For this I use the method
    wdThis.wdGetObjectComponentUsage().createComponent(componentName, dc);
    where componentName = path of the webdynpro component
    eg:com.sap.a1s.reui.plugins.fdt.expressions.decisiontable.ExDecisionTable
    dc=<vendor name>/<dc name>
    sap.com/a1s/reui/plugins/fdtexpr
    But I keep getting the runtime error
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'sap.com/a1s/reui/plugins/fdtexpr' since it is not a Web Dynpro object
    I also tried using
    sap.com/a1s~reui/plugins/fdtexpr
    But get the same error.
    can anyone please help regarding how to get the DC name ?
    Regards
    Sourav

    hi Saurav,
    I think problem is web dynpro framework is not getting deployable object,
    just give try to,
    sap.com/a1s~fdtexpr
    not sure but just a try, also check if this link is of any help
    View Methods / Dynamic component creation
    regards
    Message was edited by:
            Abhijeet

Maybe you are looking for

  • How to perform expand and collapse operation on click of link or button

    Hi Is there anyway by which i can perform expand and collapse operation over a table on click of a command link or button without using show details component. Is there any other alternative to show detail. I do not want to use show detail because of

  • Adobe Media Encoder has stopped working

    I have Premiere version CS4, on windows vista 64 bit. All of a sudden the Media Encoder has stopped working, when I press problem details it says: Problem Event Name: APPCRASH Application Name: Adobe Media Encoder.exe Application Version: 4.0.1.0 App

  • Contacts appearing as phone numbers instead of names...how do i fix this?

    I just updated my 4s software today...as soon as it updated, my previous phone calls and messages are now listed by the person's phone number instead of their name...because I do not know everyone's phone number off the top of my head, this makes mes

  • Migrating forms 2000 to forms 6i

    Hi, does anyone of you tried to migrate forms 2000 to 6i. everytime I try that, I am getting an error - "ifbld60.exe has generated errors and will be closed by Windows. You will need to restart the program." (rigt after I open the file and connect to

  • How can i apply border for fluid grid layout div

    How can i apply border for fluid grid layout div