‎2012 May 05 10:57 AM
Hello, All!
I need to define 2 Selection Criterias for InfoSet based on LDB PCH:
1) for field in custom table. To display this field in report I have created extra field.
2) for field from database.
Both Selection criteria were created, searchelps, connected with fields are worked well. But output records were not restricted by criteria values. According this topic
http://scn.sap.com/thread/684387 in Check Coding for Element in event At selection-screen for each criteria i should write code
Get...
Check <select-option name>.
What i should write after GET? What does it mean?
How it will be work for 1-st criteria? I Define variable for SelCrit in code section 1 DATA:
DATA: z_per like ZHRPADL01-perio.
In defining SelCrit wrote in FOR z_per.
After that searchelp for Criteria started to work.
But where i can write logical link between this Criteria and extra field?
Thanks for help.
‎2012 May 05 11:49 AM
‎2012 May 05 11:59 AM
There is InfoSet with customer selection criteria. InfoSet Query, based in this Infoset, have addition selection field on selection screen. I need that query use this value to restrict result. But use or do not use this field, my query has the same result.
I made a mistake in last link, I have a question about this topic
‎2012 May 05 12:17 PM
‎2012 May 05 12:40 PM
Thanks for anwer. I read this, It is the same with http://help.sap.com/erp2005_ehp_04/helpdata/EN/30/6b7538c9a8ee45e10000009b38f8cf/frameset.htm
My question is for this part
"For every selection that is defined by the InfoSet or provided by the logical database, you can create code at the AT SELECTION-SCREEN in order to carry out checks. Ensure that the cursor is positioned on a selection in the overview screen for the available selections, and then call the Check code for element function. "
Please , give me example for checking code. In my case I need only records, where <field assign with SelCrit> = <Value of SelCrit>