UWL Approve/Reject - Workflow Container Element
Hello,
I have a custom WF which uses a task copied from a standard. It is a User Decision task based on TS20000135 (Check Trip Facts).
If the user rejects the trip he will need to Add a Memo which will be bound to container element AttachObjects.
To test the existence of an attachment, I have a completion based on this field but I also need to check if the user pressed the "Send trip back for correction" or "Reject" button, otherwise he will also have to enter a memo in case he approves the trip.
Anyone knows what is the WF Container Element that will contain the action value?
Moreover, does anyone know what are the values for each action? (i.e. Approve, Reject, Send Back).
Thanks in advance
Antonio
This value will appear in the task container of a decision task. I think it is of type SWD_LINES-RETURNCODE. I feel the container element is RESULT. This element gets created default in a decision task. Check the standard Decsion task 8267. Generally it returns a 4 digit number. Suppose you have 3 decision it will return 0001,0002 and 0003. Just analyze that Container Element in the task and you will resolve Ur issue. Test and find out which number returned is corresponding to your decision.
Thanks
Arghadip
Message was edited by:
Arghadip Kar
Similar Messages
-
Workflow issue - Main workflow container elements are not updated.
Hi All
We have implemented N-step badi for approval process and for this we have activated one workflow which contains subworkflow .
During approval process , only the subworkflow container elements( approver list and last approver) getting updated with status and time.But main workflow container elements is not updating with these details.
Binding between main workflow and subworkflow is perfect. But reverse binding ( from subworkflow -> main workflow ) will take place once subworkflow is completely finished. But here we will require / need to pass some information from sub workkflow to main workflow when still subworlflow in process( before completed itself).
Please let me know is there any process / steps is required to pass values between subworkflow to main workflow ( binding is perfect).
Please let me the way how I can update the main workflow container from subworkflow container or from any step in sub workflow .
In subworkflow . we have loop of approvers and it will send workitems to approvers one by one.
Here i need to update Main workflow with the information like last approver and approver list with status and approved time.
So please suggest how Can I update main workflow container from subworkflow while subworkflow is still in process( subworkflow not yet completed).
Kindly reply me ASAP.
Thanks and Regards
Madhukar .Yes I am setting SWC_SET_ELEMENT for my container values,the ones for which i have defined as EXPORT.
And I have checked the task also...
Everything has been checked properly..The binding is fine.
Thanks & regards,
Ravikiran Kallimath -
Creating Workflow Container Elements
Hi,
I am looking to create two new workflow container elements of lenght 80char for 'WS92000027' inorder to hold the required name to be outputted in the workflow . Could you please let me know setp by step procedure to achive this as am new to workflows .
Thanks,
Kumar.Hi,
Create an element in the workflow container with the ABAP Dictionary data type "CHAR_80". Bind the variable accordingly from the task container or the event container and use it.
Hope this will help.
Thanks,
Samson -
Read Workflow Container Elements attributes
Hi,
I am using a F.M <b>'RH_GET_TASK_ATTRIBUTES'</b> to get the attributes of the <b>Workflow container</b> elements.
But the above F.M does not show the element attributes that I create inside the Workflow Builer under <b>Workflow Container Block</b> and I dont select either Import or Export Properties.
Is there any F.M that reads ALL Workflow Container elements.If you want to clear a single element, use a container operation and assign it to space. If you need to clear an internal table, create another internal table container element that is always empty. Then, inside the container operation assign the empty table to the table you want to clear.
Basically, you are doing this:
container_element = space. OR container_element = ' '.
container_internal_table[ ] = container_empty_internal_table[ ]. -
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 -
Over Time Workflow Container elements not updated
Hi,
I am using Standard Task TS20000459 for approval of Overtime entered for an employee in CAT2 transaction.
Work item is getting generated to his manager's inbox.
Issue is, subject of the work item should have employee number and Employe name. Standard Task contains Container elements &TS_PERNR& and &TS_ENAME& which is not getting filled with any values.
Can any one suggest me how to get the same?
Regards,
Saravana PerumalHi Shanti
I faced the same problem...And i resolved that problem by binding...
Create the container element for PERNR and ENAME in the standard task ts20000459 as well as in workflow container.Then bind those container values.
Before bind the workflow and task container, you have to bind the workflow container with the event container.
Regards,
Hemalatha. -
UWL Approve Reject button not visible
Hello Experts,
We have implemented Portal 7.0 SP 18 and configured UWL. All task items are appearing correctly.
But approve and reject button is not visible in UWL. The same is visible in ITS screen when we click on the task.
Kindly help.
Regards,
Nirmal Sivakumar GHi Soral,
All workflows from ECC is causing this problem. To be precise I have configured a webflow connector to pull the tasks from SAP Inbox. The approve/Reject button should appear in UWL ivew when we select the task item. But only forward and resubmit options are visible.
I guess the problem is with SP 18 itself. Coz there are similar threads with the same scenario in SP 18.
Regards,
Nirmal Sivakumar G -
Workflow container element empty
Hi all,
I have the following problem:
- my workflow container has an element named 'AbsenceRequest'
- in the element 'AbsenceRequest' I have a subelement named Comments which is a table
- I created a business object type 'ZESS_AREQ' in SWO1 which has an attribute named 'Comments' and a method named 'Create'
- In a report I create an object of this object type using swc_create_object and I set subelement 'Comments' to a value 'test' using swc_set_table
- Then I call method 'Create' of the created object
- In that method I retrieve the value from the container using swc_get_table and I receive value 'test'
Then I have the following piece of code:
swc_free_object lf_object.
MOVE lw_areq-pernr TO object-key-personnelnumber.
MOVE lw_areq-id TO object-key-id.
swc_create_object lf_object 'ZESS_AREQ' object-key.
IF sy-subrc EQ 0.
swc_raise_event lf_object 'Created' container.
COMMIT WORK AND WAIT.
ENDIF.
Which should start the corresponding WF (which it does), but in my WF container the subelement Comments is empty...
Any idea what goes wrong?
Many thanks in advance!
JulienWell actually the WF container element has one entry but this entry is empty (blank)...
-
Workflow container elements as attachment in an activity
Hi @ all
Iu2019m searching for a resolution to display a multiple attachment in an activity of my workflow.
The scenario is as follows:
An Activity should display the image, a generated attachment (from the User decision before) & the workflow conatainer elemnts of the included task. So far so good. The image and the attachment are displayed in the next activity, but how can I display the container elements?
I need them because the user dynpro-inputs are stored in it. I generate the elements in my task and bind them from the workflow container. And now? What is the next step to get them in an attachment?
THX
REGRADS
Phil
Edited by: Philipp Höfer on May 18, 2010 2:09 PMHi Karri,
thanks again.
if i understand you correctly, i'm going to my Step Task ->(n my case "Display Image"). After that to the tab -> Description and push the button "change text" to insert a new text. But how can i insert my container elemt values.
There is a button "Program Symbol" but their is no entry. The Binding of the task and the workflow container is correctly.
What i am doing wrong?
THX
Regrads
Phil
Edited by: Philipp Höfer on May 19, 2010 12:12 PM -
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
RajeevHi 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 -
How to set the following workflow container element
In the below example i have created the following field chgdocdat fieldnam in the workflow container in the initial value it is showing as <notset>
but i want the value for initial value for field chgdocdat as 00.00.0000
fieldnam as
can any body help mehi koto,
when u create a work flow element container.
u have tye option to give the data type.
there u u choose from dictonary, ie some date field from the data dictonory.
after that in the 3rd tab it is initial value.
click it and give 00.00.0000
since it is date type no problem here.
save it.
thats all
clarifiactions are welcome.
pls reward points, if this helped u.
regards,
anversha.
[email protected] -
UWL Approval/Reject buttons above the List
Hi all,
How can i place all the action buttons in UWL which appears for a particular work item above the UWL table . Presently they are present below the Description of the work item.is this can be done in XML configuration ?
Thanks
PrasadHi Prasad
I hope you are well and many thanks for using the SAP Discussion Forums. In relation to your query you mentioned the following:
How can i place all the action buttons in UWL which appears for a particular work item above the UWL table . Presently they are present below the Description of the work item.is this can be done in XML configuration ?
You are correct in your observation as this resolution comes down to XML configuation. I have outlined a sample below for your cross reference and convenience. The property you should be highlighting and reviewing here is "ActionPosition".
Firstly - Do you have the action defined in the view?
SAMPLE:
<Views>
<View name="com.sap.pct.erp.mss.tra.view.TripCheckView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS00008267"
columnOrder="statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE,REJECT" sortby="priority:descend, dueDate:ascend, createdDate:descend"tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes"queryRange="undefined" tableNavigationFooterVisible="yes"
tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0"dueDateWarning="0" emphasizedItems="none"displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes"
actionPosition="bottom"referenceBundle="com.sap.pct.erp.mss.tra.TripCheck">
<Actions>
<Action reference= "<ACTION BUTTON NAME
REQUIRED>"/> </Actions>
</View></Views>
Where I have <ACTION BUTTON NAME REQUIRED> you should have something
like forward, etc.
Now a point to highlight there are two principals to remember when you are working with XML files.
Before making changes the XML files should be copied so changes can be reverted easily if required.
XML files follow the concept of precedence. So to realize changes in terms of visual display the newly edited XML file needs to be re-uploaded with a new priority of "High". After doing so clear the UWL Cache.
Kindly update me as per your findings.
Kind Regards
Troy Cronin - Enterprise Portal Support Engineer -
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
SureshHi,
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 -
Workflow: check multiline container element for emptiness
Hi!
Please suggest how to check multiline workflow-container element for emptiness in condition block.
Regards,
Maxim.Hi Max,
One way to do this is to add a process step which calls a function module passing the multiline container as the import parameter. In this function mod, you can check for emptiness and set a variable which will be the export parameter. Map this export parameter of the step to a workflow container field. Finally in the next step (control block) you can check the above workflow field. -
Element Missing in Workflow Container
Hi,
I am facing a strange issue.
I am not finding a particular element in workflow container (both in the Container tab and also in Basic data->Workflow Builder->Workflow container->Element (R/3 4.70 Enterprise)) but at runtime - SWI1 (Workflow Log) when I execute with workflow instance id, I am getting that workflow container element with the value that I required. I am sure I haven't deleted that element from that container... since it's not appearing, again I went to workflow template and added the Element and now it's appearing and working. As of now my problem is solved but can you please tell why it was not appearing in definition.
Advance thanks.
Regards,
Balaji Viswanath.Is there any reason to pass single line element to multiline element?
Instead of that try to pass single line item to single line item and user
SWC_GET_ELEMENT CONTAINER ac_container <container> <single line element> to get the value.
After that you can pass the value to internal table(if required)
Aman
Maybe you are looking for
-
Refreshed universe and now reports are not working
I added Restricked key figures and calculated key figures and I when I run my webi report I get this error message: Query 1 - Maintenance Orders Maintenance Plan and Actual - Regular Hours A database error occured. The database error text is: The MDX
-
Tried all suggested solutions, erased all bad podcasts,unsubscribed from all stations,erased app reinstalled,did not sync, and downloaded all from scratch to no avail. Please help! I don't mind ( will be very happy)to go back to the old ios 6, I HATE
-
How do I get a webcam to connect to my Mini for Skype?
I have connected a Logitech USB 2.0 webcam to try and use Skype but Skype does not see it. I have tried to find a way in SL system preferences to activate the usb camera... but to no avail... Is there a way to do this? What am I missing.
-
Document Class x / y Properties Question
Hey guys. I've been working on a project in Flash CS3 for a while. To follow an object on the screen and keep it centered, I'd adjust the Document Class' x and y properties. Yesterday I bought/installed Flash CS5 and thus Flash Player 10 was also in
-
I have and IPhone 5 and I keep getting a message on my phone saying (No Simm card Installed) then my phone freezes and i can't do anything so i have to reboot it , to get it working again.....