2006 Jun 16 6:37 PM
Hello,
In the program I am writing now, I have the following 2 lines of code:
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
SELECTION-SCREEN COMMENT 22(12) TEXT-003 FOR FIELD P_SUFFIX.
And when I use Direct Processing, an error message pops up:
Generattion errors in program
Source Code: ?????????????????????????????????
Error when generating the selection screen "1000" of report
And when I commented out the second line in the code segement, everything seem to be fine.
May I know what is the problem of that line? Thanks!
Regards,
Anyi
2006 Jun 16 6:44 PM
Hi,
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
SELECTION-SCREEN COMMENT 22(12) TEXT-003 FOR FIELD P_SUFFIX.
why u r giving comment for P_SUFFIX.
Actually PARAMETRS P_SUFFIX is creating the Input filed for File name.
This statement "SELECTION-SCREEN COMMENT" overright the P-SUFFIX. thats what the problem is coming.
So pls change the order:
SELECTION-SCREEN COMMENT 22(12) TEXT-003.
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
Hope this will help you.
- Selvapandian Arunachalam
2006 Jun 16 6:38 PM
hi Zhu,
try this way out
<b>SELECTION-SCREEN COMMENT 22(12) TEXT-003.</b>
for detalis check this link out
http://help.sap.com/saphelp_erp2005/helpdata/en/52/670cdf439b11d1896f0000e8322d00/frameset.htm
Reward if it helps,
Regards,
Santosh
2006 Jun 16 6:44 PM
err....it did not seem to work...I still got the same problem, but thanks a lot anyways.
2006 Jun 16 6:47 PM
try this code.
selection-screen begin of line.
SELECTION-SCREEN COMMENT TEXT-003.
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
selection-screen End of line.
or
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
after that GOto->Text elements->Selection text.
then u assign the Cooment for P_SUFFIX.
then activate. then u will get comment.
2006 Jun 16 6:48 PM
2006 Jun 16 6:38 PM
2006 Jun 16 6:39 PM
2006 Jun 16 6:41 PM
Hi,
It seems that you havent done
SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
SELECTION-SCREEN END OF SCREEN <scrn>.
Best regards,
Prashant
2006 Jun 16 6:41 PM
Try this,
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
SELECTION-SCREEN COMMENT 22(12) TEXT-003 FOR FIELD P_SUFFIX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1 WITH FRAME.
Please do reward if it helps you.
Regards,Felipe Cunha [FpdC]
Message was edited by: Felipe Cunha
Message was edited by: Felipe Cunha
2006 Jun 16 6:44 PM
Hi,
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
SELECTION-SCREEN COMMENT 22(12) TEXT-003 FOR FIELD P_SUFFIX.
why u r giving comment for P_SUFFIX.
Actually PARAMETRS P_SUFFIX is creating the Input filed for File name.
This statement "SELECTION-SCREEN COMMENT" overright the P-SUFFIX. thats what the problem is coming.
So pls change the order:
SELECTION-SCREEN COMMENT 22(12) TEXT-003.
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.
Hope this will help you.
- Selvapandian Arunachalam
2006 Jun 16 6:49 PM
Thanks for all the quick response, but the problem is not with begin of line and end of line though, I did add them and I am pretty sure it did not fix the problem because I got the same error message...but still guys, thanks a lot for helping me out!
Anyi
2006 Jun 16 6:50 PM
We need to swap the statements
SELECTION-SCREEN COMMENT 22(12) TEXT-003 FOR FIELD P_SUFFIX.
PARAMETERS: P_SUFFIX TYPE FILEEXTERN LOWER CASE.Not sure why...but this works
Regds
Manohar
2006 Jun 16 6:53 PM
Thanks a lot guys, this problem is resolved by swapping the order of statements.
Anyi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |