Using Standard Container elements as Method Parameters

Hi
Seems that Methods doesnt accept standard Container Elements like '_WI_Result' etc as importing parameters.How to access such elements this within method/secondary methods?
Regards
Imman

Hi,
Usually the WIRESULT is an exporting parameter of a workitem that has a result parameter in the Object Method. When you finish the processing of that specific workitem you can capture the value of the WIRESULT.
For this you will have to:
1. Create a workflow container of the type WIRESULT.
2. In the binding of the method which has the result parameter define the binding from the task container to the workflow container. This is usually the second part in the binding screen. The first part is the binding from the workflow to the task and then the second which is below the first is the binding from the task to the workflow.
You can then acccess the parameter in the workflow.
Hope this helps,
Sudhi

Similar Messages

  • Standard Container element not populating....

    Hi All,
    I am using a standard task TS17900100 to process the HCM Form in workflow at 2 places. There is a standard container element STEP_OBJECT of this task which gets populated at run time.
    Now at first place this container is getting populated correctly. But in the second place I have used the same binding and same task but STEP_OBJECT container is not getting populated. Also, STEP_OBJECT is not an import/export parameter.
    Please suggest.
    The task is using  the following class and method :
    CL_HRASR00_WF_COMPONENTS
    WI_EXECUTION_VIA_R3_INBOX

    Hi,
    I have checked the bindings in both the steps. It is same and all the containers are getting populated in the log except STEP_OBJECT. That's why I am not getting the reason for such a case. STEP_OBJECT is getting populated by itself in the first step. But it is not getting populated in the second step.
    Please suggest.
    Regards,
    Guddan

  • Use Multiline Container Element in User Decision

    Hi Gurus,
        I have a Multiline Container in my User Decision Task. I am able to pull the data in a Standard Text to the Multi Line Container Element if type RSTXT-TXLINE. But how do I display the total data in all the lines in that element to the User Decision Workitem Text.
    Thanx & regards,
    Kan

    You cannot insert all the table entries in the Decision step workitem Text. it wont allow you to display, one of the possible ways to fix it is please check this [blog|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1574174750DB11406479040085832269End?blog=/pub/wlg/15666]

  • Using Multiline Container element in sending mail

    Hi,
         I am sending mail with Multiline Container element APTEXT.
    I put &APTEXT##&  Is this right ?
    But when I have 2 lines of data, its sending mail with only one line.
    Thanks

    It is my personal observation that if the line size is more than 132 charecters then it will display like that.
    So do like this
    1. First make the row size as 125.
    2. and when you are selecting the multiline container element in the mail content, then it will ask you 3 options selct the option Print line by line then check the mail.
    It worked in my case.

  • Missing Standard Container Elements

    Good day,
    Normally, we see the following elements as template container standard elements:
                  AdhocObjects
                  AttachObjects
                  WfInitiator
                  WfPriority
                  WiGroup_ID
                  _Workitem
                  WfVersion
    For a reason, I can not see those elements within new created templates container any more. However, I can see them in old templates.
    I don't know if this is releated, but, we just changed the development client from 023 to 022. And we kept the prefix template numbering to go on wiht 923XXXXX instead of starting with 922XXXXX.

    Hi,
      Goto EXTRAS --> OPTIONS  in the TCODE SWDD(Workflow builder), here goto VIEW tab, here you have a check box for DO NOT DISPLAY SYSTEM ELEMENTS IN CONTAINER under the Miscellaneous Block. Just uncheck this checkbox if it is checked and you can see the systems elements in the container.This will solve your issue.
    Thanks,
      Sujatha

  • Using Standard Container Variables in Email Alerts from BPM

    Dear All
    While creating alert categories from ALRTCATDEF we have a Long Text Tab where we can use Container  Variables like  SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT , SXMS_ERROR_CODE etc create the mail contents.  We can also display the message passed by the BPM by using the variable
    ALERTDYNAMIC_SHORTTEXT , ALERTDYNAMIC_LONGTEXT .
    In my case when I call the alert category from the BPM , the message passed by the BPM is displayed through the ALERTDYNAMIC_LONGTEXT in the alert inbox , but I am not able to utilize the other container variables (like SXMS_MSG_GUID ,SXMS_RULE_NAME, SXMS_ERROR_CAT ) for displaying the messageid ,error category etc. Using these variables for alerts invoked from BPM results in Blank Values for all the container variables.
    If the alert is not invoked from BPM these variables are getting populated.
    My question is is there a way by which we can utilize these variables for Alerts thrown from BPM.
    regards
    Nilesh .

    hi check the below links for reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    http://rant03.ranffm.de:50000/rwb_mdt/detailsservlet?objectName=name=is.00.rant03,type=XIIntegrationServer&rwb=true&XIDomain=domain.00.rant03&archive=false&selectMessage=%SXMS_MSG_GUID%
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Error while using container element _WF_PARFOREACH_INDEX in workflow

    Hi All,
    I am using internal container element WFPARFOREACH_INDEX in internal table so that i can use it as index to read table row one by one..but in binding i am getting error "Container element '_WF_PARFOREACH_INDEX' does not exist" in form of an example.
    Can someone tell me that how to get rid of this error in binding? I am using this element variable to achieve parallel branching in workflow.
    Regards,
    Sumit

    Hi AA,
    You would probably need to create more than one containers.
    In workflows, we have following types of containers:
    1. Workflow container
    2. Task Container
    3. Event Container
    Now, since you need the element VBELN, try the following:
    1. Create a WF container for VBELN. Make it as both input and output parameter.
    2. Create a container for the Mail Step, again with VBELN field as an input parameter.
    3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.
    Once binding is done, save it and Activate the Workflow.
    Hope this helps.
    Do get back in case of any issues.
    Regards,
    Sonal

  • Container Element Names

    I would like to know where I can find the element names used in SRM containers so as I can retrieve the values using swc_get_element, etc.
    Thanks
    Cindy Sy

    Hi,
    I am not clear of this question.
    But still I can give you some inputs as per understanding.
    See, the data transfer between Workflow and Method is done through Container Elements Binding. So for you to get to know the name of the Container element in METHOD,You can refer the PARAMETERS defined for the method.Whatever mentioned in PARAMETERS,you can use with MACROS - SWC_SET/GET_ELEMENT/TABLE.
    Coming to RULES,you can determine the RULE CONTAINER ELEMENTS in the Rule Definition.
    I hope this helps.
    If it still doesnt help, please let us know the detailed requirement.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Container Element

    Hi Guys
    What is use of container element in Work flow(swdd).I used it for small scenario,but which scenarios we use it.
    Appreciate your answers.
    Thanks

    Hi,
    The main advantage of the STD_TEXT object is that it can print container elements as text symbols.
    Each container element can be printed as follows:
    &ContainerElement&
    If the container element is an object, each attribute can be printed as follows:
    &Object.Attribute&
    If you want to print employee data, a container element of type EmployeeT must be included. This element enables each employee data record (defined as an attribute of EmployeeT) to be printed. If the documents are country-specific, it is a good idea to define the container element as EmployeeXX (ISO country key = personnel country grouping), which includes all of the international and country-specific attributes.
    STD_TEXT can make distinctions between object attributes up to a third level, which means you must define utility objects in the container if higher levels are needed to make more distinctions.
    STD_TEXT cannot make distinctions for the following expression:
    Employee.PersonnelArea.LegalPerson.ActivityText.
    For this reason, you must define a utility container element of the type PersonnelArea:
    PersonnelArea<==Employee.PersonnelArea
    Using this container element, the activitytext attribute can be printed in the text as follows:
    PersonnelArea.LegalPerson.ActivityText.
    If the document requires additional information from other object types, you must define the elements as container elements in the standard task.
    Reward if useful.
    Regards,
    Pranathi.

  • 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

  • Container Element in Alert Category

    Hi,
    Any one can tell me what is the use of container element in Alert Category.
    While creating a container variable there is an drop down for Object type.When we go for each of these object type.
    When i selected the object type as 'XML object type '  i could be able to see all the abstract interfaces and the fields that are created in the IR.I am able to select that field in the long text tab also.
    But the value of the field is not getting reflected when an alert message is triggered.
    Am I in a right track or doing anything wrong?Can i directly access this field in the long text?
    Regards
    Divia

    Hi Sreedivia Narath,
    Go through this blog for alert configuration by Michal. Its a beautiful blog and explains about the container variables:
    The specified item was not found.
    Thanks and Regards,
    Sanjeev.

  • How to create a container element?

    Hi,
    Could somebody please tell me how to create a container element and how to create a multi container element? How is this element used in the fork step?
    I am using a fork with 3 branches but the agent assignment is a problem.The workitem does not go to the user set in the agents tab.
    Regards,
    Monica.

    Hi Monica,
    Within your Workflow Builder, there is a box on the left hand side that (Workflow Container). You should have an option (in change mode) to right-click and create or double-click on the <Double-Click to create> tab.
    Or you can go to the Workflow Container "Goto -> Workflow Container" and click on the "Create" <F5> icon.
    Same theory applies to creating a container element in your task. Go to your task and click on the "Container" button and select "Create".
    When creating your container, you can specify if it is a multiline container by checking "Multiline" under the container attributes.
    In a fork step, you would really only use your "Container Element" in the "End Condition" of a Fork step.
    Please advise what the "Agent Assignment" is referring to when you're using it in your fork? Which step in the fork?
    If you are assigning agents in one step of the fork, you cannot expect these agents to apply to your other 2 fork steps. The forks work independently of each other (to a point).
    Please provide more information if you need more help.
    Kind regards,
    Tom

  • LSMW -  Standard Batch/Direct Input Method.

    Hi all,
    I was trying to create the LSMW for MM01 using standard Batch/Direct Input Method. While I selected object as "0020- Material Master"  I am not able to get the Method for Batch Input. Is there any we can create method for batch input or we have to use only direct input?

    You have to use direct input method RMDATIND object 0020 to create materials. You may find batch input very complicated to create materials.

  • 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

  • Using Reporting Services Web Service methods to run a report with query parameters

    I'm attempting to use the ReportExecutionService methods to process a report that contains four parameters,  two of them query parameters. In total, the report must execute two queries. The two query parameters are determined by the execution of
    the second query.
    So, I've read about GetExecutionInfo and SetExecutionParams. To quote the MSDN page for GetExecutionInfo, "Use this method iteratively with the SetExecutionParameters method to evaluate parameters that have query- or expression-based defaults."
    Can anybody explain how to use this, or any other method, to execute a report such as mine? The first query gets the rows of the report; the second query gets the row count. LoadReport does not seem to do the trick by itself. I need to use the technique
    described in the quote above, I think.
    I could really use some help. Thanks!

    Hello,
    If I understand correctly, you create a local report which choose report from Report Server. You have two query parameters in the report which are returned by stored procedure. Currently, you cannot get default values for these parameters when run the report.
    Based on my test, if we haven’t configure these parameter with Available Values, we can reproduce the same issue. Also, caching issue may cause the same issue. If the issue is persist, please delete the corresponding report in the report server. Then, redeploy
    it to check.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/en-US/6a548d65-35d0-4a3e-8b64-3b7b655c76ee/ssrs-2008-report-parameter-default-value-doesnt-work-when-deployed
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Why is Mac Office:2004/2008 acting strange?

    After I upgrade to Lion 10.7.3 over a month or so, I experience problems with some of my documents in Word or Excel.  The Excel opens to READ only and I am the only pperson that has the priviledge for it.  Also when I go to leave a cell, the curson l

  • Weird 7.0 (7.02) wifi password problem

    i have this weird problem wih wifi in 7.0 and 7.02 - it happened on my iPhone 5 and its happening on my 5S At work we have a wifi network with an 8 character password - if i type the password the join button stays grey - if i add a space it turns blu

  • Finder window unresponsive after a search on external drive.

    Hi guys, I have an odd problem. I have an external HD full of music and whenever I want to play one, I just search for it in finder and drag&drop it to iTunes. However, I'm having issues with it on my new MacBook Air. Whenever I search the drive for

  • Facetime issue between 2 iPads

    OK i try to explain; my husband's ipad can call my phone or my ipad mini and I hear the signal to answer.  But when I try to call his ipad, from my phone it keeps ringing and ringing on my end, nothing on his end.  Yet when I hang up it indicates he

  • Data migration  to newly configured warehouse

    Hi Experts I have transferred all the materials to a dummy storage location and now i wish to get back in to original storage location after assigning the warehouse. I think of the following approach for data migratiion to WH. I wish to configure for