Quantcast
Channel: SCN : All Content - SAP Business Workflow
Viewing all 995 articles
Browse latest View live

Logic to Update Custom Table in Process Control Workflow

$
0
0

Hello Gurus,

 

I kindly request for urgent hints to resolve this challenge.

 

The clients wants me to implement a logic in a Process control workflow, whereby after each approval, a custom table created for reporting purpose, will be updated with information from the workflow step, i.e workitem number, name of approver etc.

 

I am new to Process Control workflow but I have studied it very well and I have good picture of how it works, but I am however stuck on WHERE to implement the logic for this request.  Will I have to implement the logic in an expression that calls a FM ? If yes, can someone please guide me on how? remember that the custom table will be updated after  each approval.

 

We are currently running on SRM 7.0 and have used standard Workflow templates for the process. Do forgive me if I have posted this in the wrong section.

 

In anticipation of your help.

 

Aham.


SAP VIM workflow

$
0
0

Hi

 

I have an issue with the VIM (vendor invoice management OpenText) work flow. A DP document is being processed and the report shows the task process control as READY.

The problem is that the current agent VIM indicates, hasn't got the dp document in her inbox. In other words the dp document is stuck somewhere in the WF.

 

In vim_analytics the following exceptopn reason appears: Invalid Reaquesetor ID (NPO)

Snap 2016-03-04 at 17.11.08.png

Snap 2016-03-04 at 16.55.43.png

 

I already trief reassigning the WI to another user without any succes.

 

Can jou help me finding the correct current agent so that we can continue processing this document?

 

Kind regards

Greg

Error - Cannot map user while opening work item in SAP Inbox

$
0
0

Hi Folks,

 

There is a weird error coming up while a user of my client is trying to open a work item in his SAP Inbox. As soon as he click on work item , an error comes up saying that 'Cannot map user <USERA>'.

 

These work items have been forwarded to user B( who is facing this error) from USER A's Inbox by user C.

 

Any idea why this error is coming up.

 

Message number is /ORS/000007_SCR026. Even google is not helping much and open text guy also has no knowledge about it.

 

Any guidance is really appreciated.

 

Thanks in advance.

 

Regards,

Richa

How to debug standard bankground workflow task TS33700034

$
0
0

Hi Team

 

I have used below standard task to save HCM form data in workflow.

After final approval data not updating in infotype and need to check below task of working correctly or having any authorization issue.

 

Standard Task TS33700034: Save Form Data (Web Dynpro)

 

Please suggest how to debug above background task.

 

 

Regards,

Sameer

Issue with Fork step in sap workflow

$
0
0

Hi,

 

I have created Travel request workflow using Fork with one necessary branch as create Travel request(TR)  or change travel request before approving manager.

 

When user created TR, One branch in fork step will fetch agent details in activity step and then sends email to manager about workitem, and the workitem is sent to manager inbox.

 

If user made some changes to same TR before manager approved, then another branch in fork step need to be executed.

 

But it is not happening like that. Both the branches are executing simultaneously and two workitems are placing in manager inbox.

 

Please find the attached document for details

 

 

Please suggest me urgently....!!!!!!!!

Job SWWERRE - Cancelled

$
0
0

Hi,

 

One of the Jobs 'SWWERRE' is getting failed continuously from past few days with the weird message as 'There is no chief position for US WF-BATCH.'

 

Usually we wont maintain the ORG for WF-BATCH, we will  get this error if there is no Leading position available for a PERNR.

 

I have ran the report 'RSWWERRE' in foreground and checked, but still i am getting the same error, as i don't have the debugging authorizations to check what is the cause of this.

 

Could you please advice.

 

Regards,

Gopi

how to find which custom enhancenetn is used to trigger this wf

$
0
0

 

Hi ALl,

 

I am having a wf with CUSTOM class and event used t trigger it from MED23n/me22n.When i applied break-point in calss method

cl_swf_evt_event=>get_event_container and cl_swf_evt_event=>rais, and execute ME22/Me23n the control doesnt stops on break-point.

 

Can anybody guide me how to find which custom enhancenetn is used to trigger this wf.

 

Thanks,

SD

Check Quota - Absence Request Approval

$
0
0

Dears

 

             Good Day ,

            

This is a simple approval process for absence request

But i need more than clarification

 

My steps as below :

 

1. Create Request      (FORMABSENC - CREATE)

2. Approve Request   (FORMABSENC - Approve)

3. If approved - send mail and call PA30 screen  (EMPLOYEESU - CREATEINTERACTIVE)

4. If rejected   - send mail

 

My questions

 

1. How make validation to check the employee absence quota before creating the request

2. If the employee has more than one manager (direct Manger and manger of his manager ) how i can handle this case

3. in object EMPLOYEESU , How can pass the employee number .

 

WF.JPG

 

Best Regards ,


error in custom method

$
0
0

Hi friends,

While designing a custom wf for the first time, I have got the error while generating the BO in SWO1. I have created a custom method DISPLAY NEW in my custom BO ZBUS2012. Please suggest on how to write the code while implementing the method. I am following the given blog step by step but still the error is coming .

https://scn.sap.com/docs/DOC-3064

 

 

Regards,

Saurav Lahiry

Pr not going to next approvar

$
0
0

Dear experts

 

I have 3 level of PR Release Strategies.

Once 1st level approves the PR, its not going to 2nd approver in his SBWP

 

if i create PR with 1 approval, the process is not getting completed. i.e. once the PR is approved, the status remains 'in process' rather than 'completed

 

This is PR accepted by 1st approval authority. but its still in his SBWP

PR approved by first approver.PNG

This shows that 1st level approved it

pr screen.PNG

 

Please help! Its on QAS which is not CHANGEABLE.

I checked swu3, its fine. SWU_obuf also have been used

swi1.PNG

No valid object ID in container element!!!

$
0
0

Hi,

 

There is a workflow in which below error is received  :

 

Capture.PNG

 

 

As per design, there is a FORK in which 3 branches are parallel out of which 1 is mandatory. One branch includes WAIT for DELETED event, another one WAIT for POSTED event and third one includes approval flow.

 

Getting this error in WAIT for DELETED event.

 

Already tried below :

 

- Putting wait step out of Fork : Worked

- Putting binding in wait step of _EVT_OBJECT : Not worked

- Removing binding in wait step of _EVT_OBJECT : Not worked

- Check data in container element ZFIPP : Checked. Data is there from event to workflow.

 

Kindly suggest what else can I try. Problem is with putting WAIT statement with FORK.

 

Any guidance is really appreciated.

 

Thanks in advance.

 

Regards,

Richa

PR release but event not completed

$
0
0

Dear experts

 

I have check ed scn thoroughly but couldn't find the solution of my 2 problems.

 

1. Its on QAS.

I tested the workflow through swud/swdd. It does ntot have any error but even  then when I release a PR, its not getting completed

i have used swud_obuf but it didn;t work

 

This is the status of PR

log on qas.png

This is trace from SWDD when i tested it

trace on qas.png


This is the approved PR


approved pr on QAS.PNG


 

Since I have to start user training so I developed another workflow on Sandbox. It was working fine for weeks, but i dont know why it stopped working today

 

1. Trace of swdd when I tested it

trace on sandbox.png

Binding for OVERall Release

binding for overall.png

PR released

PR released on sandbox.png

 

Its status

logs on sandbox.png

 

 

would appreciate if someone please help to resolve both the cases

 

 

 

NOTE: WE HAVE JUST UPDATED OUR QAS BUT NOT SANDBOX

SAP CRM Case Management Workflow Not Being Triggered Automatically

$
0
0

I have a created a custom CRM Case Management Workflow using BOR SCASE, using the method EDIT to define my task with Event CREATED.

 

What is happening when the Case is created the Workflow (WS90000004) in not being being triggered automatically, however when I use Tcode SWUE, to manually create the event with the GUID as the Object Key, the Workflow will be triggered and I can even see it in the CRM Case Management Worklist, under Workflow Tasks. I also can execute the workitem,

 

The same workflow worked for perfectly one day but next day automatic triggering stopped

 

Is there anyone who has encountered this before or has any idea as to how I can solve this, if so, such assistance is welcome??

Rule 20000026 issue

$
0
0

Hi,

 

I am new to WF,

My target is, to send email to Requistion approver that there is purchase requisition has been created and waiting to be approve.

 

As I have Overall Release, so I need to go via

WS20000077, Task TS20000159 and the agent determination Rule 20000026.

 

There are some errors.. to start with I found the rule 20000026 has FM(ME_REL_GET_RESPONSIBLE) with category 'Agent determination'.

I found that if I simulate it does not find the agent.

While simulation, container 'Release code' is not showing release codes set in IMG V_T16FC-FRGCO (under - Set Up Procedure with Classification )

but it is showing IMG setting V_161E ( Set Up Procedure Without Classification )... I believe which is wrong !!!

 

Under the Container tab, I double click, release code and I found it has follwing info

Structure  RM06B

Field      FRGAB

Initial value tab also has values from V_T16FC-FRGCO (under - Set Up Procedure with Classification )

 

So wondering whether this is correct !!!

 

Regards,

Jat

Logically Deleted to In Process

$
0
0

Hi Experts,

 

Need to know how to put back the logically deleted workflows to In process again in bulk.

For single workflow instance by using SWUS_WITH_REFERENCE or by SWUS by filling container values.

 

Please let me know if we can do it in bulk.

 

Thanks in Advance.

 

Regards,

Siva K.


WS12300111 is not triggering

$
0
0

Hello all !

 

          We are upgrading from portal 7.0 to 7.4.

 

          Our back end remains ECC 6(EHP 6).

 

          When leave is applied from portal 7.0, the workflow WS12300111 is getting triggered.

 

          However, when leave is applied from portal 7.4, the workflow is not getting triggered and PTREQ_HEADER is populated with correct values except WORKIEM_ID field which gets populated with value 000000000000.

 

           Dialog tasks and workflow header is set to general task. Functional configuration for leave request is correct.

 

            Visualization parameters for both the tasks are maintained as seen below : SWFVISU.JPG

 

          SICF services for leave request are active.

 

          However, workflow is not triggering when leave is applied from portal 7.4. Please suggest.

 

Regards,

S.Suresh.

RECN Save Button Interrupt (Urgent)

$
0
0

Hi Guys.

I am new to workflow and enhancements. Im currently involved in a real-estate project. I have a difficult requirement and I will summarize it as follows.

 

Transaction: RECN

 

 

1) When the user changes any information, contract, conditions, etc.. and he/she hits the save button, the data entered will automatically be saved in a custom table, much like the CDPOS and CDHDR, with fields like, Date, Changer, Field, New_Value, Old_Value and then the data entered will revert-back to its original content as if its reloaded again by running the RECN tcode. Because according to the requirements, must be approved first.

 

 

2) In line with #1, a workflow will trigger, still with the save button event. The workflow will run thru a series/ 4 levels of approvals (supersets) thru user decisions in the workflow.  Once passed with the over-all approval process, the logged changes  from the custom table will be applied to the contract.

 

 

I think I could be able to make the basic workflow process, but for #1 requirement, i really have no idea on how to do so. As well as the last step where in the logged changes will be applied to the contract.

 

 

Any help/guide from you experts is very much appreciated. Thanks.

Extended Withholding tax in VIM

$
0
0

Hi ,

 

We are EHP 6 and we are implementing Open Tax for our new company code Philippines . 

 

We have activated EXTENDED WITHHOLDING TAX " functionality in SAP and want to use same in Open text .

 

We are using VIM 6 .

 

Can you please help us on this?

 

how to activate extended Withholding tax in VIM 6 for EHP6 .

 

many Thanks

Regards

Extended notification: Custom deliverer not activated (SWNCONFIG, CL_SWN_DELIVERER_BCS)

$
0
0

Hi friends of the Extended Notifications,

 

I have a business scenario, where I need to do something extra during the delivery of a notification by eMail, but my custom deliverer is not being used, as I do expect it.

 

What I've customized (succesfully) so far:

 

- Created a new scenario

- Created separate subscriptions, using standard EMAIL_HTML with "1  one message per notification"

- and filter settings and delivery schedule

 

The configuration works fine: New work items are selected and sent out, using the class CL_SWN_DELIVERER_BCS. If I set a break point in method CL_SWN_DELIVERER_BCS->IF_SWN_DELIVERER~SEND( )  the report SWN_SELSEN stops there and I can see the eMail being sent out through the SAP Office interface.

 

Now, I have created a subtype of the classCL_SWN_DELIVERER_BCS  and redefined the method above. I have not changed anything, but just called the ->super( ) method, and set a break-point there.

 

I have now created a new delivery type YESCALATOR_HTML under SWNCONFIG, section "Delivery type".

 

Copied  EMAIL_HTML  to   YESCALATOR_HTML with all depending entry.

Changed the class name within the office delivery to the subtyped class.

 

deliverer.png

Now I do change the subscription setting (basic data) in the scenario, which is working, from EMAIL_HTML to YESCALATOR_HTML like this:

 

scenario.png

... i was expecting, that the delivery method send( ) from the custom class is being executed ... but actually it isn't.

 

What happends?

 

Nothing. There's no message created at all, the break-point isn't reached and ... what's even more questionable is: No application log in SLG1 for the extended notifations are created at all. No entries, no short dump. It just says "0 notificaitons sent".

 

Does anyone has used a custom delivery class, already? .... I mean:  successfully used ?????


Best wishes

   Florin

 

P.S.: I did search through the SAP Support Portal with CL_SWN_DELIVERER_BCS ... and there were some interesting notes, but nothing about my problem.

Workitem disappeared from BWP

$
0
0

Hello,

 

My client asks to implement the following scenario:

When a vendor invoice is parked, a workflow is triggered with the following options:

1. Accept

2. Decline

3. Return

 

The accept option allows the user to edit the invoice(add some texts), then save it.

 

The workflow has been implemented, but the users encoutered some problems with the accept option.

 

The problem is that when users choose "the accept decision", do not do any action, then go back, the work item disappear and can not be declined nor accepted anymore.

 

I tried to use terminating events on the "accept" level, but still, the workitem disappears( On workflow overview, the accept decision stays in processing until an ending event occurs by saving the invoice through the standard transaction outside the BWP).

Are my terminating events on the wrong level? Are they supposed to be on the desicion level?

 

Thank you for your help. 

Viewing all 995 articles
Browse latest View live


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