Hi all!
I am trying to redirect the HAP_DOCUMENT BSPusing the HRHAP00_BSP_TMPL badi. Below are the steps i followed for this:
1)I created a BAdI implementation based on definition HRHAP00_BSP_TMPL.
2)In the method BSP_APPLICATION_GET i assigned the custom BSP application.
<i>METHOD if_ex_hrhap00_bsp_tmpl~bsp_application_get.
application = CUSTOM_BSP_APPLICATION_NAME'.
ENDMETHOD.</i>
3)After i activated the implementation, went to the basic setting of OSA (transaction OOHAP_BASIC) and register the new implementation in exit area AW Web Layout.
4)Now set for a template on the layout tab writer the WEB layout to the custom layout.
5)I called the HAP_DOCUMENT BSP in the web.
Now when i open the documents, i am getting a dump as below: The current program, "SAPLRHAC", had to be terminated because a capacity limit
has been reached.
The method is being executed infinite times and hence the memory limit is exceeded and i get the dump.
Please let me know if i am doing anything wrong in using the badi.
Any suggestions are highly appreciated and points would be awarded accordingly.
Thanks in advance,
manasa
Message was edited by:
manasa