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

Re: External subroutine how to pass a value

$
0
0

Hi Ahmad,

 

Try the below example and implement in yours.

 

Report ZTEST2.

 

Data: abc type char1,

          xyz type string.

 

perform get using  abc  changing xyz.

 

 

Form get using p_abc  changing p_xyz.

 

If p_abc = 'X'.

   p_xyz = 'True'.

else.

   p_xyz = 'False'.

endif.

 

endform.

  

 

Report ZTEST1.

 

parameter p_abc type char1.

 

Data : xyz type string.

 

perform get(ZTEST2) using abc changing xyz.

 

write:/ xyz.

 

 

Now try to run report ztest1 with parameter as 'X' or else keep it blank and check the result with debugging.

 

 

Regards,

Shadab.


Viewing all articles
Browse latest Browse all 3017

Trending Articles



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