BSP Value Input Help Popups Version 2.0 Part 2
Part #2
NOTE
: I had to break this weblog up into two parts because I see to have hit some sort of size limitation somewhere. My weblog kept getting cutoff at a certain point. The following is a link to part one.
Download Link
Now you can download the code and screen shots here.
function z_e_rfc_user_hv_exit.
*”—-
““Local interface:
*” EXPORTING
*” VALUE(IDATA) TYPE ZES_USER_ADDR_TBL
*” VALUE(KEY_FIELD) TYPE STRING
*” VALUE(VALUE_FIELD) TYPE STRING
*” VALUE(DISP_FIELDS) TYPE STRING_TABLE
*”—-
select * from user_addr into table idata.
sort idata by bname.
key_field = ‘BNAME’.
value_field = ‘NAME_TEXTC’.
field-symbols:
Already I am thinking about what I want to do with version 3.0. I have been considering adding some of the Personalization functionality that Ulli Hoffmann described in weblogs over the past few weeks. It is interesting to see how development tips from different members starts to come together here on SDN.
This is really nice. At last someone did the effort to create an acceptable input help for BSP.
However, when I use this in an application that manages the sessions using the SYSTEM page session_single_frame.htm, it always asks me to login again (probably because the input help is in another BSP application).
Is there another solution than always copying the code to the application you want to use it in and creating custom BSP extensions?
thanks,
Tim
not quite sure what I am missing but I am getting syntax error "Field MC_CONTENT is unknown" when I bring in the code for method 'RUNTIME_IS_VALID' for the class ZCL_ES_BSP_ELMNT_INPUT_HELP??
Any ideas?
Wolfgang
Hi,<br/><br/>i am very happy about F4 functionality but fur my purpose i think of a possibility to pass an import parameter to the exit function. Like this:<br/><br/><zf4help:inputHelpV2 id="IF2" <br/>rfcFunction = "THIEFR3_TEST_F4_HELP('SOURSYSTEM=02')"<br/>value = "<%= p_value %>"><br/></zf4help:inputHelpV2><br/><br/>So i want to pass value '02' for import parameter SOURSYSTEM in my example. Have you made or seen such an enhancement? Thanks in advance for your comment.
I want to use F4 help within a tableview as a replacement bee within the tableview iterator.
When i call the F4 help i want to restrict the list of values in the value help according to some othe values within the same row. Lets say within the row i have entered plant 'A', so that i want to show only materials of plant 'A' within the F4 value help for material. Therefore i must pass a where-clause (plant = 'A') to the exit function. At least that was the plan i have.
Do you have an idea/a hint how i can achieve such
a thing. Thanks in advance!
Frank