Testing a FM using :Test data directory" data in AC_CONTAINER

Rick Sample Rick.Sample at gbe.com
Tue Feb 22 11:10:22 EST 2005


Putting in alphabetical order worked. Annoying! But worked. 
I don't see many places in SAP where they do alphabetical ordering. 
Like the WF Template container. Not ordered. I would never have guessed
it. 

I like RH_TEST_ROLE_RESOLUTION verses the test data. 
A complete test of the Role interface and FM. 
Much easier to test production roles when PFAC_DIS is not available. 
(Auditing! Taking away a lot of t-codes...PIA!)
Anyone have a list of absolutely necessary t-codes for Admins. 
I seem to have misplace that list also. Need to justify everything to
these auditors.

I had a list of useful FMs like this one. Can't find it though. 
Anyone have a list / desc of FM, programs, etc. for WF Admins? 
I think I got it from a link somewhere. Very useful especially for 
training new WF'rs

Thanks all...





Rick Sample
SAP Workflow / Developer
Graybar, Inc.
11885 Lackland Rd.
63146-4208
314.573.5822
Rick.Sample at GBE.com



>>> jocelyn.dart at sap.com 2/21/2005 21:21:09 >>>
Hi Rick, 
Much easier to use a program or function module such as
RH_TEST_ROLE_RESOLUTION and fill the container using the macros. 
There can be a number of probs with just filling the container in the 
test function module area.  Case sensitivity for one as the test
function module entry screens convert everything to upper case.  

Jocelyn  

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
Of Rick Sample
Sent: Tuesday,22 February 2005 7:15 AM
To: sap-wug at mit.edu 
Subject: RE: Testing a FM using :Test data directory" data in
AC_CONTAINER

This is EXACTLY what I want / need. 
It allows me to test (debug) my FM roles in Prod. 

Any idea why the "Test data" mess does not work with roles? 
Not a big concern now that I have something else to work with but I
would like to know why. 

Thanks Super Dave!!! 




>>> weston at clockwork.ca 2/21/2005 13:43:54 >>>
Try testing the role via function RH_TEST_ROLE_RESOLUTION with a break
point in
your fm and see if that helps at all.

Dave


Quoting Rick Sample <Rick.Sample at gbe.com>:

> I tried many variations on like this:
> 
> ZLASTAPPROVER                    000001 014 C USSAMPLRL      
> ZPATH                                       000002 001 C 1          

 
> 
> ZCOMPAPPROVALS                 000003 002 C 10             
> ZOPLANT                                  000004 004 C MIMN          

> ZSPLANT                                  000005 004 C MIMN          

> ZBRANCHCOMMELE                 000006 001 C 1              
> ZRESPONSIBLEPLANT              000007 004 C MIMN           
> 
> The Role / FM works. I just need to be able to step through it and
> examine 
> in prod when it fails to resolve to the user I expect it to resolve.

> 
> And, I can get it to stop at any soft break points in the code when
I
> test in dev. via PFAC.
>  
> 
> 
> >>> weston at clockwork.ca 2/21/2005 12:40:34 >>>
> As far as i can remember the data in AC_CONTAINER also needs an
element
> length,
> data type and an index for each element when testing via SE37.
> 
> Dave 
> 
> Quoting "Adao-Cruz, Miguel" <miguel.adao-cruz at capgemini.com>:
> 
> > 
> > Hi Rick,
> > 
> > Try writing 'ZMYELEMENT' exactly the same way (case sensitive).
> > 
> > Cheers.
> > 
> > Miguel
> > 
> > -----Original Message-----
> > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
> Behalf Of
> > Rick Sample
> > Sent: 21 February 2005 17:36
> > To: SAP-WUG at MITVMA.MIT.EDU 
> > Subject: Testing a FM using :Test data directory" data in
> AC_CONTAINER
> > 
> > I am trying to test a role res FM. Using AC_CONTAINER passing in
the
> > data.
> > 
> > I populate the AC_CONTAINER with the values.
> > When I debug the FM and step through the code and get to the
> > SWC_GET_ELEMENT AC_CONTAINER 'ZMYELEMENT'    l_myElement.
> > It is not "getting" the value in the AC_CONTAINER.
> > I open up the AC_CONTAINER and the data is there, but it simply
will
> > not retrieve
> > the value into my var.
> > 
> > OSS note?
> > 
> > Any help is appreciated.
> > 4.6C
> > 
> > Rick Sample
> > SAP Workflow / Developer
> > Graybar, Inc.
> > 11885 Lackland Rd.
> > 63146-4208
> > 314.573.5822
> > Rick.Sample at GBE.com 
> > 
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu 
> > http://mailman.mit.edu/mailman/listinfo/sap-wug 
> > 
> > This message contains information that may be privileged or
> confidential and
> > is the property of the Capgemini Group. It is intended only for
the
> person to
> > whom it is addressed. If you are not the intended recipient,  you
are
> not
> > authorized to read, print, retain, copy, disseminate,  distribute,
or
> use
> > this message or any part thereof. If you receive this  message in
> error,
> > please notify the sender immediately and delete all  copies of
this
> message.
> > 
> > 
> > _______________________________________________
> > 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 
> 
> 
> 



_______________________________________________
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 




More information about the SAP-WUG mailing list