‎2012 Jul 12 10:07 AM
Hi.
I used to use this module function to set default values in list box of infoypes (in HRPAD00INFTY BAdI implementation):
ls_item-key = '001'.
ls_item-text = '001'.
append ls_item to lt_items.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P0001-ANSVH'
values = lt_items
EXCEPTIONS
id_illegal_name = 1.
The result is this:
But if P0001-ANSVH not is a list box, the field doesn't set with any value.
How I can do it? I need do it in the BAdI and with a module function, if it exist (I shouldn't use the XPAD alternatives).
Thanks in advance.
‎2012 Jul 12 10:25 AM
‎2012 Jul 12 10:30 AM
I can't use xpad and infotype is standard. I can enhnace the infotype, but I want try other alternatives.
‎2012 Jul 12 11:53 AM
Any idea?
If for a list box is possible, for a simple field should be more easy...