on 11-19-2007 9:30 AM
Hi experts,
I'm using BSP now and have a BSP page with free comment part.
people view the page could leave their comment there.
I have to store those comments into infotype table.
the length of the comment is unknown....
so how can I do this....
Please help me out with this...
Thank you for your time
Message was edited by:
Anna Sui
you can use a htmlb:textedit or btf:editor for user input . where is the difficulty in desgning the layout or with updating the infotype.
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Raja
the way you mentioned is the lay out of the BSP page..
so after the comment is added into the textedit I can also get the content in method: DO_HANDLE_DATA.
My point is if the text is too long how can i split them? By what signal?
and I found most standard infotype like HRP1002, has a field named:TABNR.
and table named HRT1002 with the following structure
field data_element
MANDT MANDT
TABNR HRTABNR
TABSEQNR HRTABSEQNR
.INCLUDE PT1002
TLINE HRLINE79
TFORMAT TDFORMAT
this table store the lines of the comments and the content.
so how can i store the comment into the table and how to relate table HRPXXX and table HRTxxx?
null
Message was edited by:
Anna Sui
for splitting the text you can use FM
CONVERT_STRING_TO_TABLE
and for updating infotype, i dont have much experience, but checked with my friends and i was told you can use HR_INFOTYPE_OPERATION fm to update the infotype which will take care of updating relevant dependant tables as ell.
Regards
Raja
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.