Error in SAP standard workflow ddoStart - Start document distribution
Hi all,
I'm trying to use the document distribution but i'm failing completely. After doing what i think is the necessary config (setting all relevant tasks to general task should be all), i try to distribute. I create a list, selects people and click go.
When checking the log for the distribution later on, all workflows generated hang in the same place - namely the case branch before "check document distribution". Further on, the "check distribution order" task does have three potential outcomes after calling the business objects corresponding method. The problem is that the method "check" of bus1082 (doc. dist. order) does not return a check value as a parameter, even though it has a result internally.
I suspec i'm missing something here, but the wf still bombs out.
Tips and tricks guys?
Espen
HI all,
Problem is identified and a solution is found. THe businesss object's methods for distribution order did not have the flag for result parameter ticked. Opening up the standard SAP objects, tick the box and voila - it works.
Still puzzles me how SAP did release this. Didnt they test?
Espen
Similar Messages
-
SAP Patch :'Error reading the standard sequence from the document tables
Hi Experts,
Please help!
Recently SAP patching is carried out in our R/3 environments. Before patching, all our customized RFCs were working correctly.
We are using BAPI ''BAPI_ALM_ORDER_GET_DETAIL' in a RFC. After the patching, the version date of the BAPI ''BAPI_ALM_ORDER_GET_DETAIL' is changed to new date of patching.
Now, when we are calling the customized RFC, ''BAPI_ALM_ORDER_GET_DETAIL' is returning an error 'Error reading the standard sequence from the document tables'.
This comes when we are pasiing any order with Order type 'ZM02' ( Maintenance Order - Preventative). It is working absolutely fine with Order Type ZM01(Maintenance Order - In Hours Opex).
Sometime, when RFC is run individually, it works fine with same data and sometime it is throwing this error with the same data. Very Inconsistent.
Please advice whether patching is the reason.
Any advice..is welcomed.
Many Thanks,
RohitWe found that the flow of the code(RFC) was making a situation where even correct order id was passed to this BAPI, the result was an error 'Error reading the standard sequence from the document tables'. we reverted the RFC to it's earlier version. now that problem is not there.
-
SAP Standard Workflow for REFUNDS in FS-CD
Hi
We have a requirement to implement SAP Workflow in Financial Services Collections & Disbursements (FS-CD) module for REFUNDS Approval.
Is there any SAP standard Workflow available to meet the requirement?
How to find the Standard SAP workflows available for different Modules (MM, SD, PM, FI, FS-CD etc)?
Correct answers will be rewarded with points.
Thanks
Nikhil.BJust to add:
The error that I am encountering in the second run/cycle for the PR approval workflow is Import container contains errors (are any obligatory elements missing?)
Basically, WS20000077 will be executed if an approval level is seen. Once the approval is made, then the workflow is also completed. However, for multiple approvers, I only get to execute successfully the first level approval. The succeeding levels are encountering errors as stated above -
Error reading the standard sequence from the document tables
Hi PM Experts,
Please help!
Recently SAP patching is carried out in our R/3 environments. Before patching, all our customized RFCs were working correctly.
We are using BAPI ''BAPI_ALM_ORDER_GET_DETAIL' in a RFC. After the patching, the version date of the BAPI ''BAPI_ALM_ORDER_GET_DETAIL' is changed to new date of patching.
Now, when we are calling the customized RFC, ''BAPI_ALM_ORDER_GET_DETAIL' is returning an error 'Error reading the standard sequence from the document tables'.
This comes when we are pasiing any order with Order type 'ZM02' ( Maintenance Order - Preventative). It is working absolutely fine with Order Type ZM01(Maintenance Order - In Hours Opex).
Sometime, when RFC is run individually, it works fine with same data and sometime it is throwing this error with the same data. Very Inconsistent.
Please advice whether patching is the reason.
Any advice..is welcomed.
Many Thanks,
Rohit
Edited by: Rohit Kumar on Jan 14, 2009 3:50 PMThanks a lot.
We found that the flow of the code(RFC) was making a situation where even correct order id was passed to this BAPI, the result was an error 'Error reading the standard sequence from the document tables'. we reverted the RFC to it's earlier version. now that problem is not there. -
About modifying sap standard workflow
hi, i would like to modify a sap standard workflow. In the real project, how do you modify it. Copy this workflow and create a custom one , or generate a new version and then modify it?
>
jrockman li wrote:
> Hi Martin Nooteboom, thanks for your reply. i still have one question, if we create new copy of sap standard workflow. Then, the event will trigger both workflows. So, should we deactivate the standard workflow? and ,in this case , what should we pay attention to when transporting workflows and linkages.
No you don't deactivate the workflow, but the event linkage. This should result only starting your workflow when the event is raised, also after transport. You can check the eventlinkage after the transports.
Regards,
Martin -
Syntax error in SAP-standard program
Hi experts,
i am facing syntax error in sap standard program.how i can solve that error .
Error in include LFKPZTOP and errro is at line 70.
please help me ASAP.
Thanx & Rgds
ZebaHello Zeba,
go to include LFKPZTOP and check in line 70.
if you are not able to solve that.
post the same line, so that we can understand what is error.
as of my checking the error is "iban is already defined in the include structure bus0bk ,
but i think it dosn't effect your programing.
Regards!
Edited by: Prasanth M on Feb 10, 2009 5:04 PM -
Can we change the start conditions of SAP standard workflows
Can we change the start conditions of SAP standard WF10400002
Where i want to assign my own Gross amount in the start conditions.Check out the link below.
[http://help.sap.com/saphelp_nw2004s/helpdata/en/90/83ed38f5f41a28e10000000a114084/content.htm]
[http://help.sap.com/saphelp_nw2004s/helpdata/EN/4c/86bf43feca11d2a64f0060087a79ea/content.htm]
Regards,
Raj -
SAP Standard Workflow for PR Release (with user exit)
Hi SAP WF Gurus,
Good day!
I just wanted to check with you if you have ever used a user exit in the activation of the standard workflow for PR (overall ( release. What we have is a two0step approval process wherein each level has a proxy/alternate approver. We used the available user exit to accommodate this customer requirement since the standard release would only allow us to define 1 approver as a prerequisite for the next level. We were able to execute this on the first level approval; however, we observed that the workflow is not anymore triggered (i.e. does not send work items to agents) for the level 2 release. My questions therefore are:
1. How to set up SWEC? I already executed SWELS and SWEL to check if the events are being created and event linkage is automatically deactivated after running into an error regarding the binding...My initial SWEC setup is for BANF BUS2105 RELEASED On Change. I am assuming that since the workflow was released from the first level, this should be the starting point
2. How to rectify the binding error? I already executed automatic binding in the WF header for the start events but still face it
Your inputs/comments are most welcome
Regards,
DeLoJust to add:
The error that I am encountering in the second run/cycle for the PR approval workflow is Import container contains errors (are any obligatory elements missing?)
Basically, WS20000077 will be executed if an approval level is seen. Once the approval is made, then the workflow is also completed. However, for multiple approvers, I only get to execute successfully the first level approval. The succeeding levels are encountering errors as stated above -
Error in PR standard workflow WS20000077
Hi Friends ,
I have activated the standard workflow WS20000077 which is for PR release procedures . When i am creating a PR it is triggering the workflow with an error " Import container contains errors (are any obligatory elements missing?) " .
I have checked the forum for the same error but i did not find ant exact solution for that .
In SWEL , the object key is being populated by the PR no . So i think this is the problem due to the Release code which is not getting any value in the event container after the event " Releasestep craeted" gets triggered .
So please guide me on the same how to resolve the above error .
I am using ECC 6 version of SAP .
Thanks in advance
SarmisthaThanks again for your reply .
I have tested the workflow in SWUE by assigning the Release code value manually and the workflow is triggering without any error .
So as you told i think some SAP Notes needs to be implemented to resolve this issue .
If you have any idea on this please guide .
Thanks
Sarmistha -
Sap standard report for delivery document block.
Hi,
We want to block delivery document for further processing that picking and PGI.
For that we are looking for sap standard report if available so we could provide it to client.
so we need
SAP standard report for blocked delivery document.Hi,
As far as my understanding there is no such report but you can try with report MATERIAL WHERE USED LIST
Please find t-code for this as due to system unavailable i am not mentioning t-code for same
kapil -
Dear Experts,
Is there any standard workflows for Customer Invoice, Goods Recipients and Asset Management(ex: Asset In, Transfer, etc.)
And how can I find the informations online?
Thanks in advance!Unless you already know about it: SWDM is a nice tool to search for workflow templates and single tasks, whether they are documented by SAP or not. There are several possibilities for sepcifying search criteria, the one I have found most useful is application component. Note that if you don't find anything for the specific application component, you should go one level up and try again - until you get to the top level if necessary. Some workflow templates are used for several purposes and thus placed higher in the application component hierarchy.
-
Automatically start Document Distribution
Hello all,
i have a requirement to start the SAP standard document distribution automatically for a specific document if the status of this document is set to a release status.
I stll have implemented the Note 824949 and therefore have activated the event type linkage for the following BUS objects:
BUS1082 INITIATED
BUS1082 RESEND
DRAW CHANGED DOKST
DRAW CHANGED DWNAM
DRAW CHANGED DISTRIBUTION
The manual distribution for documents is still working fine but (the distribution log and the SBWP say it)
But I don't get any log entry and not SBWP mails if a document of a distribution list is set to a release status!!!!!!!! So the automatic process is not working until now.
Do you have some more hints?
Thanks,
ChristianI would use a workflow, at the point when a document is released you create an event. Based on this you can send the information. This is potentially not the easiest way but allows you to do function as you need it.
Regards
Thomas -
Error in SAP Installation , Dispatcher nto starting
Hi,
I am in the process of installaion of nW2004s in Ms SQL server .
When the Central instance is running , the sapinst could not restart the sap from sap management console.
When i tried to restart SAP from MMC the dispatcher gets stopped in 2 mins. Pls hlep
the folowing is the output of dev_disp file
Mon Mar 10 15:36:36 2008
kernel runs with dp version 229000(ext=109000) (@(#) DPLIB-INT-VERSION-229000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ****
***LOG Q00=> DpSapEnvInit, DPStart (01 3500) [dpxxdisp.c 1239]
* shared lib "dw_xml.dll" version 111 successfully loaded*
* shared lib "dw_xtc.dll" version 111 successfully loaded*
* shared lib "dw_stl.dll" version 111 successfully loaded*
* shared lib "dw_gui.dll" version 111 successfully loaded*
* shared lib "dw_mdm.dll" version 111 successfully loaded*
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3901
Mon Mar 10 15:36:41 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds*
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5361]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >WDBSSAPBWD01_BWD_01 <
DpShMCreate: sizeof(wp_adm) 19248 (1480)
DpShMCreate: sizeof(tm_adm) 5584592 (27784)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
DpShMCreate: sizeof(comm_adm) 552080 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1864)
DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000F270050, size: 6275136)
DpShMCreate: allocated sys_adm at 000000000F270050
DpShMCreate: allocated wp_adm at 000000000F272150
DpShMCreate: allocated tm_adm_list at 000000000F276C80
DpShMCreate: allocated tm_adm at 000000000F276CE0
DpShMCreate: allocated wp_ca_adm at 000000000F7CA3B0
DpShMCreate: allocated appc_ca_adm at 000000000F7D0170
DpShMCreate: allocated comm_adm at 000000000F7D20B0
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 000000000F858D40
DpShMCreate: allocated gw_adm at 000000000F858DC0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 000000000F858DF0
DpShMCreate: allocated wall_adm at 000000000F858E00
MBUF state OFF
DpCommInitTable: init table for 500 entries
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 127 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1629]
***LOG Q0K=> DpMsAttach, mscon ( WDBSSAPBWD01) [dpxxdisp.c 11753]
DpStartStopMsg: send start message (myname is >WDBSSAPBWD01_BWD_01 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 111
Release check o.K.
Mon Mar 10 15:37:21 2008
ERROR => W0 (pid 3864) died [dpxxdisp.c 14441]*
ERROR => W1 (pid 5556) died [dpxxdisp.c 14441]*
ERROR => W2 (pid 5388) died [dpxxdisp.c 14441]*
ERROR => W3 (pid 5568) died [dpxxdisp.c 14441]*
ERROR => W4 (pid 4200) died [dpxxdisp.c 14441]*
ERROR => W5 (pid 5520) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W6 (pid 5452) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W7 (pid 2600) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W8 (pid 4220) died [dpxxdisp.c 14441]*
ERROR => W9 (pid 4212) died [dpxxdisp.c 14441]*
ERROR => W10 (pid 3628) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W11 (pid 4176) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W12 (pid 5652) died [dpxxdisp.c 14441]*
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes*
DISPATCHER EMERGENCY SHUTDOWN ****
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=501
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 10 15:37:31 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Mon Mar 10 19:37:31 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 3864 Ended no 1 0 0
1 DIA 5556 Ended no 1 0 0
2 DIA 5388 Ended no 1 0 0
3 DIA 5568 Ended no 1 0 0
4 DIA 4200 Ended no 1 0 0
5 DIA 5520 Ended no 1 0 0
6 UPD 5452 Ended no 1 0 0
7 ENQ 2600 Ended no 1 0 0
8 BTC 4220 Ended no 1 0 0
9 BTC 4212 Ended no 1 0 0
10 BTC 3628 Ended no 1 0 0
11 SPO 4176 Ended no 1 0 0
12 UP2 5652 Ended no 1 0 0
Dispatcher Queue Statistics Mon Mar 10 19:37:31 2008
===========================
--------++++--+
| Typ | now | high | max | writes | reads |
--------++++--+
| NOWP | 0 | 2 | 2000 | 6 | 6 |
--------++++--+
| DIA | 5 | 5 | 2000 | 5 | 0 |
--------++++--+
| UPD | 0 | 0 | 2000 | 0 | 0 |
--------++++--+
| ENQ | 0 | 0 | 2000 | 0 | 0 |
--------++++--+
| BTC | 0 | 0 | 2000 | 0 | 0 |
--------++++--+
| SPO | 0 | 0 | 2000 | 0 | 0 |
--------++++--+
| UP2 | 0 | 0 | 2000 | 0 | 0 |
--------++++--+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 7 ( 87%), shm 1 ( 12%)
since last update total 8, udp 7 ( 87%), shm 1 ( 12%)
Dump of tm_adm structure: Mon Mar 10 19:37:31 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Mon Mar 10 19:37:31 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--+
| id | owner | pid | eyecatcher |
--------++--+
*| 0 | DISPATCHER | -1 | WPCAAD000 |*
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=501
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 10 15:37:36 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >WDBSSAPBWD01_BWD_01 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (4208) (SOFT_KILL)
Stop icman
killing process (3768) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:4208 HANDLE:468)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=501
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 10 15:37:37 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:4208 HANDLE:468)
wait for end of icman
[DpProcDied] Process lives (PID:3768 HANDLE:476)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=501
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 10 15:37:38 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:3768 HANDLE:476)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=501Hi Balaji,
check errors on dev_w0 and post the here.
Regards
Juan -
No SAP Standard workflow Tasks in the system
Hi All
Currently in our SAP System ( ECC6.0) , there is no standard SAP tasks nor templates are available in any of the clients . How to bring the standard tasks and templates in the system . Is it that we have to import from Client 000? If so , how to do that ?
Appreciate your help in this . Please pass any document or material on this .
Thanks in advance .How do you know you do not have Template and Task. Probably you have checked with Tcode PFTC.
I think you do not have authorization. After you get no task is in PFTC do a SU53 and ask your security team to provide the authorization.
Thanks
Arghadip -
Document Distribution for External Mails ids
Dear Expert Consultants,
I would like to know how to send Docuemnts as link from Document Distribution to external Mails. Also i want to know Mass printing functionality in DMS Documents.
Regards,
Deviprasad.PHi,
In the standard case you need to folow below procedure
1. Use TC SOCP to create external recipients. you may need BASIS help in this.
2. Create recipient list using TC CVI1.
2. Assign the documents to be distributed to this list. Document should be created before this step.
3. Assign External recipients to this list.
4. Distribute the document using CVI8.
5. TC CVI9 will help you to know the status of distribution.
Most important factor is that your SAP standard workflow which drives the distribution to external mail ids should be working. Please contact BASIS team if it has any problem. Without this distribution is not possible.
Hope it will help you.
Regards,
Atul
Maybe you are looking for
-
Can't install adobe flash player
i am not a techie, so the previous threads dont help me much -- not basic enough, i guess. anyway, i cant seem to install adobe flash player. i often click on a website or something, and it wont run because it says i need adobe flash player (had
-
My apps won't update and I can't make purchases?
Can anyone help?
-
I am currently having a known issue with the SYS_CONNECT_BY_PATH statement in a package definition. I was told it is fixed in 9.0.2....but I can't find anywhere to download that patch? Thanks, Bryan
-
SQL Data Modeler adds blank line to UK Constraints
Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584 I'm migrating my schema designs from Oracle Designer to SQL Developer Data Modeler. When I get to the point of generating SQL files I consistently get an extra blank line added to every uniq
-
Weird noises in the Skype call that only i can hea...
so im getting these weird noise in skype, obviously, ANYWAY the first problem was that skype plays audio through the speakers instead of my headphones which i fixed by seletecting "Speakers and Headphones" as a default device and communication device