Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all 7775 articles
Browse latest View live

Including htm page into WEB UI component page

0
0

Hi, experts! I have the question. I have big bunch of JavaScript code and I am not going to copy this code to every htm component page. I guess I should create BSP-page with my universal code and include it into all components.

How can I achieve this?

 

With regards.


Default email address in send email (BT126H_MAIL)

0
0

Hi,

 

We have to send e-mail(BT126H_MAIL/Send_screen) from a custom Transaction type in CRM 7.0. When the email form is called, it has the default email address in To as the email address of the Account Partner.

How can we restrict this? I do not want any default email address, the To field should be blank..

Please advise

accessing the BOL relations data with language as expected dynamic by program

0
0

Hi All,

 

I need to access the BOL relations data like contact person etc in langauge which is dynamic,

actually what we see regularly is the system login langauge as default and we are getting details as per that,

but i need to access the data as per input provided by me in program, where exactly we can handle it?

 

Ex : If we login in 'EN' then tilte (title_p) we get as 'Mr' for relationship 'BTPartnerAddress'

       if we login in 'DE' then we get  'Mr' as 'Herr' for the same relationship 'BTPartnerAddress'  for same contact, in both the cases system language it got   

       considered for BOL,

       then how the same can be handled by programatically, I mean I will login in 'EN'  and need to get details in 'DE' programatically, how we handle this?

 

Thanks a lot.

VijHyd

Re: accessing the BOL relations data with language as expected dynamic by program

0
0

Hello Vij,

 

We will find these title in drop down...you can check get_v of the attribute of related context node which contains. You can check standard code like this in get_v..

 

IF lv_category IS NOT INITIAL.
*       Get values for TITLE_KEY
         CALL METHOD cl_crm_uiu_bp_cust_get=>get_val_for_title_key
           EXPORTING
             iv_category    = lv_category
           RECEIVING
             rt_value       = lt_ddlb
           EXCEPTIONS
             error_occurred = 1
             OTHERS         = 2.
       ENDIF.

 

now, Title key is fetched by static method get_val_for_title_key of class cl_crm_uiu_bp_cust_get.

now, we can check method get_val_for_title_key, where title key is fetched from tsad3t based on system language...if you want to change...then you would have to write your custom logic to fetch title key from table tsad3t by hardcoding language as DE.

 

Hope it will work for you.

 

 

Thanks,

Amit

Re: Default email address in send email (BT126H_MAIL)

0
0

Hello,

In our system there is standard coding in the IMPL-class of this view in method FILL_TO_FIELD. This could be redefined and changed. Maybe you can use the method DEFAULT_EMAIL too.

Best regards,

Thomas Wagner

Re: accessing the BOL relations data with language as expected dynamic by program

0
0

Hi Amit,

 

if we see the BOL relations then BOL data itself appear/change as per login language,

so if we do the coding for each abd every field where ever necessary then it becomes big extra programming,

 

so finally I found the solution is change the sy-langu where ever need and then change it to login language will solve everything.

 

Thanks for your input.

VijInd.

Re: accessing the BOL relations data with language as expected dynamic by program

0
0

Hello Vij,

 

Ya...you can do it...any how that will take system language anyways...no need to do coding..i was thinking you want to do for some fields only...you are saying right that BOL data appears as per login language...

 

Thanks,

Amit

Re: Default email address in send email (BT126H_MAIL)

0
0

Hello Chetan,

you can find method FILL_TO_FIELD method in implementation class of view BT126H_MAIL/Send_screen. It is getting called inside do_prepare_output method to fill the TO field based on account and contact number. If you dont want email id to be filled in field then you would have to redefine this method as per your need...

 

Please check it.

 

Thanks,

Amit Singh


how to call custom program in assignment block in sap crm with out using transaction luncher

0
0

Hi Pradhan,

 

Please provide more information on what you are trying to achieve.

 

Are you trying to load some data using the program or load a screen?

 

Thanks & Best Regards,
Leon

Give report name to store BP history.

0
0

Please give report name that can give BP change history.

 

Thanks,

rockys

Re: Give report name to store BP history.

0
0

Hello Rocky,

 

Report BUSCHDOC can be used to show all BP change history.

 

Thanks,

 

Amit

Re: Give report name to store BP history.

0
0

Hello Amit,

 

Thanks for response.

 

rocky

Re: How to get only active contacts in contact assignment block in account overview page of Account Management in SAP CRM WEB UI?

0
0

Hello,

 

You can write custom logic in BP_DATA component in view BP_DATA\AccountOV in do_prepare_output method.

 

Fetch contact id by conp_number field of context node buildcontactperson then check it with but000 table...then delete this entity putting in while loopp...

 

Thanks..

Re: How to get only active contacts in contact assignment block in account overview page of Account Management in SAP CRM WEB UI?

0
0

Hello,

 

Thanks for reply.

 

Amit

Re: how to call custom program in assignment block in sap crm with out using transaction luncher

0
0

Hi Leon,

           My Requirement is that when i click on link selection  it will show a popup window (i.e. Custom Component) .In that custom component view I am  passing URL (ITES). Through that url I am trying to call a custom report.

 

But now I am facing the issue is that it is showing popup but it is showing blank page instead of  Report.  

 

I am following below thread http://scn.sap.com/message/13892315#13892315

 

 

Thanks and Regards

RR Pradhan


Very Urgent: Call Web UI event methods from Adobe Interactive Form from a button in it

0
0

Interactive Adobe form is populated in a popup from Web UI on Creating followup activity.

I used procedure mentioned in this link:

http://scn.sap.com/people/satishkumar.palyam2/blog/2011/07/07/adobe-forms-in-webui

Wrote the logic in DO_PREPARE_OUTPUT method of component BT125H_TASK/TaskDetails.

 

 

I have an interactive adobe form which has two buttons Save and Submit.

 

Please tell me how to trigger the event EH_ONSAVE of BT125H_TASK/TaskOVViewset in Web UI from "Save" button in the form.

 

 

Or

 

Could you please tell me how to create BSP View and call it as popup where I can populate the adobe form in HTM page and put the buttons, so I have the control in Web UI itself?

 

Any ideas I could try also will help.

 

Your timely help is much appreciated.

Custom relation missing under model in BSP_WD_CMPWB

0
0

Hi,

 

The custom relation we created for BTAdminH under Access Objects is displayed in GENIL_MODEL_BROWSER but missing under Model in BSP_WD_CMPWB under BOL Model Browser tab where other z relations are showed up except few.

 

Can anyone kindly suggest if any  settings missed out here to cause this z relation getting missed.

 

Thanks,

Krish.

Re: Unable to Add CUstom Fields in CRMD_ORDERADM_I

Search

0
0

Hello Experts ,

 

 

I have a requirement in Search page.

 

If the User is entering some search criteria, and clicking on search :- If the search result is returning only one result then i should directly navigate to its detailed page (Without clicking on the Search entry as it is working now).

 

Please suggest some standard component where this is been done. as i remember this is a standard functionality and as my Search is completely custom, need to implement this aswell.

 

THnaks in advance,

 

Best Regards,

Nikhil Kulkarni

Re: Search

0
0

Hi Nikhil,

 

One hit direct navigation is a standard functionality implemented in standard components. You can refer any standard search component - > search view -> search event for that.

 

eg. the component BP_HEAD_SEARCH - BP_HEAD_SEARCH/MainSearch.

 

Check the event EH_ONSEARCH, where you can find the method

 

cl_crm_uiu_one_hit_direct_nav=>navigate_if_result_is_unique( ).

 

Thanks & Best Regards,

Leon

 

Viewing all 7775 articles
Browse latest View live


Latest Images