New field creation in Condition Table?
Hi Gurus
I want to know whether it is possible to add a new field in field catalogue whle creating a condition table. I want to add Chapter Id of the material.
Thanks
Rishi
Hi Rishi,
Follow below example-
Add a Field To New Condition Table in Pricing
Add a field to a new condition table in Pricing (Condition Technique):-
I will explain you the process with below example...Please follow steps in below sequence-
Try to add the filed from the field catalog. In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table. It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.
Here I'm giving a simple guide to add fields to the Pricing Field Catalogues:
For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.
When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.
Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.
Reason and Prerequisites:
For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
Proceed as follows:
1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
Component Component type:
ZZPSTYV ZZPSTYV
Save, check and activate the change you made.
3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.
4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.
Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.
5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.
6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:
MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.
For header fields, use structure KOMKAZ instead of structure KOMPAZ and
USEREXIT_PRICING_PREPARE_TKOMK instead of
USEREXIT_PRICING_PREPARE_TKOMP.
For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition Technique) -> New Fields for Pricing' and OSS Note 21040.
Regds
MM
Similar Messages
-
Need to add new fields to the condition table
Hello All,
The requirement is to create the new condtion table for MM containing the following fields and maintain the entries in this table:
- client
- characteristic
- class
- internal characteristic.
THe condition tables are created via tcode M/03 or through the customizing path
Material Management > Purchasing > Conditions > Define Price Determination Process > Maintain Condition Table.
The problem which i am facing is as follows :
-SAP has the standard procedure for the generation of the condition tables . Selected fields are made available by SAP in the field catalog and we can select only from the those available fields. Once we select the required fields the condition table is automatically generated in the background.
-As the requirement is, we need to have 4 fields in the generated condition table (client, characteristic, class and internal characteristic), but the problem is that none of these fields are available in the field catalog which is provided by SAP (in tcode M/03, M/04 and M/05).
-Designing of the Z table wonu2019t be useful as we would not be able to use the Z table as the condition table.
Can you please suggest how can we add the desired field to the existing field catalog in M/03 or is there any other alternate solution to this ?
Thanks in advance for your help.>
Rinkesh Doshi wrote:
> Hello,
>
> The specific ABAP question which I have is :
>
> Is there any way in which we can enhance the existing field catalog in M/03 tcode to include the 4 new fields (client ,characteristic,class,internal characteristic) ?
>
> Thanks.
Please post your code which you developped until now and show us where the problem is. I cant see any ABAP related question. -
Creation of condition table without copy
During creation of Condition table ( without copying any condition from available tables), Is it possible to see all field catalouges available? and if possible then how can we see all fields available to add desired ones into our table?
Hi,
SPRO >Sales and Distribution->Basic Functions>Pricing>Pricing Control-->Define Condition Tables
In the above menu path you can find out the Field catalog what SAP has given if you want to add new field you can add provided
If you done the Enhancements
Regards,
Prasanna -
How to find out the user who has created a new field in the custom table.
How to find out the user details who has created a new field in the custom table.
Thanks,
JoanHi Jesudasan ,
You can know the user details with version management.Please find the
below procedure to know.
Go to table->Utilities tab->version->Version management->Compare the previous one .
Hope this solves the issue,Let me know if you have any issues.
Thanks,
Rajani -
Adding a new field to a DB table
Hi,
I am working on 4.6C.
The requirement is to add an extra field to a database table which already has data in it...
Will this effect the system in any way...if I add a field with the data in the table.
What precuations do i have to take before adding an extra field to a DB table.
I was wondering what will happen when i need to transfer the TR.. Basically the data is there in Production and Quality and not in development... so it will not be a problem in development...
I mean changing the structure of the table with data in it ... Is it Ok...
Thanks & regardsHi Sam,
you can add a new field to any database table if even
if contains data in production, only thing to do is u just
have create an append structure to that table and in that
append structure just create the new field.
NOTE : Naming Conventions as follows:
For Append Structure e.g :
In se11 enter Table Name and select change button.
now select GOTO option in the menu bar and select APPEND STRUCTURE option.
now the screen shows u an default name for ur append structure, so dont change the name
just hit enter button and
now enter the your new field name with two Z's infront of the field.
e.g if ur field name is MATNR then enter ZZMATNR as ur field in the append structure.
and now save and activate and also adjust in the DATABASE UTILITY.
thanks & regards,
CH Vamsi Bharath -
Adding a new field to a Z table
We have a Z table on which we have created a datasource. We have created a virtual cube on this datasource and queries are built on this cube. This setup is present on Dev, Quality and Prod environment.
Now we have added a new field to the Z table in Dev. We will be creating a new Infoobject for this new field and will be adding it in the Virtual Infoprovider and also in the queries.
1. Do we need to replicate the datasource so that newly added field is visible to the datasource? If no, is there any way?
2. When I have to transport this to Quality and Prod, do I have to capture all the components and objects (Table,Datasoure,Virtual Cube Queries)? If no, what should I capture in the transport request?Hi,
First, you have to regenerate the datasource in order to add the field:
1) Log on to source system (where Z table is stored) and go to transaction RSA6.
2) Select the root node and click Expand (icon with '+' sign).
3) Search for your datasource (you can use the binoculars icon).
4) Click on Change.
5) Verify that the field appears on the list. Make sure that "Hide field" and "Field only known on client exit" options are not marked for this field.
6) Click on Save.
7) Select "Datasource" -> "Generate" (CTRL+S) menu option.
8) Use RSA3 transaction in order to verify the new field appears on test extractions.
Then, to replicate the datasource in BI:
1) Log on to SAP BI and go to RSA1 transaction.
2) Go to "Modeling" -> "DataSources" section.
3) Search for your datasource and right click on it. Select "Replicate metadata" from context menu.
4) Add the new InfoObject to the VirtualProvider.
5) Update the transformation which joins the DataSource to the VirtualProvider.
As far as transport requests are concerned, even though it requires more work, it is a good practice to group objects in different transport requests according to their type:
In the source System (R3 for instance):
1) One transport request with the table.
2) One transport request with the datasource and its structure.
In BI:
1) One transport order with the datasource replica.
2) One transport order with the new InfoObject(s).
3) One transport order with the modified VirtualProvider.
4) One transport order with the modified transformations from the datasource towards the VirtualProvider.
5) One transport order with the Queries and their elements.
I hope this helps you.
Regards,
Maximiliano -
SDIMA: Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ
Hi Experts,
when checking condition records consistency between CRM and ERP via transacation SDIMA we get the following error for one of the conditon records: 'Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ'. Can anybody explain to me where this message could come from? To my understanding field 'SUPP_EXIST' only exists in CRM condition tables for technical reason. So no way to compare this against an ERP condition table field, is there?
And related to this: I found that this error message is triggered from method CL_CND_DIMA_CRM->COMPARE_MBDOC. As the DIMA-Compare is triggered asynchronously and just setting a break-point is no option therefore, I was wondering if anybody knows a way of debugging this method in order to find out what the coding does in detail before the message is thrown.
Thanks a lot for your help!
Cheers,
JensHi Brian and the other Experts,
thanks for your help. Unfortunately, I don't have a single record with this problem but a lot more. So it is not possible to correct this manually. Also, I would not know how to correct this anyhow as I don't understand what field in R/3 should map to field SUPP_EXIST in CRM condition tables. Let me explain:
From my understanding, in CRM (leave aside scales) we have two database tables for each condition table, a central and a supplemental table. A condition record always creates a data record in the central table and nothing is inserted in the supplemental table in case that the fields form the supplemental table are not needed. However, when there are less common condition features involved (e.g. uppler limits), then an additional data record will be created in the supplemental table with the relevant data. And this is when field SUPP_EXIST comes into play as it is an indicator for the system that a data record exists for that condition record also in the supplemental table.
The condition record data model in R/3 is completely different. For CRM condition table CNCCRMPRCUS801 the following tables in R/3 are involved: A801, KONH and KONP. And there is a data record for each of them for a given condition record. There is no concept of having a supplemental table as far as I understand it so where exactly would I find this SUPP_EXIST in R/3 so that I can make sure it does not deviate from the data in CRM?
Would be great if someone could give me another hint. What am I getting wrong?
Cheers,
Jens -
How to add new field into dynamic internal table
Hello Expert.
how to add new field into dynamic internal table.
PARAMETERS: P_TABLE(30). "table name
DATA: I_TAB TYPE REF TO DATA.
FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
*Create dynamic FS
create DATA I_TAB TYPE TABLE OF (p_table).
ASSIGN I_TAB->* TO <TAB>.
SELECT * FROM (p_table) INTO TABLE <TAB>.
here i want to add one more field into <TAB> at LAST position and my
Field name = field_stype and
Field type = 'LVC_T_STYL'
could you please helpme out .Hi,
Please find the code below.You can add the field acc to your requirement.
Creating Dynamic internal table
TYPE-POOLS: slis.
FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE, u201C Dynamic internal table name
<fs_dyntable>, u201C Field symbol to create work area
<fs_fldval> type any. u201C Field symbol to assign values
PARAMETERS: p_cols(5) TYPE c. u201C Input number of columns
DATA: t_newtable TYPE REF TO data,
t_newline TYPE REF TO data,
t_fldcat TYPE slis_t_fldcat_alv,
t_fldcat TYPE lvc_t_fcat,
wa_it_fldcat TYPE lvc_s_fcat,
wa_colno(2) TYPE n,
wa_flname(5) TYPE c.
Create fields .
DO p_cols TIMES.
CLEAR wa_it_fldcat.
move sy-index to wa_colno.
concatenate 'COL'
wa_colno
into wa_flname.
wa_it_fldcat-fieldname = wa_flname.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO t_fldcat.
ENDDO.
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = t_fldcat
IMPORTING
ep_table = t_newtable.
ASSIGN t_newtable->* TO <t_dyntable>.
Create dynamic work area and assign to FS
CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
ASSIGN t_newline->* TO <fs_dyntable>.
Populating Dynamic internal table
DATA: fieldname(20) TYPE c.
DATA: fieldvalue(10) TYPE c.
DATA: index(3) TYPE c.
DO p_cols TIMES.
index = sy-index.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
Set up fieldvalue
CONCATENATE 'VALUE' index INTO
fieldvalue.
CONDENSE fieldvalue NO-GAPS.
ASSIGN COMPONENT wa_flname
OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
<fs_fldval> = fieldvalue.
ENDDO.
Append to the dynamic internal table
APPEND <fs_dyntable> TO <t_dyntable>.
Displaying dynamic internal table using Grid.
DATA: wa_cat LIKE LINE OF fs_fldcat.
DO p_cols TIMES.
CLEAR wa_cat.
MOVE sy-index TO wa_colno.
CONCATENATE 'COL'
wa_colno
INTO wa_flname.
wa_cat-fieldname = wa_flname.
wa_cat-seltext_s = wa_flname.
wa_cat-outputlen = '10'.
APPEND wa_cat TO fs_fldcat.
ENDDO.
Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = fs_fldcat
TABLES
t_outtab = <t_dyntable>. -
Creation of Customized field for Pricing Condition tables
Hi Friends
I have a requirement to create a Pricing condition table with Customized field starts with 'Z' and
Field length should be more than 80.
After creating New Customized Field, system is not allowing to create Pricing Condition table and giving error 'Too Many fields selected (larger than 100 bytes)'.
Could you please advice how to over come this error and Maximum field to create Pricing condition table .
Thanks
RaviHi there,
Table & table attributes are defined by the ABAPers. Not by finctional consultants.
You need to have an access key to define new tables & access sequence.
Check with your ABAPer. He will be able to help you with that.
Regards,
Sivanand -
How to include new fields for output conditions
Dear Gurus,
I want to maintain the field "kunag" in output condition table.But it's displaying in allowed filedcatalog but at the time of creating condition table it's not showing there.Please advice me.
Thanks
HariHI TRY TO ADD THE FILED TO CONDITION TABLE and refer below it may helps you
<b>please click on the link</b>
<a href="http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm">Adding New field</a>
Message was edited by:
SHESAGIRI GEDILA -
Selecting a document field for a field in a condition table/access
Hello
I created a pricing condition table using field WGHIE from the standard field catalog.
Img/SD/Basic Functions/Pricing/Pricing Control/Define Access Seq
I can assign the table to a access, but when I try to do the field assigment it give's me the message "<i>Select a document field for WGHIE</i>" at the field assignment part.
In the fields display the WGHIE field has nothing listed in the Doc Field and it's grayed out so you cant change it. Also in the I/0 field its red lighted
Any ideals as to how I can fix this.
ThanksRudy,
For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition Technique) -> New Fields for Pricing' and OSS Note 21040
REWARD IF U FINDS THIS AS USEFUL...
Regds
MM -
Reg.New field creation in Consumption posting area
Dear Experts
We want to create new one filed in the below refered path.
SPRO->Material Management->Purchasing->Account Assignment category. in the below screen
Consumption posting filed - New field to be added.
How to create the above. Pls advise
Thanks
Rajakumar.KHi,
u can discuss with ABAP er for creation of new field in that existing screen means u can go for the enhancement as per ur requirement.
otherwise, u can use the existing 17 types of account assignment categories that are provided by std. SAP. u can use the following any one of consumption posting area.
A Asset
V Consumption
E Accounting via sales order
U Unknown
P Accounting via project
or u can check any possibility to define any new consumption posting indicator. -
HI everybody
i have to add a new field to the structure of a z table, i wanted to know if data would become inconsistent when changing the structure of the table?Hi anjali,
You can add the fields to the structure of ztabel in Tcode SE11, where as to make the existing data consistent we have to activate the table in SE14.
SE14 is to adject the tabel.
Regards
Satya.
Message was edited by: Satyanarayana Sayana -
Adding custom fields to the condition table in CRM
Hi all,
Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
Please help in this.
Thanks & Regards,
Raghuram.Hello Raghuram,
I feel that your issue is similar what i have faced, refer to my post:
Link: [Issue in customer specific price;
For solving this you can refer to detailed steps in, Note 514952 - Download of customer-specific tables.
Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
If not solved then let me know the relevant message in SLG1
Regards -
How to create a new field in predefined database table
Hi friends,
now i am working on scripts. In script form i have got a new field(vehicle number in goods receipt against purchase order) which is not available in any table. i think we have to create a new field in database table.how to create field in a pre defined data base table.Hi,
To add new field to table, there are two option.
1.Include structure and
2. append struct..
the best way is append structure.
goto se11>give your table name>there is append structure button, when you will click on it, it will create a 'append structure',
after activating it, it will add fields to your table.
Maybe you are looking for
-
Case #0184201928 - I want an anwser from ADOBE that gives a solution
Case #0184201928 Tuesday, April 9, 2013 8.52 AM Australia eastern standard time Opened Thursday, April 4, 2013 3:21:24 PM PDT Status Open - Pending Adobe Response Product Creative Cloud Indiv 1.0 Support contract Adobe Support Program Subject not ab
-
How can I copy and paste text into Word in Acrobat 9 Pro
How can I copy and paste text into Word from Acrobat 9 Pro?
-
I recently had to wipe my entire hard drive on my mac book pro and need to reinstall all my adobe software. However, I have lost my install dvds. I do have all my serial numbers. How can I re-install CS4 and Acrobat Pro v9?
-
SAP_ABAP/4,my resume got shortlisted for Technical interview ,Im glad it go
Hello ABAPERS, My name is Shilpa Priya, I have been into Jave deveoping wrking, in an MNC for past one yr,Im looking to enter the ERP sector,and learning SAP_ABAP/4,my resume got shortlisted for Technical interview ,Im glad it got selectde out of 100
-
Download Elements 12 Trial Problems
I tried to download adobe trial last Friday and today... I got same result... Dat4.cab is missing? How can I download correctly? Is it really broken or there is a problem with my downloading? How can I fix problem and download soon?