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

David Weston weston at clockwork.ca
Mon Feb 21 14:43:54 EST 2005


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
> 
> 
> 





More information about the SAP-WUG mailing list