11-25-2009 9:50 PM
Hi Gurus,
I have a problem with a screen value. Let me explain, I have two fields on my screen and I put some values. for example:
Business Object: 0000012 (Field P_CONT)
Partner: 0355 (Field P_INT)
But when I executed the report, the values on the fields are differents:
P_CONT = IEQ0000012
P_INT = IEQ0355
I don't understand why the IEQ letters appear before my values.
I hope you can help me. Thanks!
11-26-2009 4:42 AM
Hello,
As mentioned in the previous posts, it seems as if you have declared the screen input fields as select-options rather than parameters. P_CONT will contain the contenets of the internal table that is declared when you create a variable using select-options. Declare it as parameters. If you can not change that and want to read the value 0000012 then check the variable P_CONT-LOW rather than just P_CONT (assuming that you are entering 0000012 in the first output box of the select option). Similarly P_INT-LOW will give you the value 0355.
Hope this helps.
Regards,
Sachin
11-25-2009 10:06 PM
You appear to be confusing PARAMETERS and SELECT-OPTIONS. Please press F1 on both.
Rob
11-26-2009 12:21 AM
EQ is for equal and the same is correct.
It means you have included I with equal EQ operation.Please take F1 Help on Parameters and Select Options
11-26-2009 4:23 AM
Hi,
Seems like you have declare those fields as select-options. If you want the user to enter only single value, use parameter instead.
Regards
Karthik D
11-26-2009 4:34 AM
Hi
SELECT-OPTIONS acts as a internal table unlike PARAMETERS.
internal table contains 4 columns : sign, option , low and High.
In ur case sign = I, option = 'EQ' & low = '0000012'.
Thats y u are getting like that..
<< Cut and paste without attribution from [SELECT-OPTIONS |http://help.sap.com/abapdocu_70/en/ABAPSELECT-OPTIONS.htm] removed >>>
Press F1 for more information.
Hope it helps..
Moderator message - If you find a link that you think would help, please just post the link.
Edited by: Rob Burbank on Nov 26, 2009 11:20 AM
11-26-2009 4:42 AM
Hello,
As mentioned in the previous posts, it seems as if you have declared the screen input fields as select-options rather than parameters. P_CONT will contain the contenets of the internal table that is declared when you create a variable using select-options. Declare it as parameters. If you can not change that and want to read the value 0000012 then check the variable P_CONT-LOW rather than just P_CONT (assuming that you are entering 0000012 in the first output box of the select option). Similarly P_INT-LOW will give you the value 0355.
Hope this helps.
Regards,
Sachin
11-26-2009 3:57 PM
Thanks a lot! You all help me to understand my error, I wish I could give 10 points to everyone, but the system does not allowed that. =D