Usage of Text Symbols in Select Querys and Work Flow

Dart, Jocelyn jocelyn.dart at sap.com
Tue Mar 29 23:50:51 EST 2005


Hi Kesari, 
Text elements rely on the main program id (Sy-repid).  Possibly that was
overridden by the workflow call. 
 
If you want constants, it's better and safer to use the CONSTANTS
statement.

e.g. 
CONSTANTS: c_true type xfeld value 'X'. 

Regards,
Jocelyn

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Kesari Katakam
Sent: Wednesday,30 March 2005 2:30 PM
To: SAP Workflow Users' Group
Subject: Re: Usage of Text Symbols in Select Querys and Work Flow

Thank you for your response.
Its not even a language issue, it is just a select query where we used
constants

the below select query worked at FM level, BOR level, but failed at
Work Flow level.

e.g  Select single * 
       into TOA02 
       where SAP_OBJECT = text-001.

where text-001  is defined as  'BKPF'.

the below select query worked in all cases.

Select single * 
       into TOA02 
       where SAP_OBJECT = 'BKPF'.

please let me know the reason, if any body has encountered  a similar
type of error.

Kesari

On Tue, 29 Mar 2005 10:23:04 +0200, Kjetil Kilhavn <kjetilk at statoil.com>
wrote:
> 
> Can it be a language issue?
> Check that the texts are defined in the logon language of the user
> executing the step.
> --
> Kjetil Kilhavn
> 
>                    Kesari Katakam
>                    <kesari.katakam@        To:     "SAP Workflow
Users' Group" <sap-wug at mit.edu>
>                    gmail.com>              cc:     (bcc: Kjetil
Kilhavn)
>                    Sent by:                Subject:     Re: Usage of
Text Symbols in Select Querys and Work Flow
>                    sap-wug-bounces@
>                    mit.edu
> 
>                    24.03.2005 06:51
>                    Please respond
>                    to "SAP Workflow
>                    Users' Group"
> 
> 
> No.. Texts are very well there in Production, as i said in my mail,
> the select query and the FM and also the BAPI worked very much fine ..
> But the work flow failed.
> 
> On Wed, 23 Mar 2005 14:43:36 +0000, Mark Pyc <mark.pyc at gmail.com>
wrote:
> > It's possible that the Text Symbols are in a seperate transport
which
> > didn't make it to production.
> >
> > Have fun,
> > Mark
> >
> > On Wed, 23 Mar 2005 19:49:11 +0530, Kesari Katakam
> > <kesari.katakam at gmail.com> wrote:
> > > Hi All,
> > >
> > > We had a typical problem, in a function module , a developer has
used
> > > text symbols instead of  constants.
> > >
> > > These things worked in Development and Quality systems when the
work
> > > flow is executed.
> > >
> > > But the work flow failed in Production.
> > > Even though the FM , and the BAPI were executing separately in the
> > > production system, when the work flow is executed, the select
query
> > > failed.
> > >
> > > Can any body explain this behaviour..!?
> > >
> > > (We have changed the text symbols to constants , then the work
flow
> > > worked fine )
> > >
> > > Thanks and regards
> > > Kesari.
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination
of the
> information or copying of this message is prohibited. If you are not
the
> addressee, please notify the sender immediately by return e-mail and
delete
> this message.
> Thank you.
> 
> _______________________________________________
> 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



More information about the SAP-WUG mailing list