Passing Data from a screen to WF & back again

SATVINDER SEKHON s.sekhon at virgin.net
Fri Mar 30 03:45:24 EST 2001


messtab could also be used
----- Original Message -----
From: Winfried Winterstein <winfried_winterstein at yahoo.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: 30 March 2001 07:55
Subject: Re: Passing Data from a screen to WF & back again
 
 
> Hi,
>
> just a comment to the comment: It is VERY dangerous to
> use the get parameter command to retrieve data from a
> transaction called within an object method due to
> following reasons:
> * the parameter could have been changed in another
> session within the same login (parameters are stored
> globally per user per log-in)
> * It could happen that the parameter is not set within
> the transaction, because the user e.g. did not
> create/change the document called or the transaction
> does not update the parameter
>
> Possible solution: Check if there are memory id's set
> (they are session dependant) so that you can make sure
> that the parameter was set within the transaction you
> called. Unfortunately not all transactions use the
> memory id mechanism...
>
> Regards,
> WMW (CSC PLOENZKE)
> --- Richard Schot <Richard.Schot at avelon-it.com> wrote:
> > Hi Menand
> >
> > I hope I understand you right... you want to pass a
> > value to the transaction.
> > This will indeed be done by the code as you
> > provided. Data will only be passed
> > to the transaction if the object is instantiated in
> > your workflow definition
> > otherwise no value will be passed.
> > After calling the transaction you can transfer the
> > data from the transaction
> > back to your container by the statement GET
> > parameter ID.
> >
> > I hope this will help you
> >
> > Regards,
> > Richard Schot
> >
> > SAP Business Workflow Consultant
> >
> > ________________________________
> > Avelon
> > Visit us at www.avelon-it.com
> >
> > >===== Original Message From SAP Workflow Users'
> > Group
> > <SAP-WUG at MITVMA.MIT.EDU> =====
> > >Hi Guys / Gals
> > >
> > >Has anyone got any ideas on how to pass data from
> > an SAP Dialog screen to a
> > >workflow and back again.
> > >
> > >The screen is being called via an Object.Method
> > >Does the following line imply that the container is
> > being updated
> > >automatically or do I have to pass data to the
> > container?
> > >BEGIN_METHOD ZCREATE CHANGING CONTAINER.
> > >  SET PARAMETER ID 'MAT' FIELD OBJECT-KEY-MATNR.
> > >  CALL TRANSACTION 'ZAL10' AND SKIP FIRST SCREEN.
> > >END_METHOD.
> > >
> > >Any help would be much appreciated.
> > >Thanks
> > >
> > >Regards
> > >
> > >Menand Odedra
> > >Kraft Foods UK
> > >Analyst Programmer (Supply Chain)
> > >email: modedra at krafteurope.com
> > >Tel: 01242 28 4748
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text
 


More information about the SAP-WUG mailing list