Anyone know what can cause this role resolution problem?

Mark Pyc mark.pyc at gmail.com
Fri May 20 06:27:32 EDT 2005


G'day Paul,

Firstly there is a bit of an odd issue when you call Role FMs by hand
in SE37 (or equiv). When filling the container be sure to fill it in
in alphabetical order. Why? Just because.

Secondly you can debug the PFAC simulation, it just a bit of a hassle.
Create a Desktop Shortcut in the client where you want to debug.
Change the Type to 'System Command' and set the command as '/h'. Call
it something like 'Debug client 123'. It will work for any pop-up
debugging in that client.

Put a dynamic break-point in the code of the FM you want to debug. Go
to PFAC and resize the window so you can see the icon on the desktop.
Open the simulate window. Click and drag the desktop short-cut onto
the pop-up titlebar - the debugger is invoked. Hitting continue should
take you to your break-point. Sometimes this plays up. You can try
using the menu set breakpoint at function-module and enter the FM
name.

Have fun,
Mark

On 5/19/05, Knuth, Paul <pknuth at hersheys.com> wrote:
> 
> 
> When I execute (pfac_dis / test) standard role 134 I get a different result
> from what I get when I execute function module EDI_ROLE_FOR_PROCESSING.  
> 
>  
> 
> I pass the IDOC Number to the standard role and I set DOCNUM in the function
> to IDOC number using the debugger.
> 
>  
> 
> The function returns the organization specified on the partner profile
> (we20) and the rule returns the IDOC Administrator.
> 
>  
> 
> Why can be causing this?  I do not understand how I can be getting different
> results when the role calls the function.  I tried adding breakpoints to the
> function but the breakpoints do not have any impact when I simulate the
> rule.
> 
>  
> 
> Any help is greatly appreciated.
> 
>  
> 
> 
> Thanks,
> 
> Paul Knuth
> 
> Hershey Foods Corporation
> 
>  
> _______________________________________________
> 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