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

Offline Approve/Reject of work item ?

$
0
0

Hi,

 

I had a scenario where work item need to be approved/rejected by agent from outside SAP inbox. I had gone through few threads related to offline approval/rejection of work items. But i'm unable to understand the sequence of steps to be followed by Basis consultant, ABAPer and Workflow consultant.


Could you please explain the sequence should be done by the each consultant. My scenario is, I have to send a mail from ECC with approve/reject options and user will select option and that should be replicate in ECC.



Thanks in advance,


How to fail a Background task and capture reason

$
0
0

HI All,

I am writing a bapi in background task.

When the bapi fails, that background task should fail and bapi failure reason should be captured in technical log.

I will be thankful if somebody can kindly guide me how this can be achieved.

 

 

Thanks,

SD

How to retrieve WF/document/WI with SM58 error log ?

$
0
0

Hi Experts,

 

I'm facing a problem on WFs. I would like to know if it's possible to retrieve the WI linked to an error log in SM58 tcode ?

Currently in SM58 i've an error on MF SWF_RUN_REMOTE_SERVICE cause of time limit exceeded (when a user validates a WI)

I want to identify the WFs impacted.

 

How can fix them ?

 

No log available in ST22 (too old)

 

Thanks in advance

 

Ludovic Bento

SWDD Dump while trying to open Workflow

$
0
0

Dear Experts,

 

When we tried to open workflow in SWDD we are getting the following dump.

 

Error analysis

    An exception occurred that is explained in detail below.

    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not

     caught in

    procedure "CONSTRUCTOR" "(METHOD)", nor was it propagated by a RAISING clause.

    Since the caller of the procedure could not have anticipated that the

    exception would occur, the current program is terminated.

    The reason for the exception is:

    You attempted to use a 'NULL' object reference (points to 'nothing')

    access a component.

    An object reference must point to an object (an instance of a class)

    before it can be used to access components.

    Either the reference was never set or it was set to 'NULL' using the

    CLEAR statement.

 

What happened?

    Error in the ABAP Application Program

 

 

    The current ABAP program "CL_WFD_TASK_PROXY=============CP" had to be

     terminated because it has

    come across a statement that unfortunately cannot be executed.

 

Can anyone help me how to resolve this issue.

 

Thanks in advance.

 

Best Regards,

Harsha

How to Approve/Reject Workflow ?

$
0
0

Hi Experts,

 

I am new to Workflow, I got an issue in already developed workflow as the Approval process is working fine and the same status(APPROVED) is updating in the custom table, Where as the Rejection status is not updating in the custom table.

 

I have tried to execute the BO method directly, the rejection method updating the Z table successfully but through work flow its not getting updated...

 

Please suggest any ideas to fix the issue. Thanks in advance..

 

Regards,

-------------

Vasantha Rani D.

Program Exits in Activity step is triggering 7 times in Subworkflow

$
0
0

Dear Experts,

 

I have created a subworkflow in which i have added an activity step, created a task for BUS2250-Validate method and written my code in programe exit to send mail by creating a class for interface IF_SWF_IFS_WORKITEM_EXIT and inside method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED i have written my code.

 

Now the problem is that whenever i run my subwworkflow alone, the code is getting executed again and again so getting mails 6 to 7 times.

 

What should i do now??

 

kindly suggest.

 

Thanks

Kavya.

PR WORKKFLOW

$
0
0

Dear experts,

 

After throughly searching for solution, I am posting my problem here

 

1. I have developed a workflow for PR Release Strategy. I have used WS20000077 and task is TS20000159. Agent assignment is RULE 20000026

 

2. In SWDD, in basic data, i have activated Bindings for BUS2105 with the event object RELEASESTEPCREATED. And for assignment, General task with user ID

 

ISSUES:

1. My workflow doesnt trigger when I create PR but release strategy is good to go

 

2. I cannot find any TRIGGERING EVENT in my task 20000159

triggering event.png

 

3. When i check SWUD, it says PROBLEM: TASK Not started

I couldnt understand from the screen whether its Basis configuration is required or  I am missing any step

 

4. When I go into detail of Problem: tast not started, it gives the following screen

problem.png

5. How can I resolve this 'Determine instances for task' in SWUD

 

Notice: I have created a copy of WS20000077, but both WS20000077 and copied workflow are active. SO do i need to inactive anyone of them

 

Would appreciate early response. Although I am an MM consultant but I need to deliver this to client

 

Thanks

Error while approving the timesheet

$
0
0

Hi All,

 

We are facing the below issue -

 

User is trying to approve a CATS timesheet from SBWP. When he clicks on execute button for that workitem, he gets the error message  -

Variant workflow does not exist.

 

The method APPROVE of BOR object CATS is used here. When I checked the method code, the transaction CATSWF is called here.

When I checked the t-code CATSWF, even I get the same error message.

 

I don't understand why only one user is facing this issue. All other users are able to approve their timesheet correctly.

 

Kindly let me know how to proceed with this issue.


Before starting Workflow check, If any workflow is aready in place for key

$
0
0

Dear All,   (your support would be really helpful)

I have just started with workflow development.

 

Requirement: We have a transaction where we have
a list of data (Alv_GRID), when the user selects one line and clicks on push
button Workflow should trigger.

 

What did I do.

  1. Create a BOR with Event and some parameters. (Note For Key field just a dummy field I have assigned)

  2. Created a work flow with the same BOR Event as start event.

work flow triggering is working fine.

 

 

ISSUE: When user select one line suppose document number "1234" and clicks on push button workflow is
triggered, But when the same line is selected once again and clicks on push button workflow is triggering again which is wrong.

 

To aviod this I have used a custom table with Key and status.

 

****************************************************************************************

 

But I came to know that there is a standard
funcitionality for Work Item status.

 

FM: "SAP_WAPI_WORKITEMS_TO_OBJECT"

 

Can some please explain is this FM is suitable for my requirement if yes How to use. if not which FM ..

 

 

*********************************************************************

 

But when I execute it for my BOR it is not selecting any values.

 

 

can some one help me..

 

Waiting Urgents

Create Change Document for FMFG_PPA_INV_HD-REASON_CODE

$
0
0

Hi All,

 

I am attempting to generate a change document when field FMFG_PPA_INV_HD-REASON_CODE is created/changed.

 

First I confirmed the data element of field REASON_CODE is change document enabled.

 

Next I created a custom Changed Document Object in SCDO and generated the update programs.

 

Then I created a record in SWED for the Change Document Object during Create/Change. 

 

Finally I used a standard SAP t-code to change value in table FMFG_PPA_INV_HD.

 

I see via SE16 the table is changed but a change document was not created (RSSCD100).  What step have I missed?

 

Thanks in advance for any guidance.

 

AK

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

workflows Documents

$
0
0

Hi all ...

 

as  i am new to workflows can any one provide the details document and related materials for sap  work flows , please do  suggest some links where i can get in depth knowledge in workflows.....

PR Released Notification E-mail Repeatly Recived Initiator own e-mail.

$
0
0

Hi friend,

 

I configure copy of the  PR Workflow WS20000077. Then i create PR and released it (So I am Workflow_Initiator).

My PR then received to next Released person and he also released.

Then "Purchase requisition xxxxxx released " Notification received  1 time in  My SAP Inbox but

My E-mail Inbox Show it N number of time.

 

Please any one Know about this Issues and How to Solve this Repeat E-mail.

How to extract data that went trough my Workflow Inbox

$
0
0

Hello,

 

I have starting to use SAP a month ago and I am trying to extract data to create some KPIs.

 

I was wondering if there is a transaction to extract the data that went trough my Workflow Inbox?

I can extract the inbox (print/extract to excel) but if an item is taken by one of the team member, once completed, the item disappear of the list.

 

I searched trough the QM transactions (liek QM11 or 15) but I do not find back all the data I could see about my items in the Inbox view. Is there a way to solve this issue?

 

Note: here some background.

My team take item from a postbox and do some action on them. Once completed they falg them as done in SAP. My goal is to have an overview on our performances (how much item did we clear per day for example). The data shown in the inbox would be perfect to build my KPIs but they disappear as teammenbers complete items (kind of logic for an inbox). So I want to have the view also on the item done. The data must be somewhere in the database and I just want access to this table

 

Thanks for reading

Workflows - viewing a work item as an attachment!

$
0
0

Hello team,

 

Everytime the user tries to view a work item  attachment (PDF)  via an SAP document viewer in her workflow inbox , it prompts her to save the file first rather than instantly displaying it. Apparently this strange behavior has only  occurred only now.

 

Does anyone have insights on why this may be happening? Could this possible be an SAP issue or a browser issue? the user currently uses the chrome browser to access her inbox.


Program Exits in Activity step is triggering 7 times in Subworkflow

$
0
0

Dear Experts,

 

I have created a subworkflow in which i have added an activity step, created a task for BUS2250-Validate method and written my code in programe exit to send mail by creating a class for interface IF_SWF_IFS_WORKITEM_EXIT and inside method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED i have written my code.

 

Now the problem is that whenever i run my subwworkflow alone, the code is getting executed again and again so getting mails 6 to 7 times.

 

What should i do now??

 

kindly suggest.

 

Thanks

Kavya.

Copied Workflow not Working

$
0
0

Hello Friends,

                    i am new to workflow,I have copied one existing workflow template via PFTC and used in Custom program.

When i executing new (copied) workflow ,it is not working but older one is working. i don't know what the issue.Kindly any one help me out.

 

When i cross checking difference between two workflow, i found that one difference in version overview. I am not sure whether it could be a reason.

 

if it is the reason, kindly help me to enable that option in new workflow.

 

 

Please find the attachment to find the difference difference

 

 

Thanks in advance.

 

Regards,

     Thangam.P

WF: method cannot be executed, object doesn't exist

$
0
0

Hi experts,

 

I have a problem with WorkFlow. I had to copy it from one system to another. System versions are different. First, there wasn't any block scheme, so I had to import it from XML file. Everything looked fine, no errors where found during activation. First steps in this workflow are: "Set Title" and "Set Text":

2 - se80 workflow steps.PNG

 

First step works fine, but there is an error in second block:

1 - swi1 error.PNG

 

1 - swi1 error 2.PNG

 

I have no clue what is wrong with it. More screens:

 

WF task:

3 - wf - task.PNG

 

Binding WF -> task:

4 - binding wf task.PNG

 

Task (in PFTC):

5 - standard task.PNG

 

Task container:

5a - standard task container.PNG

 

Task -> method Binding:

5b - task method binding.PNG

 

Method in the object:

6 - method in task.PNG

 

What I have already tried:

1. Changing method do "Instance-independent" - not working

2. Infinite loop in method - I can't even enter this method, so problem is somewhere earlier - not working

3. SWU3 -> Send to Objects and HR Objects is active - not working

4. Authority: WF-BATCH has SAP_ALL, so it's not a problem - not working

5. Some parameters in object's methods had newer version, so I changed it to older version - not working

6. All tasks used in WorkFlow exist

7. Refreshing buffers didn't help

 

I have no more ideas what's wrong with that step in WorkFlow, everything looks fine to me.

 

I'd be really greatful for some clues.

Bartłomiej

How to get a link between BUS Object Name and Type

$
0
0

Hi experts,

 

I need your help on a point.

I have some object type as "BUS0010", "BUS2007", "EQUI"... defined in SWO1.

 

I want to get for each of them their prefix type (OBART).

 

Example :

- for BUS0010, the object prefix is "IF"

- for EQUI, prefix is "IE"..

 

All those prefix can be found in table TBO00.

 

The problem is I can't found how to link them.

 

Please help !

 

Regards,

Sebastien

BUS.JPGOBART.JPG

Extended Notifications sending task, that belongs to other agent

$
0
0

Hi experts,

I've just configured SAP extended notification to send emails to users, whenever there is some new pending work items in their SAP inbox.

I have configured the SWNCONFIG, and all works. But sometimes somebody receive an email with a task, that it's not in his inbox.

I have seen, that maybe he had approved a task previously in the same workflow...

Could I set a filter in the SWNCONFIG under "Business Scenario" > "Filter Basic Data" > "Filter settins" or something?

Thanks

Rub

Viewing all 1026 articles
Browse latest View live


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