04-20-2009 9:25 AM
Hi All,
Following is my requirement
I have a tabstrip in which I have a subscreen. Now after working on the subscreen the control moves to another subscreen which contains a table control. Upon a certain condition I need to enable a screen field on the previous subscreen.
Statndard transaction FB70 is used where the GL account(in the table control) is enetered and the Doc currency ( on the first subscreen on the tabstrip) field needs to be enabled after a warning message.
Any suggestions are welcome.
Thanks and Regards,
Sachin
04-20-2009 9:27 AM
Hello,
Check if you are able to use this FM 'DYNP_VALUES_READ' in your requirment.
DATA it_dynfield TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
* translate_to_upper = 'X'
request = 'A'
TABLES
dynpfields = it_dynfield.
Hope it helps.
Regards,
Mansi
04-20-2009 9:33 AM
Hi,
You need to write logic in PBO of the subscreen
DATA : wa LIKE LINE OF tab_tkreq-cols .
LOOP AT<table Control>-cols INTO wa .
if wa-screen-name CS <field name>.
wa-input = 1 .
wa-active = 0 .
endif.
MODIFY tab_tkreq-cols FROM wa .
ENDLOOP.
07-07-2009 4:12 PM