Wednesday, November 24, 2010

Ecc sales order in crm

Ecc sales order in crm

http://forums.sdn.sap.com/thread.jspa?threadID=1419366

 

https://forums.sdn.sap.com/thread.jspa?threadID=1447571&tstart=0

 

 

  lv_kunag   = cl_crm_erp_conversion_tool=>convert_kunnr_to_bp( <doc>-kunnr ).

 

ls_qrorder-guid = cl_crm_erp_conversion_tool=>convert_vbeln_to_guid( ls_qrorder-vbeln ).

To get business role of user


To get business role of user

http://forums.sdn.sap.com/thread.jspa?messageID=9084510#9084510

 

 CL_CRM_UI_PROFILE

 and the method GET_PROFILE


 if it asks for a authorization role check this function module

 SUSR_USER_AUTH_FOR_OBJ_GET


 V_PROFILE ?= CL_CRM_UI_PROFILE=>GET_INSTANCE( ).

CALL METHOD V_PROFILE->IF_CRM_UI_PROFILE~GET_PROFILE
RECEIVING
RV_RESULT = V_ROLE.



Determine the current WebClient Profile

APR 8TH

Posted by johanvz in ABAP Code

No comments

Sometimes you need to determine the WebClient Profile of the logged in user.  The code below you allows you to accomplish this.

In CRM 4.0:
data: lv_profile type crmc_ic_profile .
lv_profile = cl_crm_ic_services=>get_customizing_profiles( ).

In CRM 5.0 and beyond:
data: lr_prof type ref to if_ic_profile,
lv_prof type string.
lr_prof = cl_ic_profile_service=>get_instance( ).
lv_prof = lr_prof->get_profile( ).

ABAP Code, IC WebClient


I dont remember from where i got the below code.. thanks to the author who posted it there..


The relationship of BP(Employee) to Username is as follows:
Tcode: SE16 , In Table HRP1000
Field OTYPE = CP
Field UNAME = Provide Employee username (Should be maintained in Tcode BP, Role= Employee in tab identification)
You'll get OBJID.

Use the OBJID from above in table HRP1001.
OTYPE = CP
OBJID = OBJID (from HRP1000)
RELAT = 207
You'll get the BP number in field SOBID.

 use FM BP_CENTRALPERSON_GET to get BP from USERName and vice versa.


SAP Survey Suite

SAP Survey Suite

http://help.sap.com/saphelp_crm70/helpdata/EN/45/f6832b3a2a6789e10000000a155369/frameset.htm


Adobe interactiive form add/delete row

Adobe interactiive form add/delete row

https://forums.sdn.sap.com/thread.jspa?threadID=1132706


F4 help in adobe forms

F4 help in adobe forms


http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/a1900622ec062be10000000a42189d/frameset.htm


Account Factsheet

Factsheet

http://sites.google.com/site/rupeshpatil/tweets/addsalesordertoaccountfactsheet

 

http://help.sap.com/saphelp_crm70/helpdata/en/4d/2ae3f79e1d49d9be306f7768d55fba/frameset.htm



SAP BEST PRACTICES FOR CRM - BUILDING BLOCKS

SAP BEST PRACTICES FOR CRM - BUILDING BLOCKS