New field on field catelogue

Hi
For a discount condition type I want to create a new condition table with a filed which is not in filed catelogue. So what and all the entire procedure I have to do.
thns & rgds
raju

Hi,
Please find below the information how to add a new field to the field catalogue Ex. Profit center is the new field i wish to add, then
For adding field into Field catalogue:
you should first identify the field for Profit Center (Design ID) and then do as follows:
For example if 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.
Prerequisites:
For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
To solve the problem, 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 Note 21040.
For creating a condition Table:
1) There are almost all the regularly used Conditon Table predefined in the system from 001 to 500.
See what best you can use the Standard Tables to avoid further errors.
2) In case you should define the new condtion Table,
a) Goto TCode: V/03
b) Give a Table any number from 501-999
Press execute and reach to next screen.
c) Check up whether  the field you are looking is already added in Field catalogue.
d) Double click on the fields you want to make a Table..one by one. Note that the sequence here is important in higher hierarchical to lower..
Eample : Sales Org, DC, Division, Customer and then Material etc..,
e) After selecting, click on the Techincal View buttin (redone) and reach to next screen.
7) Check which key  should be in header and which key should be footer. Use check and uncheck functionalities there..
8) Once you are through with all the above steps ..click on generate button.
Check the Table is generated or not.
You can check it at V/04 or V/05 or in SE11.
Regards,
Ravi Duggirala
Edited by: ravi duggirala on Jun 9, 2008 10:48 AM

Similar Messages

  • Having problems when adding new Curency value field + currency field.

    I need to add a new Currency field (CURR, length 15, 2 decimal places) plus the Currency field itself to a view. 
    I'm really struggerling. I have looked at the existing SAP fields in the Component workbench and I have to admit I can not see how a field is linked/related to the currency itself. Is this link established purlely at the disctionary level?.
    Has anyone added their own Z field value  and Z currency field before. I can create both fields and display them, but what I can not work out is how I related them within the component workbench, or is this done from the dictionary?.
    Any help would be greatly appreciated.
    I should have been able to look at an existing SAP example and work out how it's done, but so far I can not see/determine how this is achieved, even though someone has mentioned that it's controlled via the GET_I_field method. Looking at this method I was expecting to see some mention of both the Currency value field and the Currency field. But as I don't see these confusion reigns.
    Jason

    That's correct, but am I right in thinking that you can't actually create the currency key field itself?.
    I am aware that currency value fields can be created which reference a currency key field, but can see nothing that allows me to create a currency key field to be referenced.
    I hope that makes sense.
    Also, I have amended the structure, changing my value fields from Decimal 15,2 to Currency 15,2  and have created a new currency key field in the structure and referenced this from the Currency value field.
    Witin the Component/view/context node I can see this new currency key field, but it appears as STRUCT.fieldlabel whereas my currency value field appears in the context node as EXT.fieldlabel, because it was created in the AET.
    My problem is that when attempting to add the currency key field onto the screen I don't have it to select from within the list of structures/attributes. All the others attributes in the context node seem to be there, except the new currency key field/attribute.
    The attribute has a SET_fieldlabel, GET_fieldlabel, GET_M_Fieldlabel and a GET_I_Fieldlabel, which I believe is all that should be required.
    Does anyone know what my problem could be?.
    Jason

  • Field "Value field texts" is disabled to enter new values

    Hi there,
    I'm trying to enter new values on the field "Value field texts" from Depreciation Area, in Config Asset Value Display(Financial Accounting (New) > Asset Accounting > Information System > Configure Asset Value Display). The fields are disbled to enter new text values.
    I don't know what's happening. I've see the SAP Note 121433, but I don't intend to request the creation of a program to fill these fields. Does anyone know if there's another way to deal with this?
    Thanks in advance.

    Hi Srinivasa,
    Thanks for reply. I've checked the transaction ANSICHT following the steps said and the Master Data fields are with "No authorization" for all Depreciation areas.
    Do you know if there's another way of enable these fields? We cannot change the Authorization settings from one Depreciation Area to another.
    Thanks a lot.

  • New field in field catalog in output

    How can I add new field in field catalog in Output determination. I heard it can be done through a user exit. Can somebofd help with the user exit name.

    if you want to use new field in output determination - you need to modify corresponding communication structure (KOMKBV1 - header structure for V1 application - like sales orders, contracts,...)
    Then in RVCOMFZZ in one of the userexits you can populate those fields.
    After your fields are added to KOMKBV1 - you can use them in output determination.

  • Can new cutsom currency fields on User Records be used for SOD Analytics?

    We will have new cutsom currency fields on User Records. Can we utilise these new custom fields for dashboard reporting using SOD Analytics?

    Hi
    Yuo can try to use FOR ALL ENTRIES option.
    IF you have:
    WERKS BTRTL
    Z002 Z001
    Z002 Z002
    Z003 Z001
    Z003 Z002
    You should do something like that:
    DATA: BEGIN OF <TAB_SEL> OCCURS 1,
           WERKS TYPE WERKS,
           BTRTL TYPE BTRTL,
          END   OF <TAB_SEL>.
    WERKS BTRTL
    <TAB_SEL>-WERKS = 'Z002'. <TAB_SEL>-BTRTL = 'Z001'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z002'. <TAB_SEL>-BTRTL = 'Z002'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z003'. <TAB_SEL>-BTRTL = 'Z001'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z003'. <TAB_SEL>-BTRTL = 'Z002'.
    APPEND <TAB_SEL>.
    SELECT * FROM <TABLE> INTO TABLE ITAB
       FOR ALL ENTRIES IN <TAB_SEL>
                       WHERE WERKS = <TAB_SEL>-WERKS
                          AND BTRTL = <TAB_SEL>-BTRTL.
    In this case you need to fill correctly the internal table <TAB_SEL> with the all combinations.
    Max

  • How to add new field to Field Catalog in Pricing?

    I want to create new field in field catalog (i.e. Average Supply Quantity), and then populate it to Web UI (user must enter value in this field for calculate price in opporunity). What actions I need to do for this?

    Hi Pavel,
    Fields added to field catalog are to define condition table.
    Go to SPRO->CRM->BAsic Functions->Pricing->Define Settings for Pricing->Maintain Field Catalog.
    Create the attribute in field catalog with below parameters,
    Field Type = 'I' ( item field ) if its header field then it should be H and corresponding structure is CRMT_ACS_H_COM
    Implementation type = ' '
    Enter field name
    Virtual = 'C'
    Visibility = ' '
    Selection type = 'A'
    Enter the data element
    Now save the field catalog and click generate.
    The next step is to pass value to the field in order to do pricing. This should be done in CRM_COND_COM_BADI. If the field is a 
    header field then assign value to the field in method HEADER_COMMUNICATION_STRUCTURE else use method ITEM_COMMUNICATION STRUCTURE. You will find the attribute in importing structure of the both the methods. Assign value (i.e. Average Supply Quantity) to the field.
    Regards,
    Arun

  • Adding New fields to field catalog

    Hi friends, i have comeup with a requirement. its related to output determination. the output have to be sent based on certain criteria. for this we decided to create a new condition table(Acess) and add it in the Access sequence. To create a condition table we need to select the fields from the "Field Catalog". so for this the field should be avilable in the field catalog. Since the field we are going to use is a new Zfield the field is not avilable in the "Output field Catalog".
               What to be done to make the field avilable in the 'Output field catalog'
    Can anyone give some input on this? Thanks in advance.

    Hi Srini,
    Following are the activities.
    1. Find out what are the output communication structures involved in that output condition table. To find that, go to field catalog, and enter a new field called "test". Then it will give you a message "The field test is not a part of the communication structures KOMB, KOMPBV* KOMKBV*where * equals 1, 2 or 3 based on whether the output is for order, delivery or billing documents. For delivery document it is KOMPBV2, KOMKBV2 and KOMB.
    2. Now having known the communication structures for the field catalog, go to all these structures in SE11 and append these structures with a new field say ZZ_SOLD TO PARTY with the relevant data element and domain.
    3. To populate the field while doing transactions, you have to represent this field by a foreign key which is a field from transaction say LIKP_KUNAG for a delivery output.This coding takes place in a user exit. The correct user exit has to be found. Once this is done, the new field is ready for input and it will be available in the list of allowed fields in the field catalogue.
    4.Now you can create a condition table using the new field and use it as one of the accesses in access seq.
    Please assign reward points if this info is helpful to you.

  • VL10 and new selection-screen fields

    Hi experts.
    My requirement is to add new selection-screen field to second tab in VL10.
    After analyse many topics the solution was to copy VL10 to ZVL10.
    Also V50R_USEREXIT_TRANSF was copyed and there was added specific code.
    Furthemore note:524424 was implemented (header in form definition in  V50R_USEREXIT_TRANSF ), and the SHP_VL10_SELECT_OPTIONS was enhanced. As I understood from this stage we have selection-criteria in repeort.
    The problem is that I don't know how to transfer this data to ALV.
    Any tips ?
    Thanks .
    Daniel.

    hi
    how did you do that. i have to add select options in coois tcode  in header and operational level.but only using badi. using screen enhancement it is possible bt how to do that using bagi "workorder_infosystem"..
    please help me out..

  • I would like to add a new card date field to my address Book Contacts. Is this possible? Thanks, Jeff

    Hi,
    I would like to add a new card date field to my Address Book Contacts. Is there any way to do this? I have a lot of contacts and it helps me remember who I talked to, if I had a new card date field in my contacts.
    Thank you,
    Jeff

    Hi,
    I found the applescript below from Michael Bach that works well.
    (* Find recently modified entries in the Address Book
    Input: a time interval (backwards from today) in the variable "daysBeforeToday"
    Output: a string on the clipboard, format: YYYY-MM-DD (tab) Name (return)
    ©2009, Michael Bach, <www.michaelbach.de> *)
    set daysBeforeToday to 7 -- <<<  change as desired or read from a dialog
    tell application "Address Book"
      copy (current date) - daysBeforeToday * 24 * minutes * 60 to referenceDate
      copy (every person whose (modification date > referenceDate)) to modifiedPersons
      set s to ""
      repeat with aPerson in modifiedPersons
        set d to ((modification date) of aPerson) -- now change to international format and forget the hours
        set dateString to (year of d as string) & "-" & (my twoDigits((month of d) as number)) & "-" & (my twoDigits(day of d) as string)
        set s to s & dateString & tab & (name of aPerson) & return
      end repeat
      set the clipboard to s --for pasting into other applications
      s -- to view immediately in the script editor
    end tell
    on twoDigits(aNumber) -- trivial utility for formatting
      if aNumber < 10 then return "0" & (aNumber as string)
      return (aNumber as string)
    end twoDigits
    I changed the modification date to creation date.
    Thanks for the replies.

  • Add a new field in field catalog of Material exclusion & inclusion.

    Hi All,
    I want to add a new field in field catlog  Material exclusion & inclusion.
    Filed to be added-
    Field:MVKE-PRAT6.
    Please help me ot add the same.
    Thank you
    RKMACC

    Hi,
    You need to go for enhancement,use the exit MV45AFZZ to include into the field catalog,take the help of ABAPer.
    Regards
    Ram

  • New thumbnail display field

    I need a thumbnail field that displays the equivalent tiff filesize of a jpg file. I need to verify that the jpg files upsized by lightroom for "longest side" specs meets a minimum uncompress file size. The only way to currently do that (that I know of) is view every file in photoshop.
    http://NaturaLight.us
    http://pa.photoshelter.com/c/naturalight

    Hi John,
    Yes you are correct. When your field is a  display field & if you dont enter data in it while creating record, MDM will add default value "New Item" in it. (even if you create record from Portal same thing will happen)
    If you want to write Not Null validation on this field below is the work around:
    Enable the Required property for your field in console.
    But Required property in console works only when u write validation in Data manager.
    The default REQUIRED_FIELDS validation does not work if your required field is also a Display field
    You need to write addition condition along with REQUIRED_FIELDS.
    When you try to create record without entering data in display field, MDM will add default value "New Item" if field lengh is equal to or more than 8 ( or "New It" if legth is 6 for example)
    So copy the value which you will get in ur display field and use it as shown below:-
    REQUIRED_FIELDS AND Name < >"New Item" (Here Name is considered as display field) (REQUIRED_FIELDS you need to type in expression window)
    Or if you dont want to enable required property Then just add Name <> "New Item" validation in your existing expression (Here Name is considered as display field)
    Thanks,
    Mahi

  • Key Fields, Data Fields, Key Figures and Characteristis, Dimesions & Key Fi

    Hi All,
    Can any one please describe more about the below terms and with the Example....
    Like when we identify which one is Key filelds and Data fileds, how to distingush creating new dimesions (Is it based on user reporting) Key figures in Dimestions...
    DSO/ODS:  Key fields, Data Fields
    InfoCube: Dimensions, Key Figures
    Infoobjects: Key figures, Characteritics
    Regards,
    Prem

    Hi,
    Search through SDN for more information on these concepts,
    Re: ods data fields or key fields?
    Re: Key Fields and Data Fields in ODS
    defining Key -field and data fields
    Regards,
    Mani

  • How to Make Fields in Field Catalog Mandatory

    Hi Gurus,
    I want to Make Some Fields In Field Catalog Mandatory and Some should be Non Mandatory Can u please help me out as soon as u can.
    Regards
    Deep Gaur

    Hi,
    IF you can specify which Field Catalog then it will be useful for us to provide appropriate answer.
    1. For Customer Master
    IMG> Financial Accounting New> Acs Recev and Acs Payable --> Customer Accounts --> Master Data --> Preperation of creating customer master Data --> Define Account Groups with screen layout (customers)
    In that you can create your own account group, and click Details Screen.
    There will Field Status header within that are listed three main areas
    General data
    Company code data
    Sales data
    When you double click these lines it will take you into "Status Group" Overview. Wherein under "Select Group" are listed fields Address, communiucation.... Double click on one group , you will bet aken into the group field wherein you will find 4 colums with indicators assigned to it. ( Suppress, Req. Entry, Opt Entry, Display) you can choose the required option. "Req. Entry" against the field. Click save after you complete your selections.
    2. Similarly you can do for Material Master in
    IMG --> Logistics General --> Material Master --> Field Selection --> Maintain Field Selection for Data Screens
    But be careful when you do it for material master as it is cuts across all the modules...
    Regards
    Sathya

  • Change fields via field.set

    I don't quite know if this is the right approach for the problem, but I hope, anyone can make that clear to me:
    I got two Applications called "app1" and "app2". app2 is a simple swing-application which, to make it simpler, only consists of a JTextField (pseudocode following).
    JTextField vlaue_1 = new JTextField("test");
    ...The application app1 now starts app2 (using Class.forName and Method.invoke). Then, it gets all of app2's fields, in this case value_1, via getDeclaredFields.
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    public class app1 {
         public app1() {
              super();
           public static void main(String[] args) throws Exception {
                Class testClass = Class.forName("app2");
                Method mainMethod = findMainMethod(testClass, "main");
                mainMethod.invoke(null, new Object[] { String[] arguments });
                Field[] fields = testClass.getDeclaredFields();
         private static Method findMainMethod(Class clazz) throws Exception {
              Method[] methods = clazz.getMethods();
              for(int i = 0; i < methods.length; i++){
                   if(methods.getName().equals(name))
                        return methods[i];
              return null;
    Now, app1 knows about the TextField in app2.
    And finally, the question is: Can I change the String in app2's value_1 into something different out of app1? For example, app1 says "Hey TextField, you are no 'test' any longer, you are now a 'foo'" and app2 updates its swing-GUI instantly?
    I already tried a field.set(Obj arg1, Obj arg2) and got only exceptions, but probably because I don't quite know which objects are meant for arg1 and arg2.
    Perhaps someone has some (pseudo-)code to clarify this issue.
    Any help would be nice. Thanks

    Ok, the original code for app2 is the following (the app doesn't make much sense, was only created for testing this issue):
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TestApp extends JFrame implements ActionListener{
         public static JTextField wert1 = new JTextField("15");
         public static JTextField wert2 = new JTextField("12");
         public static JLabel ergebnis = new JLabel("0");
         public static JButton berechnen = new JButton("Berechnen");
         public TestApp() {
              JFrame frame = new JFrame("TestApp");
              JPanel north = new JPanel();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(north, BorderLayout.NORTH);
              north.add(wert1, BorderLayout.CENTER);
              north.add(wert2, BorderLayout.CENTER);
              frame.getContentPane().add(ergebnis, BorderLayout.CENTER);
              frame.getContentPane().add(berechnen, BorderLayout.SOUTH);
              berechnen.addActionListener(this);
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              TestApp gui = new TestApp();
         public void actionPerformed(ActionEvent event) {
              double ergebnis_1;
              double wert_1 = Double.parseDouble(wert1.getText());
              double wert_2 = Double.parseDouble(wert2.getText());
                  ergebnis_1 = wert_1 + wert_2;
                  ergebnis.setText(Double.toString(ergebnis_1));
    }The code for app1 follows here:
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    public class JavaTester {
         public JavaTester() {
              super();
         public static void main(String[] args) throws Exception {
              Class testKlasse = Class.forName(args[0]);
              String[] neueArgs = uebergebeArgs(args);
              Method mainMethode = findeMethode(testKlasse, "main");
              mainMethode.invoke(null, new Object[] { neueArgs });
              Field[] felder = testKlasse.getDeclaredFields();
         private static String[] uebergebeArgs(String[] args) {
              String[] rueckgabe = new String[args.length - 1];
              for(int i=1; i<args.length; i++) {
                   rueckgabe[i-1] = args.toLowerCase();
              return rueckgabe;
         private static Method findeMethode(Class klasse, String name) throws Exception {
              Method[] methoden = klasse.getMethods();
              for(int i = 0; i < methoden.length; i++){
                   if(methoden[i].getName().equals(name))
                        return methoden[i];
              return null;
    I'm sorry that I can't print the stacktrace, because I just don't know, how to call the field.set function.
    Is it for e.g. felder[0].set(???, ???)?

  • Fields[i].Field.Value in C#

    Hello all,
    I am new to Crystal and am updating an application that currently uses Crystal 8.5. I have installed Crystal 2008 and am attempting to update some methods and properties so that the upgrade will be smooth and not require much change in the application code. I am having a problem with getting the value of a field object in .NET. I need to know what the value of the field on the form is so I can use it in my code. The 8.5 implementation was Field[someField].Field.Value, but that doesn't work now. Any suggestions are welcome...
    Thanks in advance.

    Hi;
    I suggest you have a look at the following article on converting from the RDC to .NET:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/e0eb394f-931e-2b10-3b82-9413bfc3f457
    To get the field value, however, you will need to use the RAS engine. See this article:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0479adb-6b3f-2b10-1e9c-eb81a15768e8&overridelayout=true
    And the folllowing forum post:
    how to get field value from a crystal 11.5 R2 .net report
    Best Regards,
    Jonathan

Maybe you are looking for

  • Acrobat 9.0 pro Licensing Issues

    I have a license key that I was using on my desktop, I uninstalled the software off of my desktop so I can install it on my new computer and now the key is listed as invalid although I have uninstalled from desktop and rebooted.

  • HT4906 lost some photos in photo stream

    I recently switched from the iPhone 3GS to the iPhone 5.  All my photos were in photostream.  When I backed up my phone and turned on Photostream less than half my photos showed up on my phone.  I am freaking out.  These were pics of my puppy!!

  • An app says that I need to re-launch it. What do I need to do to re-launch it?

    I downloaded an app not too long ago. I had to shut my phone off for only 30 minutes and when I turned it back on, when I open up the app, it says that the app has failed to open and that I need to re-launch it. What exactly is re-launching an app an

  • Can't open older pictures in my 5S

    after I updated my 5s to IOS7.1.1, I can't open my older pictures. I can see the thumbnails, but when I select to open, it gives me a white blank. And this only happened to older pictures in my phone, those newly taken ones are just fine. please help

  • Color profile problem/question.

    These two exports of the same file were taken on my spouse's D300s, and are good examples of a profile problem I cannot seem to solve.  This is the identical problem I also experience on the Nikon D700 and D3.  The following was exported with the "Ca