Transaction Variants
Florin Wach
florin.wach at gmx.net
Tue Mar 4 07:51:36 EST 2008
what about creating a variant-transaction for the just-copied one? :-)
-------- Original-Nachricht --------
> Datum: Tue, 4 Mar 2008 14:10:01 +0200
> Von: "Devireddy Swathi (Dataflo)" <devireddy.swathi at dataflo.co.za>
> An: sap-wug at mit.edu
> Betreff: Re:Transaction Variants
> Hi,
>
> I cannot copy the transaction into another one.
>
> As the main purpose of transaction variants is to restrict access to
> some views.
>
> Is there any way I can get from change ocuments.
>
>
>
>
>
> Thanks & Regards
>
> Swathi Devireddy
>
> Coke SCALE
>
> Satyam Computer Services Ltd
>
> * : +27 745024070
>
> From: sap-wug-bounces at mit.edu on behalf of Florin Wach
> Sent: Tue 3/4/2008 1:01 PM
> To: SAP Workflow Users' Group
> Subject: Re: Transaction Variants-Workflow
>
> Hello Devireddy,
>
> maybe you'd like to give some more information about what you'd want to
> achieve with that (e.g. removing a certain user group from workflow or
> something), so there might come up some more alternatives to the one
> that I have found:
>
> The Transaction variant will keep the current sy-TCODE and furthermore,
> probably the function that writes the change document sets that tcode
> hard to MM02. So you cannot switch by the change document, but you can
> still create a new transaction (not a variant):
> - Create a new dialog transaction and copy/paste the definition from
> MM01
> - Use transaction SE16 or the appropriate customizing steps (which I
> don't know) to copy the template entries of MM01 in the db tables T130M
> and T135A to your newly defined tcode.
> - Test the execution of your transaction
> In the debugger you'll now see, that the field sy-tcode is properly set
> to your new tcode.
>
> Now you have to option (where the latter one is the one I would prefer):
> - Switch on sy-tcode in your check-FM (possibly won't work, but most
> easiest)
> - Create a container-exit within the creation of the change document
> event creation SWEC (there're templates). Create an additional event
> parameter TCODE and pass the sy-tcode via thie parameter to the check
> function module, where you'll have to read the TCODE from the container.
>
> Best wishes,
> Florin
>
>
>
>
> -------- Original-Nachricht --------
> > Datum: Tue, 4 Mar 2008 08:01:10 +0200
> > Von: "Devireddy Swathi (Dataflo)" <devireddy.swathi at dataflo.co.za>
> > An: sap-wug at mit.edu
> > Betreff: Transaction Variants-Workflow
>
> > Hi,
> >
> > I am triggering my workflow through change documents for Material .I
> > have 2 transaction variants created for MM01.For one of it I don't
> want
> > to trigger workflow.
> >
> > I want to control this in my Check Function Module by raising an
> > exception.Problem is the transaction variants sy-tcode is MM02 for
> > both.in change document history.
> >
> > Is there any way to check from my check function module.
> >
> >
> >
> >
> >
> > Thanks & Regards
> >
> > Swathi Devireddy
> >
> > Coke SCALE
> >
> > Satyam Computer Services Ltd
> >
> > * : +27 745024070
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> --------
> >
> > This email and all contents are subject to the following disclaimer:
> >
> > "http://www.dataflo.co.za/emaildisclaimer.htm"
> >
> >
> >
> ------------------------------------------------------------------------
> --------
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
>
> --------------------------------------------------------------------------------
>
> This email and all contents are subject to the following disclaimer:
>
> "http://www.dataflo.co.za/emaildisclaimer.htm"
>
>
> --------------------------------------------------------------------------------
More information about the SAP-WUG
mailing list