2013 Jun 21 5:44 PM
Hi Experts,
I have a problem with adding a new tab at FPE1, FPE2 and FPE3.
I have made the screen, copied the three functions:
FKK_DOCT_SAMPLE_INI_OP
Z_PSCD_EXT_XXX_ADD_OP_FDS_PBO
Z_PSCD_EXT_XXX_ADD_OP_FDS_PAI
... and set it in SPRO.
Everything works fine, tab ok, fields ok, data goes into fileds.
My problem is, when I try to disable the fields (in case of FPE3) than I cannot.
I use the functions FKK_DOCT_AKTYP_GET and FKK_DOCT_SUBSCREENS_MODIF, but when it loops through the screen names it does not find them.
Any suggestions?
Thanks a lot,
David.
2013 Jun 22 10:51 AM
Hi David,
Though i do not understand why in the first place you copy the FMs you have mentioned but you can simply put a sy-tcode check and achieve the input disabling the field.
Snippet -
If sy-tcode is 'FPE3'.
Loop at screen.
if screen_group1 = <your screen group>.
screen-input = 0.
endif.
endloop.
endif.
Please let me know if i missed anything here on your requirement.
BR.
Hi David,
Though i do not understand why in the first place you copy the FMs you have mentioned but you can simply put a sy-tcode check and achieve the input disabling the field.
Snippet -
If sy-tcode is 'FPE3'.
Loop at screen.
if screen_group1 = <your screen group>.
screen-input = 0.
endif.
endloop.
endif.
Please let me know if i missed anything here on your requirement.
BR.
2013 Jun 22 10:51 AM
Hi David,
Though i do not understand why in the first place you copy the FMs you have mentioned but you can simply put a sy-tcode check and achieve the input disabling the field.
Snippet -
If sy-tcode is 'FPE3'.
Loop at screen.
if screen_group1 = <your screen group>.
screen-input = 0.
endif.
endloop.
endif.
Please let me know if i missed anything here on your requirement.
BR.
2013 Jun 23 9:22 AM
Thanks Ankit,
solved the problem. I had to use the copied f/e and the PBO of the new subscreen as well...
It is a bit dodgy, especially that the description of the whole process is soooo dumb in the standard. Your comment made me try this way, so I give you the points...
2013 Jun 24 6:34 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |