on 06-05-2007 10:28 PM
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
I got it solved by myself!
Thanks,
manasa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi manasa,
We have copied the existing HAP_DOCUMENT application, and implemented the BAdI to refer to the copied application Z_HAP_DOC.
When we open the web preview in the appraisal catalog, the system starts loading. In SM04 we can see that the memory used by the HTTP session goes up to two gigabyte. So no document is shown.
When we use the documents_todo page of our own application Z_HAP_DOC and we do not use the BAdI in the template, we get the correct layout.
However, we would like to use the BAdI in combination with the standard documents_todo list.
Is there something special we need to do in the BAdI implementation?
METHOD if_ex_hrhap00_bsp_tmpl~bsp_application_get.
application = 'Z_HAP_DOC'.
ENDMETHOD.
Thanks,
Luk
Hi manasa
I'm having the exactly same problem.
Can you please tell how did you solve it?
Beside this problem I'm not been able to see the web layout of my form through the PHAP_CATALOG_PA transaction.
It seems to try to open the HAP_DOCUMENT insted my ZHAP_DOCUMENT.
Can you please help me with this too?.
Thanks.
Nico.-
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.