ECC 6.0 - WS20000050 - Container Elements from Workflow to Rule in step 172

Hello Guys/Gals,
Hope you all are doing good.
Greatly appreciate if you could help on this with some tips.
We are under the process of the upgradation to ECC 6.0. Decided to use the std WF WS20000050  for travel request.However work flow ended in error at step 372(Approve Travel request) saying
"Source (expression '&TRIP.EMPLOYEENUMBER&') of binding assignment is not available" and
"Source (expression '&TRIP.TRIPNUMBER&') of binding assignment is not available" and
Error in the evaluation of expression '<???>&TRIP.TRIPNUMBER&' for item '1'..etc.
Can anyone tell what is are the container elements need to be passed and possible errors.
Good Day.
Raj

Hello,
Check in SWO1 if the BO related to the TRIP container element has those attributes (EMPLOYEENUMBER and TRIPNUMBER) and if so then check in the workflow log if they have a value.
regards
Rick Bakker
Hanabi Technology

Similar Messages

  • How to create workflow container element from workflow builder?

    How to create workflow container element from workflow builder?

    in workflow
    three are five container, for each container we have define according to requirement of that particular container.
    1. event container
    2. workflow container
    3. task container
    4. method container
    5. rule container
    1. event container
    in evernt contianer we have to create elements in BOR where we create event in parameters
    2. workflow container
    in workflow container we have to create elements in workflow builder itself. in left side of the screen we see <double click to create element>
    3. task container
    in task container we have to create in task itself it has a tab called container elements
    4. method container
    in method container we have to create in BOR. it is created in parameter of that BOR.
    5. rule container
    in rule container we have to create in PFAC transaction

  • Multiline container element in workflow

    Dear all,
    I am using a multiline container element in workflow container.  Can anybody suggest how I can see the values of that element?  After workflow execution is COMPLETED and I go to SWI1, it shows only simple elements.  It doesn't show any of my multiline elements.
    Please help.
    Thanks in advance,
    Regards,
    Pranav.

    Hi Pranav,
    It does work in 6.20. I am not sure about 4.6C.
    Display Technical Details from the Workflow log for your WF instance. You can examine the Container values for each of the steps. See if the values show up (are you certain your multiline container has been populated?). If you are populating the multiline container from an object method, verify by testing your object method that the parameter are correctly defined and it is getting populated.

  • How to use data of multiline element from workflow container

    Hi,
    Can you please tell me how to access rows of multiline element of workflow container.
    Scenario is like below.
    I have values in a multiline container(table) of workflow container.
    Now inside Fork branches  i need to check for specific data in the above table and with that condition i have to send workitem.
    I hope u can understand,otherwise please revert.
    Thanks in advance,
    Madhu

    You cannot didrectly check the condition...
    what you have to do is.. write a inside the method as below and set the flag...and use the flag in condition editor...
    SWC_GET_TABLE CONTAINER 'AGENTS'  lt_agents.
    loop at lt_agents ino wa_agents.
    if wa_agents = 'A'.
    lv_flag = X.
    endif.
    endloop.
    SWC_SET_ELEMENT CONTAINER 'FLAG' lv_flag.
    Create an export parameter FLAG as char1 with export marked.
    Do the neccesary bindings from task to workflow.
    Then in workflow check this flag in condition editor.

  • Urgent - How to pass value to Multiline container element in workflow

    Hi,
      I hav a requirement as below...
    1) In a Bus. Object, there is a method with a parameter which is Multiline.
    2) When I execute it directly from Bus. Object, I am able to populate any no. of lines to the multiline parameter & execute it. It is working correctly.
    3) Now I have created a task for the same Method & used it in my workflow.
    4) I want to pass multiline values to the parameter from workflow.
    5) I dont have any internal table being filled in the previous steps. I directly want to assign variables or constants to it.
    How can I do it????
    Thanks,
    Sivagami

    hi sivagami,
    Please help me. I am also facing same type of problem. i am new to workflow. i am using using FM sap_wapi_write_container. to write into the container. but here my problem is i don know wat is the element name to refer to the value. if i give any element naem its taking as separate element & not as the same multiline container. i hope u will be able to assist me since u have worked on the same type of problem.
    If u help i will be highly thankful to u.
    Thanks & Regards
    Nigesh

  • How to create a container element in workflow container

    Hi,
    I am learning WF by a Tutorial. In which absence of notification was considered as example. As per tutorial, I created two task for creating a Notification and checking a absence
    In the next step it ask to create a container element(approver) to workflow container. How i can create the same.
    Also, please clarify me on the binding between task container and workflow container....with this example
    Thanks
    Suresh

    Hi,
    On the workflow builder LEFT side below the navigation area u can see this <Double-Click to Create>.
    Double click and create the container.
    During binding it looks as follows.
    Workflow  -
    >   Task
    Workflow <----
    Task
    What happen here is from workflow the data passed to task and it is used for processing, after that it returned back to the workflow. Now u can create the container on bothside and bind the data. ie Variables.
    Creating container u can refer : http://www.****************
    Reward for useful answer.
    Richard A

  • Hiding a container element  from a standard applicaition

    hi,
    i have a requirement to remove the UI elements in a transparent container from a view of a standard webdynpro component HRRCF_C_PREFERENCES_UI. This component is being used as a sub component in a main application.
    The transparent container within has a drop down list and a few buttons.
    So i created a component configuration for the component HRRCF_C_PREFERENCES_UI and changed the property of the UI element in the configuration to invisible. This worked, the container element was invisible in the application. But two other containers next to the UI element that was hidden did not move to the left . No proper alignment.
    Is this the standard behavior of a component configuration? i don't think so.
    Now in my option, the other only possible option is to hide the button by changing the attribute in the WDDOMODIFYVIEW method of the view.
    Could someone please help me how to set the attribute problematically? Is there a different way to meet this requirement?
    Need some help.Thanks.
    Best Regards,
    Sridharan

    Hi,
    Just go to enhancement mode in your webdynpro component and delete that button from UIElement hierarcy.
    If you want your button back, delete the enhancement.
    Regards
    Vishal kapoor

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

  • Import workflow container element to program exits

    Hi Friends
    Can you please let me know if we can import container elements from workflow to program exits in step?
    Regards
    Rajeev

    Hi Rajeev,
    Yes you can import container elements from the workitem (not the workflow) to the program exit. You need an element which references the container (if_swf_ifs_parameter_container). You probably have an attribute in you class which is a reference to IF_WAPI_WORKITEM_CONTEXT called M_CTX. This has a method called get_wi_container which will give you the workitem container. Now you not only have the option to read elements with method get in your container class, but there is also a method set which will allow you to fill or change values in the container.
    Regards,
    Martin

  • Transfer container elements in another workflow

    Hi again!
    I have the problem that i should like to copy container elements from one workflow to another (like an Image, the Scanagent...)
    Is their any easy way to do this?
    THX
    Regrads
    Phil

    Hi Karri,
    sry i was wrong. The Problem is that we want use the standard of SAP. We have 2 Workflows (WS80000245 and WS80000247). The Workflow WS80000245 uses the Function of ArchivLink and the WS80000247 starts by using a trigger event of the ArchivLink Function (A Dynpro archive an Image and starts the WS80000245. After this step a user has the option to call for a Rescan or to create a Bill. If he wants to create a Bill the Workflow WS80000247 starts because of an Object Type what was triggered).
    But now we have the Problem that we need Informationu2019s of the other Workflow (Like Scanagent, Scandate, Image....)
    Is there an easy possibility to get this container element informations?
    THX
    Phil

  • Container Element!!!!!!!! in workflow

    Hi to alll.....
        Can anyone throw some light on "Container element " in workflow....
         Why do we need that ? whats the purpose of that..
      Plz its urgent..
    Regards,
    Sanjana

    hi Sanjana,
    The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.
    If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.
    For more info pz go through the link given below,u will get the useful info regarding creation of container element and much more .
    http://****************/Tutorials/Workflow/Workflow.htm
    please reward if u find the info useful for u
    regards
    ashish

  • Assigning a value to container element in rule defination

    I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro  swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.
    Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PM

    i think you cannot modify the container element from Rule.
    the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element.

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

  • How to determine worklfow container element  for BUS2031?

    Hai,
    I am new to W/F. I would like to know how to detemine workflow container element  for Customer Quotation generated(BUS2031)- [event] created.ie based on what?
    Example :&Jquotation&,&JtransactionCode& etc.....
    any screen shot docu for binding/import/export purpsoe.
    Points will be given.
    With Regards,Jaheer

    Hai Aditya,
    Thanks for your reply.
    yes . I want to know what base we can create container element.
    Flow is like this :somebody create quotation , it will for manager approval & finally goes(mail) to customer.
    For this I am using object type BUS2031. Now I want to create w/f container element(in workflow template).From BUS2031(customer quotation), I understand that I need to create one w/f container as &Quotation&.what are others container element I have to create. This is my questions.
    I hope now it is clear.
    If you have any workflow documents/sample please send it to me [email protected]
    With Regards,Jaheer.
    -Jaheer

  • Regarding container elements

    please tell me how to transfer container elements from rule container to workflow container and can we debug rule

    HI,
    its like normal task <---> workflow container binding only. And, yes, you can debug the rule. If you are using Rule with FM, then it's just anyother FM debugging.
    1 . Rule binding is same as task binging only , we need to     pass all the import parameters  correctly , make sure that all neccessary parameters are passing correctly then will get exact Agent .
    2. we can dubug the Rule by putting  /h  or
    by putting Break point inside the Function module
    For this we need to Go to PFAC tcode there u can put directly /H  - > Debug
    other wise select Function module then put Break- point Inside the Fm and Debug.
    Regards,
    Vijaya

Maybe you are looking for

  • Please help ASAP! Can't erase or boot from bootcamp.

    I have an imac 27" that I got back in June of 2013. It is the late 2012 model and has 16gb ram, i7, and the 3tb hybrid drive. I use windows for gaming and editing my youtube videos, but I cannot use windows. In the startup tray, my windows is missing

  • After ApplyMRD  Report Rows on some clients are not refreshed

    hi all, i've come across an issue regearding mr delete on some clients using ie for acess to an apex application. a report displays a number of rows of a single table. the user is able to check some rows. a special button branches to an url "javascri

  • Bug with 2.1 and OpenAL?

    I directly copied the SoundEngine.cpp/.h files from CrashLanding for using audio in my app. Sound works fine (although never in the simulator, but oddly it does in the Performance Tool). BUT - since I've put 2.1 on my device, I've noticed various sou

  • Setting Node value in a DOMtree

    Hello Techies, I am trying to create a DOM Tree. I had create Node's for the DOM Tree. I want to know how to set the Values to these Nodes. Element root = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder bu

  • Installing Oracle 9i Personal Edition on XP

    Hi, I am trying to install 9i Personal Edition on my Dell PC running XP. It gets 2% complete and gives me an error "Invalid Staging Area. There are no top level components for Windows NT for installion in this staging area." Another problem is that I