CF9/Solr: cfindex custom fields limitation
On CF9, using Solr, I'm trying to index a database query, but, like Verity in this and previous versions of CF, there is a limitation on the number of custom fields I can index. I know the limitation lies with the cfindex tag as Solr is able to index whatever fields are specified in schema.xml.
One workaround I have in mind is to modify the schema.xml file by adding all the custom fields I need and then index my content using Solr (post.jar?) instead of cfindex. The cfsearch tag should then return all the new fields, not just the 4 custom ones. Has anyone tried to do this? What command do I need to invoke to index the content directly through Solr?
Or, does anyone else have any other workaround suggestions?
Thanks,
-Jose
Depending on your requirements, you might be over-complicating things. Just because <cfindex> only offers CUSTOM1...CUSTOM4 doesn't mean you must only have one subkey value per CUSTOMn attribute. You can put anything you like in those values, eg: lists of subkeys; serialised structs or keys, etc.
I agree that it's less than ideal the way the Solr support has been implemented, but you probably will be able to get <cfindex> to work for you in this case.
Adam
Similar Messages
-
Limitation on Adding custom fields into VBAP (Updating from BAPI )
I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
Please helpDear All,
Good Morining.
The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
Thanks and Regards,
Nishita Salver -
Creating a new project with custom fields using web services
I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
REST POST /_api/ProjectServer/Projects
'odata.type' : 'PS.PublishedProject',
'Name' : 'OData Name',
'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
Response
error: {
code: "11713, Microsoft.ProjectServer.PJClientCallableException"
message: {
lang: "en-US"
value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
SOAP POST /_vti_bin/PSI/Project.asmx
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<soapenv:Header />
<soapenv:Body>
<proj:QueueCreateProject>
<proj:dataset>
<ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<Project>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
<PROJ_TYPE>0</PROJ_TYPE>
</Project>
<ProjectCustomFields>
<CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
<FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
<CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
</ProjectCustomFields>
</ProjectDataSet>
</proj:dataset>
<proj:validateOnly>true</proj:validateOnly>
</proj:QueueCreateProject>
</soapenv:Body>
</soapenv:Envelope>
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
<detail>
<errinfo>
<general>
<class name="General Unhandled Exception in _Project.QueueCreateProject_">
<error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.<>c__DisplayClasse.<QueueCreateProject>b__d()
at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
</class>
</general>
</errinfo>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>Julie,
You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
But you are right in the sense that it is limiting that there is no multi-select for "applies to" field. -
Address Book Sharing: are custom fields shared or left behind
I want to share an Address Book on one system with 3 other users through MobileMe. I will also allow the 3 other users to add, delete and change the contacts. All 4 systems have their own MobileMe accounts.
We make extensive use of custom relationship fields. Will those fields transfer with the with the shared contacts, or are they left behind?
(I know that only a limited number of relationship fields (no custom fields at all) in Address Book are available to Pages and Bento)
I've looked all over the Address Book sharing information (that I can find), and the issue of custom fields does not seem to be addressed in connection with Address Book Sharing.
Can anyone recommend any documentation that answers this question?
Is there any real (detailed) documentation at all about Address Book Sharing?
Thanks for your help.@taylor thanks for the suggestion, but it's not quite what i had in mind. The red -/green + buttons are used to add/remove more items in the same category, ie., phone numbers, email addresses, URLs, etc. If you finish editing a record and then click on one of these fields, you get a contextual menu with various options.
But, my Skype name is not an email address, nor is it a phone number. It belongs in the IM section of the Contact template, but unlike the "Custom" option for labeling a Phone Number, the IM drop-down menu doesn't have a Custom option, nor a Skype option.
There are several possible workarounds, but that's the point, innit? Skype has been around a long time - there shouldn't be a need for a workaround. -
Saving customer fields to SAP table (EXIT_SAPMM06E_012)
Hi All,
I would like to ask you guys a bit of a help with a user exit that I am working on as of the moment.
I am coding a user exit for a service purchase order (ekpo-knttp = 'K' and ekpo-pstyp = 'D') this is a service purchase order of cost centre category.
Since SAP does not allow the goods recipient (ekkn-wempf) to be modified for reasons specified in SAP Note 118008. I have used user exit MM06E005 FMs EXIT_SAPMM06E_017, EXIT_SAPMM06E_016 to the data in PBO and PAI for the transaction.
Now I tried using the two FMs EXIT_SAPMM06E_018 and EXIT_SAPMM06E_012 to pass this value to the table but it does not seem to get saved in table EKKN.
Using FM EXIT_SAPMM06E_018 the I have maintained the structure CI_EKPODB to include WEMPF and after debugging passing that user exit area the wempf is being tranfered to global data but this does not get saved in EKKN table (EKKN-WEMPF).
Although this is outside of the standard best practice of SAP since the account assingment belongs to the limits or the service line for service order but maintaining this recipient field for the PO item does not impact our system processes as the business acknolwedges goods recipient for service PO.
BADI ME_PROCESS_PO_CUST has also been implemented under method PROCESS_ACCOUNT invoking the interface IF_PURCHASE_ORDER_ACCOUNT_MM but unsucessful in the operation.
If anyone of you guys has encoutered same scenario or implementation requirement please do give information on this or work-arounds are well appreciated as well.
Cheers,
ErwinHi,
We have worked on a similar requirement ,just check if its useful to you.
Requirement:
You have to add the custom field in SAP standard table EKKO. Then we have to place the field in ME21N screen. When user enters any input into the field it should get updated in the database.
Note:
EKKO table is meant for Purchasing document header, you should add the field in the header level for ME21n screen. There you are provided with customer sub screens where you can add the field in the screen.
Procedure:
1You have to create a field in the Custom Include of standard table, after creating activate it.
2.Double click on the include then you can add your custom field here.
Find out the Required Enhancements:
1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018Information systemu2019.
2.Then mention the particular package name of the transaction you need to enhance. Then you will be shown the list of Enhancement components for that particular package.
3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
MM06E005 is the Enhancement component we are using here.
Development
Creating a Project to include the enhancement:
1.Go to transaction CMOD and create a project.
2.Enter a description for the project.
3.Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
4.Click on the components in Application Toolbar.
5.Here you will be shown the function module exits, screen exits and Include tables.
6.Click on the custom screen SAPLXMO6 u2013 0101 in which it suits the requirement of adding the custom field to the layout
7.Click on layout and go to get from dictionary and select the field you need to add and click ok.
8.Place the field in the layout and activate it.
9.After that you come back and check the respective function module in which you need to implement the code. So, we need to import the data from sub screen for purchasing document header. Therefore we have chosen the EXIT_SAPMM06E_008.
10. Write code in the Function Exits to synchronize the programs:
Now, code has to be written in the function modules EXIT_SAPMM06E_008 so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen.
11. Double click on the include and write the required code inside it. Then activate it.
TABLES:EKKOIF NOT EKKO_ZADD IS INITIAL.
MOVE EKKO-ZADD to e_ci_ekko-zadd.
move corresponding e_ci_ekko to ekko.
modiky ekko from ekko.
12. Now come back and activate the entire project.
13. Now go to ME21n transaction and create a purchase order by giving all the mandatory fields including custom field we have created. Here Test is the custom field we have created. After entering the data then press SAVE button, your data will be populated to the respective table.
14. Go to SE11 or SE16n, check whether the field got updated in the database or not in EKKO table.
Thanks,Surya Pydikondala.
Finally it gets updated in the database. -
Hi Gurus,
We added a custom field 'Channel' in agent inbox search view.This is to search the service tickets by communication channel.We implemented BADI CRM_IC_INBOX_BADI.
For search functionality , initially we had the following logic.
There is a method called CUSTOM_HIT_LIST_SORT. It receives table of records based on standard query. Inside this method we were looping at each record and were checking whether its communication channel was same as that of search parameter. If not equal, we were deleting it from table. But the method CUSTOM_HIT_LIST_SORT receives only the first 100 records which satisfy the standard query i.e. search is done based on standard fields which is wrong. According to SAP documentation, if we want to write custom query we should write in method BEFORE_SEARCH. But we do not know how to write it. So can any one help me regarding this.
Points will be rewarded for helpful answer.
Regards,
Raghu.Hi,
I had the same issue with a field not part of the standard search
Found the actual database call, very good comment by the way:
CL_CRM_REPORT_ACC_DYNAMIC->GET_RESULTLIST_DYNAMIC
* here comes the real stuff
IF <ft_guidlist> IS INITIAL.
CALL METHOD database_access
EXPORTING
i_select = g_select
i_from = g_from
i_up_to_n = g_up_to_n
it_where = gt_where
IMPORTING
et_guidlist = et_guidlist.
And I realized there was no way (or very complicated) to change the search to use my new field as well. The BAdI would not have helped so I just increased the number of hits from the standard 100, put in place same limits for the standard search criteria and also informed the user that the standard search stopped after the customized max. hits has been reached
Maximum number of hits is actually misleading in the case a search by custom field had been performed.
Let's say maximum number of hits (configurable parameter) is 1000 and to summarize it:
1. Standard finds 900 hits of which only 100 will be displayed due to the non-standard search parameter.
2. Standard stops at 1,000 hits but after 1,000 we could have other 20 items (or none at all and actually we do not have a way to know how many) so inform the user to change the search criteria (more restrictive) as to bring the standard result under 1,000 good enough solution I think.
METHOD eh_onsearch .
lr_result TYPE REF TO if_bol_bo_col,
counter = lr_result->SIZE( ).
l_max_hits = cl_crm_aui_service=>gv_max_hits.
if counter = l_max_hits.
CALL METHOD lr_msg_service->add_message
EXPORTING
iv_msg_type = 'I'
endif.
Regards,
Mihai -
We have created a custom field in the CATS entry screen and this field has been added to the CATSDB table, till then we are clear but my question is how to transfer this custom field to PTEX2000 and PTEXDIR tables and eventually to 2001 and 2002 Infotypes assuming we creating a custom fields even in 2001 and 2002 infotype records.
Well there is a limitation in SAP to extend on CATS fields. SAP allows to extend on the CATS transaction but does not support pushing custom fields through the entire transaction and updates mechanism. If you really need to do this you will have to do a couple of modifications.
To ease the pain you can utilize some of the BAdIs and function modules to push data through but you will still need to extend some of th estructures according to your purposes. -
Project server 2010 What are the number of Custom fields and views allowed?
How many customizations are permitted in Project Server 2010?
Thanks in advanceHi
new findings on that issue...
There is an article for Project Online that speaks about limits for reporting: https://support.office.com/en-US/Article/Project-Online-software-boundaries-and-limits-5a09dbce-1e68-4a7b-b099-d5f1b21ba489?ui=en-US&rs=en-US&ad=US
Apart from that you will have an issue if you like to upgrade to Project Server 2013. When trying to convert the 2010 databases to a 2013 database a SQL stored procedure will fail if you have more custom fields than fit into the UserViews.
Error message will be something like this:
System.Data.SqlClient.SqlException (0x80131904): INIT METADATA ERROR! At least one mismatch found between SQL schema for view MSP_EpmProject_UserView and reporting metadata. Call to MSP_Epm_CheckIntrinsicAttributes failed for Projects INIT
METADATA ERROR.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Office.Project.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command) ClientConnectionId:21f11abd-7388-48a0-a029-b5161fcb2dc8
Workaround for the issue (UNSUPPORTED !!!!!!)
Execute the Convertto-SPProjectDatabase script. Now you need to be fast or well prepared. You need to find the MSP_Epm_CheckIntrinsicAttributes stored procedure. Execute an ALTER statement for it and change the last lines of code to something like this:
LblError:
PRINT @ErrorMessage
--changed RETURN code if an error occurs to be able to proceed with migration
--RETURN 1
RETURN 0
END
I hope that helps someone out there - when I came across the issue last night, a google query returned nothing for INIT METADATA ERROR....
Regards
Christoph
Christoph Muelder | Senior Consultant, MCTS, MCSE | SOLVIN information management GmbH, Germany -
Workspace Project Custom Field Web Part on different Site Collection?
Hello experts,
I'm working on a project site template in a SharePoint 2010 environment. My client wants project custom fields to be displayed on the Project Site homepage.
To accomplish this, I'm using the Solution Starter's Workspace Project Custom Field Web Part.
It works fine, as long as we create the project sites under the PWA site collection.
However, due to administrative reasons, we've decided to provision all project sites under a separate Site Collection, in a separate content database. In this case, we manage to add the webpart to the page, but as soon as we try to edit it, to configure
the visible Custom Fields, we get this error:
Server Error in '/' Application.
Unhandled Communication Fault occurred
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Unhandled Communication Fault occurred
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SoapException: Unhandled Communication Fault occurred]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +413241
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
WorkspaceProjectCFWP.WebSvcCustomFields.CustomFields.ReadCustomFieldsByEntity2(Guid entityUid) +181
WorkspaceProjectCFWP.Services.<>c__DisplayClass12.<GetCustomFields>b__11() +158
Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +729
Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +26839062
Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) +27885657
Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +93
WorkspaceProjectCFWP.Services.CustomFieldsService.GetCustomFields() +208
WorkspaceProjectCFWP.Services.CustomFieldsService.GetAllProjectFields() +173
WorkspaceProjectCFWP.ProjectCFEditorPart.SyncChanges() +325
Microsoft.SharePoint.WebPartPages.ToolPane.OnSelectedWebPartChanged(Object sender, WebPartEventArgs e) +283
System.Web.UI.WebControls.WebParts.WebPartEventHandler.Invoke(Object sender, WebPartEventArgs e) +0
Microsoft.SharePoint.WebPartPages.SPWebPartManager.BeginWebPartEditing(WebPart webPart) +96
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ShowToolPaneIfNecessary() +579
Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +296
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnInitComplete(EventArgs e) +11146206
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1674
Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474
Now, I've activated every possible feature, both on the Site Collection and Site level (or SPSite, SPWeb). Alas, no succes. Which brings me to these questions:
What might be causing this error? Can this be solved?
Are there any cases of working webparts of this kind in site collections other than PWA?
If this is a technical limitation, what are alternative options for me to display custom fields on a project site?
Link to the Solution Starters: http://archive.msdn.microsoft.com/P2010SolutionStarterHi
I did not use this solution starter, but it might be that the webpart just looks for a Project Server instance in the current site collection - and there is none.
You could use a SQL Reporting Services Report to show on the site to accomplish this. Either you would have to set the project as a parameter manually once for each site, or you could try to determine the project automatically using the URL.
Kind regards
Christoph
Christoph Muelder | Senior Consultant, MCTS, MCSE, MCT | SOLVIN information management GmbH, Germany -
Rename enterprise custom fields
I use Project online 2013.
I'd like to rename the enterprise custom fields "Project Category" and "Project Sub Category" to something shorter. The reason is that I group my projects by Project Department, Project Category and Project Sub Category and the names
are too long.
Any suggestions?Hi,
There is no issue in renaming an enterprise custom field since it will keep its GUID. Just go to the server settings, enterprise custom fields, select the field to edit it and rename it.
The limitation I can see is if you have reports with SQL queries which point to the field name and not GUID. In this case you'll need to adjust your SQL queries.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Hi,
how can i activate one of the ten custom fields in CATS? In the IMG i enabled the first field to accept input, ut on the cats main screen nothing changed. What are the next steps?
cu
RainerWell there is a limitation in SAP to extend on CATS fields. SAP allows to extend on the CATS transaction but does not support pushing custom fields through the entire transaction and updates mechanism. If you really need to do this you will have to do a couple of modifications.
To ease the pain you can utilize some of the BAdIs and function modules to push data through but you will still need to extend some of th estructures according to your purposes. -
Dear All,
TFS 2012 work items migration to TFS 2013 along with History,Links/Attachments & Custom fields?? is there any way..
Tried couple of tools:
1) Excel based migration : loss of data is custom fields, links, attachments, status
2) few tools in Code plex : Crashing/Not working.
Kindly provide your valuable comments here.
Cheers, TarunHi Tarun,
I'd like to know the tools that you used in CodePlex. Generally, CodePlex project is not supported in MSDN forum, and you can post your questions and concerns in the issue secton of the project.
If you use TFS integration tools, according to this
blog, it is limited to migrating only Version Control items, Work Items, and the links between them. Please check the limiation and have a check with your migration. For the customized fields, you might need to do the same customizatoin on the target
team project.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
New Custom field to be created in condition records
Hi,
I have a requirement where-in there is a need to create new custom field (30 chars) as there is no standard field in condition record screen which can be used because of lenght limitation.
This new field needs to be populated from incoming inbound idoc (COND_A04).
Kindly provide me necessary changes that needs to be made to achieve this.
Thanks
RamaDear Rama,
Add this field in below structure
If field is for header than add in structure - KOMKAZ
For for item KOMPAZ
After add this new field in stcture, That field available in field catelog. Add this field in field catelog and than maintain this field in pricing table.
Also mapp this new field value in below pricing exit.
Program : MV45AFZZ
User exit for header: USEREXIT_PRICING_PREPARE_TKOMK.
User exit for item : USEREXIT_PRICING_PREPARE_ITEM
Regards,
Haresh -
Sales Order Change BAPI Extension for Customer Fields
Hello!
I am working on customer field enhancement for BAPI_salesorder_change. The extensionin parameter has more than 1000 characters (fields in the structure BAPE_VBAP) and hence, the two fields that I added to VBAP (using append structure) are not getting the data.
I have followed all the steps that was given in the documentation to fill extensionin like adding the fields to VBAPKOZ and BAPE_VBAP. This is the logic I have used to fill EXTENSIONIN:
BAPE_VBAP-VBELN = P_order.
BAPE_VBAP-POSNR = i_vbap-posnr.
BAPE_VBAP-ZZSTART_DT = sy-datum.
BAPE_VBAP-ZZdnload_DT = sy-datum.
T_EXTEN-STRUCTURE = 'BAPE_VBAP'.
*T_EXTEN+30 = BAPE_VBAP.
T_EXTEN-valuepart1 = bape_vbap.
T_EXTEN-valuepart2 = bape_vbap+240(240).
T_EXTEN-valuepart3 = bape_vbap+480(240).
T_EXTEN-valuepart4 = bape_vbap+720(240).
APPEND T_EXTEN.
Clear t_exten.
BAPE_VBAPX-VBELN = P_order.
BAPE_VBAPX-POSNR = i_vbap-posnr.
BAPE_VBAPX-ZZSTART_DTX = 'X'.
BAPE_VBAPX-ZZdnload_DTX = 'X'.
T_EXTEN-STRUCTURE = 'BAPE_VBAPX'.
T_EXTEN-valuepart1 = bape_vbapx.
APPEND T_EXTEN.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_order
order_header_inx = ORDER_HEADERX
tables
return = T_RETURN
*ORDER_ITEM_IN = T_LINE
*ORDER_ITEM_INX = T_LINEX
EXTENSIONIN = T_EXTEN.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
I guess there is 960 character limitation for BAPIPAREX structure but I would like to know if there is a way to work around it.
Thanks to all for your time.Found BAPI myself...... BAPI_SALESORDER_CHANGE
-
Error while adding a custom field with Input help via AET
Hi All,
I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
One field is required to have the input search help f4 and autopopulates the second field
I am able to add one field(not requiring help) successfully through AET .
I have created one Zsearch_help in se11 and its successfully running and Autopopulating seocnd field while I am testing it
While adding second field through AET,I need to enter following details as -
field label,search relevant ,serach help etc.
When I type the name of my 'Zsearch_help' against field search help it gives me following error
'Search help is not compatible'.
Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
Please help me out.Kindly be detailed as I am new to SAP CRM.
Thanks,
ShivaniThe question is answered in CRM 7.0 forum:
Getting error while adding a custom field (with input help) through AET
Maybe you are looking for
-
G5 doesnt boot- common tricks seem not to work
hi, today I found a suspicious folder on my HD with a 3letter name I had never seen before, after seraching through it and finding several folders (share, lib, bin etc) I found an item called instanthijackserver. i moved the whole folder into the tra
-
Crystal Report Viewer in Sharepoint Page Viewer Web Part
In our SharePoint setup, we have a web part that contains links that either hides or shows three other web parts (page viewer web part). When entering the page, the first web part is shown and the other two are "hidden". Clicking on the links will
-
I need to parameterise the query in the for loop, but VS2013 keeps telling me that @reference0 must be defined. Any reason why this keeps happening? var dbConnect = new DbConnect(); var cmd = new MySqlCommand(); dbConnect.OpenConnection(); var query
-
Data Execution Protection message.
Keep getting this message. Just updated to 9.5, never received before update
-
Zoom level in WPF Application consuming Bing Maps Web Services
Hi, I am having trouble in setting the zoom level for the map with 7 pushpins (P1 through P7). The map is centered with point P1. I want all the push pins to show on the map. I have set the zoom level as follows. Zoom Level 15 - if the points (P2...P