Contact quick create for AET field with contact subtype
I enabled the account quick create function in CRM 7.0 EHP2 environment. The funtion works well in the opportunity with standerd account and contact fields.
In opportunity, I created 2 AET fields with the application subtype of ACCOUNT and CONTACT. The account quick create function works well with the ACCOUNT type field, however, it does not work on the AET field with CONTACT subtype.
Is there anything I need to turn on or just the function is not there yet?
Kevin
Hi Anand,
Can you check ON_NEW_FOCUS method has any code in your details view. Please add below code and try adding below code in on_new_focus method in context node class
DATA: lv_collection TYPE REF TO if_bol_bo_col,
entity TYPE REF TO cl_crm_bol_entity.
* get collection of dependent nodes
entity ?= focus_bo.
TRY.
lv_collection = entity->get_related_entities(
iv_relation_name = 'BTHeaderCustExt' ).
IF lv_collection IS NOT BOUND or lv_collection->size( ) = 0.
IF entity->is_changeable( ) = ABAP_TRUE.
TRY.
entity = entity->create_related_entity(
iv_relation_name = 'BTHeaderCustExt' ).
CATCH cx_crm_genil_model_error cx_crm_genil_duplicate_rel.
* should never happen
ENDTRY.
IF entity IS BOUND.
CREATE OBJECT lv_collection TYPE cl_crm_bol_bo_col.
lv_collection->add( entity ).
ENDIF.
ENDIF.
ENDIF.
CATCH cx_crm_genil_model_error.
* should never happen
EXIT.
CATCH cx_sy_ref_is_initial.
ENDTRY.
me->set_collection( lv_collection ).
Best Regards,
Dharmakasi.
Similar Messages
-
How can I create a custom field in contacts and have it appear in ICal?
How can I create a custom field in contacts (death date) and have it appear in calendar?
Birthdays seems to work fine but I'd like to do the same for a custom field called Date of DeathBy default, iTunes convert files to type AAC which has an extension of .m4a
For iTunes to recognize them as Audiobook files, the extension needs to change from .m4a to .m4b
This can be done a number of different ways. Here are 2 (beginner and advanced)
. simply, by renaming each file from windows explorer
. more complex, by using Start/Run/cmd to get a "DOS" type window,
using the command "cd" to change to the directory that your files are in
and entering "ren *.m4a *.m4b" -
How do I copy an existing group in Contacts to create a new group with the same contacts in it?
Hi there,
Unfortunately the use case you describe hasn't been implemented in Firefox. It's not possible to move a tab group out to its own window at this point. Generally the tab groups feature hasn't been worked on much recently, not sure why.
As to TabMixPlus, that's a third-party add-on which Mozilla doesn't directly support. You can find support links from the add-on page: https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/
Hope this helps.
Cheers,
David -
Where to see activities, which are created for the campaign with target group
Hi
I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
Activities are not appearing after creation of campaign with target group.
Where to see activities, which are created for the campaign with target group?
Regards
HamidHello,
alternatively to check table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
best regards,
Johannes -
Want to create a user field with type alphanmumeric and structure text through coding
i want to create a user field with type alphanumeric and structure text through coding.am using vb
plz help meHi.
Please take a look at samples in SAP B1 SDK.
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
' Adding "Name" field
'// Setting the Field's properties
oUserFieldsMD.TableName = #YOUR_TABLE_NAME#
oUserFieldsMD.Name = "Name"
oUserFieldsMD.Description = "Name"
oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
oUserFieldsMD.EditSize = #LENGTH_OF_FIELD#
'// Adding the Field to the Table
lRetCode = oUserFieldsMD.Add
GC.Collect() 'Release the handle to the User Fields
Hope it helps.
Regards,
Pawel -
Creating \ Changing Functional Location With Contact Person.
Hello.
I'm looking for BAPI / Function for creating/changing "Functional Location" with Adding, deleteing OR changing "Contact Person"
I Have found the BAPI's : BAPI_FUNCLOC_CHANGE
BAPI_FUNCLOC_CREATE
but thier is no option to handle with "contact person" .
(SAP Table "IHPA").
Best Regards'
Haim B.Hello,
Instead of searching for any FM or anything. Go and create a flow thorugh LSMW and change the desired contact person through it..
I assure you this is the best and most efficient way.
first run LSMW and create a flow by changing the contact person of any one functional location and then assign the flow of that lSWM through external notepad file.
Get in the notepad all the desired FL you want to change run that within minutes your job will be done. -
How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?
Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
public int compareTo(Object o1, Object o2)
The compare method would cast the Objects to HairSalons and return the difference in price.
Then use java.util.Arrays.sort(Object []); -
Search help for a field with no dictionary reference
Hi!
I have created a serchhelp (see se11)
there are two included search helps nested. Each one
has it own serch help exit. First search help has two
fields and one of them is a character field (CHAR030).
It hasn't a reference dictionary table in that case.
How can I assign a search help esspecially for this field.
Its values are stored inside a internal table.
Regards
ertasHi,
I think you need to attach a search help to a field programitically .
Below is one sample code.
REPORT ZMSTR0022.
CONSTANTS: C_FORM_NAME TYPE TDSFNAME VALUE 'ZMST_PER_APPL'.
TABLES :ZMST_PERMIT.
TYPE-POOLS: SLIS.
TYPE-POOLS :VRM. "Value Request Manager
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.
SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,
S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,
S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,
S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,
S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,
S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.
PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.
W_NAME2 = 'S_PIDNUM-LOW'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.
W_NAME2 = 'S_PIDNUM-HIGH'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.
W_NAME2 = 'S_ENGDSC'.
W_NAME1 = 'ZENGDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.
W_NAME2 = 'S_ARBDSC'.
W_NAME1 = 'ZARBDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.
W_NAME2 = 'S_TARIFF'.
W_NAME1 = 'ZTARIFF'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.
W_NAME2 = 'S_PERNUM'.
W_NAME1 = 'ZPERNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
*& Form F4_HELP
text
--> p1 text
<-- p2 text
FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
W_VAR1 TYPE HELP_INFO-DYNPROFLD .
Fetching data from zmst_permit for F4 help on PERMIT ID No.--
IF IT_PERMIT[] IS INITIAL.
SELECT ZPIDNUM
ZENGDSC
ZARBDSC
ZTARIFF
ZPERNUM
ZARRPRT
ZEFFDT
ZEXPDT
FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.
ENDIF.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = W_NAME1 " 'ZPIDNUM'
DYNPPROG = 'ZMSTR0022'
DYNPNR = SY-DYNNR
DYNPROFIELD = W_NAME2 "'S_PIDNUM'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_PERMIT
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_HELP
I hope this will help you.
Help children of U.N World Food Program by rewarding points and encourage others to answer your queries. -
How to avoid zeros in output for a field with Decimal type
Hi Friends
In a Report one output field is declared with decimal type.
Whenver that field is not filled with any values zeros will be displayed in the output.
I tried to change the data type to char but i am facing some issues in calculations and shwoing only 2 decimal places.
So is there any way to hide the zeros in the output if we the field is not filled with any value.Hi Sandeep,
If required field type is declared as type p decimals 2 , if for that field in internal table there is no value - then automatically output will get display in ALV as 0.00.
To remove 0.00 in the output screen and to be displayed in blank then in the field catalogue add wa_fieldcat-no_zero = 'X'. in that particular field. then if no value for that field then it will display space in the output.
wa_fieldcat-fieldname = 'ZQUAN'.
wa_fieldcat-seltext_l = 'Quantity'.
wa_fieldcat-outputlen = '13'.
wa_fieldcat-no_out = ' '.
wa_fieldcat-no_zero = 'X'. wa_fieldcat-hotspot = ' '.
wa_fieldcat-key = ' '.
wa_fieldcat-do_sum = 'X'.
wa_fieldcat-qfieldname = ' '.
wa_fieldcat-ref_tabname = ' '.
wa_fieldcat-just = ' '.
Regards,
Priya -
How to create a Date field with specific date limitations
Hello, im new to creating forms in Acrobat.
My question is, how do i create a date field and at the same time have a restriction on which dates to put.
ie; i want the date field to only enter dates from Jan 01 2015 - Dec 31 2015.
Thanks for your help.Thanks!
I tried and it worked.
but what are these numbers after the 2015?
var minDate = new Date(2015, 0, 1, 0, 0, 0, 0);
var maxDate = new Date(2015, 11, 31, 23, 59, 59, 999); -
Quick look for text files with non-registered extensions
It seems there was a way in 10.5 and 10.6 to register certain extensions with Quick Look to tell them how to preview a file. I have a lot of plain text files with different extensions that are not initially recognized by Quick Look. How do I hack the registry to tell Quick Look to preview a .cfg (or .aux, etc.) file as plain text?
Can't Quick Look for some text files
Re: Is it possible to change the viewing format?
Quick Look for files without extensions.
Re: Can I view text files without a .txt extension in Quick Look?
How do I add support to Quick Look -
Creating a form field with Arial MS Unicode and Identity-H encoding
I need to create a text field on an Adobe Acrobat form that has a font of Arial Unicode MS with the font encoding being set to Identity-H. However when I use Adobe Acrobat 9 Standard (v9.5.1) to do this the encoding is always set to UniKS-UTF16-H. I can't find a way of changing the encoding to Identity-H. Any suggestions on how I can achieve this.
I have a 3rd party form filling app that needs the encoding set to identity-h to support the range of characters that could be input. I could ask the vendor to change the app to fix the problem but there would be significant process involved in that. I have a small demo that shows that creating a form with the encoding set to identity-h provides a resolution. The demo was created with iText but as the real form is considerably more complicated I'd rather not use iText if I don't have to. Since the form was originally created with acrobat the question remains as this would be the "least painful" route to a resolution.
-
SAP Cloud SDK : How to create the Note Field with Char 1000 length
Hi Experts,
I have a requirement to create Note type fields in the standard business object. and that note field should be 1000 char length.
Also I need to check whether that Note field we can add under the standard report or not with report enhancement?
1) How to make a Note type field using SDK with length 1000 char? Is it possible? If yes How ?
2) If using SDK Note type field possible then how to display that field in report ?
Many Thanks,
MithunHi Frank and Horst,
I have followed the steps you have mentioned in the post.
1) Create Business Object Extension.
2) Add the Custom Field with Type " LANGUAGEINDEPENDENT_EXTENDED_Text".
3) Enhance the Screen and Add into the Header section of the COD_TI screen.
I have successfully entered the unrestricted character into that field.
But I want to add that custom field into the Standard Data Source or Standard Report.
1) Is it possible to add custom field under the Standard Data Source or Report Using SDK?
2) Is it Possible to display the 1000 character length on the Report field?
3) Is it possible to display the created extension field under the report / data source using SDK?
Many Thanks,
Mithun -
Search help for custome field with different data type
Hi Friends,
I have Created a custom table in which i have created a field is
ZMATLONG which stores material number.
Now the data element is zdmat which is of char 40..
Now i want to give search help for this field ZMATLONG..
I have tried many ways giving search help to this field
a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
Now how can i give the search help like matnr field to my custom field ZMATLONG...
How can i do it..?
Thanks in Advance..
Regards
KumarHi,
MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
MATNR as ZMATLONG.
Now if you assign Z search help to ZMATLONG it will work.
I tried this its working fine.
Shanmugavel Chandrasekaran -
Quick Office for Word docs with tracking
Can I use Quick Office for iPad to view Word docs and see the tracking changes? I don't think so, but thought I'd ask. I did a search and didn't see this posted but I could have missed it. If I did, apologies for the redundancy.
From what I've read on here, none of the Office apps are able to track changes.
Maybe you are looking for
-
HT201272 how many devices can i download an app to?
I am just wondering how many devices I can install an app on beofre having to purchase it again? Thank you
-
Troubles with adding new tag library in component palette (JDev 10g R3)
Hello! I need to add apache MyFaces tags to my instance of JDev. There are written in the help, that is needed to create new page of type JSP. I did the following steps: 1. Tools->Manage Libraries->JSP Tag Libraries->New 2. Went to directory where my
-
ABAP & OLE Automation Controller
Hi everybody, When I use ABAP & OLE Automation Controller to build a Excel file, I don't find a documentation about the values of the properties parameters. For example: (DATA gs_cell TYPE ole2_object.) SET PROPERTY OF gs_cell 'HorizontalAlignment'
-
My mac is substituting commas for semicolons in my email distribution lists, any ideas?
My Mac is substituting commas for the semicolons in my email distribution lists, anyone have any suggestions?
-
Get javascript variable in JSP
Hi all, can anybody tell me- how to get javascript variable in JSP, in the same file (JSP). Is this possible. I can use JavaScript to get the value, but then I have no way to get that to the JSP code. Please give the appripriate answer with code. Tha