cancel
Showing results for 
Search instead for 
Did you mean: 

insert a text module in my custom ISR form

Former Member
0 Kudos

Dear All,

I am facing an issue when trying to insert a text module in my custom ISR form .

I have created a custom text module, and inserted the same in the context of my form. This form is linked to my ISR scenario.

On running this scenario via portal, the textmodule does not show any value .

Has anyone faced this issue before ? If so, can you pls help me out.

Thanks in advance,

Aditi

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Aditi,

You can create text elements insteadin the intialization method of the BADI implementation.Please follow the below steps:

1)we create a characterstic'TEXT' OF TYPE STEXT.THIS IS 40 CHARCTER LONG.

2)Now in the initialize method write:

method IF_EX_QISR1~INT_SERVICE_REQUEST_INIT.

data ls_special_data type qisrsspecial_param.

READ TABLE special_data INTO ls_special_data

WITH KEY fieldname = 'TEXT'.

ls_special_data-fieldvalue = 'Test Text'.

MODIFY special_data FROM ls_special_data INDEX sy-tabix.

endmethod.

3)Double click on the 'Jai Hanuman' will ask u to create a text element .Say yes and this will create a text element exactly the same way we do for the any report.

This will work and also provide the option of multilingual capability.

Regards,

Amita Gupta

Former Member
0 Kudos

Dear Amita.

This is a good suggestion. I can make use of text elements..the only issue would be that of performance, as i have many such texts ot be inserted in the form . Using multiple Read Table for the hardcoded text might hit the performance..

I think the best option would be to hardcode the texts at the form level itself.

Thanks

Aditi