Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9071

Re: BAPI_SALESORDER_CHANGE -> dynpro_not_found ???

$
0
0

Hi Kurt,

It looks like somebody has created custom logic (modification or enhancement) to display a screen. This results in an exception, as you currently executing the BAPI in a background process and not a dialog process.

 

You can tell it is custom logic as the screen number begins with a "9", which are usually reserved for customer enhancements. 

 

If you look at the source code extract in ST22 (Use the Tree Menu on the left hand side of the screen "Runtime Error"->"ABAP Developer View"->"Source Code Extract"), you can find the offending screen call. 

 

You can stop the screen call logic by checking if the code is being run in background.  Check if the value of the system field SY-BATCH is set to "X", implying the code is being run in a background process.  If so then do not process the screen display logic. 

 

Note you may need to add some logic to update the BAPI return fields with information pertinent to the screen that would have been displayed. 

 

Cheers,

 

Katan


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>