2007 Apr 10 10:52 AM
Hello everyone,
I am having a parameter field and a internal table. I am trying to delete all the entries from itab(with out header) other than whats there in parameter field. Both the fields or of type cdpos-fname (Field name). But iam unable to achive it. In debugging i checked and the text in parameter field is changed to <b>upper case</b> even though i gave in lower case.
I am giving parameter text as -
W/Tax code.
I have checked the itab and it has W/Tax Code entries. So i did the validation as below..
if not p_fname is initial.
delete itab where fname ne p_fname.
endif.But its not deleting any even though there are entries present.
Where i am going wrong. Can anyone help me.
Regards
2007 Apr 10 10:55 AM
HI Kesi,
Declare your parameter with LOWER-CASE syntax. It would then have whatver you have given(No upper case convesrion and upper case letters will be in uppercase only).
Regards,
Ravi
HI Kesi,
Declare your parameter with LOWER-CASE syntax. It would then have whatver you have given(No upper case convesrion and upper case letters will be in uppercase only).
Regards,
Ravi
2007 Apr 10 10:55 AM
HI Kesi,
Declare your parameter with LOWER-CASE syntax. It would then have whatver you have given(No upper case convesrion and upper case letters will be in uppercase only).
Regards,
Ravi
2007 Apr 10 10:55 AM
Hi,
the field parameters is converted to upper case, because the domain "FDNAME" does not support lower-case. (you can checked in se11-domains - view definition).
Is the fdname field of your internal table also in Upper Case?
Regards
2007 Apr 10 10:58 AM
Hi ,
Do like this:
Parameters:
p_pname(10) type c <b>lower case</b>.
Reward if helpful.
Regards,
Sandhya
2007 Apr 10 11:01 AM
hi
use the following code
loop at itab where fname ne p_fname.
delete fname from itab.
modify itab
endloop.
hope it will work.
regards
ravish
<b>plz reward points if helpful</b>
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |