Re: [sap-dev] change the creator of the purchase requisition.
Posted by
Admin at
|
Share this post:
|
0 Comments
| | Posted by R. Neal Wilhite (Senior Project Manager) on Mar 12 at 10:45 AM | |
SM36 -> Change -> STEP -> Change -> then you change the user name
Neal
-----Original Message-----
From: horacio zapettini via sap-dev <sap-dev@Groups.ITtoolbox.com>
To: R. Neal Wilhite <wilhiten@aol.com>
Sent: Fri, Mar 12, 2010 9:00 am
Subject: RE: [sap-dev] change the creator of the purchase requisition.
Posted by horacio zapettini
on Mar 12 at 9:02 AM
Mark as helpful
Neal,
According to what you can read in http://help.sap.com/saphelp_46c/helpdata/EN/7b/fb96 c8882811d295a90000e8353423/content.htm#U -> uname
"The system field is set by the runtime environment. You can use its value in an ABAP program, but you must not change it"
If SAP tells us ..."you MUST NOT change it..." , what would you do? CHANGE IT? (you only do it AT YOUR OWN RISK... Not adviseable for the OP ... IMO... We should not encourage this behaviour here. )
Horacio
________________________________
De: R. Neal Wilhite via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com]
Enviado el: Viernes, 12 de Marzo de 2010 10:48 a.m.
Para: Horacio Zapettini
Asunto: Re: [sap-dev] change the creator of the purchase requisition.
[http://userimages.toolbox.com/user/b_420467.jpg]
Posted by R. Neal Wilhite (Senior Project Manager)
on Mar 12 at 8:48 AM
[http://images.ittoolbox.com/vt/icons/vote.png]Mar k as helpful<http://it.toolbox.com/api/ContentVote/33685 31/1/1/>
Since it's a background job, you can change the user on the step. Or did I mis-understand what the OP is doing...
Neal
-----Original Message-----
From: horacio zapettini via sap-dev <sap-dev@Groups.ITtoolbox.com>
To: R. Neal Wilhite <wilhiten@aol.com>
Sent: Thu, Mar 11, 2010 6:20 am
Subject: RE: [sap-dev] change the creator of the purchase requisition.
Posted by horacio zapettini
on Mar 11 at 6:22 AM
Mark as helpful
How about logging in with a different user and schedule the job with that user????
I don't think you'd be able to change the user name at runtime. (More or less than changing the system date, system hour...)
BTW, you may ask in a functional group, maybe there they have any tricks...
Horacio.
________________________________
De: sapvolcano via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com]
Enviado el: Mi�rcoles, 10 de Marzo de 2010 11:40 p.m.
Para: Horacio Zapettini
Asunto: [sap-dev] change the creator of the purchase requisition.
[http://userimages.toolbox.com/user/b_1775022.jpg]
Posted by sapvolcano (SAP ABAP Senior Consultant)
on Mar 10 at 9:48 PM
hi exps.
i run the program in the background , but i want to change the creator of the PR , how to do , note: the creator is default to the sap user name.
thanks
__.____._ Neal
-----Original Message-----
From: horacio zapettini via sap-dev <sap-dev@Groups.ITtoolbox.com>
To: R. Neal Wilhite <wilhiten@aol.com>
Sent: Fri, Mar 12, 2010 9:00 am
Subject: RE: [sap-dev] change the creator of the purchase requisition.
Posted by horacio zapettini
on Mar 12 at 9:02 AM
Mark as helpful
Neal,
According to what you can read in http://help.sap.com/saphelp_46c/helpdata/EN/7b/fb96 c8882811d295a90000e8353423/content.htm#U -> uname
"The system field is set by the runtime environment. You can use its value in an ABAP program, but you must not change it"
If SAP tells us ..."you MUST NOT change it..." , what would you do? CHANGE IT? (you only do it AT YOUR OWN RISK... Not adviseable for the OP ... IMO... We should not encourage this behaviour here. )
Horacio
________________________________
De: R. Neal Wilhite via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com]
Enviado el: Viernes, 12 de Marzo de 2010 10:48 a.m.
Para: Horacio Zapettini
Asunto: Re: [sap-dev] change the creator of the purchase requisition.
[http://userimages.toolbox.com/user/b_420467.jpg]
Posted by R. Neal Wilhite (Senior Project Manager)
on Mar 12 at 8:48 AM
[http://images.ittoolbox.com/vt/icons/vote.png]Mar k as helpful<http://it.toolbox.com/api/ContentVote/33685 31/1/1/>
Since it's a background job, you can change the user on the step. Or did I mis-understand what the OP is doing...
Neal
-----Original Message-----
From: horacio zapettini via sap-dev <sap-dev@Groups.ITtoolbox.com>
To: R. Neal Wilhite <wilhiten@aol.com>
Sent: Thu, Mar 11, 2010 6:20 am
Subject: RE: [sap-dev] change the creator of the purchase requisition.
Posted by horacio zapettini
on Mar 11 at 6:22 AM
Mark as helpful
How about logging in with a different user and schedule the job with that user????
I don't think you'd be able to change the user name at runtime. (More or less than changing the system date, system hour...)
BTW, you may ask in a functional group, maybe there they have any tricks...
Horacio.
________________________________
De: sapvolcano via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com]
Enviado el: Mi�rcoles, 10 de Marzo de 2010 11:40 p.m.
Para: Horacio Zapettini
Asunto: [sap-dev] change the creator of the purchase requisition.
[http://userimages.toolbox.com/user/b_1775022.jpg]
Posted by sapvolcano (SAP ABAP Senior Consultant)
on Mar 10 at 9:48 PM
hi exps.
i run the program in the background , but i want to change the creator of the PR , how to do , note: the creator is default to the sap user name.
thanks
Copyright © 2010 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
SAP Development Helper
Posted helpful replies on 5 threads in a group to earn a Bronze Achievement
Related Content
In the Spotlight
White Papers
In the Spotlight
55% of IT Pros Use Social Media to Advance Their Careers. See the Survey Results
View this thread online
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion