Which FM can append table sturcture(add key fields and so on)
Hi everybody,
does any one of u know a FM which append structures of table (to add the key fields and so on) in ABAP dictionary.
The FM DDIF_TABL_PUT is only used to write a new table and I don't want to call this FM twice to realize my application.
Thanks in advance!
Liying
Hi Raja,
I got a runtime error:Perform_NOT_FOUND
EXCEPTION:CX_SY_DYN_CALL_ILLEGAL_FORM
following is my codes:
DATA ATA DDFIELDS LIKE DDFIELD OCCURS 2 WITH HEADER LINE.
DATA NAME LIKE DD02L-TABNAME.
DDFIELDS-FIELDNAME = 'F3'.
DDFIELDS-POSITION = '3'.
DDFIELDS-KEYFLAG = 'X'.
DDFIELDS-DATATYPE = 'INT4'.
APPEND DDFIELDS.
DDFIELDS-FIELDNAME = 'F4'.
DDFIELDS-POSITION = '4'.
DDFIELDS-KEYFLAG = ''.
DDFIELDS-DATATYPE = 'INT4'.
APPEND DDFIELDS.
NAME = 'ZTEST'.
CALL FUNCTION 'DB_ADD_TABLE_FIELDS'
EXPORTING
TABNAME = NAME
TABLES
DDFIELDS = DDFIELDS
EXCEPTIONS
FIELDS_NOT_ADDED = 01
PROGRAM_NOT_GENERATED = 02
PROGRAM_NOT_WRITTEN = 03
TABLE_DOES_NOT_EXIST = 04.
What might be the reason?
B.R.
Liying
Similar Messages
-
Creating Condition Table.. Key fields and line items
dear all
I am creating a Condition table and have 6 fields, I want to make 5 of them as key fields and also header line fields.
I want my 6th field as line item field but I am unable to do that. My last key field is also shoiwing in line item.
Please help.
Thank you.
Madhu.Hi,
Check this thread
Re: VK11
Regards,
Chandra -
Identify key fields and data fields
Hi
i have datasource 0co_om_cca_9 .
i want build 1 DSO, how can i identify what are key fields and data fields to build DSO based on that datasource.Hi sunnel,
The DSO are like 2-D database tables.
We use the technical keys here in counterpart to the business keys in Infocubes.
The key fields are the one based on which the records are identified uniquely in the database table.
And the data fields are the ones which are aggrgated or summarised or overwritten based on the value in key filed.
For example:
The ID no.s of the employees will be unique and it can be used as a key field.
The feilds like the Salary taken by the employee every month :"SALARY"
and the no. of leaves they taken: " NO. OF LEAVES" can be used as data fields.
So that the salary or the leaves taken by a particular employee can be aggregated based on her/his ID no.
The key fields in DSO doesnty mean Key figures.The key field means any unique key or a key based on which the records are sorted in the DSO
And key figures are the data fields.Some of the Characteristics can also be data fields in DSO.
Please give points if u r satisfied wit the information
Also let me know if u hav any doubt and if any thing is wrong.
Regards,
Kalpana M -
Key fields and non-key field of condition table
Hello Gurus,
what is key fields and non-key field of condition table?
thanks very much!Key field
Each condition table contains keys that can be used for creating dependent condition records.
for example let take condition type PR00.
PR00 uses access sequence PR02 .
Access sequence PR02 has following tables associated with it namely 304, 305 & 306
When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
Non key field
For example take condition table 144 - sales deal basic data.
Table 144 is associated with access sequence PBUD.
If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme. -
How to add a field and table control to BP transaction.
Hi,
I have a requirement to add a field and table control to the 'Control data' tab of the Transaction BP.
Can some on please help me if having a solution and with any relavant documents.
Thanks in advance.
Raj & Khader.Also explore with EEWB tcode.
Refer this threads
Re: EEWB
Created New fields in Business Activity with EEWB
Cheers
Manohar -
Multiple entries in a Z table with same key fields
Hi
I do have a ZTABLE, with 3 key fields defined earlier. It consists of around 1 lakh records. Later onwards, two of the non keyfields have been made to key fields.
This table is being populated with records at the time of saving a ztransaction.
But some times, the system is updating the same records, some times twice, sometimes thrice, etc. I got to know that all fields (both key fields and non-key fields) of the record are same. That is, records are being updated in to the database table n number of times may be depending of some false logic in the program.
If I tried to enter the same using SM30, it is showing me an error message stating that the record is already existing.
What can be the reson?Hi,
It seems there is some kind of data inconsistency..try to get all the records and then delete the duplicate entries through program....Now once u r done , from now onwards there won't be any duplicate entiers.,also before updating table use filters to avoid the duplication..
Regards,
Nagaraj -
In which transaction can i find the Order acknowledgement field?
Hi All,
In which transaction Can i get the Order acknowledgement field ? i tried in VL10B and VL10D but i could not get it.
And also tell me what is the field (order acknowledgement) and in which table can i find it?
Thanks in Advance.
PallaviEKES-ERDAT
Tcode - ME92F -
How can i do to add a field in TAB BIDDER
Hi expert,
Does anyone know how can i do to add a field in TAB BIDDER. I am working on SRM 7.0 in RFX-Bid invitation. In Spro does not exist a structure to do that.
I think that i can do that with webdynpro, but i do not the way.
I do not have problem to add fields in header or item in rfx. By the way my real problem is add field in TAB BIDDER.
Could anybody help me, please?
Thanks in advance.
ManuelThanks G.Ganesh, but i did not receive the document because my job´s mail does not allow receive this kind of message. Therefore i change the business card with my personal mail.
Please, can you send the document again?
Thanks a lot, and i apologize by this situation.
Manuel Juez
Edited by: Manuel Juez on Nov 3, 2009 2:47 PM -
I created a table using the ranking field and now I need to delete the "dots/buttons" and turn them into text fields, is this possible?
It sounds like what you are trying to do is edit the choices in a likert field to something other than the default radio button. This is not something that you can do in Formscentral at this time.
Andrew -
Key Fields and Data Fields in ODS
Hi Guru's ,
Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
Thanx in Advance.Hi Pradeep,
An ODS key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
For example, you have the following key fields:
Doc No, Doc line item (item no in the doc) and you load the following data:
Doc# Item# Amount CALDAY
1234 1 100 26.09.2005
1234 1 150 27.09.2005
1234 2 300 27.09.2005
1235 1 400 27.09.2005
The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
What I said is true if for Amount key figure the Add option is set.
But if you set an Overwrite option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
So, ODS key fields choice and KFs settings are very important for data aggregation in the ODS.
Best regards,
Eugene -
How to add extension fields and mashups to partner solution?
To add extension fields and mashups I have log on to the system using a user with adaptation rights.
There's no possibility to do that from within the UI designer, right?
Now, if I adapt the screens with extension fields or by creating and adding mashups, how do I add these enhancements to my partner solution?
Or in other words, how do I ship extension fields and mashups with my partner solution?Before you use the key user tools, you must "enable key user tools" in copernicus by right click on the solution. Now the changes will be added to the partner soltution transport order.
But you can add extension field in copernicus as well by adding new item "business object extension" to the partner solution. -
Key fields and data fields in a DSO ??
i have a question regarding key fields and data fields in a Standard DSO...
i am using 2 datasources to build a open sales report 2LIS_11_VASTH and 2LIS_11_VASTI i am pulling in data from these 2 data sources to a DSO and i am wondering what infoobjects should be in the key fields and data fields .....does this reflect back to table VBUK and VBUP tables and does the key field in the DSO have to be the key fields in VBUK and VBUP tables ???? or what really should be included as key fields and data fields ????
please help....If you look at the various SD tables, VBELN and POSNR are commonly used as the document number and document line item.
For VBAP and VBUP, it's referring to the Sales Order Line Item with the columns VBELN and POSNR as the key for both tables. However, if you look at the LIPS table, which is the Delivery Line Item table, it too has VBELN and POSNR as the key. Likewise, the VTTP table, which is the Shipment Line Item table, also has VBELN and POSNR as the key.
While using RSOSFIELDMAP as a map is a fairly good "rule of thumb", it still needs to be used with a level of skepticism. -
Prerequsites for deciding Key fields and data fields
Hi
I would like to know the criteria to decide upon KEY fields and Data fields for an infoprovider.Hi,
What is a Key field in a Database and How should I choose one?
Keys are crucial to a table structure for many reasons, some of which are identified below:
They ensure that each record in a table is precisely identified.
They help establish and enforce various types of integrity.
They serve to establish table relationships.
Datafields may be Charecteristics and it may be keyfigures
Regards,
Marasa. -
Defining Key -field and data fields
Hi all
i have to define Key-Fields and data-Fields for a DSO(say DSO3).
DSO1 is a combination of DSO2 and DSO3..
DSO1 and DSO2 are SAP defined DSOs.
DSO3 is a User defined DSO.
my assumption:
DSO3 has 30 fields
DSO2 has 16 fields.
can i create the DSO3 with remaining 14 fields which is there in DSO1?
or i have to create the DSO3 with 30 fields(all DSO1 fields).
can any body explain....
Thanks & Regards
krishnaThe problem is not how many fields you create where, the issue is where is the data is going to come from.
Since you data is going from DSO3 to DSO1and if the field is already getting populated in DSO1 from DSO2, then you don't have to worry about populating those fields again, unless and otherwise you want to overwrite them.
Remember any fields exist in both DSO3 and DSO2 which overlapping will be overwritten by the latest update.
Again, going back to your question, you should consider does your datasource has missing fields (14 of them).
thanks.
Wond -
MDM - Add a field and fill it automatically
Dear Experts,
We would like to add a field in MDM, but also that this field would be automatically fullfilled with the values that exist in the "field" mask.
For example, an article has Mask A, B and C. We would like that this field would be automatically fullfilled with these values " Mask A, B and C.
Is there any ideia you could share?
Thanks in advance,
LMHello Lígia
you can modify repository structure - add additional field where you will save "mask"
if your "mask" is constant
assignment working with selected field only but in calculation expression you can use constants, different values from another field or values from LUT
Regards
Kanstantsin Chernichenka
Maybe you are looking for
-
Since upgrading to 10.9.x, I have been having issues with OSX Mail application such that it is not marking emails as read when I have done so in Gmail website. Example: 1). Received a new email in my Gmail account 2). In mail.google.com, the email is
-
Help! My display driver is no longer compatible with Adobe software!
Help! I rely on Adobe CC and my iMac to earn my living. My display driver is no longer compatible with Adobe software! What should I do? (most affordably because I dont have enough money for even basic living expenses right now.) Detailed notes are
-
Clients running OS 10.4.6 on older iMac (slot loading) cannot login
Clients running OS 10.4.6 on older iMac (slot loading) cannot login. I get: "Logging into the account failed because an error occurred. The home folder for the user account is located on an AFP or SMB server. Contact your system administrator for hel
-
I cannot drag and drop to the time line!!! This worked before.
Hello All, The last time I used iMovie was about a month ago. I have successfully imported and edited many projects in the past year. I just imported footage from a Mini DV camcorder as I always have in the past. When I click on video to drag to the
-
Export items from certain warehouse in SAP B1
Hi All. I am trying to export some of the unused items from one of the warehouse in Item Master Data but don't know which tools to use? I try to use Data Import/Export but it is only for transactions export. After that, I'll import the latest item in