Workitems for IDOC related activity

Mike Gambier madgambler at hotmail.com
Tue Jun 29 04:46:10 EDT 2010


Hi,

 

This Work Item is typically based on the standard stand alone Task TS20000051.

 

The Method invoked is IDOCAPPL.InputForeground which calls standard FM IDOC_MANUAL_INPUT. 

 

Right at the start the user's Profile will be checked for Authorisation Object S_IDOCMONI for the Direction, Message Type, Partner Number (Sender/Recipient) and Port (Sender/Recipient):

 

* Authoritycheck xlp 211197
  IF edidc-direct EQ '1'.              "Ausgang
    AUTHORITY-CHECK OBJECT 'S_IDOCMONI'                     "xlp211197
             ID 'ACTVT' FIELD c_display                     "xlp211197
             ID 'EDI_DIR' FIELD edidc-direct                "xlp211197
             ID 'EDI_MES' FIELD edidc-mestyp                "xlp211197
             ID 'EDI_PRN' FIELD edidc-rcvprn                "xlp211197
             ID 'EDI_PRT' FIELD edidc-rcvprt                "xlp211197
             ID 'EDI_TCD' DUMMY.                            "xlp211197
  ELSE.                                "Eingang
    AUTHORITY-CHECK OBJECT 'S_IDOCMONI'                     "xlp211197
             ID 'ACTVT' FIELD c_display                     "xlp211197
             ID 'EDI_DIR' FIELD edidc-direct                "xlp211197
             ID 'EDI_MES' FIELD edidc-mestyp                "xlp211197
             ID 'EDI_PRN' FIELD edidc-sndprn                "xlp211197
             ID 'EDI_PRT' FIELD edidc-sndprt                "xlp211197
             ID 'EDI_TCD' DUMMY.                            "xlp211197
  ENDIF.                                                    "xlp211197

 

Chances are if your agents can't work these Work Items they probably don't have the auths.

 

The event will only be raised if your IDoc Process Code defines that the event should be raised. Go look in WE20 and dig down to the Process Code and you'll see it.

 

This is usually the standard setting for BAPI (BD64/BDBG) Methods by the way.

 

To even receive these Work Items the Event Linkage must be active so go hunt in SWETYPV for IDOCAPPL.InputErrorOccurred.

 

Mike GT
 
> Date: Tue, 29 Jun 2010 16:09:12 +0800
> Subject: Re: Workitems for IDOC related activity
> From: rbakker at gmail.com
> To: sap-wug at MIT.EDU
> 
> Hello,
> 
> In SWIA: 000007750945 for the workitem. You'll be able to see the
> workflow log, find out which workflow it is and hopefully be able to
> figure out how it was started by looking at the definition of the
> workflow in e.g. PFTC_DIS.
> 
> regards
> Rick Bakker
> Hanabi Technology
> 
> On Tue, Jun 29, 2010 at 4:01 PM, Patil, Priyank <Priyank.Patil at keane.com> wrote:
> > Rick, thanks for your immediate response. Could you please elaborate in detail. Since there is no any event associated withit.So what should be my input parameter in SWIA.
> >
> > -----Original Message-----
> > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Rick Bakker
> > Sent: Tuesday, June 29, 2010 1:20 PM
> > To: SAP Workflow Users' Group
> > Subject: Re: Workitems for IDOC related activity
> >
> > Hello,
> >
> > Look in SWIA to see which workflow it is and perhaps how it gets started.
> >
> > regards
> > Rick Bakker
> > Hanabi Technology
> >
> > On Tue, Jun 29, 2010 at 3:36 PM, Patil, Priyank <Priyank.Patil at keane.com> wrote:
> >> Hi Wuggers,
> >>
> >>      One of our user is getting an IDOC error kind of workitem.I have
> >> checked in the business object(idocmsg) but there is no any event associated
> >> with it. Our user needs a clear details on this issue. We are into
> >> Ecc6.Since there is no any idoc related activity is done. How can I avoid
> >> this work item from triggering this into SBWP.
> >>
> >> Once the work item is executed, a pop up is displayed with -
> >>
> >> Work item 000007750945:object IDOCMSG method ERRORPROCESS cannot be
> >> executed.
> >>
> >> Pls find the enclosed document attached for details.
> >>
> >>
> >>
> >> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
> >> Patil, Priyank
> >> Sent: Tuesday, June 29, 2010 12:57 PM
> >> To: SAP Workflow Users' Group
> >> Subject: Workitems for IDOC related activity
> >>
> >>
> >>
> >> Hi Wuggers,
> >>
> >>      One of our user is getting this kind of workitem.I have checked in the
> >> business object(idocmsg) but there is not any event associated with it. Our
> >> user needs a clear details on this issue. We are into Ecc6.Since there is no
> >> any idoc related activity is done. How can I avoid this work item from
> >> triggering this into SBWP.
> >>
> >>
> >>
> >>
> >>
> >> ______________________________________________________________________
> >> Disclaimer: This email message and any attachments are for the sole use of
> >> the intended recipient(s) and may contain information that is confidential,
> >> legally privileged or otherwise exempt from disclosure under applicable law.
> >> If you are not the intended recipient(s) or have received this message in
> >> error, you are instructed to immediately notify the sender by return email
> >> and required to delete this message from your computer system. This
> >> communication does not form any contractual obligation on behalf of the
> >> sender, the sender's employer or such employer's parent company, affiliates
> >> or subsidiaries.
> >>
> >> ______________________________________________________________________
> >> Disclaimer: This email message and any attachments are for the sole use of
> >> the intended recipient(s) and may contain information that is confidential,
> >> legally privileged or otherwise exempt from disclosure under applicable law.
> >> If you are not the intended recipient(s) or have received this message in
> >> error, you are instructed to immediately notify the sender by return email
> >> and required to delete this message from your computer system. This
> >> communication does not form any contractual obligation on behalf of the
> >> sender, the sender's employer or such employer's parent company, affiliates
> >> or subsidiaries.
> >>
> >> _______________________________________________
> >> SAP-WUG mailing list
> >> SAP-WUG at mit.edu
> >> http://mailman.mit.edu/mailman/listinfo/sap-wug
> >>
> >>
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> > ______________________________________________________________________
> > Disclaimer:  This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is confidential, legally privileged or otherwise exempt from disclosure under applicable law. If you are not the intended recipient(s) or have received this message in error, you are instructed to immediately notify the sender by return email and required to delete this message from your computer system. This communication does not form any contractual obligation on behalf of the sender, the sender's employer or such employer's parent company, affiliates or subsidiaries.
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100629/b6d18e71/attachment.htm


More information about the SAP-WUG mailing list