Error in EEWB deleting a field
Hello,
I was supposed to add a new customer field in a tab of CRMD order using EEWB.
When I looked at the extension already created i saw that my field had already been created but it wasn't available in CRMD_ORDER transaction.
So as to get what I wanted, I tried to delete the field from the existing task to create a clean new one.
The problem is that when I deleted the old field (using wizard) and tried to activate the former extension I had and error telling that table had to be adapted. So I went to se14 to adapt it and tried to activate again my extension. But there was no way, it said something like "Project could not be read".
As a result my extension appears red and broken and the wizard is not available any more.
Reading some posts of these forums I arrived to think I had to delete that broken extension and create it again from 0.
I fear I might loose my existing data. What about it?
I tried to delete the extension but it told me that "The order/task XXXX did not exists".
What can I do to go back to the previous version of my extension and to add my new field in my screen.
thanks, I am about to despair...
HI Nirmit,
Yes you are right. EEWB will not support the deletion of a project if any errors are found. for your serino (1) u revert back to previous version and when that project is fine u can delete the complete project.
Regard point (2) if PE(1) was fine ( i.e without errors) then u can use start wizard and at the place where u ad fileds u can deelte the fileds . this works fine in CRM 4.0.
Point (3) is the way to overcome but always u can delete ur PE1 if it does not have errors
Similar Messages
-
Getting Error while deleting a field from the 'Z' Structure
Hi All,
I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
Its a structure so i cant activate and adjust as we do for Tables.(se14)
So pls help me out asap.
thanks & Regards,
Dhruv ShahThanks for Quick Reply.
I have not used this field in any FM/ Report.
I have tried log off and then log on. but it make no difference.
Now the Other scenario is that i want to change the datatype of this field to TEXT25.
But it is also not allowing me to change because currently datatype is TEXT20.
So now how can i change the length from 20 to 25.
Regards,
Dhruv Shah -
Hi Team,
I have created Administrator -approved Infopath form template to my site and activated same template in CA.
I have used this template in one of my Form library and i can able to submit the Form with success to the library.
when i click "View Item" or "Edit Item" of the form it throws , "One or more field types are not installed properly. Go to the list settings page to delete these fields." error message.
I have refered my log files also but there is no useful information in that, please find my logs for your reference.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Logging Correlation Data
xmnv
Medium
Site=/sites/Prototypes
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
High
Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=8.51588679566816
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8sl1
High
DelegateControl: Exception thrown while adding control 'ASP._controltemplates_publishingconsole_ascx': One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEA...
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
...RRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
Medium
Leaving Monitored Scope (Request (GET:http://test-sharepoint:80/sites/Prototypes/TRT/TRTLibrary/Forms/EditForm.aspx?ID=47&Source=http%3A%2F%2Ftest%2Dsharepoint%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary%2FForms%2FAllItems%2Easpx&RootFolder=%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary&ContentTypeId=0x01010100E7EE25E5A6898C4587A6B52C808EF03300FD54861D587A7E43BA3E2E6D392A3526&IsDlg=1)).
Execution Time=32.443369199158
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
8jg2
Medium
ResourceManager.PerformCleanup: Disk Manager: CurrentSize=0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbr
Medium
ResourceManager.EvictUnusedItems: Disk Manager: Going to evict unused items. CurrentSize: 0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbs
Medium
ResourceManager.EvictUnusedItems: Disk Manager: After unused items eviction. CurrentSize: 0
Diff:0.
w3wp.exe (0x2D7C)
0x0774
SharePoint Foundation
Topology
e5mc
Medium
WcfSendRequest: RemoteAddress: 'http://test-sharepoint:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
w3wp.exe (0x08E4)
0x2E24
SharePoint Foundation
Topology
e5mb
Medium
WcfReceiveRequest: LocalAddress: 'http://test-sharepoint.anca.com.au:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
JeevaHello,
Is there any other content type on library or check if there is any duplicate column? Could you please also show us your library columns detail? (pic is also fine of lib settings page)
If you have any ""Property Promotion" column then SP create those columns as site column and associate them with this template so check "Allow management of content types" for that form library as well.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Hi ,
I am working in sharepoint 2013, This is a custom timer timer Execute method where i am moving a document item from one library to other once its expired,it was running fine and suddenly giving following error:-
One or more field types are not installed properly. Go to the list settings page to delete these fields.<nativehr>0x81020014</nativehr><nativestack></nativestack>
StackTrace = " at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)\r\n at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName,
String bstrViewName, String bstrView...
I have filled all the meta data(site column) for the item but still same error, Please help me out as i have no clue why it is giving this error
public override void Execute(Guid targetInstanceId)
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(sourceUrl))
using (SPWeb web = site.OpenWeb())
//gets the document lib
SPList listFrom = web.Lists[sourceList];
//gets the expired documents items
SPQuery query = new SPQuery();
query.ViewFields = "<FieldRef Name='Expiration_x0020_Date'/>";
query.Query = @"<Where><Leq><FieldRef Name='Expiration_x0020_Date'/><Value Type='DateTime' ><Today /></Value></Leq></Where>";
SPListItemCollection items = listFrom.GetItems(query);
//if expired items found
if (items.Count > 0)
SPFile oFile = null;
foreach (SPListItem item in items)
string strfile = item.File.Name;
oFile = web.GetFile(sourceList + "/" + strfile);
//oFile.CopyTo("Archive/" + strfile);
oFile.MoveTo(destinationList + "/" + strfile);Hi,
I think the issue is related to the internal name of the Expiration Day.
In the caml query code lines, we should use the right internal field name to retrieve and filter the list items.
To avoid such mistake, we can use the CAML Designer tool to generate the caml query code.
We can download the tool here: http://www.camldesigner.com/?p=594
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
We have a publishing website in SharePoint 2010. There are total 4 environments - Development, Test, Stage and Production. For some enhancements, we had to create some new lists and libraries. When we moved changes from Development to Test environment, everything
worked fine. Relevant lists and libraries in lower environments were saved as templates (in .stp format) including content, imported to higher environment, lists/libraries were created in higher environment using imported templates.
Things worked fine from Development to Test. We did similar exercise from Test to Stage environment. Now in Stage, when we access some pages, we get error message - "One or more field types are not installed
properly. Go to the list settings page to delete these fields.". ULS logs don't tell which exact list has got problems.
On searching for this error, I got many articles that explain how this could happen when we migrate from SharePoint 2007 (MOSS) to 2010. Though our case different (as all our environments are in 2010), we still tried following steps.
De-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature
Go to https://site-name/relationships%20list/allitems.aspx. This is a hidden list. Delete this list.
Re-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature.
Make sure that new hidden list with one item is created at https://site-name/relationships%20list/allitems.aspx
However, this didn't help as we are still getting same error message. Appreciate if someone can suggest how this issue can be resolved.
Following are ULS logs:
Unable to execute query: Error 0x81020014
One or more field types are not installed properly. Go to the list settings page to delete these fields.
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback
pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
Thanks!Hi Shrishail ,
Some time this issue occurs if you have any custom filed types in the list or library and that field type is not installed on server .
Can you please check that if you are having any custom field types column on the list and library and if that is the case you need to install that field type on the server. sometimes it happens if field types are not properly deployed / Installed then
you have to uninstall that field types (retract solution) and deploy it again.
Thanks,
Ujjwal -
Has anyone encountered this error.
I am developing on SP 2010 with VS 2010.
I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx located at:
http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
Any help is greatly Appreciated!It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
<Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
Thanks. Please mark it as an answer if it helps. -
Unable to delete Reconciliation Field
Hi
I have a field in Reconciliation Field mapping of my Resource Object. For some reason I want to delete this field. So I removed mapping for this field in Recon Mapping of Process Definition for this Resource Object. But when I try to delete the same from Recon Fields in Resource Object it says "Field cannot be deleted as it is used in Reconciliation Event Data".
In Reconciliation Manager, there are some 10 events which are in "Event Received" state. I closed all the events and then tried to delete the field but still I get same error.
Any workarounds to resolve this error?You can't delete fields from resource objects which were used even once in mapping. You can leave them as it is, as said above it won't make any harm.
Regards,
GP -
Deleting Customer Fields in Totals Table
Hi,
I added a field in the Totals table but i want to delete as i encounter short dump error on inconsistencies
Does any one here encountered this and how did you correct it?Hi,
Tcode : FAGL_GINS.
877444 FAGL_GINS: Deleting customer fields in new general ledger.
Reg
Madhu -
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 -
Is there a way to get rid of the space left when I delete a field?
I have a document that I am editing and I have deleted some fields but that leaves big white spaces in the document. Is there some way that I can get rid of those spaces without having to manually move up all the subsequent fields one by one?
Not really. There are things you can do to make the process easier, but you can't just highlight the white space and hit 'delete' to bump everything up.
You can select all of the items below what you removed on the heirarchy tree (that are on the same page) and move them all up at once.
You could make the document flowed and enclose the whole area in a subform, but that presents its own set of challenges if the fields and such do not already take up entire lines (or close to it). It does make the process easier in the future if you have to add/remove more items again. -
We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.
Already gone through following three notes but didn't found resolution.
APXPAWKB: FRM-41830 When Clicking on Payment Document LOV (Doc ID 1081305.1)
R12: APXPAWKB: Payment Document Lov Is Empty When Entering A Payment (Doc ID 857587.1)
R12: Payment Workbench Error: FRM-41830 List Of Values Contains No Entries (APXPAWKB.FMB) (Doc ID 1323875.1) -
Error message without link to field
I have a page where I am entering some information and saving it. I am using a VO which is based on an EO. I have two instance of this VO. One is being populated from the page and other one is being populated in the background.
I have put some validation in EO and using following code in validateEntity()
if (getTotEngHrs() == null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(),
null,
"TotEngHrs",
getTotEngHrs(),
"CRM",
"CINT_CRM_TOT_ENG_HRS_NULL");
When I try to save data without entering any value in TotEngHrs field. I do get the error but without any link to this field (just get the plain message). I then enter value in some other field and save it again and I start getting the error with link to those field.
Is there anyone who can help me in this?
Thanks in advanceJust in case it's not clear from above.
If I don't enter value for TotEngHrs I get error as I should be but without link to the field ..when I hit save second time the link to error field does appear. -
Error when converting a numeric field to XML
Hi,
When i run the Adobe intractive form,i am getting following exception
"Error when converting a numeric field to XML"
Anyone plz suggest
Regards,
vinothHi Vinoth Raja,
For resolving the following exception
"Error when converting a numeric field to XML"
You have to follow the below link:-
http://www.saptechies.com/error-when-converting-numeric-field-xml/
May be it will help you
Regards,
Sushma Yadav -
'Error occurred when deleting master data (RSDMD118)'
Helo Gurus,
When I tried to delete master data prior to the reload, its giving an error message 'Error occurred when deleting master data'. RSDMD 118.
We are currently working in BW 3.1. We checked for SAP notes for the same. But not Able to find any. So please help me to sort it out the problem as early as possible.Hi Mathew,
Are you sure that those master data are not used in any infoproviders? As far as I know you cannot delete master data if that is used in infocubes or DSOs.
You can also try transaction SLG1 with:
Object = RSDMD
Subobject = MD_DEL
and click on "Execute", this might give you the reason why data cannot be deleted.
Regards,
Csaba -
Getting error while calling this BAPI:Field MATNR has been transferred inco
Hi,
I have a rquirement to upload material master data into sap for Plant 1251.(For plant 1251 we need to upload both Basi veiw and Extended View).
I am getting the following error while calling this BAPI.Field MATNR has been transferred inconsistently or is blank
the errror is :Field MATNR has been transferred inconsistently or is blank.
I have written the below logic in the program to upload material master data into SAP.
Please help me out to resolve this issue.
Thanks in advance.
Program logic which i have wriiten in the program is
LOOP AT it_rpt.
CLEAR lwa_return.
v_tabix = sy-tabix.
IF ( it_rpt-werks EQ p_werks AND
it_rpt-matnr IS INITIAL ).
retrieve internal number
PERFORM get_internal_number USING lc_mtart
lc_mbrsh
CHANGING it_rpt-matnr.
ENDIF.
IF NOT it_rpt-matnr IS INITIAL.
PERFORM convert_field_input CHANGING it_rpt-matnr.
ENDIF.
Header data
CLEAR lwa_headdata.
lwa_headdata-material = it_rpt-matnr.
lwa_headdata-ind_sector = lc_mbrsh.
lwa_headdata-matl_type = lc_mtart.
lwa_headdata-basic_view = 'X'.
IF NOT it_rpt-vkorg IS INITIAL.
lwa_headdata-sales_view = 'X'.
ENDIF.
lwa_headdata-purchase_view = 'X'.
lwa_headdata-mrp_view = 'X'.
lwa_headdata-storage_view = 'X'.
lwa_headdata-forecast_view = 'X'.
lwa_headdata-work_sched_view = 'X'.
lwa_headdata-account_view = 'X'.
lwa_headdata-cost_view = 'X'.
*Client data
CLEAR: lwa_clientdata, lwa_clientdatax.
IF it_rpt-werks EQ c_1251.
lwa_clientdata-matl_group = it_rpt-matkl.
lwa_clientdata-old_mat_no = it_rpt-bismt.
lwa_clientdata-base_uom = it_rpt-meins.
lwa_clientdata-manu_mat = it_rpt-mfrpn.
lwa_clientdata-mfr_no = it_rpt-mfrnr.
ENDIF.
lwa_clientdata-division = it_rpt-spart.
lwa_clientdata-unit_of_wt = lc_gewei.
lwa_clientdata-trans_grp = lc_tragr.
IF it_rpt-werks EQ c_1251.
lwa_clientdatax-matl_group = 'X'.
lwa_clientdatax-old_mat_no = 'X'.
lwa_clientdatax-base_uom = 'X'.
lwa_clientdatax-manu_mat = 'X'.
lwa_clientdatax-mfr_no = 'X'.
ENDIF.
lwa_clientdatax-unit_of_wt = 'X'.
lwa_clientdatax-trans_grp = 'X'.
lwa_clientdatax-division = 'X'.
Material Description
IF it_rpt-werks EQ c_1251.
lt_matdesc-langu = sy-langu.
lt_matdesc-matl_desc = it_rpt-maktx.
APPEND lt_matdesc.
ENDIF.
*Plant data
CLEAR lwa_plantdata.
lwa_plantdata-plant = it_rpt-werks.
lwa_plantdata-availcheck = lc_mtvfp.
lwa_plantdata-mrp_type = lc_dismm.
lwa_plantdata-mrp_group = lc_disgr.
lwa_plantdata-auto_p_ord = 'X'.
lwa_plantdata-proc_type = 'F'.
IF it_rpt-werks EQ c_1251.
it_rpt-prctr = lc_prctr. "1252
ELSEIF it_rpt-werks EQ c_1261.
it_rpt-prctr = lc_prctr1. "1262
ENDIF.
lwa_plantdata-profit_ctr = it_rpt-prctr.
lwa_plantdata-period_ind = lc_perkz.
lwa_plantdata-max_stock = it_rpt-stawn.
lwa_plantdata-countryori = it_rpt-herkl.
lwa_plantdata-sloc_exprc = it_rpt-lgfsb.
CLEAR lwa_plantdatax.
lwa_plantdatax-plant = it_rpt-werks.
lwa_plantdatax-availcheck = 'X'.
lwa_plantdatax-mrp_type = 'X'.
lwa_plantdatax-mrp_group = 'X'.
lwa_plantdatax-auto_p_ord = 'X'.
lwa_plantdatax-proc_type = 'X'.
lwa_plantdatax-profit_ctr = 'X'.
lwa_plantdata-period_ind = 'X'.
lwa_plantdatax-max_stock = 'X'.
lwa_plantdatax-countryori = 'X'.
lwa_plantdatax-sloc_exprc = 'X'.
*Valuation data
CLEAR lwa_valuationdata.
lwa_valuationdata-val_area = it_rpt-werks.
lwa_valuationdata-price_ctrl = lc_vprsv.
lwa_valuationdata-price_unit = lc_peinh.
lwa_valuationdata-val_class = it_rpt-bklas.
CLEAR lwa_valuationdatax.
lwa_valuationdatax-val_area = it_rpt-werks.
lwa_valuationdatax-price_ctrl = 'X'.
lwa_valuationdatax-price_unit = 'X'.
lwa_valuationdatax-val_class = 'X'.
*Storage location
CLEAR lwa_storagelocation.
lwa_storagelocation-plant = it_rpt-werks.
lwa_storagelocation-stge_loc = it_rpt-lgort.
CLEAR lwa_storagelocationx.
lwa_storagelocationx-plant = it_rpt-werks.
lwa_storagelocationx-stge_loc = it_rpt-lgort.
*Tax Classifications
IF it_rpt-werks EQ c_1251.
it_rpt-tatyp = lc_tatyp. "u2018MWSTu2019
ELSEIF it_rpt-werks EQ c_1261.
it_rpt-tatyp = lc_tatyp1. "u2018UTXJu2019
ENDIF.
lt_taxclass-tax_type_1 = it_rpt-tatyp.
lt_taxclass-taxclass_1 = lc_taxkm.
lt_taxclass-tax_ind = lc_taxim.
APPEND lt_taxclass.
*Sales data
CLEAR: lwa_salesdata, lwa_salesdatax.
IF it_rpt-werks EQ c_1251.
it_rpt-vkorg = lc_vkorg.
ELSEIF it_rpt-werks EQ c_1261.
it_rpt-vkorg = lc_vkorg1.
ENDIF.
lwa_salesdata-sales_org = it_rpt-vkorg.
lwa_salesdata-distr_chan = lc_vtweg.
lwa_salesdata-cash_disc = lc_sktof.
lwa_salesdata-item_cat = lc_mtpos.
lwa_salesdatax-sales_org = it_rpt-vkorg.
lwa_salesdatax-distr_chan = lc_vtweg.
lwa_salesdatax-cash_disc = 'X'.
lwa_salesdatax-item_cat = 'X'.
*Forecast parameters
CLEAR: lwa_forecast, lwa_forecastx.
lwa_forecast-plant = it_rpt-werks.
lwa_forecast-fore_model = lc_prmod.
lwa_forecast-fore_pds = lc_anzpr.
lwa_forecast-hist_vals = lc_peran.
lwa_forecastx-plant = it_rpt-werks.
lwa_forecastx-fore_model = 'X'.
lwa_forecastx-fore_pds = 'X'.
lwa_forecastx-hist_vals = 'X'.
Purchasing long text
IF it_rpt-werks EQ c_1251.
IF it_rpt-tdline1 <> ' '.
lv_tdobject = 'MATERIAL'.
lv_tdid = 'BEST'.
lv_tdname = it_rpt-matnr.
PERFORM fill_longtext TABLES lt_longtext
USING lv_tdobject
lv_tdname
lv_tdid
sy-langu
it_rpt-tdline1.
ENDIF.
Basic long text
IF it_rpt-tdline2 <> ' '.
lv_tdobject = 'MATERIAL'.
lv_tdid = 'GRUN'.
lv_tdname = it_rpt-matnr.
PERFORM fill_longtext TABLES lt_longtext
USING lv_tdobject
lv_tdname
lv_tdid
sy-langu
it_rpt-tdline2.
ENDIF.
*Units of measure
CLEAR : lt_uom,lt_uomx.
lt_uom-alt_unit = it_rpt-meins.
lt_uom-alt_unit_iso = it_rpt-meins.
lt_uom-unit_of_wt = it_rpt-gewei.
APPEND lt_uom.
lt_uomx-alt_unit = it_rpt-meins.
lt_uomx-alt_unit_iso = it_rpt-meins.
lt_uomx-unit_of_wt = 'X'.
APPEND lt_uomx.
ENDIF.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = lwa_headdata
clientdata = lwa_clientdata
clientdatax = lwa_clientdatax
plantdata = lwa_plantdata
plantdatax = lwa_plantdatax
forecastparameters = lwa_forecast
forecastparametersx = lwa_forecastx
storagelocationdata = lwa_storagelocation
storagelocationdatax = lwa_storagelocationx
valuationdata = lwa_valuationdata
valuationdatax = lwa_valuationdatax
salesdata = lwa_salesdata
salesdatax = lwa_salesdatax
IMPORTING
return = lwa_return
TABLES
materialdescription = lt_matdesc
unitsofmeasure = lt_uom
unitsofmeasurex = lt_uomx
materiallongtext = lt_longtext
taxclassifications = lt_taxclass
returnmessages = it_messages.
Regards,
ReddyCan you check with below code .
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
INPUT = it_rpt-matnr
IMPORTING
OUTPUT = it_rpt-matnr
EXCEPTIONS
LENGTH_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Move it_rpt-matnr to lwa_headdata-material .
Regard's
Smruti
Maybe you are looking for
-
The detail part of table doesn't refresh after deleting a row
Hello! I'm developing a Master-Detail table with some a functionality. Particularly, I want to invoke a DELETE function in the Detail part of the table. For this purpose, I placed a Command button to the tableSelectOne component of the Detail part of
-
How to configure proxy services in OSB for Rest based services?
how to configure proxy services in OSB for Rest based services implemented using Jersey (Rest). The Client need to contact OSB proxy servies by posting application/xml using jersey client and OSB proxy service will call the OSB business service. i wo
-
Utilizing NI DAQ hardware on a remote system.
I noticed that the new version of Measurement & Automation Explorer for LabVIEW 8 now has a "Remote Systems" tab. Would this enable me to have say Computer A setup with some DAQ hardware and then utilize that hardware at Computer B over a 100 or 100
-
Problems with Pages and Numbers using iCloud Drive on early 2008 MacPro, Yosemite
One of my computers, an early 2008 MacPro running Yosemite, will NOT save Pages or Numbers documents to iCloud Drive from within those applications. I see the little iCloud Drive error badge next to the file name in Finder after I try to save. Howe
-
Automated message - RIM...
Please help - I keep getting the same automated message subject: RIM _bca....."This message is used to carry data between the Blackberry handheld and an associated server. Please do not delete, move or respond to this message - it will be processed