SAP Workflow & ArchiveLink Tables

phillips, tim tim.phillips at SERuk.com
Mon Apr 23 08:45:14 EDT 2001


Hi all,
 
I have created a function module (called externally from SAP) which creates
work items, based on standard SAP workflow document types, and places them
into the SAP Inbox.
 
>From the SAP inbox, the workflow items are processed through an appropriate
SAP transaction (e.g. MR01 or F-43), and a link is made in table toa01
representing the connection between a record in table BKPF, and an image in
SAP ArchiveLink.
 
Thus far, I have encountered no problems in using this, until I attempted to
created workflow items for processing through transaction MR1M (I had to
create a new WF Document type based on task TS00007869).
 
Problem: the link in table toa01 is NOT created, though the rest of the
process runs as normal.  There appear to be no problems with the WF document
configuration - the link table (toa01) is defined and activated.
 
I have spent a considerable amount of time analysing why this may be the
case.
 
The only thing I can think of is that the object type underlying the
document (BKPF) may be incorrect.  Transaction MR1M seems to use table RBKP
first and foremost, despite a BKPF record being created.  Sadly, there is no
object type for table RKBP.
 
Looking through past posts in this forum, I noticed that someone with, what
appears to be, a similar problem created a new multi-step workflow,
incorporating the standard task TS00007869, and a newly defined task based
on a method to create an entry in toa01 describing the link between the
document image and the BKPF record (using function
ARCHIV_CONNECTION_INSERT).
 
I have tried to set this up, but now the bloody thing's not working at
all!!!!!! - it is not even creating a work item in the SAP inbox now.
 
If anyone can help me, please do - I am at my wits' end!!!!
 
Thanks in advance,
 
Tim
 


More information about the SAP-WUG mailing list