Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FKK_DOCT_SAMPLE_INI_OP problem

Former Member
0 Likes
749

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
673

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.

Happy to Help David.

BR.

3 REPLIES 3
Read only

Former Member
0 Likes
674

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.

Read only

0 Likes
673

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...

Read only

0 Likes
673

Happy to Help David.

BR.