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

CRM

Former Member
0 Likes
689

HI ALL,

Please would send me the documentation about CRM.

kind regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
664

Have a look at below link.

<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/customerRelationshipManagement+(CRM)&">CRM Documentation</a>

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

HI ALL,

Please would send me the documentation about CRM.

kind regards.

4 REPLIES 4
Read only

Former Member
0 Likes
665

Have a look at below link.

<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/customerRelationshipManagement+(CRM)&">CRM Documentation</a>

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
664

FORM fm_build_html_top_of_page USING p_html_tab TYPE sdydo_html_table.

DATA: html_line LIKE LINE OF p_html_tab, txt(100).

DATA: lv_gname LIKE ZBI_REFGROUPNO-REFGROUPDESC.

DATA: lv_hno LIKE evbs-HOUSE_NUM1,

lv_stadd LIKE evbs-STREET,

lv_dis LIKE adrc-city1.

  • Build the standard headings text in HTML

APPEND '<! Begin of custom heading insert>' TO p_html_tab.

APPEND '<table>' TO p_html_tab.

  • Row 1

APPEND '<!Row 1><tr>' TO p_html_tab.

  • Column 1 - Program, Requested by

APPEND '<!col1><td>' TO p_html_tab.

APPEND '<table width=210px>' TO p_html_tab.

CONCATENATE '<tr><td>Program</td><td>:&nbsp;' sy-repid '</td></tr>'

INTO html_line.

APPEND html_line TO p_html_tab.

CONCATENATE '<tr><td>Requested by</td><td>:&nbsp;'

sy-uname '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND

'<!col2><td width=100% align=center>' TO p_html_tab.

CONCATENATE '<b><font size = "1.7">'

'Joburg Water' '</b>'

INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '</td>' TO p_html_tab.

  • Column 3 - Client, date etc...

APPEND '<!col3><td>' TO p_html_tab.

APPEND '<table width=210px>' TO p_html_tab.

  • Page No & Date

WRITE sy-pagno TO txt LEFT-JUSTIFIED.

CONCATENATE '<td>Page No.</td><td>:&nbsp;' txt '</td>'

INTO html_line.

  • Date

WRITE sy-datum TO txt LEFT-JUSTIFIED.

CONCATENATE html_line '<td>Date:</td><td>:&nbsp;' txt '</td></tr>'

INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '<!Row 2><tr>' TO p_html_tab.

  • System & time

WRITE sy-sysid TO txt LEFT-JUSTIFIED.

CONCATENATE '<tr><td>System</td><td>:&nbsp;' txt '</td>'

INTO html_line.

  • Time

WRITE sy-uzeit TO txt LEFT-JUSTIFIED.

CONCATENATE html_line '<td>Time</td><td>:&nbsp;' txt '</td></tr>'

INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '</tr>' TO p_html_tab.

APPEND '<!col1><td>' TO p_html_tab.

APPEND '<table width=210px>' TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND

'<!col2><td width=100% align=center>' TO p_html_tab.

CONCATENATE '<b><font class="NORMAL">'

sy-title '</b>'

INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '<!col3><td>' TO p_html_tab.

APPEND '<table width=210px>' TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '</tr>' TO p_html_tab.

APPEND '<!Row 3><tr>' TO p_html_tab.

APPEND '<!col1><td>' TO p_html_tab.

APPEND '<table width=270px>' TO p_html_tab.

CONCATENATE '<tr><td>Interdepartmental Group ID</td><td>:&nbsp;' p_grpid '</td></tr>'

INTO html_line.

APPEND html_line TO p_html_tab.

SELECT SINGLE REFGROUPDESC into lv_gname from ZBI_REFGROUPNO where REFGROUPNO = p_grpid.

CONCATENATE '<tr><td>Interdepartmental Group Name</td><td>:&nbsp;'

lv_gname '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

CONCATENATE '<tr><td><b>Address</b></td><td>'

'</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab. CONCATENATE '<tr><td>House Number</td><td>:&nbsp;'

lv_hno '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

CONCATENATE '<tr><td>Street Address</td><td>:&nbsp;'

lv_stadd '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

CONCATENATE '<tr><td>District</td><td>:&nbsp;'

lv_dis '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

CONCATENATE '<tr><td>Billing Key Date</td><td>:&nbsp;'

p_date '</td></tr>' INTO html_line.

APPEND html_line TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '<!col2><td>' TO p_html_tab.

APPEND '<table>' TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '</tr>' TO p_html_tab.

APPEND '<!col3><td>' TO p_html_tab.

APPEND '<table width=210px>' TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '</td>' TO p_html_tab.

APPEND '</tr>' TO p_html_tab.

APPEND '</table>' TO p_html_tab.

APPEND '<! End of custom heading insert>' TO p_html_tab.

ENDFORM. " fm_build_html_top_of_page

----


  • FORM FM_ALV_LIST_TOP_OF_PAGE *

----


  • ........ *

----


FORM fm_alv_list_top_of_page.

DATA: heading(30) TYPE c VALUE 'Joburg Water'.

DATA: lv_gname LIKE ZBI_REFGROUPNO-REFGROUPDESC.

DATA: lv_hno LIKE evbs-HOUSE_NUM1,

lv_stadd LIKE evbs-STREET,

lv_dis LIKE adrc-city1.

*Check if heading will fit

CLEAR title_flag.

pos = sy-linsz - 10 " for reasonable spacing

- STRLEN( heading ) " length of title

- 23 - 30. " space taken by std headings

IF pos <= 0. " there is not enough space

  • center heading.

pos = ( sy-linsz - STRLEN( heading ) ) / 2.

WRITE AT pos heading.

title_flag = 'X'.

NEW-LINE.

ENDIF.

WRITE 😕 'Program :', sy-repid.

IF title_flag <> 'X'.

  • center heading.

pos = ( sy-linsz - STRLEN( heading ) ) / 2.

WRITE AT pos heading.

ENDIF.

*

  • Calculate right margin

right_mgn = sy-linsz - 19.

WRITE: AT right_mgn 'Page :', sy-pagno,

/ 'Requested By :', sy-uname.

  • check if title will fit in

CLEAR title_flag.

pos = sy-linsz - 10 " for reasonable spacing

- STRLEN( sy-title ) " length of title

- 23 - 30. " space taken by std headings

IF pos > 0. " enough space

  • center title

pos = ( sy-linsz - STRLEN( sy-title ) ) / 2.

WRITE: AT pos sy-title.

title_flag = 'X'.

ENDIF.

  • the rest

WRITE: AT right_mgn 'Date :', sy-datum.

NEW-LINE.

right_mgn = sy-linsz - 19.

WRITE: AT right_mgn 'Time :', sy-uzeit.

  • check if title must be printed

IF title_flag IS INITIAL.

  • center title

SKIP.

pos = ( sy-linsz - STRLEN( sy-title ) ) / 2.

WRITE: AT pos sy-title.

SKIP.

ENDIF.

NEW-LINE.

SELECT SINGLE REFGROUPDESC into lv_gname from ZBI_REFGROUPNO where REFGROUPNO = p_grpid.

WRITE: / 'Interdepartmental Group ID', 30 ':', p_grpid,

/ 'Interdepartmental Group Name', 30 ':', lv_gname,

/ 'Address',

/ 'House Number', 30 ':', lv_hno,

/ 'Street Address', 30 ':', lv_stadd,

/ 'District', 30 ':', lv_dis,

/ 'Billing Key Date', 30 ':', p_date.

ENDFORM. "FM_ALV_LIST_TOP_OF_PAGE