Problem in adding a field in infospoke table
Hello,
I have an infospoke ZSOCOMMN in BW 3.5 whose datasource is infocube ZSD_C61 and the db table generated is /BIC/OHZSOCOMMN .
The requirement is to add a field ZEND_UAM( End User Account Manager ) in the above infospoke table.
This field ZEND_UAM is present in the infocube ZSD_C61 . So when I try to pull this field from the infocube to infospoke , and when I activate the infospoke , the field gets added in the source structure /BIC/CYZSOCOMMN , but I dont see this field in the target structure /BIC/CZZSOCOMMN.
Also the db table /BIC/OHZSOCOMMN is not getting updated with the new field which it should do automatically.
Can anyone provide me any solution to this what could be the problem?
Immediate help would be appreciated.
Thanks,
Shilpi
Hi Shilpi,
Since all characteristics in the cube create key fields in the target table of the infospoke, you may not be able to add a new one, if you have data in the target table of the infospoke.
You can try to delete data from the table, and change your infospoke.
Let me know, if it helps
Derya
Edited by: Derya Akcakaya on Mar 27, 2008 1:55 PM
Similar Messages
-
Problem with adding user fields to user table
hi everyone,
i have written code to create user tables and some user fields to that table....
its working fine...
in the code i have some conditions like if the table is already created.. then it should execute the code written for creating table..?
udTables1 = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
If udTables1.GetByKey("FA_MASTERDATA") Then
udTables1 = Nothing
Else
udTables1.TableName = "FA_MASTERDATA"
udTables1.TableDescription = "Fixed Assets Master Data"
udTables1.TableType = SAPbobsCOM.BoUTBTableType.bott_MasterData
ret2 = udTables1.Add()
System.Runtime.InteropServices.Marshal.ReleaseComObject(udTables1)
udTables1 = Nothing
GC.Collect()
End If
but how to check the same condition for adding fields????
udfields1 = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
'' 1st field
udfields1.TableName = "FA_MASTERDATA"
udfields1.Name = "Alias"
udfields1.Description = "Alias"
udfields1.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
udfields1.EditSize = 20
'''how to write condition to check whether the field is already creatd or not????
ret3 = udfields1.Add()
System.Runtime.InteropServices.Marshal.ReleaseComObject(udfields1)
udfields1 = Nothing
GC.Collect()hi try this..
oUserFieldsMD = muc_ParentAddon.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
'********Adding 1st Field
If Not IsFieldExist("POR1", "PINo") Then
oUserFieldsMD.TableName = "POR1"
oUserFieldsMD.Name = "PINo"
oUserFieldsMD.Description = "Purchase Indent No"
oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
oUserFieldsMD.EditSize = 20
lRetCode = oUserFieldsMD.Add
If lRetCode <> 0 Then
muc_ParentAddon.SBO_Company.GetLastError(lErrCode, sErrMsg)
MsgBox(sErrMsg)
Return False
Exit Function
Else
Fields = True
End If
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
Private Function IsFieldExist(ByVal as_TableName As String, ByVal as_FieldID As String) As Boolean
Dim flag As Boolean
Dim businessObject As SAPbobsCOM.Recordset
Try
businessObject = DirectCast(Me.muc_ParentAddon.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset), SAPbobsCOM.Recordset)
businessObject.DoQuery(String.Concat(New String() {"Select * From CUFD Where TableId = '", as_TableName, "' AND AliasID='", as_FieldID, "'"}))
If (businessObject.RecordCount > 0) Then
flag = True
Else
flag = False
End If
Catch exception1 As Exception
Me.muc_ParentAddon.SBO_Application.SetStatusBarMessage(exception1.Message, SAPbouiCOM.BoMessageTime.bmt_Short, True)
End Try
System.Runtime.InteropServices.Marshal.ReleaseComObject(businessObject)
Return flag
End Function
hope it helps -
Error while adding user fields to user table using vb6.0
Hi,
I am adding a user tables using vb6.0 using DIAPI.
I am able to add the user table successfully.
I am getting the following error when i am adding the fields to the table.
"The metadata object for this object cannot be updated, since it's ref count is bigger than 0."
My code is as follows:
oUserFieldsMD.TableName = TABLE_NAME_ITEM_LOCN
oUserFieldsMD.Name = vTableFields(0, lCount)
oUserFieldsMD.Description = vTableFields(1, lCount)
oUserFieldsMD.Type = vTableFields(2, lCount)
oUserFieldsMD.EditSize = CLng(vTableFields(3,lCount))
lRetCode = oUserFieldsMD.Add
This error does not come up when i try to add the field to my table using the vb sample provided by SAP.
Your help will me much appreciated.
Thanks.Hi Satish,
The problem is that you added the table and the objetc that you used to add the table is not freed properly. You need to free the object and then the reference count to that table will be 0 - which will enable you to add the fields
e.g
Dim pUTables As SAPbobsCOM.UserTablesMD
'Do your stuff
Set pUTables = Nothing
Dim pUFields As SAPbobsCOM.UserFieldsMD
'Do your stuff
Set pUFields = Nothing -
Problem with adding new field to the mass change screen in FBL5N
Hi,
We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
If you have faced with such a problem, we would be grateful if you give us some tips.
Regards,
Miłosz WłodarczykThe problem has been resolved: we didn't activate a code in SE80.
-
Adding a field to Standard table through Structure
Hi everybody,
I need to add a field to standard table, I am using one append structure in that i am adding my field , But whenever I am activating the structure, I am not able to activate, It is getting as "PARTLY/ACTIVE" status for structure, so please help me in activating the structure.
ThankZ
siddivinesh.go to the standard table it ll also be partially active
goto se14
give the std table name
adjust and activate...
if the problem is not solved.......
see if the field is repeating twice in that Std table.....
if so delete the repeating fields.... -
Adding SERVICE_ORG_RESP_SHORT field to Condition Table
Dear Experts!
We want to use the SERVICE_ORG_RESP_SHORT field in our Condition Table to define product Pricing. The problem is it doesn't exist in a Field Catalog (SPRO -> CRM -> Master Data -> Conditions and Condition Technique -> Condition Technique: Basics -> Create Field Catalog).
We see two possible ways of dealing with this issue:
1) Adding SERVICE_ORG_RESP_SHORT field into Global Field Catalog (SPRO -> CRM -> Master Data Conditions and Condition Technique -> Condition Technique: Basics -> System Configuration for Condition Technique -> Set Up Usage -> folders "Global Field Catalog: Fields" and "Global Field Catalog: Data Elements").
2) Using BAdI (SPRO -> CRM -> Basic Functions -> Pricing -> Define Settings for Pricing -> Adopt User-Defined Fields).
Please, tell us, which of these ways is correct?
Kind Regards,
Alexander Smirnyagin.Hi Alexandr,
the first step mentioned above is required to define the field, so that you can use it to create a conditon table based on it and maintain master data for that condition table. In addition, you should implement the /SAPCND/ROLLNAME BADI for the field.
The second step described above is required to integrate the field for transaction processing, e.g. in a sales or service order. You need to define which order value should get passed to your pricing attribute.
Best Regards,
Michael -
Does adding a field to a table affect a data block based on the table?
If I make a change to a table like adding a field does it affect data data blocks based on the table?
The other place I have seen where adding a new column to a table causes problems is when a programmer codes: Select * from table.
If that is coded in a form, the form will need to be recompiled before it will work properly. -
Fields missing in SM30 after adding new fields to the table
Hi ABAPers,
I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
In SE51, the overview screen of the table show less fields in the field list..
I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
Note: the system is 4.0B.
Thanks...Suresh KumarHi
You have to re-generate your dialog for SM30 by table maitenance generator.
- From Se11 go to table maitenance generator
- Choose update icon
- Set flags for NEW FIELD
- Go to expert
- Set flag to re-generate dynpro
Message was edited by: max bianchi -
Problem while saving date field in custom table
Hi,
Iam facing the following problem while saving a date field in custome table
i have a date field zdate in which the value is 02082010.
now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
How can i correct it..
Regards
Kumarjust before saving u might have to use a string reverse FM and then save it..
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
STRING = p_string
LANG = sy-langu
IMPORTING
RSTRING = r_string
EXCEPTIONS
TOO_SMALL = 1
OTHERS = 2 -
Adding new field in the table for Output
Hi ,
I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
regards,
RaguHi Refer below link on sdn for adding new Field
Adding New Field to Catalog
Adding New fields to field catalog -
Hello Experts,
I have created a table. I have 3 fields in that table and i hav used that table for 2 months. Now i have added a
new field( FLAG Field ) values will be 'X' or Blank. Now when i am using a select query on this table in where condition if i am using Flag = ' ' , it is not considering the old records it is fetching values from the day i have added the new field, Kindly provide me a solution
Thanks & Regards,
Kams.Hi,
then you forgot to set the INITIALIIZE flag for your new field in SE11.
Regards,
Klaus -
Adding Custom Fields to FAGLFLEXP Table
Hello,
We have a requirement to update WBS Element for Planning related Data. So have added custom field(WBS Element) in structure CI_FAGLFLEX04.
The field is visible when I open FAGLFLEXP table, but when I post data The custom field (WBS Element) is not being updated. Could you please let me know the process to update this field?
Thank you in advance.Hi.
The procedure isn't so simple. There are several posts on the subject SCN. I suggest research before you start developing.
Start here:
https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
However, the most important is: a) Is it really necessary to change the standard? b) There could be a Z table containing the new information and referencing FAGLFLEXP? c) What is the transaction that will keep the data? It has Exit´s for what you need?
As Vadamalai said below,
Actually your approach may be wrong, first as an ABAPer should ask to functional team, which transaction and where to insert the fields, it could be header or item level(I am saying example)
Based on tcode, you need to enhance the table level as well as the screen exit/BADI we need to pass screen to internal programming structure. the structure type will be table type of FAGLFLEXP.
Regards.
Douglas -
Adding custom fields to DB table
Hi,
I added custom fields in std DB table using CI_* , activated table using SE14. Now I want to remove the added custom fields , I deleted the CI_* using SE11. It still appears in DB table, I mean I dont expect to disappear from DB table, when I double click it still takes to structure screen. I deleted include from SE80 also selecting Package, activated and adjusted DB table from SE14 after deletion, but it still appears and when I check the attributes it shows the same package , how to reset the CI_* , bottom line ,I want to make DB table normal as before, because of that I am getting dumps when I execute std DB table related T codes.
It should be done in easy way but not able to get breakthrough.
Please let me know your suggestions.
ThanksHi Sai,
Try to assign the CI_* structure to $temp,i.e as local object and then activate it first.
After that, try deleting the local object and adjust the table using SE14.
If still it does not work, ask your BASIS consultant to do an "Alter table".
May be that works!
Thanks & Regards,
Anshumita. -
Adding custom fields to standard table control in IW51
Hi,
I have added 4 custom fields to the standard table QMEL through the structure CI_QMEL .
In transaction IW51 there is a table control as show in the screenshot below.
The 4 custom fields which i have added in the standard table should also be added to this table control.
Can this achieved by making adjustments in SPRO settings or can it be acheived technically by using some exit?
Thanks in advance.
Regards,
Vignesh Sunkasi.KHi Vignesh,
Adding new fields is not possible, but custom subscreens can be added.
Check enhancements QQMA0001 (subscreen for notification header) and QQMA0008 (subscreen for additional data).
It might help you.
Thanks & Regards,
Swati -
Hi There,
In SAP GRC 10.0, our team had an issue where we could not add duplicate fields from separate table (see ERROR: Select Currency/UoM field for the selected analyzed fields). This was resolved by the SAP Note 1904313/ 1904314 (http://service.sap.com/sap/support/notes/1904313).
We upgraded our system to SAP GRC 10.1 SP05 and could now add the duplicate fields from separate tables. SAP Note 1904313/ 1904314 was part of SAP GRC 10.1 SP03 so it makes sense that we, in a higher version (SP05), would be able to do this.
The issue now is when we add the duplicate fields from different tables and run the Ad-hoc Query to test if the data source works correctly, the No Data Selected warning persists. This means that the data source provides no data for analysis, which is required to write our business rules.
Below is an example:
Basic data source with just one currency reference field EBAN-WAERS.
When you run the Ad-Hoc Query you receive data.
Basic data source with second currency reference field EKKO-WAERS.
When you run the Ad-Hoc Query no data is found.
Please also make reference to the following thread logged by my colleague (ERROR: Select Currency/UoM field for the selected analyzed fields)
Any assistance to receive data with duplicate fields from separate tables will be highly appreciated.
Thanking you in advance.
Regards
Gary KhanHi
following are the error messages from dump
hrtText
There is already a line with the same key.
hat happened?
Error in ABAP application program.
The current ABAP program "SAPLCKMS" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
rror analysis
You wanted to add an entry to table "\FUNCTION-POOL=CKMS\DATA=T_DYN_CKMLCR",
which you declared
with a UNIQUE KEY. However, there was already an entry with the
same key.
This may have been in an INSERT or MOVE statement, or within a
SELECT ... INTO statement.
In particular, you cannot insert more than one initial line into a
table with a unique key using the INSERT INITIAL LINE... statement.
rigger Location of Runtime Error
Program SAPLCKMS
Include LCKMSF01
Row 226
Module type (FORM)
Module Name DYNAMIC_PERIOD_CLOSING
Source code where dump ocured
222
223 APPEND ht_ckmlpp TO t_add_ckmlpp.
224 APPEND LINES OF ht_ckmlcr TO t_add_ckmlcr.
225 INSERT ht_ckmlpp INTO TABLE t_dyn_ckmlpp.
>>>> INSERT LINES OF ht_ckmlcr INTO TABLE t_dyn_ckmlcr.
227 ENDWHILE.
Also I guess there is problem with material ledger in R/3 side
I have never worked on material ledger before so dont hav idea of Tcode and tables in SAP R/3 for material ledger.
Thanks
Navneet
Maybe you are looking for
-
TS1424 I am trying to authorize my computer so i can download movies onto it.
Hello i am trying to download a movie onto my brand new MacBook Air but every time i try to download a movie it says that before i download a movie i have to go to the itunes menu and authorize my computer. My question is where is the menu on itunes?
-
I have created a Smartlist and associated it with a value in the account dimension. After adding this account value to a Data Form, I expect to see a drop down box with the members of the Smartlist. I do not get a drop down box. Am I missing a form s
-
How do I get Microsoft office to work after downloading Mac OS X Lion?
If I try to open Microsoft Word, Excel, or PowerPoint I get hte folowing message: "You can't open the application Microsoft Wod because PowerPC applications are no longer supported."
-
i try gmail,yahoo,msn account but my cell is displaying error 'service temporarily unavailable .try again later' plz give a soluation thanx
-
Premiere elements 13 changing the frame rate of the original clips
Hi, I'm trying to make a gameplay video for YouTube... The clips I'm using are at a low frame rate (13-15 fps). When I put these clips into the editor, they get sped up to 30 fps. This increases the speed of the video and the preview window jumps bac