Pass Container Element Value Dynamically
Hi Experts,
We are facing an issue with Workflows. Whenever I restart a WF that has already ended up in Error, I need to pass it Certain Container Element Values Dynamically as it restarts the same WF again with the same Container values and it again ends up in Error. Is it possible that I can change these values during Runtime.
I have searched few SAPNotes also but could not find some Solution. Is anyone has worked on this Scenario before please respond.
Is this Possible.. Because this is the only way how we can allow that background Process to work.
Regards,
Kanika
hi,
>In SWIA select a work item that will prompts you to next window.
>In the next window select technical details -> that will opens other window
This works fine.
>in that window select edit -> change
that will display some containers like
Logically delete
change container
deadline monitoring
This is not happening... Unable to fins anything known as "Edit/Change"..
Hope i could attach screen-shots...to know where im missing this link
regards,
kanika
Similar Messages
-
Container element value late update in ECC6
Hi All,
I have a problem with container element "RECEIVED" which has incomplete value. I'm using function SAP_WAPI_READ_CONTAINER (simple container) in my custom object ZBUS2081 method priceapproval. When 2nd person want to approve the workitem, the container value of element name "RECEIVED" only has previous approval person instead of table that has 2 line values (previous person who has already approved and 2nd person who want to approve this workitem).
We have upgrade our SAP version from 4.7 into ECC6/ERP6, which in 4.7 version this container element returned table of 2 line values.
Since the container element value has late to update the value, then it did not recognise as a final approval at the end of workflow step and raise an error for agent determination. If there is any related SAP note, please let me know.
Thanks,
CharlieHello Charlie !
Your RECEIVED container stores approver details.
Please check the binding between method container to task container to workflow container.Imperfect binding could be a reason why approver details are not populated properly.It seems your container is multiline container.Make sure the method,task and workflow containers are multiline enabled.
Check at SWO1, whether the PRICEAPPROVAL method behaves as expected and if you are using rule for agent determination, you have to check the rule at PFAC as well as binding details.Also check at workflow log.
Hope you have delegated ZBUS2081.
Regards,
S.Suresh -
Is it possible to pass the property value dynamically to composite.xml
Hi,
Is it possible to pass the property value dynamically to composite.xml from bpel?
For ex:
<property name="bpel.config.auditLevel">$variable</property>
I will get a different $variable value every time to bpel.
Also, when I included the following code inside .bpel
invoke name="InvokeListFileFTPAdapter-ListFiles"
partnerLink="ListFilesFTPAdapter"
portType="ns3:FileListing_ptt" operation="FileListing"
inputVariable="listfilesRequest"
outputVariable="listfilesResponse" bpelx:invokeAsDetail="no">
<bpelx:toProperties>
<bpelx:toProperty name="bpel.auditLevel"
variable="AuditVariable"/>
</bpelx:toProperties>
</invoke>
where auditvariable='Off'
I don't see any change in em. The invoke activity is showing full payload, Can't we turn off the audit level from .bpel not from composite.xmlHi,
You can use bpel preferences for that:
1.
In the composite add a property, for ex:
<component name="test">
<implementation.bpel src="test.bpel"/>
<property name="bpel.preference.exam">abc</property>
</component>
2.
To get the value within your bpel process use: ora:getPreference(exam)
3.
Then, you can change the value in the EM:
Under Farm_soa_domain>weblogic domain>your_domain>soa_server1
Right click on menu>system Mbean browser>oracle.soa.config>server:soa_server1>SCAComposite>your project>SCAComposite.SCAComponent>processName>
Now, click on the properties attribute : you can see the exam property and change the value.
Arik -
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 ClarkeHi,
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 -
Container element value does not display
Hi,
I am facing a strange issue.
There is one step in my custom workflow which sends sap mail. The subject of the e-mail has a container element ¬if&. When I check the workflow log this container element gets set with a value just before this step and so I expect it to be displayed in the e-mail .
But the issue is i am getting the mail in my inbox which says ....¬if& ......
i.e Instead of displaying the value of this container it displays the text ¬if&.
The same container element is used in the same e-mail message body where it displays correctly.
has anyone faced this kind of an issue before?
Thanks,
SimmiYes it is set to Expression.
This mail step was not created from scratch.
I just changed a few texts in the subject of this Mail step in an already existing workflow without touching the container element in the subject. But after i did this change and tested teh workflow, the container element no longer displayed any value in the subject, but it does continue to show value in the message body.
Any suggestions to solve towards this issue will be extremely helpful.
Thanks,
Simmi -
Container Element Value in Runtime
I am somewhat new to Workflow.
I have an error status on WorkFlow, for the reason that the value is not retrieved for the Container Element in the Workflow Condition. How can we check that whether the value is being retrieved by the container element in the Runtime?Hi Jaideep,
When the state of the workflow is set to errror, please go to the workflow log in 'List with technical details' mode (cube button).
Select the step that is in error and open the 'Step History' tab.
Here you would come to know the exact error that is being encountered.
Also you can debug the BO methods if called by setting the method as foreground and putting a breakpoint in the method.
The method would go into debugger when executed and there you can debug it.
Hope this helps!
Regards,
Saumya -
Passing the property values dynamically
Hi All,
We have requirement that we need to invoke the Webservice by passing the crdentilas and for that i am using the BasicHeaders,Basicusername and Basicpassowrd and i am hardcoruing the values now i need to pass the values dynamically.
How can i acheive this situation.
Thanks an dRegards,
Nagaraju .Dhttp://soa-howto.blogspot.com/2008/09/how-to-set-security-credentials.html
-
Reg: Access the container element value inside the Task's description tab
Hi All,
I need to call one of my container element into the task's description tab as text symbols.
Please let me know how to do it.
Regards,
Selva.define an importing element in the task container.
map this importing element with the element in the workflow container.
now you can use this task container element in your description text box. (method exxplained in the previous post to this problem)
rgds, -
Pass Multiple Prompt Values Dynamically in a Publication
Hello
I have a dynamic list for list for my Publications of a Web Intelligence Document. The dynamic list has the following columns names
ID
Name
Email
Zone
and the Web Intelligence document has the columns:
Zone
Sales Value
I can't use Profiles because some of the recipients in the dynamic list do not have a BOE account
Lets say I use the following values
ID = 1
Name = Sally
Email = [email protected]
Zone = USA
This works fine and if I change the value of the Zone to another single value, (maybe Sally has been reallocated to a different Sales Region) for example:
ID = 1
Name = Sally
Email = [email protected]
Zone = UK
then this also works fine and the output from the Publication shows the correct value.
However, when I try and do the following, I run into problems:
ID = 1
Name = Sally
Email = [email protected]
Zone = USA;UK
The resultant output is blank!!! The prompt that is in my document that I want to burst is set to optional. I've tried using:
semicolons: for example USA;UK
commas: for example USA,UK
brackets and semicolons: for example (USA;UK)
brackets and commas: for example (USA,UK)
but nothing works and the resultant output is empty
Also, passing in a blank value for the optional prompt to return everything but this does not work either and the resultant output is empty.
I can't believe that this is not possible and would welcome any suggestions.
Thanks in advance.
JulianZHello Arijit
Because that is just 2 individual values I know that would work, but its not going to be suitable for my needs. In reality, my dynamic list will look more like below and will contain a lot more people too.
ID
Name
Email
Zone
Region
Item
1
Sally
Sally@mytown
USA
2
Mary
[email protected]
USA
California
3
Jim
[email protected]
UK
North
Coats
4
Bill
[email protected]
Coats
5
Fred
[email protected]
USA;UK
Jeans;Belts
My Web Intelligence Report that needs to be burst/published has the columns
Zone
Region
Item
Sales
Zone, Region and Item are also Optional Prompts so, in the case of "Sally" above, she should get all items for all regions in USA, Bill should get Coats in all Zones and all regions etc etc
Thanks
Julian -
Pass form element value after insert
I have a page with an insert behaivor, it inserts all form
elements BUT one,
I need to pass the value of this form element to the next
page.
If I apply the 'insert' behaivor, it does the insert well,
but the value of
the form element is not passed to the next page, how can this
be accomplised
AleksI can't because the value is entered in the form and there is
no value until
it is posted. Remember this is an 'insert page' that then
redirects to the
next page.
I used redirection as:
<%
' *** Insert Record and retrieve autonumber: set variables
If (CStr(Request("MM_insert")) <> "") Then
MM_editConnection = MM_eimmigration_STRING
TM_editTable = "dbo.Users"
TM_editRedirectUrl =
"SPLinkFamilymember.asp?FamUserId=Request('relations')"
Last line has the redirection link.
but didnt work, I get following error, next page I get this
value:
Request('relations')
Instead of the actual value selected in the form.
I am using ASP/VB and MS SQL 2000
A
"Murray *ACE*" <[email protected]> wrote
in message
news:ec821m$df0$[email protected]..
> By making it a URL parameter? You would arrange that
when you make the
> link to the next page.
>
> For example -
>
> <a href="next-page.php?<?php echo($yourvariable);
?>">Next page</a>
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Alejandro" <[email protected]> wrote in
message
> news:ec7p5g$4d3$[email protected]..
>>I have a page with an insert behaivor, it inserts all
form elements BUT
>>one, I need to pass the value of this form element to
the next page.
>> If I apply the 'insert' behaivor, it does the insert
well, but the value
>> of the form element is not passed to the next page,
how can this be
>> accomplised ?
>>
>> Aleks
>>
>
> -
Pass Parameter Value Dynamically in Pivot
Hi All,
I have sql Query and I am filtering the query based on two dates in Sql editor.
Now I want to pass values to this two dates from PowerPivot dynamically and fetch the data.
Can any one help me how can I pass the date values dynamically to the query and fetch the data in Power Pivot or Power Query
Thanks,
SidPlease have a look at these links:
Implement Parameters using Slicers in #powerpivot #dax #tabular
PowerPivot and query parameters
Dynamically filtering data before importing from SQL Server in Excel
“Drill Across” in PowerPivot – Live Demo
sqldevelop.wordpress.com -
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
NigeshHi,
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. -
Passing value of multi line container element to send mail step?
Hi ,
I am using send mail step type to send mail . in this mail i want to send data of multi line container element but it is writing only one line item even though my container element is holding tow line items. so how to process all line items of multi container element in a mail. please suggest me......
do i need to use loop until step ?
Thanks,
RahulHi Chindanand ,
i tried with the same now but in the mail it is not showing me any value instead it si giving me <po_items > not found.
po_items is the name of my multiline container element and i am simply using these po_item in mail.
please tell me what to do......as its urgent.....
Thanks,
Rahul -
In Drop Down by Index how can i pass default value Dynamically
Hi Friends,
In Drop Down by Index how can i pass default value Dynamically.Please help me.
Thanks in advance.
Regards,
Kumar.hi,
if you want the value to be defaulted only the first time you execute the program then write the code which suman has mentioned in the views method
wddoinit.
Regards
Sajid -
Pass values dynamically to the WHERE clause in SFAPI
Hi there
We have a requirement to pass values dynamically (in the run-time of the interface) to the WHERE condition to our SFAPI query.
Eg -
SELECT person, personal_information, address_information, phone_information, email_information, employment_information, job_information, compensation_information, paycompensation_recurring, paycompensation_non_recurring, job_relation, accompanying_dependent, global_assignment_information, direct_deposit, national_id_card, person_relation
FROM CompoundEmployee
WHERE last_modified_on >= to_date('LAST_RUN_DATE') AND
last_modified_on <= to_date('CURRENT_RUN_TIME')
LAST_RUN_DATE is stored in a custom entity for which we execute another OData query. The custom entity is updated with the CURRENT_RUN_TIME once the interface has been executed successfully. So the next time the interface is run it picks up the LAST_RUN_DATE from the custom OData entity.
SAP PO has the functionality to run a dynamic query for OData adapters. Refer to Note 2051137 - PI Successfactors adapter : Dynamic odata query and single synchronous sfapi query
Eg - select fields from position (this is what you state in OData query path in the comms channel; this is static); and you have an advanced tab in comms channel where you mention dynamicquery and set it to true (this points to a XSD which has the keyword TOP, SKIP & FILTER in it).
This gets the filter values passed from the BPM from another query (from a OData cust_table).
So the whole query is - select fields from position filter field a = x field b = y etc. Field a field b are fields in position that are you passing values x and y in run time of the interface.
SAP PO also has the advanced tab feature for SFAPI for dynamic query.
Question is -
how to use it?
has anyone implemented this before?
What does XSD will look like?
How do we pass values to the fields to the Where clause for SFAPI.
Any ideas are welcome!
Regards
Arijit DasAfter you have added a new where clause on the detail VO, try re-executing VO's query by DetailVO.executeQuery()
If it doesn't work try re-executing the MasterVO's query after you have added the where clause on the detail
Maybe you are looking for
-
PO user exit for payment terms release strategy
Hi friends, My requirement is to any changes to Payement terms in PO should trigger the re-release of the po.... Plz. explain... How to proceed... which user exit i have to use........ Thanks in advance, Navin.....
-
Flash won't install- any ideas?
I am trying to install Flash 11 on my Windows 7 system using IE 9. I had an existing Flash 10. I uninstalled Flash 10. My installation times out at 12%. I have disabled my firewall and virus software. Still quits at 12%.
-
A better project management calendar
I prefer iCal to Entourage but like how I can manage project in Entourage. I'd like to manage a project with multiple calendar dates and its own to-do list so when I open iCal, I can just click on the project and see all associated files, upcoming da
-
Alternative reconciliation account and special GL indicators
Hello, A tricky one. Your help would be very appreciated !!! We are facing a problem when using special gl indicators for the clearing of vendor postings that did use an alternative reconciliation account. We face it during a bill of exchange postin
-
11.5.10 emailing customers their invoices bursting from RAXINV.rdf
Dear all I have been asked how easy it is to send electronic invoices to our customers (assuming they are set-up correctly with the requisite email address) as and when we need them. (Forgive me I am a PM not a techie :-) ) I know that we use XML Pub