| Author | 
		  Message
		 | 
		
		  | walkklaw | 
		  
		    
			  
				 Posted: Tue Jul 01, 2008 6:52 pm    Post subject: How can I get more debug information for SAP BAPI call? | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 28 May 2008 Posts: 5
  
  | 
		  
		    
			  
				I call BAPI_GDMVT_CREATE in  my message flow, during debug, it got a "Record not found" exception".
 
How or where can I got more debug information? Thanks. _________________ SAP + IBM | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | walkklaw | 
		  
		    
			  
				 Posted: Tue Jul 01, 2008 9:44 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 28 May 2008 Posts: 5
  
  | 
		  
		    
			  
				Ok, I can switch on the user trace on broker, and got the following error information:
 
 
RecoverableException  BIP3514E: An invalid request was sent to the adapter. Primary keys: ''''. 
 
                                       The adapter received an invalid request. Details: Error type = ''InvalidRequestFault''; Error code = ''''; Primary keys: = ''''; Error message = ''BAPI Interface failed to process the request.com.ibm.j2ca.sap.exception.SapBAPIException: ''. 
 
                                       Check that the request is valid. 
 
 
Seems the request bo is not correct. 
 
 
Ok, will post a new thread about the problem. _________________ SAP + IBM | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | keenlearner | 
		  
		    
			  
				 Posted: Mon Jul 07, 2008 9:22 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 24 Aug 2006 Posts: 62
  
  | 
		  
		    
			  
				Take user trace using mqsi trace commands.
 
Step thru the SAP connection Steps. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Duke | 
		  
		    
			  
				 Posted: Fri Jul 25, 2008 12:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 09 Mar 2004 Posts: 49 Location: Belgium 
  | 
		  
		    
			  
				Hi,
 
 
We have also a lot of issue when trying to execute BAPI call.
 
I have found out that activating service trace (mqsichangetrace <broker> -t ...) can provide more detailed information. _________________ Pierre Richelle
 
 
Engineer
 
IBM Certified MQSeries Developper V5.3
 
IBM Certified WMQ Administration V6 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Jul 25, 2008 6:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				It also helps a lot if somebody has verified with the SAP team that if you do the BAPI call with the information you plan on providing as input it will be successful   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | pbojja | 
		  
		    
			  
				 Posted: Fri Jul 25, 2008 7:08 am    Post subject: Increase RFC Trace in SAP Node | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 25 Jul 2008 Posts: 2
  
  | 
		  
		    
			  
				| You can try incresing the RFC trace in the SAP node . Note this will log the SAP trace if the request made to SAP . This will help deciding the root cause of the issue . | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |