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

User decision xxxxxxxxxx has no alternative to index 0000

$
0
0

Hello Team,

 

I would like to request some help.

My background is mainly core ABAP

I have just begun learning SAP business workflows as a part of my project requirement , and below is the first one I tried ( by referring to an online blog) , a really simple one containing just a single  user decisions and and a mail send block.

but I got the below error.

 

User decision xxxxxxxxxx has no alternative to index 0000.

 

I am not able to diagnose the error as I have little background knowledge in this context. When I checked the error detail in Transaction SWI1, there seems to be a breakage in the user decision block.

And when I execute transaction swi2_daig, I get the above error.

 

I have attached details of the entire workflow structure cycle and the errors  for your reference.

Any help will be highly appreciated.


Wrong Agent at step Executing batch work item

$
0
0

Dear Experts,

 

I have a very weird error in my system pertaining to only one custom Workflow

 

Their are two issues, one "Work item set to error following 03 failed attempts" and other a user named "Ravi Ma****" "Executing batch work item" who is not either the admin nor the Batch user for the jobs SWW*.

 

Below are the screen shots, here I expect WF-BATCH in place of the user, also why it failed after 3 attempts as the Task is a standard one and no lock issues exists during processing.

 

2015-10-14_14-12-07.jpg

 

2015-10-14_14-13-04.jpg

 

Any further inputs, please shoot a reply to this thread.

Your assistance would be highly appreciated.

 

Best Regards,

Bharat R

How to use FM : SAP_WAPI_START_WORKFLOW

$
0
0

Hello Folks,

 

can you please explain how to use FM : SAP_WAPI_START_WORKFLOW to call the BOR object BUS2038 , method : EDIT.

Workflow Emails

$
0
0

Hi All

 

While running Workflow & releasing emails through RSWUWFML2 we are getting following error-

 

 

I have tried two different workflows & in both workflows the emails failed. It seems we are missing something on workflow side.

 

Even the emails are not showing in SOST.

 

a) SMTP node is in use.

 

b) The emails are releasing externally.

 

Pls advice how to resolve this issue with Tcode/path.

 

Regards

 

Pankaj

Not release document if level with no agents

$
0
0

Hi People!!


We are using standard workflows levels, (using RR_ROLE for example) and want to avoid reléase if some workflow level have no agents.


It´s strange that it was not standard, because WF finish in error after that, but without error or warning at release time.


Any customizing to do this? I´m looking for but not found anything yet.


Thanks and best regards!

 


Reversal workflow triggered with WF-BATCH

$
0
0

Hi,

 

Automatic Reversal has happened for FI Document.

 

With “WF-Batch”  Document have been reversed using transaction FB08, Not able to find out how reversal workflow started.

 

Doc1.png

Reversal done by WF-BATCH but there is no background job executed to trigger the event REVERSED.


EventLinkage.png


SWWLOGHIST.png

Also I have checked for custom program to trigger workflow but I didn't get anything.


workflow.pngl

Clearing of items happened for the  vendor 7411100048, Then accounting document 4001000293 got reversed.

Clearing of Vendor also in same date.

 

FI Doc.png

 

Please help me to understand how Reversal happened in FB08 by WF-BATCH.

Usually Reversal Agent will be the user name who started the reversal process. But for this case, workflow Initiator is WF-BATCH.

 

Thanks & Regards,

Priya

How to chnage work flow initiator

$
0
0

Dear All,

 

   I have an workflow which triggers on creation/ change of contract agreement tcode - ME31K or ME32K. Work flow is working fine. I am using class local class methods to get approvers etc.

 

I have created custom container I_LV_INITIATOR inside work flow.

 

Whenever user is changing the contract through ME32K , value of container I_LV_INITIATOR is filled with

user id of person who has created the contract .

 

But the requirement is if purchase document category (EKKO-BSTYP) = 'K' then I want this container I_LV_INITIATOR

to be filled with user id of person who has changed the contract not with the one who has created the contract. and If I manually test the work flow from SWUS , value of container I_LV_INITIATOR is filled with user id of person who is manually processing the work flow.

 

Kindly help or give any suggestion f we could achieve this in enhancement or exits.

 

Thanks,

Arpita

Required Tables which needs to be maintained for Release Configuring(Purchase order)

$
0
0

Hi Expert,

 

By Referring my previous discussion regarding the configuring PO to show in Fiori apps and thread is as below.

 

Re: Configuration steps for Approve Purchase order with standard workflow to bring the data on Fiori apps

 

 

I was configuring in release procedure for purchase order (SPRO) by taking help of (Setting up Purchase Order Release Strategy), but i am missing maintenance auth for table T16F*. as i came across for few table like T16FW, T16FC, T16FH.

 

Now i am stuck with authorization for maintenance table, Do I need maintenance authorization for all T16F* table for this. can any one please confirm this.


If it is not, then please suggest me which are tables for this.

 

Thanks in Advance !!

 

Thanks & Regards,

Brajesh Kumar


Extended Notification - Subject & HTML link Issue

$
0
0

Hi All,

 

Configured the extended notification for the workflows. Emails are getting triggered but with below issues.

 

1) Subject of the mail shows "New work items in your Workflow inbox" instead of Task description. Subscription Basic Data has Granularity as One      Message Per Notification.General setting has SUBJECT_WF_INDIV = NASWN071. Verified the message - 071 in class SWN.

Even after all these settings subject is not picked as the task description. Is there any other setting I have missed?

 

2) Maintain Subscription Settings SHOW_ACTION_DECISION_AS = LINK so Approve/Reject options of Decision task are shown as in the mail. After clicking it opens the BRF application but after clicking on CONFIRM on the application nothing happens and it stays on the same screen without taking the action. Service SWN_WIEXECUTE & SWN_MESSAGE1 are also activated in SICF.

Do we need to activate any other service to make this work.

 

3) Maintained Subscription Settings - SHOW_ACTION_EXECUTE_AS as LINK1.After clicking on this link it opens below link. Server is not selected in below link and it comes as untitled.

   http://untitled/?TASKTYPE=TSXXXXXXX&~transaction=SWNWIEX&P_WI_ID=000000005134&P_ACTION=EXECUTE&P_APPL=NOTIF&~OKCODE=ONLI

  

4) Want to check if someone has used below parameters

   Subscription Settings - REMINDER_DAYS. Does it automatically sends the reminder mails to agent till agent acts on it?

   What is the use of WI_FORWARD_VIA_MAIL = X. Does it gives option to user to Forward the workitem from the mail received.

 

While I debug on this wanted to check if someone has already faced this issues and has the answer

Your assistance would be highly appreciated.

 

Thanks,

Pawan

IDOCs - download of line amounts

$
0
0

Hi, in SAP Workflow, FIDCC1 input error, I'm trying to download a list of all outstanding unresolved IDOCs which includes the amounts of each line. By clicking on "Print List" I can download a list but I can see no way to bring in the amounts. Someone has mentioned either EDIDS or TEDS1 tables but it looks like I should be able to download this from the FIDCC1 page? Any help on this would be greatly appreciated.

 

Thanks

James Byrne

Task description alignment

$
0
0

I have some text in task description and it is sent as an email, when i see the task description in workflow log or tcode SOST it is fine but when i get the mail in outlook the mail body is not properly formatted

i am using SELFTITEM.SENDTASKDESCRIPTION to send mails.

 

This is my mail content :

it should be continuous right but the words are moving to next line

 

A Business and Travel Expense Report with all required receipts must be submitted and approved no later than

90 days from

the date the expense was incurred. If these charges are not submitted and approved within 90 days, your VISA Business &

Travel Card

 

Edited by: sapient on Aug 8, 2008 5:46 PM

Extended Notification for PR workflow

$
0
0

Hi,

 

 

We have configured the Extended Notification for PR workflow purpose .When PR created the first approver should get Notification of Workitem and Once First approvers released the PR and then same second approver should get Notification in his Outlook. But when i ran the Program # SWN_SELSEN,  I got Bunch of emails in outlook , That Notifications related Idoc, Delivery and Workflow also.

But I need only Notification for PR workflow.

 

Shall i make this configuration only specific to PR/PO Workflow,

 

These are the mails we got in outlook, when i ran program.

Entry in outbound table not found

Requisition release 10000268 00020

Delivery has failed to these recipients or groups:

 

ZALL_DELTA.png

ZALL_DELTA_FILETR.png

 

Thanks

sapman man

Escalated workflow task showing WF-BATCH as Agent

$
0
0

Hello All,

 

I have requirement in report that i need to show last approved agent which approved by agent. Agent determination is based on Agent table.

in case of deadline escalation when latest end step executes system shows agent as "WF-BATCH" where last approved agent is expected according to level.

 

i am taking WI_AAGENT field form SWWWIHEAD table to show last approved agent.

 

i tried below update query in workflow but not sure it is correct or not.

 

UPDATE swwwihead

        SET WI_AAGENT = lw_agent-agent

        WHERE WI_ID EQ workitem_id

        AND WI_RH_TASK EQ task_id

        AND no_deadl EQ 'X'.


could you please advice on this.

Workflow is not triggered during PO Change

$
0
0

Hi Experts,

 

I have a query regarding the PO Release Strategy Workflow.

 

I have copied Standard PO Release Strategy Workflow and add email steps in the custom Workflow.

 

Activate linkage in Transaction Code SWETYPV, with the 'RELEASESTEPCREATED' event.

 

Workflow is working fine for PO Creation.

 

But For PO change in ME22N, workflow is not getting triggered.

 

Kindly help me, to resolve the issue that Workflow will be triggered during PO Change in ME22N as well.

 

Please be noted that I have checked so many threads regarding this issue, and tried some ways to find out but no conclusion.

Business object instance is not getting created

$
0
0

Hello Experts,

 

I have created new business object type and used started event to trigger workflow. I have marked Business object key as mandatory parameter.

 

So now problem is,  when i am executing workflow using SWUS and SWUE , Business object instance is not getting created.

 

However I have run alone business object and manually created instance. It is working fine.

 

I have checked the binding of workflow in basic data. It is also same. This workflow is being copied from another system where it is running.

 

Please guide what could be reason

 

Thanks

Shiv


PR Approval Workflow

$
0
0

Dear Experts,

 

We have to design a PR approval workflow for our client. I would like to share our WF structure & get your suggestions.

All our PR's will be cost centre based (K) and we will be creating a Z table wherein we will have:

 

1) Cost centre 2) Cost centre owner 3) Position ID (OM)   4) Email 5) Approval limit

 

WF will retrieve the relevant cost centre owner position ID from OM & based on the PR value will search the approval hierarchy in OM till the approval limit is reached.

 

Q1: How should the WF react in case the position ID is in Inactive/Withdrawn status in OM while creating a PR? In this case the WF will fail. We suggested that in this case the PR should automatically go higher in the hierarchy. This will be a temporary workaround but how will the HR come to know that there is an action to be taken by them for the WF to work. Any ideas how to automate this?

 

Q2: In case the position ID of the cost centre owner is not available in OM then what should the WF do?

 

Your valuable suggestions are highly appreciated. Thanks.

Purchase Order Release Strategy Workflow

$
0
0

Dear SDNers,

 

I created a custom workflow to trigger workflow when PO created. This workflow send mails to portal for approval to approve the release stratagies of purchase order.

From portal side its working fine. Once the approval approves, user decision step going to next level. every thing is fine from portal side.

But if they go for R3 side to release PO at ME29N, here facing probelm

Suppose, Workitem is waiting at level1. Approver1 recieves used decission step at portal. But by logging into R3 system and release PO, the workitem which is at approver1's inbox has to vanish from his inbox. Its not happening now.

What I hav to do. Kindly let me knwo.

Thanks in advance,

Regards,

Venkat

Possibilities for activating substitution in customized workflow in SAP

$
0
0

Hi,

 

We have customized PO release workflow and agent determination is done through standard FM ME_REL_GET_RESPONSIBLE..

 

Currently we are running the standard report RMPS_SET_SUBSTITUTE to activate substitution for a particular person who is going on for leave during a particular period.An entry is getting created in table HRUS_D2 and showing the substitution is active as well for the period given.

 

The issue is the substituted person is not receiving the work item even after the substitution is active.I have referred below link for knowing about the configuration required in workflow to enable this substitution.

 

Configuring and setting up substitutions in SAP Workflow - ERP Human Capital Management - SCN Wiki

 

I have also tried classifying the approval task as general forwarding allowed based on the above link. Upon classifying the task as general forwarding allowed I am not able to see the work item in anyone inbox.It is also also showing the message "This work item does not have any current agents".

 

Please suggest me how to enable the substitution and correct me if I am wrong in doing any configuration.

 

Thanks and Regards,

Siji George.

Purchase Order Workflow Problem

$
0
0

Hi experts,

 

I have create workflow for PO which has to be fired when PO is released.

 

User-mm creates the PO and releases it. But the mail fires for User-mm(Outbox) and all users i.e Level1(Inbox) Level2(Inbox) Level3(Inbox) Level4(Inbox) which is wrong.

 

Actually as per hierarchy when User-mm releases the PO mail should be fired to User-mm(outbox) and Level1(Inbox),

then when Level1 releases the PO mail should be fired to Level1(Outbox) and Level2(Inbox),

then when Level2 releases the PO mail to Level2(Outbox) and Level3(Inbox) and so on for next Levels....

 

Please suggest me where i am wrong...

 

Regards

Archana

How to put req object type into a internal table

$
0
0

Hi,

 

       I have copied and modified leave request workflow (WS12300111

 

       Now i am trying to get values from req object into an internel table .

 

      I have tried swc_get_element container macro and used object but i can't catch the values into an internal table  .

 

     I used a BOR object type for this .

 

 

Thanks in advance everyone

Viewing all 1026 articles
Browse latest View live


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