Trace WebClient#

1. x.SICF > Service = CRM_UI_FRAME
2. Menu > Edit > Runtime Analysis > Activate
3. Do whatever
4. Switch off runtime analysis + SAT

Business partner / Central person#

Generally persons and employees will be distributed via ALE.
You will find the central persons in t.HRP1000, type CP.

x.BPManage business partners (t.BUT000)
x.crmd_orderManage Tickets (Search with "All")
x.PPOMA_CRMCreate relationship between Org. and User/BP
fb.CRM_BUPA_CREATECENTRALPERSONCreate central person for a business partner
BUA1Ansprechpartner anlegen
BUA2Ansprechpartner ändern
BUA3Ansprechpartner änzeigen
BUG1Geschäftspartner allgemein anlegen
BUG2Geschäftspartner allgemein ändern
BUG3Geschäftspartner allgemein anzeigen
BUG4Geschäftspartner allgemein Löschvor.
BUI1Interessent anlegen
BUI2Interessent ändern
BUI3Interessent anzeigen
BUM1Mitarbeiter anlegen (BP)
BUM2Mitarbeiter ändern (BP)
BUM3Mitarbeiter anzeigen (BP)
BUP1Geschäftspartner anlegen
BUP2Geschäftspartner ändern
BUP3Geschäftspartner anzeigen
FS00001Geschäftspartner anlegen
FS00002Geschäftspartner ändern
FS00003Geschäftspartner anzeigen

Adding fields in BUT000#

Generally the documentations tells you to use
  • Business Data Toolset (BDT) ???
  • Easy Enhancement Workbench (EEW) (x.EEWC & x.EEWB)
but the consultants use their own package, that means
  • the include structure CI_EEW_BUT000 seems to be simply extended
  • additional field value are read with /EIC/EIC_BP_SEARCH_EMPLOYEE->IF_EX_CRM_ICWEB_BP_SEA_EMP~GET_HR_DATA

ERP to CRM data transfer#

Are done withe ALE messages
  • /HRI/HRCD_ABA
  • HRMD_ABA
and reports
  • /HRI/MASTER_IDOC_CREATE_CUST (for example clerks from T526 to /HRI/T526)
  • RHALEINI

Relation between BP, Pernr, UserID#

See also ERP2CRM_HRMD!
Generally BP are saved in

t.BUT000GP: Allgemeine Daten I (PARTNER, NAME_LAST, NAME_FIRST, PERNO, XUBNAME)
You can search for the user ID with OBJID=CP & SCLAS=US in
t.HRP1001Central Person's relations
Assignment is done in following transaction within screen for role "Employee"
x.BPManage BP

Tables#

BUT000Business partner
HRP1000CP (=OBJID=PERNR)
HRP1001CP => BP
HRP5580similar to PA0000 (Status)
HRP5581similar to PA0001 (Company infos)
HRP5582similar to PA0002 (Name)
HRP5583similar to PA0006 (Address)
HRP5584similar to PA0009 (Bank)
HRP5585similar to PA0105 (Communication)
HRP5586similar to ?
HRP5587similar to ?
HRP5588similar to ?

CRMD_ORDERADM_HGeschäftsvorgang (Header)
CRMD_ORDERADM_IGeschäftsvorgangsposition (Item), Details
CRMD_ORDER_INDEXIndextabelle zum OneOrder-Beleg
Relation is CRMD_ORDERADM_I.HEADER=CRMD_ORDERADM_H.GUID

Employee Interaction Center / Workflow#

SWIAWorkitem als Administrator bearbeiten
SWI1
t.HRP5580 HRP1001 BUT000Personalstammdatentabellen

SAP EIC

SAP Interaction Center WebClient

Blog: http://saphrexpert.blogspot.com/2008/12/eic-employee-interaction-center.html

Faq: http://www.eicexperts.com/Docs/EIC_FAQ.pdf

Customizing#

Action#

SPRO > CRM > Vorgänge > Einstellungen für Aktivitäten > Vorgangscustomizing

Regeln#

Nur im WebClient, Application=CRMM_ERM_RULES
https://<server>/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?sap-client=<xxx>&appl=CRMM_ERM_RULES

Index#

t./EIC/D_INDEXIndextabelle

EIC 7#

siehe Ctrl+Alt+Shift+F2

WebClient#

Vom UI-Button zum Coding
1. x.SAAB > Checkpoint Gruppe = CRMUIF_CONDITIONAL_BREAKPOINTS > Aktivierung
2. Benutzer eintragen und alles bei "Persönliche Aktivierung" anmachen
3. WebGUI aufrufen > Zum Objekt navigieren (ggf. mit TAB hinspringen)
4. Alt+F2 > in "UI Framework" und für "5.) View Controller - Handle Event (*)"
5. Dann gefragten Button klicken
6. x.SAAB > Protokoll > Aktualisieren
7. Protokoll aufklappen, Controller suchen
8. x.SE24 > Klasse aufrufen (oder x.BSP_WD_CMPWB), Methode aussuchen (raten), Breakpoint setzen
9. WebGUI wieder aufrufen und durchführen > Debuggern

Content server#

SAP Doku

CSADMINContent-Server-Administration
OAC0Content Repository-Administration
SCMSMOSAP CCMS Monitor for Optional Components für das Monitoring von Content- und Cache-Server
SCMSCACustomizing für Cache-Server

t.CREP_HTTP
r.RSCMSTTest content server
r.RSCMSTH0 or RSCMSTACCache testing

Check also in
RZ20 > SAP CCMS Monitors for Optional Components > Knowledge Provider > ContentServer

Prerequisites:
1. Sie haben über die Transaktion SICF den externen Alias //default_host/sap/bc/contentserver angelegt, der anonyme Anmeldedaten enthält und auf das Zielelement //default_host/sap/bc/contentserver verweist.
2. Um Dokumente anzuzeigen, benötigt das System beim HTTP-Zugriff auf den Content-Server anonyme Anmeldedaten für den Service //default_host/sap/bc/contentserver.
3. service //default_host/sap/bc/contentserver ist aktiv

Doku1

Doku2

SPRO > Customer Relationship Management > Grundfunktionen > Content Management > ...

ISO-Code in T005#

If you get Message B1881 (SM30>T100>B1,881) "Der Länderschlüssel DE ist keinem ISO-Code zugeordnet.",
then you need to check if the country and the ISO-Code (T005-INTCA) exists.

If so, then check structure and content of table T005. The problem is, that fuba.COUNTRY_CODE_SAP_TO_ISO searches the internal table with "BINARY SEARCH" and for that the table must be sorted (!) on the key that is used.
Unfortunately SAP does not care sometimes because it relies on the database to return the values sorted already (which is not garanteed!).
In the case of T005 you need to go to SE14 and rebuild the table with
Menu > Zusätze > "Umsetzung erzwingen"

V_005_BPflegedialog zu T005

Categories#

t.CRMC_ERMS_CAT_ASKohärente Kat. - Aspekte für Kategorisierung (ASP_ID) (Schemata)
t.CRMC_ERMS_CAT_ATKohärente Kat. - Aspektbeschreibungen
t.CRMC_ERMS_CAT_HIKohärente Kat. - Objekthierarchie (TREE_GUID=ASP_GUID)
t.CRMC_ERMS_CAT_CAKohärente Kat. - Kategorien (CAT_ID)
t.CRMC_ERMS_CAT_CDKohärente Kat. - Kategoriebezeichner (CAT_GUID)
t.CRMC_ERMS_CAT_CTKohärente Kat. - Kategoriebeschreibungen (CAT_GUID)
select A.ASP_GUID,A.ASP_ID, A.ASP_STATE, C.CAT_GUID, C.CAT_ID, D.CAT_LABEL
from CRMC_ERMS_CAT_AS A, /* Schema*/
     CRMC_ERMS_CAT_HI B, /* Hierarchy */
     CRMC_ERMS_CAT_CA C, /* Category */
     CRMC_ERMS_CAT_CD D /* Description */
where 	A.CLIENT = '100'
AND	A.ASP_ID='ZEICXYZ'
AND     A.VAL_TO = 99991231235959
and	A.ASP_STATE='R'
AND     B.CLIENT = A.CLIENT
AND     B.TREE_GUID = A.ASP_GUID
and     c.CLIENT = B.CLIENT
and     c.cat_guid = B.NODE_GUID
and     D.CLIENT = B.CLIENT
and     D.lang = 'D'
AND     D.cat_guid = B.NODE_GUID
order by C.cat_id

Email addresses#

Email addresses are generall stored via the "Business Address Services (BAS)
Another keyword is also "Central Address Management (CAM)".

For business partners the email comes from the master HR system via ALE from IT0105.

SOADSAPoffice: Externe Addressen
SOCPSAPoffice: Externe Adressen
SOFFBereichsmenü Sap Office
SBWPSAP Office

Name format / Fullname in business partner search#

It is read in CL_BUPA_IL_EMPLOYEE_HEADER->READ and filled in LS_HEADER_OBJ-FULLNAME.
At the end it comes from fb.BUPA_CENTRAL_GET_DETAIL > fb.ADDR_PERSON_NAME_FORMAT
This function looks at t.BUT000-NAMEFORMAT+NAMCOUNTRY and identifies how the fullname should be assembled.
If no name format is specified then the default rules apply, see

PERFORM standard_nameformat CHANGING it005o.
We had following NAMCOUNTRY in stock: AE AN AT AU BA BE BG BR BY CA CH CL CN CS CZ DK EC ES FI FR GB GR HR HU ID IE IL IN IR IT JO JP KR LU MA MK MX MY NL NO NZ PH PL PT RO RU SE SG SI SK TH TR TZ UA US UY YE ZA.