‎2014 Sep 22 7:42 AM
Hello
I copied a z report from production server to development server by copying the code in se38.
now system is no allowing me to delete a text element for parameter.
*----------------------------------------------------------------------------------------------------------------------------
SELECTION-SCREEN BEGIN OF BLOCK b4 with frame title text-012.
PARAMETERS: P_YEAR TYPE GJAHR OBLIGATORY DEFAULT 2014, " Year
P_MONTH TYPE FCMNR AS LISTBOX VISIBLE LENGTH 20 , " Month
P_COMP TYPE BUKRS OBLIGATORY DEFAULT 1000. " Company Code
SELECT-OPTIONS S_PLANT FOR vbrp-werks." Plant
"""PARAMETERS: P_FKART AS CHECKBOX . " Billing Document
SELECTION-SCREEN END OF BLOCK b4.
*----------------------------------------------------------------------------------------------------------------------------
here my requirement is to disable PARAMETER : P_FKART and disable corresponding text element in system.
i tried:
1. deleting the text element row for p_fkart but it appears again when i save the text element.
2.commenting the complete selection block and writing new selection block with text-012.system is taking same text element when i double click.
thanks.
‎2014 Sep 22 10:01 AM
First delete/comment the parameter and activate the program, but first as the PARAMETERS or SELECT-OPTIONS statement are also declaring the field as a DATA statement, you MUST also delete every reference to the parameter in the program, use
icon and check box "in main program".
Then go to text selection tab, save it, you should get a popup asking for removing extraneius selection texts, accept, then activate.
Alt: add a NO-DISPLAY option to the parameter, and insure a default suitable value for your actual requirement.
Regards,
Raymond
‎2014 Sep 22 7:55 AM
Hi Faizur,
Try to comments "PARAMETERS: P_FKART AS CHECKBOX. this line, and activate this program.
Then go to delete text element.
regards,
Archer
‎2014 Sep 22 8:01 AM
hello Dengyong
i tried commenting every line,which contains p_fkart.But system is not allowing me to activate the program.
it is throwing an error at first commented line which contains
* if p_fkart is initial.
.........
.......
thanks
‎2014 Sep 22 8:07 AM
Hello,
If you want to hide that particular field try NO Display.
Thanks
sam
‎2014 Sep 22 8:14 AM
Hi Faizur,
When you are commenting if statement make sure you have commented the corresponding endif statement for that as well.
Thnaks,
‎2014 Sep 22 9:16 AM
Hello Sam
short cut.
I already used this and programm is working . But i wanted to know the reason.i read many blogs,every one mentioned about this problem while copying a report but i am yet to get a solution.
thanks
‎2014 Sep 22 8:09 AM
‎2014 Sep 22 8:10 AM
Hi,
maybe give this requirement to your development center?
1. every programm that you are running in production is already in development system.
2. why do you headline your post with "not able to delete text elements when you originally cant activate your programm due to syntax errors...
you have to solve this yourself... unless its something special...
regards
Stefan Seeburger
‎2014 Sep 22 9:06 AM
Hello Stefan
I dont think there is any syntax error.
1.programm in production has been changed many times and transported to quality .
2. A. programm get activated when i remove comment from ' parameter: p_fkart ' irrespective of if condition of ' IF p_fkart is initial '.
B.as i mentioned in above problem statement, i am not able to remove any of the above five parameters text-element even when program get activated after commenting the same ' parameter' .while saving the text element it appears again.
thanks.
‎2014 Sep 22 12:54 PM
Hi faizur,
first of all: Programm changes are made in development system. not in produktion System. the transport oder is development system -> quality system -> production system.
in your first statement above, you wrote
"i tried commenting every line,which contains p_fkart.But system is not allowing me to activate the program."
why shouldn't you be able to activate a programm when it is not caused by a syntax error?
I mean deleting a selection-parameter from the selection-screen is basic stuff... as written above you normaly dont delete, you set it as "NO DISPLAY".
when you got your programm activated again (and got rid of all the syntax errors you caused with the deletion) . Dont forget to activate the Text-Elements as well and it should work...
regards
Stefan Seeburger
‎2014 Sep 22 8:22 AM
Dear
goto uttlilities, adjust->selection text.. what are you getting there
Regards
‎2014 Sep 22 9:09 AM
‎2014 Sep 22 10:01 AM
First delete/comment the parameter and activate the program, but first as the PARAMETERS or SELECT-OPTIONS statement are also declaring the field as a DATA statement, you MUST also delete every reference to the parameter in the program, use
icon and check box "in main program".
Then go to text selection tab, save it, you should get a popup asking for removing extraneius selection texts, accept, then activate.
Alt: add a NO-DISPLAY option to the parameter, and insure a default suitable value for your actual requirement.
Regards,
Raymond
‎2014 Sep 23 5:06 AM
"
Then go to text selection tab, save it, you should get a popup asking for removing extraneius selection texts, accept, then activate.
"
worked for me .thanks
‎2014 Sep 22 1:13 PM
Hi,
process Raymond's TODO list and additionally check for translations of the text elements.
Regards,
Klaus