Quantcast
Channel: SCN : Discussion List - SAP Business Workflow
Viewing all 1026 articles
Browse latest View live

Get reservation number in class assigned to workflow task

$
0
0

Hi experts,

 

I have created a class and assigned it to a task in a workflow.  I have an attribute type reference to IF_WAPI_WORKITEM_CONTEXT in the class.  I would like to get the stock reservation number that has been created in the class.  Which method should i use?

 

Thanks,

Vitish.


how to access BO Type attribute inside workflow steps

$
0
0

Hi Experts,

I have created one BO Type ZBO1 which having the Key_field1, Key_field2 and Method M1 and 1 attribute Atr1 defined.

From within the Workflow Template, I have used first Activity step which uses the single step Task which in turn uses the BO Type SYSTEM method GENERICINSTANTIATE. I am passing the BO Type and Key fields Key_Field1 and Key_Field2 in input and getting the reference of the generated BO Type Object into the Workflow container Element lets say GO_1(this is of type ZBO1).This step is working fine, I can see in Workflow Technical log SWIA.

Now using this GO_1 workflow container element, in next Activity step, I have called the ZBO1 method M1.this is also working fine, I can see in Log that same Reference variable GO_1 is being used with the same key fields values. NO issue till this point.

My requirement is to set the ZBO1 attribute Atr1 inside the method M1, so that after calling the ZBO1 method M1 from workflow, I would be able to use the Atr1 using the GO_1 ( I mean I want to use Atr1 value inside the workflow using the GO_1).

in nutshell, using the GO_1(of Type ZBO1) workflow container element inside the workflow, I would be able to access all the ZBO1 attributes. (In Technical log of workflow, I should see all the attributes values gets populated for GO_1).

I have already gone through the existing Threads in this regards but not getting the idea.

please suggest me some steps to follow.

 

Regards,

Jagesh

Travel Workflow - WS12300111

$
0
0

Dear All

 

I was trying to customize the travel workflow WS12300111.

 

My requirement is that, workflow should run only for Inernational Trip.

 

So i was tying to put the event start condition in Workflow.

 

I saw a field called Domestic/Interna - in container

 

Based on that I was trying to make decision, but the field always contains value 'B'. 

 

Can someone help me to achieve this

 

Regards,

Venkat

Workflow purchase requisition attach_object container

$
0
0

Hello,

 

AT ME51N, I add an attachment and save my document (the document is link with the new PR), but in the workflow at releasestepcreate the container _ATTACH_OBJECT is empty.

 

And on the notification on release step I need this link with attachment before approver valid this document.

Can you help me for this ?

 

Binding in header is

Can we create a custom terminating event for any business object?

$
0
0

Can we create a terminating event for BUS2032, whenever the approve button is clicked in UI5 frontend the custom Sales Order workflow should complete. there is no standard event to terminate the workflow if released, this is there for PO.

I have create a custom task where I have written the method to release the blocked Sales Order in VKM3. this task is getting completed is R/3 when executed through sbwp. but when I click on approve button in fiori app, the task will complete but the blocked order will not release.
I have tried with all the option with synchonised, dialog, confirm end processing..task1.PNG
please let me know how can I complete the task when clicked throught fiori app.


Use of container HANDLING_MANUALLY

$
0
0

Hi Experts,

 

I want to know the exact significance of the container "HANDLING_MANUALLY"

 

I found that it is used in one of our workflows .

 

Also, what is the meaning of the values : ALWAYS / ERROR / WARN_PREV / WARN_AFTER  ?

 

I have a complex condition in my workflow which I want to understand:

 

This is the condition:


 

Regards,

 

Narsingh

Production

$
0
0

Hi,

 

We are create a BOM and done production in SAP B1

               Product.(Parent)             PC001       1 Nos

              Components                     Comp1      1 Nos

                                                      Comp2      1 Nos

                                                      Comp3      1 Nos

 

We want to split (disassemble ) the product (parent item) in SAP. please suggest the suitable solution

 

 

 

Workflow is going to queue after releasing the PR manually

$
0
0

Hello Experts,

 

After releasing the PR via workflow ,workflow is completed successfully. But when this PR is released manually(via me29n), workflow  is going to ready status. In SWEQADM , I checked there event is in queue. If I deliver that event from SWEQADM,then workflow is completed. In swe2 , I checked there check box - 'process via event' is unchecked. But still it is going to queue. Kindly advice me when releasing via workflow it is working fine but when releasing via me29n, it is going to queue and workflow is also in ready status? 


Images missing in VIM

$
0
0

HI  Experts .

 

 

 

We have strange issue in Open Text VIM . We posted Docuemnt thorugh workflow and in some case we can view Images after posting accounting docuemnt but in some cases not .

 

I did some resarch on this and found that Generally Sap create 3 entries in TOA01 for any DP with 3 Business Object type .

as attached ,

 

But When i looked soe other DP where Image for missing in VIM i found 2 entries in Table TOA01 . Object typoe BUS2081 entries was missing . What could be reason and what is soluton .

 

many Thanks

Event to trigger workflow mismatches in development and quality server

$
0
0


Hi Gurus,

 

A workflow gets triggered on "CHANGED" event. In development server it works fine as the changed event of the business object triggers after changes in the transaction. Wherelse in quality doing the similar transactional changes it triggers "INPROCESS" event of the business object. Please let me know what need to be done.

 

Thanks.

Event enable is uncheked but still event is going to event queue

$
0
0

Hello Experts,

 

During PR release activity, release event (BUS2105) is going to event queue and was processed via event queue in transaction - SWEQADM but I have removed the check in SWE2 for object type - BUS2105. But still events are going to queue . I want to process the event immediately , not via SWEQADM. Kindly suggest me how can I do this.

 

Thanks & Regards,

  Sandipan Saha

Reviewer Workflow WS10000265

$
0
0

Hi,

I am using a self created Workflow (copy from SRM Standard Workflow WS10000031.

I have attached a 3rd step for approval just by copy an existing approval step from the master.

 

Now the following problem occurs:

- requestor is adding a reviewer to Shopping cart and saves the SC

- afterwards he edits the saved SC and orders the SC

 

--> Problem:

Two separate reviewer workflows are triggered! WS10000265 is strated twice, two workitems are sent to the reviewer.

Problemoccurs every time when requestor saves the SC before ordering it.

 

Question:

Where reviewer WF ist triggered in SRM ? (WS10000265)

Seems that the simple copy of an approval step from SRM master and adding it to my wf version is triggering the reviewer workflow twice.

Any idea how to solve this problem?
Kind regards

Andreas

Passing Data from BTE 1025 in Custom Workflow

$
0
0

Hi,

 

I am relatively new, kindly guide me on this.

I have done a lot of research and have been confused.

 

Heres what I need to do.

Trigger a custom workflow from BTE.

The workflow needs some data from the BTE like Doc Number, Posting Date,etc that needs to be sent for approval via workflow.

 

What I have did so far

I activated BTE 1025 and and called FM SAP_WAPI_START_WORKFLOW

I then created a WF and gave its ID in the above FM.

 

My Issue:

I do not understand how to use the data sent via input_container in the workflow I created.

Because the approval mail needs to have details about Doc Number, Posting Date,etc.

 

Everywhere on forum how to send the data is written, but I did not find retrieval and usage.



--

Regards

SAurabha J

SAP Workflow status - In process

$
0
0

Hello Team,

 

As I am relatively new to workflows hence I need some help as per my scenario.

 

I have a custom workflow that got executed , However it's status right now is still  "in process",

When I looked at the workflow log , I saw that one work item was logically deleted manually, hence that work item status is currently reflecting as cancelled.

 

Now, It wont manually let me complete anything, neither will it let me proceed.

Is there a way i can just stop/Kill the instance instead of it being stuck at that point?

 

Do help me understand the different options or steps in detail.

 

Any help will be appreciated and rewarded.

 

Thank you.

problem on updating item data reason for rejection on BAPI_SALESORDER_CHANGE

$
0
0

Hi Experts,

 

I am trying to create a report to update sales order item data reason for rejection  by using BAPI_SALESORDER_CHANGE  but i am testing this BAPI in se37 

 

 

i am passing  : Sales document no : XXXXXXX

                       Order_Header_inx  : U

                       Order_item_in       : item no : 010 ,

                                                      reason for rejection : 02

                        Order_item_inX       : item no : 010 ,

                                                       update  : U

                                                     reason for rejection : X

 

 

i got some Erroer   Messages :

 

 

S       V4                   233 ORDER_HEADER_IN has been processed successfully

E       V1                   366 Storage location 0004 in plant 0920 is not defined

E      V4                   248 Error in ITEM_IN 000010

W     V1                   555 The sales document is not yet complete: Edit data

E      V4                   219 Sales document 0060003706 was not changed

 

Request your suggestions to avoid this error.

 

Thanks

Santhi


workitem forward not working from UWL

$
0
0

Hi ,

 

User is trying to forward item from UWL, it is not removed from his worklist .

it is sent to new user but not removed it from user who forwarded it .

 

below is the screenshot

 

 

as you can see from above screeshot that Lyinzi forwarded item to Michael on 21/10/2015-13:43:49 .

It was moved to Michael but not removed from Lyinzi

 

did not find any DUMP or application logs .

compared roles with user where it is working but no difference.

 

Please help

Get reservation number in class assigned to workflow task

$
0
0

Hi experts,

 

I have created a class and assigned it to a task in a workflow.  I have an attribute type reference to IF_WAPI_WORKITEM_CONTEXT in the class.  I would like to get the stock reservation number that has been created in the class.  Which method should i use?

 

Thanks,

Vitish.

Can we create a custom terminating event for any business object?

$
0
0

Can we create a terminating event for BUS2032, whenever the approve button is clicked in UI5 frontend the custom Sales Order workflow should complete. there is no standard event to terminate the workflow if released, this is there for PO.

I have create a custom task where I have written the method to release the blocked Sales Order in VKM3. this task is getting completed is R/3 when executed through sbwp. but when I click on approve button in fiori app, the task will complete but the blocked order will not release.
I have tried with all the option with synchonised, dialog, confirm end processing..task1.PNG
please let me know how can I complete the task when clicked throught fiori app.


Need to execute a workflow as a new instance.

$
0
0

Hi Everyone,

 

Being a novice in workflows , I need your help with the following scenario.

 

I need to re-instantiate a workflow as a new instance only because the current instance says that the WF status is still "In progress", checking in detail I see that some work items have been logically deleted, I don't know how.. but it seems to have happened when someone was trying to manually complete it.

 

 

However I do not know how the workflow is triggered or if at all there is a an underlying business object that triggers it.

When I checked under SWDD>>basic data......... I do not see a start condition maintained in the workflow.

I also checked swe2 for an event linkage ... I do not see an entry maintained.

 

Can someone explain what does this imply? Is there a way to check the business object that triggers this workflow? or is it maintained somewhere?

 

Thank you

Standard ABAP Based Leave Workflow "WS21500001" some times does't Open task

$
0
0

Hi Experts,

               We have implemented a standard ABAP based Portal leave workflow "WS21500001", It is working fine most of the times, but sometimes when user open task to approve/reject leave it does not open the approval screen. It just display the calendar (as attached). Can someone please share an idea to resolve this issue?

 

Thanks.

Viewing all 1026 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>