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

Validations on Table View fields

$
0
0

Hi ALL, We want to provide Mandatory fields/validations on 3 fields in table view. Initially when the view is loaded they should be highlighted with RED mark indicating them Mandatory and if the users presses enter with empty values, it should give message in application log.

 

Also this table view is in the guided activity page. So if the user clicks on the Next button in the Roadmap view, the validation in the loaded view should take place and restrict the user to navigate to Next screen with message in application log.

 

Thanks

Prasad


How to open outlook compose screen when click on email

$
0
0

Hi,

I have created a custom web ui component for partner details., which contain the partner email ID. Now i have a requirement to open the outlook compose screen when we click on the email ID presently i have added the code in event block as per std. BP_APPl which opens the CRM email compose screen but i want tobopen the outlook.

 

Regards,

Zafar

Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

$
0
0

Hello

 

Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.

 

I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.

 

1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction

 

2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.

 

3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.

 

I have gone through the following post in SCN:

https://scn.sap.com/thread/2056959

 

I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.

 

If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks& if possible please share the code that needs to be maintained in that method.

 

Thanks

How to create assignment block which show DATA in TREE format

$
0
0

Hi Frds,

 

Please suggest. How can we achieve the assignment block which is in TREE form ,Might b its not fully TREE form there will be some easy way to achive my tesk. I have a custom table with contain User id and name of each Role(ROLE_NAME).   Below is the tast example.

 

Assignment block display different lavel of approver list.

 

ROLE_NAME1
1User_name1
2User_name2
ROLE_NAME2
100USER_NAME01
200USER_NAME02
ROLE_NAME3
101USER_NAME10
102USER_NAME20
103USER_NAME30

 

ROLE_Name is a fixed text.

 

Please help how can we achive this task.

 

Thanks

Imran


Enter a valid UI Component That has been generated with AXTSYS

$
0
0

Hi ,

 

 

I have given the componet name ZTEST in AXTSYS in the system and create an AET table.

Now we have moved to new development system where the setting in AXTSYS are blank.

when i'm trying to create a new field in the AET genarted tables its throwing an error :

'Enter a valid UI Component That has been generated with AXTSYS'.

I tried to give the same ZTEST in AXTSYS ,but its saying already the component exists please give any name for UI component.

Also tried to create new new UI component but still getting the same error.

 

 

Thanks,

Anitha

Search View with Value Node

$
0
0


Hi Experts,

 

I have to develop search page with value node(Custom fields) as I don't require any model node as per requirement, I will retrive Standard table data based on value node fields data given in search event.  My question is can we create search view with value node.. I have created empty with value node, then changed view controller super class to CL_BSP_WD_ADVSEARCH_CONTROLLER , changed context node  class to CL_BSP_WD_CONTEXT_NODE_ASP But I don't see Value node fields in configuration.  Please suggest.  Thanks in advance.

Window Enhancement in SAP CRM

$
0
0

Hi Experts,

 

I am working on component BT110M_ACT , I have enhanced BT110M_ACT/MainWindow in Component Structure Browser.

After enhancing it , I find the table BSP_WD_EXT_HIST , it is correctly maintained.

 

Now I went to Runtime Repository Editor , Here under MainWindoe , there is one view CUBT125HTASK.MainWindow ,

I want to add one outbound plug here .

 

Capture.PNG

But I am getting error

View not copied or enhanced with wizard; processing not possible


When I am going to enhance it , i am getting error "

Page, controller, or MIME MainWindow.do already exists in application YWBT110M_ACT   " I know why this error is comming because I enhanced Main Window of comopnent BT110M_ACT in Component Structure Browser. But I want to enhace Runtime editor Window as well to add teh out bound plug.

 

Please help me to remove this errors.

Address number change for partner in parties Involved

$
0
0

Hi all,

 

I am trying to change the address for( ADDR_NR) for Partner . I am using the function module  CRM_PARTNER_MAINTAIN_SINGLE_OW.

 

I am calling below code in  ORDER_SAVE Badi. but still it is not  changing the address number .

 

  ls_partner1-ref_guid       = ls_partner-ref_guid.

   ls_partner1-ref_handle     = ls_partner-ref_handle.

   ls_partner1-ref_kind       = ls_partner-ref_kind.

   ls_partner1-partner_no     = lv_partner.

   ls_partner1-kind_of_entry  gc_c.

   ls_partner1-partner_fct    =  'Z00000001'.

   ls_partner1-display_type   = gc_bp.

   ls_partner1-no_type        = gc_bp.

   ls_partner1-city           = ex_addresses-city1.

   ls_partner1-region         = ex_addresses-region .

   ls_partner1-country        = ex_addresses-country .

   ls_partner1-house_no       = ex_addresses-streetcode.

   ls_partner1-street         = ex_addresses-street.

   ls_partner1-postl_cod1     = ex_addresses-post_code1.

   ls_partner1-district       = ex_addresses-city2.

   ls_partner1-addr_nr        = lv_add_num1.   " NEW ADDRESS NUMBER

   ls_partner1-addr_origin    = gc_b.

   ls_partner1-addr_np        = ''.

   ls_partner1-addr_type      = '1'.

   ls_partner1-mainpartner   = 'X'.

 

 

*  ls_partner1-addr_nr       =  lv_add_num.

   ls_input_field-fieldname = 'DISPLAY_TYPE'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'KIND_OF_ENTRY'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'NO_TYPE'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'PARTNER_FCT'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'PARTNER_NO'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'CITY'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'COUNTRY'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'REGION'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'HOUSE_NO'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'STREET'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'POSTL_COD1'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'ADDR_NR'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'DISTRICT'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'ADDR_ORIGIN'.

   INSERT ls_input_field  INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname 'ADDR_NP'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.

 

   ls_input_field-fieldname = 'ADDR_TYPE'.

   INSERT ls_input_field  INTO TABLE lt_input_field_names.

   ls_input_field-fieldname = 'STD_BP_ADDRESS'.

   INSERT ls_input_field INTO TABLE lt_input_field_names.



CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'

    EXPORTING

      iv_ref_guid                      = ls_partner-ref_guid

      iv_ref_kind                      = 'A'

      is_partner_com                   = ls_partner1

       iv_populate_mode                 = ' '

*     IV_CHECK_PARTNER_ONLY            = ' '

*     IS_PARTNER_CONTROL               =

*     IS_COM_STRUCTURE                 =

*     IV_EXTERNAL_CALL                 = FALSE

*   IMPORTING

*     EV_CREATED_PARTNERSET_GUID       =

    CHANGING

      ct_input_field_names             = lt_input_field_names

*     CT_PARTNER_ATTRIBUTES_COM        =

    EXCEPTIONS

      error_occurred                   = 1

      OTHERS                           = 2

             .

   IF sy-subrc <> 0.

* Implement suitable error handling here

   ENDIF.



regards,

rama




how to change help center link to our own website

$
0
0

hi,

how to change help center link to our own website. if i click help center which i mentioned it want to go webisite which i ll give.(for ex.www.google.com) if i click help center link it want to go to google..

 

 

 

 

 

 

 

 

 

 

 

 

regards,

gopi

SAP CRM Which BADI is triggered after SAVE

$
0
0

Hi All,

 

I am working on one Interaction center requirement. Basically I would like to know which BADI isgetting triggered after hitting the save button in Complaint tab in CRM WEB UI. I need to enhance that BADI to create transaction link to my interaction record in transaction history tab.

 

 

I appreciate your help in advance..

 

Thanks,

Sar.

BTF : Add Image BTF editor in WebUI

$
0
0

Hello Everyone,

 

I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it.

 

Although this is working in the standard mail component, i have noticed that the link which gets created when clicking on HTML code, when an image is added as

<HTML><HEAD>

<META content="text/html; charset=utf-8" http-equiv=content-type></HEAD>

<BODY>

<P>Test</P>

<P><IMG alt="" src="/sap/bc/contentserver/810?get&amp;pVersion=0046&amp;contRep=CRMFILESYSTEM&amp;docId=535544E2AA367F60E10000000A3C2861&amp;compId=manoj.jpg&amp;accessMode=r&amp;authId=CN%3DKCL&amp;expiration=20140422112113&amp;secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA0tDTAIHIBMREyBRBTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNDIyMDkyMTEzWjAjBgkqhkiG9w0BCQQxFgQUt2vLLx6bbf5mUpbt09CcyczIugYwCQYHKoZIzjgEAwQuMCwCFE53hCWxhYgv0N2ky80blV7wcjRBAhQBWV41%2B1Gu9UpJmFWRqn68C2YB9w%3D%3D"></P></BODY></HTML>

 

However, when I look at my code the link gets created like this

<P>lets add<STRONG> picture of <FONT color=#009900>Manoj. </FONT></STRONG></P>

<P><IMG alt=file://C:\Users\pradeep\Desktop\test.jpg></P>

<P> </P>

<P> </P>

<P> </P></BODY></HTML>

 

It seems like I am not able to add the image in the content server and fetch it again to display it in my view.

 

here is my HTML code in the view

 

<%@page language="ABAP" %>

<%@extension name="btf" prefix="btf" %>

<%@extension name="thtmlb" prefix="thtmlb" %>

<%@extension name="thtmlbx" prefix="thtmlbx" %>

 

         <thtmlbx:btf id                 = "BTFEditor"

                     document            = "<%= s_documentdata-btf_doc %>"

                     height              = "400"

                     width               = "95%"

                     onClientInsertImage = "InsertImage_BTFEditor(id);"

                     onClientInsertLink  = "InsertLink_BTFEditor(id);"

                     sourceView          = "<%= sourceview %>"

                     secureInsertImage   = "X"

                     />

 

So my question is, do we have to write separate code to add image, as i am set and getting the text successfully from the content server.

 

Could someone please throw a light on this and help with some code logic.

 

Regards,

Pradeep

Change history of 'Person responsible' in Service Request

$
0
0

Hi Experts,

 

How can I get the change history for the partner functions of a service request?

 

I have tried the FM CHANGEDOCUMENT_READ or CRM_CDORDER_DISPLAY but I am able to get only the change log of the header of the transaction.

 

Thanks!

 

M.

How to call Badi - CRM_ORDERADM_H_MERGE only on saving of service request.

$
0
0

Hello CRM Experts,

 

I am trying to change value of a field - "object_id" of table "CRMD_ORDERADM_H" while creation of a service request. I am doing this by implemeting BADI - CRM_ORDERADM_H_BADI, method - CRM_ORDERADM_H_MERGE. In this method I am creating a new number and updating it in Object_id field of orderadmh table. This badi is getting called on every button click like - NEW, SAVE, even on pressing enter in service request creation page.

 

But I want to execute the code written in this method only on clicking SAVE button in web ui. But I am not able to find a way to do so.

 

Please suggest something.

 

Thanks,

Pooja

Master Data mapping between CRM/ERP(SD)

$
0
0

Hello Colleagues,

 

I am having CRM system and it is connected to the ERP(SD) system.

 

Now I want to replicate below Master Data from ERP to CRM. So that I should have corresponding mapping details for the same.

1). Business Partner

2). Sales Organization

3). Distribution Channel

4). Division

 

Questions:

a). In which individual table I can find corresponding mapping (crm/erp) of above master data?

b). How will I download the data in these tables?

 

Thanks and best regards,

Pragnesh

Reusing fields created via EEWB

$
0
0

Hello,

 

I have a new field , on the Opportunity Header, created via EEWB ( we were on CRM 2007 when this was done) and I would like to re-use this field for display in a follow up Sales Contract created from the Opportunity.  It looks as though I can create a new Model Attribute on the Context Node BTADMINH for component BT121H_SLSC, view BT121H_SLSC/Details and enter the BOLATTRIBUTE , through the relationship path BtAdminH-->BTHeaderopportunityext-->BTOpportH-->Attributes and this field can be selected, but I was wondering if  there is another way to achieve this via the AET tool, it looks as though fields create via EEWB cannot be edited in AET

 

 

Regards
Chan


Smartforms and field ID

$
0
0

HI experts ,

 

Please i have a problem

 

When i create a field in WEB UI as a drop down list and then call it from the smartform i can't see the value of the field in the smartform but only the ID
How can i do to display the value not the ID in the smart forms

 

Thank you

 

Regards

Sales Text from Master Material Can't be copied to Sales Order Item Text

$
0
0

Hi Experts,

 

can anyone help me. I have a concern in CRM 7.0.

I want to copy the Sales Text of a Material into an Item Sales Order Text.

Is there any configuration that I have to set first?

At the moment I'm using a standard access sequence 01 - Product Sales/Basic Text, but still can't copy the text from Sales Text in Material Master.

 

Thanks guys....

 

BR,

Robin

CRM interactive Report - Transport to Quality and Production system

$
0
0

Hi,

 

I followed guide C41 in order to configure the interactive report on my CRM development system.

 

I transported the generated requests to quality system, but when I go to WebUi (quality system) and try to create a new report, the system issues the message "Query /CRMBW/CSAL_C01_Q0001 not found". It does not even opens the screen where you select the application area.


On ORDYWB (quality system), and navigate to menu Go To > BI content activation workbench, all the relevant content bundles have status red!

Log description: Activation finished with errors >>>> System is set to not changeable; objects cannot be changed

 

Is it necessary to have the quality client set as modifiable in order to activate this contents? There is no other option?

Or am I missing something?

 

 

Regards.

component usage bp_data issue

$
0
0

Hi Experts,

I have a requirement where the more_fields of the Account ( component IUBP_MORE) needs to be enhanced with some extra tabs like relations, change history, marketing attributes and permission.

These views are present in BP_DATA component .

Using the Component Usage I could add the change history view and it works fine .

 

But the BP_DATA/AccountRelationshipOV view of the window Relationships is giving dumps of null reference.

Is it feasible to reuse  this view .

Or is there any other approach to do it.


Jaya.


GROSS_VALUE Dynamic - see A-GETTER

$
0
0

Hi Guru,

 

I need to
look the Gross value on the header of service order, in the transaction BSP_WD_CMPWB for the component BT116H_SRVO view Details, on the Configuration tab, I tried to assign this field but I didn’t find it.

 

When I check the context nodes on the View structure tab, the BTADMINH has the field
but say:

GROSS_VALUE Dynamic - see A-GETTER

 

2014-04-24_161806.png

  

I don’t knows if this is a problem. What can I do?

 

I have the net value, but this field does not have the tax.

GROSS_VALUE is net value plus tax.

 

Best regards,

Viewing all 4552 articles
Browse latest View live


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