Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all 4552 articles
Browse latest View live

BP_HEAD_SEARCH - Values

$
0
0

Hello Experts,

 

There is a requirement in which i am working on and i need Expert advice from you all. 

 

there are two system which are interacting in my project.

 

PRM   (Partner system, "CRM")

    |

CRM (CRM system).

 

Both are CRM system's only and the only difference is , PRM system will be exposed to partner and there will be no data stored in this system due to security reasons. All data will be provided to the Partner via RFC calls. 

 

On PRM i am creating a F4 help where i am going to call BP_HEAD_SEARCH as a Pop up in my F4 help.  Ideally BP_HEAD_SEARCH Tries to get the value from BUT000 table of PRM. But i need the values from CRM BUT000 table ! Is there any way we get the data from CRM BUT000 and show in PRM by using standard BP_HEAD_SEARCH Component.


Please suggest.


BR,

Nikhil Kulkarni


BOL - CRM - Query Parameters

$
0
0

Hi All,

 

I need your help for the following issue.

 

TX -> GENIL_BOL_BROWSER

CONPONENT SET -> BTBP

SEARCH OBJECT -> BTQSrvOrd

 

The problem is that when I search with the parameter CHANGED_AT the query is not working.

But others parameters are working OK, for example BU_PARTNER.

I need filter Service Orders by CHANGED_AT from table CRMD_ORDERADM_H.

So I need add this filter in Search Structure of BTQSrvOrd

 

 

When I search by CHANGED_AT, the result are all Service Orders.

But I need filter orders that was modified from any date.

 

Any Idea?

 

Thanks!

How to send Email to customer when clicked on hyperlink on SAP CRM web UI

$
0
0

Hi all,

 

I am working with SAP CRM 7.0 EHP1. I have one field named Email on Complaint description page on Web client UI. I have made the field a hyperlink by using the setter getter methods of attribute in component workbench for the component -BT120H_CPL. Now I want to send one mail to customer who have raised the complaint when clicked on the hyperlink Email through SAP CRM if possible or by using Microsoft  outlook(Microsoft outlook is default mailing server on the system).


Please help !

 

Thanks and regards,

Kavita Chaudhary

Mobile: 8800222151

How to set filters to a Result view

$
0
0

Hi All,

 

   How to set filters to a result view in web UI.

 

 

Thanks & Regards

Nitish.

Create Z attributes in Standard BOL Object

$
0
0

Hi community,

 

Anyone knows how can i add a new custom attribute in a standard BOL object manually or step-by-step? The new fields are not possible to add by AET or EEWB because the BOL object is not available.

 

In my specific case, i want to add two fields in object BuilSEPAMandate.

 

Also, some BADI should be raised to fill those fields in DB...

 

Thanks,

André Mendes

Messages in Search help Pop Up

$
0
0

Hello Experts,

 

I have created a Elementary search help in Data dictionary and have used for Web UI Fields.

 

Now the search criteria is appearing as mentioned in elementary search help. I want to throw a error message if the user clicks on search without entering search criteria.

 

i tried to add message in global message container, but the message is not displaying on the popup, message gets added to Global message container but will be shown once the pop up closes. I need to show the error message on Search help pop up screen only.

 

Please suggest how to make these fields mandatory on search help.

 

BR,

Nikhil Kulkarni

Getting Payment Form and Service Plan in BADI using CRM_ORDER_READ_OW

$
0
0

Hello!

 

I need to get all the payment form information and the service dates of an order from a BADI on the CHECK_BEFORE_SAVE method in CRM_ORDER_SAVE. I saw that the CRM_ORDER_READ_OW could get SERVICEPLAN_I and PAYPLAN_D objects. The problem is that it does not fetch this information and the tables that I'm importing remain initial.

 

Is there any other function that I could use to get this info?

 

By checking this function, it seems that it also calls another function that gets the allowed objects list and none of these two tables are included on that list. Why is this? Am I missing an export parameter or something?

 

I will really appreciate your help. Here's part of the code.

 

 

Thank you!

 

  INCLUDE CRM_OBJECT_NAMES_CON.  INCLUDE OLE2INCL.

TYPES:
  BEGIN OF ClientAddr,    STREET     TYPE AD_STREET,    HOUSE_NUM1 TYPE AD_HSNM1,    HOUSE_NUM2 TYPE AD_HSNM2,    POST_CODE1 TYPE AD_PSTCD1,    CITY2      TYPE AD_CITY2,    CITY1      TYPE AD_CITY1,    REGION     TYPE REGIO,    TEL_NUMBER TYPE AD_TLNMBR1,  END OF ClientAddr,  BEGIN OF ClientData,    NAME_ORG1  TYPE BU_NAMEOR1,    TAXNUM     TYPE BPTAXNUM,  END OF ClientData.

* Tablas internas de la función  DATA:          COMMENTS TYPE STANDARD TABLE OF THEAD WITH HEADER LINE,          ORDERTAB TYPE CRMT_OBJECT_GUID_TAB,          IMPORTOB TYPE CRMT_OBJECT_NAME_TAB,          ORDERADM TYPE CRMT_ORDERADM_I_WRKT,          ORDERENC TYPE CRMT_ORDERADM_H_WRKT,          ACTIVITY TYPE CRMT_ACTIVITY_H_WRKT,          PRODUCTO TYPE CRMT_PRODUCT_I_WRKT,          PARTINFO TYPE CRMT_PARTNER_EXTERNAL_WRK,          QUANTITY TYPE CRMT_SCHEDLIN_WRKT,          PAYMPLAN TYPE CRMT_PAYPLAN_D_WRKT,          SERVPLAN TYPE CRMT_SERVICEPLAN_I_WRKT,          GCLIENTE TYPE ClientData,          ACLIENTE TYPE ClientAddr,          SOUTCOME TYPE CRMT_SRV_SUBJECT_COM,          ORSTATUS TYPE CRMT_STATUS_WRKT,          GUIDNAME      TYPE THEAD-TDNAME,          "Conversión de GUID Para FM GETPARTNER          PARTNUMB(10)  TYPE N,                     "Conversión de PARTNERNUMBER para SELECT GCLIENTE          FMENSAJE(277) TYPE C,          OBSERVAC(29)  TYPE C,          GUIDCHAR(32)  TYPE C,          IDOBJETO      TYPE CRMT_OBJECT_ID,          LISTCODE(10)  TYPE C,          BYPASSAU      TYPE C,          W_ACTIVI TYPE LINE OF CRMT_ACTIVITY_H_WRKT,          W_ENCABE TYPE LINE OF CRMT_ORDERADM_H_WRKT,          W_PRODUC TYPE LINE OF CRMT_PRODUCT_I_WRKT,          W_QUANTI TYPE LINE OF CRMT_SCHEDLIN_WRKT,          W_PAYMPL TYPE LINE OF CRMT_PAYPLAN_WRKT,          W_SERVPL TYPE LINE OF CRMT_SERVICEPLAN_I_WRKT,          W_STATUS TYPE LINE OF CRMT_STATUS_WRKT,          TEMPINT1      TYPE I,          TEMPSTRI(20)  TYPE C,          TEMPSTR2(2)   TYPE N,          UNIDADMD(20)  TYPE C,          CANTIDAD(4)   TYPE C,          BIPERON TYPE OLE2_OBJECT,          RETURNS TYPE OLE2_OBJECT,          LOGHAND TYPE BALLOGHNDL.                 "Log de la Función ORDER READ OW  GUIDNAME  = GUID.  GUIDCHAR  = GUID.  BYPASSAU  = 'X'.  INSERT GUID INTO TABLE ORDERTAB.  CALL FUNCTION 'READ_TEXT'    EXPORTING      ID                      = 'ZCOM'      LANGUAGE                = 'S'      NAME                    = GUIDNAME      OBJECT                  = 'CRM_ORDERH'    TABLES      LINES                   = COMMENTS    EXCEPTIONS      ID                      = 1      LANGUAGE                = 2      NAME                    = 3      NOT_FOUND               = 4      OBJECT                  = 5      REFERENCE_CHECK         = 6      WRONG_ACCESS_TO_ARCHIVE = 7      OTHERS                  = 8.  IF SY-SUBRC <> 0.    COMMENTS-TDOBJECT = '*'.    COMMENTS-TDNAME = 'Sin Comentarios'.    APPEND COMMENTS.  ENDIF.  READ TABLE COMMENTS.  OBSERVAC = COMMENTS-TDNAME(29).  CALL FUNCTION 'CRM_ORDERADM_I_READ_PARTNER_OW'    EXPORTING      IV_HEADER           = GUID    IMPORTING      ES_MAIN_PARTNER_WRK = PARTINFO.  INSERT GC_OBJECT_NAME-ORDERADM_H     INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-ORDERADM_I     INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-SCHEDLIN       INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-PRODUCT_I      INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-ACTIVITY_H     INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-PAYPLAN_D      INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-SERVICEPLAN_I  INTO TABLE IMPORTOB.  INSERT GC_OBJECT_NAME-STATUS         INTO TABLE IMPORTOB.  CALL FUNCTION 'CRM_ORDER_READ_OW'   EXPORTING     IT_HEADER_GUID                = ORDERTAB     IT_REQUESTED_OBJECTS          = IMPORTOB     IV_NO_AUTH_CHECK              = 'X'   IMPORTING     ET_ORDERADM_H                 = ORDERENC     ET_ORDERADM_I                 = ORDERADM     ET_PRODUCT_I                  = PRODUCTO     ET_SCHEDLIN                   = QUANTITY     ET_PAYPLAN_D                  = PAYMPLAN     ET_SERVICEPLAN_I              = SERVPLAN     ET_STATUS                     = ORSTATUS    CHANGING      CV_LOG_HANDLE                = LOGHAND.  READ TABLE ORDERENC INDEX 1 INTO W_ENCABE.  READ TABLE ACTIVITY INDEX 1 INTO W_ACTIVI.  READ TABLE ORSTATUS INDEX 1 INTO W_STATUS.  IF SY-UNAME = 'MFRANCO'.    BREAK-POINT.  ENDIF.  CALL FUNCTION 'CRM_ACTIVITY_OUTCOME_READ'   EXPORTING     IV_ACTIVITY_GUID       = GUIDCHAR   IMPORTING     ES_STATUS_REASON       = SOUTCOME.  CONCATENATE SOUTCOME-KATALOGART SOUTCOME-CODEGRUPPE              INTO LISTCODE.  IF W_STATUS-STATUS = 'E0001' AND  LISTCODE = 'A2ZPGT1' AND     ( SOUTCOME-CODE = 'ZREG' OR SOUTCOME-CODE = 'ZCEF' OR       SOUTCOME-CODE = 'ZRET' ).    CREATE OBJECT BIPERON 'EjemploOLEObj.BiperonMsgAutoObj'.    CALL FUNCTION 'CRM_ORDERADM_H_OBJECTID_DET_OW'      EXPORTING        IV_HEADER_GUID                = GUID     EXCEPTIONS       ERROR_OCCURRED                = 1       NO_NUMBER_RANGE_DEFINED       = 2       OTHERS                        = 3.    IF SY-SUBRC <> 0.      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.    ENDIF.    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'      EXPORTING        IV_ORDERADM_H_GUID               = GUID     IMPORTING       EV_OBJECT_ID                     = IDOBJETO     EXCEPTIONS       ADMIN_HEADER_NOT_FOUND           = 1       OTHERS                           = 2.    PARTNUMB = PARTINFO-PARTNER_NO.    SELECT SINGLE K~NAME_ORG1 D~TAXNUM    INTO CORRESPONDING FIELDS OF GCLIENTE    FROM BUT000 AS K      INNER JOIN DFKKBPTAXNUM AS D ON K~PARTNER = D~PARTNER    WHERE K~PARTNER = PARTNUMB.    SELECT SINGLE STREET HOUSE_NUM1 HOUSE_NUM2           POST_CODE1 CITY2 CITY1 REGION    INTO CORRESPONDING FIELDS OF ACLIENTE    FROM ADRC    WHERE ADDRNUMBER = PARTINFO-ADDR_NR.    LOOP AT PRODUCTO INTO W_PRODUC.      SELECT SINGLE MSEHL INTO TEMPSTRI      FROM T006A      WHERE MSEHI = W_PRODUC-PROCESS_QTY_UNIT AND            SPRAS = SY-LANGU.      READ TABLE QUANTITY INTO W_QUANTI WITH KEY ITEM_GUID = W_PRODUC-GUID.      TEMPINT1 = W_QUANTI-QUANTITY.      TEMPSTR2 = TEMPINT1.      CONDENSE TEMPSTRI.      CONCATENATE UNIDADMD TEMPSTRI '(' TEMPSTR2 ')' INTO UNIDADMD.      IF SY-TABIX >= 2.        EXIT.      ENDIF.    ENDLOOP.    CONDENSE UNIDADMD.    CONCATENATE IDOBJETO '-' UNIDADMD '-' GCLIENTE-NAME_ORG1 '_NIT:'                GCLIENTE-TAXNUM ',' ACLIENTE-STREET '-' ACLIENTE-HOUSE_NUM1 '-'                ACLIENTE-HOUSE_NUM2 '_ZONA_' ACLIENTE-POST_CODE1 '_'                ACLIENTE-CITY2 ',' ACLIENTE-CITY1 ',' ACLIENTE-REGION ',Tel:'                ACLIENTE-TEL_NUMBER ',' OBSERVAC ',' SY-DATUM ',' SY-UZEIT    INTO FMENSAJE.    CONDENSE FMENSAJE.    CALL METHOD OF BIPERON 'EnvMsgOA' = RETURNS      EXPORTING #1 = W_ACTIVI-ACT_LOCATION #2 = IDOBJETO                #3 = FMENSAJE.    CALL FUNCTION 'ENQUE_SLEEP'      EXPORTING        SECONDS             = 1     EXCEPTIONS       SYSTEM_FAILURE       = 1       OTHERS               = 2.    FREE OBJECT BIPERON.  ENDIF.

 

 

Button issue

$
0
0

Hello all,

 

When i press on Personalise button from IC web, nothing happens. i checked and its not an authorisation issue!

 

Could you please let me know what i should do to get it opened?

 

Regards,

KP.


How do find Z Componet (BSP_WD_CMPWB) from Z class or Interface.

$
0
0

Hi All,

 

I have a z class in SE24 which are being used or created from BSP_WD_CMPWB but i am not sure for which Component it has been created.

If i used  WHERE-USED its not showing any details.

 

Mark.

view not copied or enhanced with wizard: processing not possible : unable to create inbound plug

$
0
0

Hi Expert,

 

While creating the inbound plug in view using component structure browser , I am getting the error , "view not copied or enhanced with wizard: processing not possible

 

 

Regards

Kishor

Automatically Populate role and relationship based on security role

$
0
0

Hi ,

 

I have requirement where I need to update ROLE and RELATIONSHIP based on Security Role(Business Role) while creating corporate account or opportunity.

 

In which component these changes will come. I guess this is to be added in some global component.

 

Please suggest the steps I need to do to achieve above functionality.

 

Rgds

Ankesh

ELM issues- Not able to upload Mobile number

$
0
0

Hi,

 

   We are trying to upload the prospect through ELM. we are not able to find mobile number field  in mapping format.

 

We are able to find telephone number but mobile number is mandatory for us. IS it possible to upload mobile number through ELM.

 

With Regards,

Selvam T

Add custom fields to product standard assignment block

$
0
0

Hello,

 

I need to add two new fields in the assignmnt block accessories (product)

 

image1.jpg

 

I was triying with AET but i dont know which to select in "Part of a BO".

 

image2.jpg

It's ok? or exists any other way to do..

 

Please help me.

BOL Buffer problem, object changes in Badi not getting reflected in BOL buffer

$
0
0

Dear All,

 

I am updating parent item status using PPF Action BADI which is scheduled for the item. This change in parent item status from action Badi triggers another Badi which updates staus of subitems of this item. Now when I navigate from item detail page to Order detail page, I find that item status is shown correctly but sub items staus have not been changed. When I debugged I found that status for items and sub items have been changed in object buffer, but changes of sub item statuses have not been reflected in BOL buffer. When I bypass the Bol buffer while reading the status data, status is shown correctly on UI.

 

I want to know, what shall I do in the Badi that status change of item gets reflected correctly in BOL buffer. My assumption was that if we write something in Badi using standard FMs then BOL buffer should be adjusted automatically. But strangely it fails in this scenario.

 

Thanks for your suggestions in advance.

 

Regards,

Vimal

CRM Activity Status change BAPI / BADI

$
0
0

Hi,

 

The requirement I have as of now is like this:

 

An Activity which has been 'Completed' needs to be changed back to the 'Open' Status for the user to make some change and then again change it back to 'Completed' status. I am looking for a BAPI to do the same. Can anyone help me if I can get a BAPI / BADI to do the same ?


How to make outbound plug to Public attr

$
0
0

Hi All,

 

           I am trying to call outbound plug from get_v method for f4 help. But when i click on f4 help, it getting dump by giving below error.

        

View 'ZXXXX/GeneralData' does not have the public outbound plug 'OP_FINDXXXX' for value help navigation

 

In get_v method, using below piece of code.

     CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_navdescr
     EXPORTING
      iv_outbound_plug = 'FINDXXXX'.                    "#EC NOTEXT

 

My concern is how to make Outbound plug to public or if there any other way to call Outbound plug from Get_v then please advice.

I appriciate your suggestion.

 

Thanks

RI

Business partner Archive Issue in Web UI

$
0
0

Hi All,

 

I have a requirement to set the archive flag in BP while edit it in Web UI . Once user select status as close in EDIT mode of BP and press SAVE button then it should set the archive flag in backend.

 

could you please let us know where can I write the code so that after pressing save button after editing the data BP can be archived.

 

I tried writing code in PARTNER_UPDATE badi using FM - BAPI_BUPA_CENTRAL_CHANGE but it is raising Abort message and not working.

 

Please advise.

 

 

Regards

ESH modeler - how to filter data

$
0
0

Hi,

I've setup indexing in TREX in Enterprise Search for activities data from CRM (in ESH_COCKPIT). But now I need to filter data available in this search. I want to index only some particular activities types in TREX. How I can do it?

(BADI, esh_modeler, or else)?

 

BR
Radek

Where to find text in Notes area generated automatically?

$
0
0

Hi Colleagues,

 

The following screen shot is about ZS14 Activity, when creating this activity, text in Notes area is generated automatically. I can find text stored in one template called 'ZZS_ZS14_TEMPLATE' via t-code SO10, and can read this template using funtion module 'READ_TEXT', but where to find this part of coding to generate this text?

screenshot.png

 

Kind Regards

Andie

Exception while defining value attribute to Model Node

$
0
0

Hello Friends,

 

I have added value attribute to an existing context node in component BT121H_SLSC,  BTPARTNERSET context node. Now after adding the value attribute an exception is triggering as

 

"Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY"

 

I have checked  source code of mentioned class, reference of CL_BSP_WD_MIXED_NODE class is coming after adding value attribute .

Exception is triggering at statement: lr_entity ?= current. => In current ref of CL_BSP_WD_MIXED_NODE class is coming while lr_entity is type ref to cl_crm_bol_entity.

 

I would really appriciate your reply on this as how can I avoid this exception? Do I need to redfine this method?

 

Appriciate your replies on same.

 

Regards,

CRM Dev

Viewing all 4552 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>