I HAVE A MODULE POOL AND SCRIPT DRIVER PROGRAM.
My requirement is
1)I have a print button on my module pool screen.
When i press i have to pass the input to my script driver program.
2)The script program can be accessed by itself , in that case the user has to input from
so , the user has can go to module pool and click print button
and able to print the data
or he can go to program and execute it and enter the input and run the program and he should be able to print the data.
I have written the code, but i was wonderingis this the correct way or not.
EXPORT ZXXX-NAME TO MEMORY ID 'SAP'. ***zxxx-nnzme is i/p to script
SUBMIT ZSCRIPT AND RETURN.
selection-screen begin of block sb with frame title text-001.
parameters : s_NAME like zXXX-NAME.
selection-screen end of block sb.
IMPORT ZXXX-NAME TO S_NAME FROM MEMORY ID 'SAP'.
1)does this thing works for the both above mentioned scenarios.
2) what happens when i execute zscript from se 38,
import zxxx-name parameter doesn't have any value but s_name has value.
ITS WORKING FINE NOW,BUT JUST WANT TO MAKE SURE.