2009 Apr 28 3:20 AM
Hi.
I have quetions for FM 'DYNP_VALUES_READ'.
As far As I know, this FM should be used for F4help, but I'd like to this for only getting screen values.
If I use this in certain screen value-request, can I use returned table records to list out screen values?
please help me.
thanks.
Hi.
I have quetions for FM 'DYNP_VALUES_READ'.
As far As I know, this FM should be used for F4help, but I'd like to this for only getting screen values.
If I use this in certain screen value-request, can I use returned table records to list out screen values?
please help me.
thanks.
2009 Apr 28 4:40 AM
2009 Apr 28 4:47 AM
hello,
Kindly go through this
PARAMETERS: p_bu LIKE zta_emc-bu_unit,
p_sbu(50) TYPE c. "LIKE zta_emc-sbu_unit.
DATA : itab LIKE zta_sbu_unit OCCURS 0 WITH HEADER LINE.
DATA : itab_bu LIKE zta_bu_unit OCCURS 0 WITH HEADER LINE.
DATA : itab_code LIKE zta_bu_sbu OCCURS 0 WITH HEADER LINE.
DATA: tp_dirty LIKE ddshretval OCCURS 0 WITH HEADER LINE.
DATA it_dynfield TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_sbu.
* the fetching of data has to be done within the AT SELECTION-SCREEN ON VALUE-REQUEST.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
* translate_to_upper = 'X'
request = 'A'
TABLES
dynpfields = it_dynfield.
READ TABLE it_dynfield WITH KEY fieldname = 'P_BU'.
Regards,
Mansi.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |