How container element wf-version gets value

Hi experts,
In my workflow log i checked the wf container, it is showing older version in quality server.
Actually, I have created a latest version of the wf template in which i added a few new steps in DEV server and saved it in CTS. Then i transported the newly created CTS to quality server.
In quality server, i checked the CTS, it has been transported successfully, I checked the WF template basic data->it showing latest version 0025 as active.
but in workflow log, wf container is showing older version 0024. Hence workflow is not executing the new added steps.
Please suggest me solution.
Thanks
Sonali.

Hi,
Transport was done perfectly.
I now just deleted the older version 0024.
Now workflow is running ok & took the latest version 0025.
But I could not understand why the issue happened. Can anyone suggest some probable cause.
Thanks,
Sonali

Similar Messages

  • How to restrict user to get values only from F4 in selection screen

    Hi All,
       We have given a Search hlep for a parameter  in selection screen of a report,but now we are facing a issue, whlile executing the report user entering the data directly into  field instead of  selecting from F4 help.
      Do anyone  know how to restric the user from entering the data directly.
    i have searched the fourm ,but not get any good tread.
    Regards
    CB
    Moderator Message: Search harder, because there are many threads that have discussed the same issue before.
    Edited by: kishan P on Dec 27, 2010 4:00 PM

    You cna check my reply here To enter the value by selecting values from the F4 help only.

  • How to compare the version history values

    Hi Everone,
    I've an requirement to compare the column values between present version and previous version of the document in the document library.
    Versioning is enabled in the doc., lib... Please suggest how to achieve the same without opening the version of the file manually. 
    Thanks in advance!
    Thanks
    Arun
    Arun Prakash

    Hi Rodrigo,
    Thanks for your response!
    we don't have any access to server to execute the code or to run the power shell. So please suggest to do same with client side  to achieve this requirement.
    Thanks again!
    Arun Prakash

  • How to build Hierarchy and get values from DAX Evaluation Query?

    i have create Calander Hierachy for Year,Quarter,Month... in this invisible tabuler model medata properties.
    any one give steps for create Hierachy and Get Data From DAX evaluation context ?.
    VenkadesanPerumal

    Venkadesan, is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to get values/data stored in the database into a list-item.

    how to get values/data stored in the database into a list-item.
    i tried to make a list item without any values assigned to it...but i got the below error.
    FRM-30191: No list items defined for required poplist.
    or
    FRM-32082: Invalid value for given item type.
    List EMPNO
    Item: EMPNO
    Block: EMP
    Form: MODULE5
    FRM-30085: Unable to adjust form for output.
    then according to some docs, i tried the the following for the trigger
    when-new-form-instance
    declare
         rg_name varchar2(40) := 'emp_rec';
         status number;
         groupid recordgroup;
         it_id item;
    begin
         it_id := Find_Item('empno');
         groupid := create_group_from_query(rg_name, 'select empno from emp');
         status := populate_group(groupid);
         populate_list(it_id, groupid);
    end;
    but yet didnt work... :(
    so how the heck do i get values fetched from the database table into the list item?

    for list items you need to values in the record group, one is the shown value and one is the returned value.
    Check out the online help for the populate_list built-in.
    You'll need something like select ename,ename from emp as the record group query.

  • Container element is not being displayed in email

    Hi Experts,
      I inserted an element from container into email text as below
    The task has been pending in inbox for more than &ins_num& days.
    The value of &ins_num& in container is 9
    In output I get
    The task has been pending in inbox for more than  days.
    Please let me know what is wrong. The binding works fine. No error in workflow.
    Thanks.

    Hi Miak,
    Greetings..:-)
    > I inserted an element from container into email text as below
    > The task has been pending in inbox for more than &ins_num& days.
    > The value of &ins_num& in container is 9
    > In output I get
    > The task has been pending in inbox for more than days.
    > Please let me know what is wrong. The binding works fine. No error in workflow.
    Check on the Following things:->
    1> The Container Element has Initial Value defined, If Yes - it should symbolise in Green Colour.
         If 'Not', then check the WF Log and see whether this Container Element is fetching the Values orr   not.
    2> If the Values are not being Fetched, then the Problem lies with the Binding of these WF Containers.
    Let me know if you are still facing Issues.
    Regards,
    Kanika

  • Worflow container elements not populating

    Hi,
    I am using a simple method and populating certain parameters of the method. in stand alone from swo1 the method populates the container element. This method is then called from a task in workflow.
    The problem I face is that the workflow container elements are not populated, although the container elements at the task level are populated corectly in the workflow log. Even If I am binding a hardcoded value at the task to workflow binding level, the workflow container elements is not getting correct values; when I check the log and hence the workflow goes in error.
    I would like to know why the workflow container elements not getting filled with right values. I have done many workflows before but never faced such an issue before.
    Regards,
    Vishal Bhatia
    Edited by: Vishal Bhatia on Sep 19, 2011 2:33 PM

    Hi,
    I have checked the binding and workflow is activated again.
    Also buffering was done in SWU_OBUF.
    I also tried to run the workflow from SWDD itself and still the same problem. This is very strange. Never before i encountered such an error.
    Kindly suggest. I also tried to create a new task and change the names of container variables in workflow. The strangest thing is the hardcoding of value also not being passed.
    Types of parameters match and import export set accordingly.
    Regards,
    Vishal Bhatia

  • How to pass value to Multiline container element in workflow ?

    Dear Experts,
    I am using the BAPI "SAP_WAPI_WRITE_CONTAINER" to write into the workitem container elements. now i want to write the data into a multiline container element. i am unable to do the same. please guide me how to write the data into multiline container.
    I am getting the data from portal so i am using the BAPI to populate the container.
    Please help me out...
    Thanks & Regards
    Nigesh

    Hi,
    Use the following code:
    DATA:  lv_text             TYPE        string,
              lt_cont_vals        TYPE        swconttab,
              lt_cont_defs        TYPE        swbconttab,
              lo_oref             TYPE REF TO cx_root,
              lo_workitm_cntxt    TYPE REF TO cl_swf_run_workitem_context,
              lo_wi_conv          TYPE REF TO if_swf_cnt_conversion,
              lo_wi_cnt           TYPE REF TO cl_swf_cnt_container,
              lif_wi_cnt          TYPE REF TO if_swf_ifs_parameter_container,
              lo_exception_return TYPE REF TO cx_swf_cnt_container.
    ***--- Get work Item Context
       TRY.
           CALL METHOD cl_swf_run_workitem_context=>get_instance
             EXPORTING
               im_wiid     = im_wi_id
             RECEIVING
               re_instance = lo_workitm_cntxt.
         CATCH cx_swf_run_wim INTO lo_oref.
           lv_text = lo_oref->get_text( ).
       ENDTRY.
    ***--- Get Instance of the work Item Container
       CALL METHOD lo_workitm_cntxt->if_wapi_workitem_context~get_wi_container
         RECEIVING
           re_container = lif_wi_cnt.
    ***--- Type casting work item container into class CL_SWF_CNT_CONTAINRER
       lo_wi_cnt ?= lif_wi_cnt.
    ***-- Set the value
       TRY.
           lo_wi_cnt->if_swf_cnt_element_access_1~element_set_value(
             EXPORTING
               name             =  'ITEM'
               value            =  t_item[]
         CATCH cx_swf_cnt_cont_access_denied.    " Change Access to Container Not Allowed
         CATCH cx_swf_cnt_elem_not_found.    " Element Not Found
         CATCH cx_swf_cnt_elem_access_denied.    " Element Must Not Be Changed
         CATCH cx_swf_cnt_elem_type_conflict.    " Type Conflict Between Value and Current Parameter
         CATCH cx_swf_cnt_unit_type_conflict.    " Type Conflict Between Unit and Current Parameter
         CATCH cx_swf_cnt_elem_def_invalid.    " Element Definition (For Example, Type Name) Is Invalid
         CATCH cx_swf_cnt_invalid_qname.    " Qualified Name Invalid/Already Being Used
         CATCH cx_swf_cnt_container.    " Exception in the Container Service
       ENDTRY.
    * VERY IMPORTANT -- Save changes to DB
       TRY.
           lo_wi_cnt->save_to_database( ).
         CATCH cx_swf_cnt_invalid_por.    " Invalid Persistent Object Reference
       ENDTRY.
       lo_workitm_cntxt->publish( ).
       COMMIT WORK AND WAIT.

  • How to round value of container element in task description

    I am trying to round the value of the container element from 3 decimals to 2 decimals for display purposes.
    The command symbol in the task description is &_WI_Object_Id.OverallTotalCost&. I have looked at SAP Help and I have tried the suggestion of &_WI_Object_Id.OverallTotalCost(.2)& and &_WI_Object_Id.OverallTotalCost(Z.2)& with no success.
    I have also searched the sap-wug mailing list and SAP ITToolBox and found no references rounding a container element in a task description. I have seen code assigning a value to a packed decimal variable to round. But I have not been able to get this to work as a command in a description for a task.

    I created a new element in the container as suggested by Glauco and added the element binding in the workflow / task binding. Biggest hassle was finding a business object that had a type of 2 decimal places to use for the new container element.
    The reason why the SAPScript symbol for reducing the number of decimals does not work in Task texts is because the container elment symbols are resolved first as text. Therefore only the SAPScript commands that apply to text will work like length.

  • Get the value of Container element in message mapping

    Hi,
    Is it possible to read the value of container elements(bpm) in a UDF defined in message mapping. If yes, please tell me how?
    Thanks and regards,
    Siji

    Siji,
    Refer thread - Creating the container Object In Java Mapping
    Regards,
    Geetha

  • How to use Spry.Utils.extractParamsFromForm to get value of a form element

    Can we use Spry.Utils.extractParamsFromForm to get value of a
    form element ?
    I tried this
    quote:
    var cid =
    Spry.Utils.extractParamsFromForm('adForm','category');
    Here the form name is adForm and category is an select item.
    This gives me error
    quote:
    elements.join is not a function
    Any idea on this guys.

    Can we use Spry.Utils.extractParamsFromForm to get value of a
    form element ?
    I tried this
    quote:
    var cid =
    Spry.Utils.extractParamsFromForm('adForm','category');
    Here the form name is adForm and category is an select item.
    This gives me error
    quote:
    elements.join is not a function
    Any idea on this guys.

  • How to give Container Elements for FM EWW_WORKFLOW_START

    hi experts,
    i am new to workflow,
    i am using the FM EWW_WORKFLOW_START to start a workflow.
    my issue is that i am using the std BO BUS2017
    i am not getting the element name that i need to pass to the container.
    When i see in SWDD it shows
    Import Parameter BUS2017 in the list of workflow container elements. but when i pass the OBJKEY: materialDocument and matdocumentyear like
    concatenate '5000000305'  '2009 ' into text1.
    swc_set_element   t_cont  'BUS2017' text1 .
    its not getting passed to the workflow.
    but i added 2 new elements mblnr and year to the container and i pass it , it gets passed.
    how can i know the exact Element name?
    or where could i be wrong?
    thanks and regards,
    Gunj M.

    Hello,
    Here's some sample code of how to pass an object:
    INCLUDE <CNTN01>.
    data: lv_rc like sy-subrc.
    data: lt_messages type standard table of SWR_MESSAG.
    data:
    begin of lv_object_instance,
      objtype type swo_objtyp,
      objkey  type swo_typeid,
    end of lv_object_instance.
    * Define the container
    swc_container lt_wf_cont.
    * Create the container
    swc_create_container lt_wf_cont.
    * Clear the container (not necessary here)
    swc_clear_container lt_wf_cont.
    lv_object_instance-objtype = 'FORMABSENC'.
    lv_object_instance-objkey = '0000000088'.
    lt_wf_cont-element = 'ABSENCEFORM'.
    lt_wf_cont-value = lv_object_instance.
    append lt_wf_cont.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    EXPORTING
       TASK                     = 'WS30000015'
    *   LANGUAGE                 = SY-LANGU
       DO_COMMIT                = 'X'
    *   USER                     = SY-UNAME
    *   START_ASYNCHRONOUS       = ' '
    *   DESIRED_START_DATE       =
    *   DESIRED_START_TIME       =
    *  IMPORTING
       RETURN_CODE              = lv_rc
    *    WORKITEM_ID              = lv_wfid
    *    NEW_STATUS               = lv_wistat
    TABLES
       INPUT_CONTAINER          = lt_wf_cont
       MESSAGE_LINES            = lt_messages
    *   MESSAGE_STRUCT           =
    *   AGENTS                   =
    regards
    Rick Bakker
    Hanabi Technology

  • Setting the container element values

    Hi Experts,
    While I am trying to set the container element values, it is resulting in an error.
    We are designing a leave request WF using WS12300111. We are using ABAP classes.
    Inside a method, I have written the following code :
    swc_set_element container 'PERNR' lv_pernr.
    It is giving an error. It says 'SWC_SET_ELEMENT' not defined.
    First of all i would like to know if we can use this statement in ABAP classes. If we have to set a value of a container element, how can we go about doing the same in ABAP classes.
    Kindly guide me on the same.
    Cheers,
    Belinda Clarke

    Hi,
    No, you cannot use those in the ABAP classes. (EDIT: Or you can, put it doesn't make really any sense.)
    Just make exporting parameters into your method. Put your variables (PERNR, etc.) in those. Then do the binding from method to the task container (in the task editor). This way you will get the values from a method to the task container.
    Regards,
    Karri
    Edited by: Karri Kemppi on Sep 9, 2011 9:24 AM

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to get value of a elementId in a form

    Hello
    In a form, I can use a name for a input field or checkbox
    <input type="text" name=studentName" />
    then I can use:
    request.getParameter("studentName") to get value of that name when the form is summitted.
    Now I want to use id instead of name.
    <input type="text" name="studentName" id ="name" />
    Can I get the value of this id "name" in the request ???
    Thank you
    shoa

    Hi,
    Rather not, because "parameters are contained in query string or posted in form data" (from javadoc). And how data is posted you can read in http://www.w3.org/TR/html4/interact/forms.html#control-name.
    Regards,
    Stefan

Maybe you are looking for

  • Data Link Layer

    Hi, I am bit confused in Data Link Layer. When a sender machine send a data to Reciever machine then it starts from App--Pres--Sess--Transp---Network---Data??? I have understood all upper 5 layer function but in the Network layer the packet has infor

  • Standby recovery mode

    hi all, how we can find that standby database is in recovery mode using a query. when i checked status it is shown mount. but not sure it is in recovery mode or not. please let me know. thanks

  • Can't play videos in MobileMe using IE7 and QuickTime 7.6.8

    I am running Windows XP SP3, and have installed QuickTime 7.6.8. When I try to view a video in MobileMe that was created by a relative, I get a message saying that I need to have QuickTime 7.2 installed, and the video will not play. In fact, I have Q

  • Website Security Certificate Error

    I am trying to get on Facebook, as I do everyday, but when I do I get a message stating that there is a problem with the websites security certificate. Then when I click continue anyways it takes me to an OpenDNS page and says that the domain is bloc

  • Increment problem on sequence

    Hi, Any tips or is there any improvment in 9.04 for the next problem : I have an Insert/Update mapping (Star schema). A sequence is being used to populate the generated key for NEW records only; however, the PL/SQL code generated by OWB unnecessarily