Custom Table - New Field

Added SPART in a custom table , I am trying to retrieve an entry from that table where SPART is SPACE. This works fine in DEV, in Q system the select does not work.. What could be the reason ?

>
Sridhar Sarva wrote:
> Added SPART in a custom table , I am trying to retrieve an entry from that table where SPART is SPACE. This works fine in DEV, in Q system the select does not work.. What could be the reason ?
Are you sure that SPART = SPACE?  I've noticed before that when you add a new character field to an existing table that already contains records, the default value for the new field on the existing records is NULL and not SPACE.  Try replacing the = SPACE with IS NULL.
If this is the case, I think that if you update the record the default will then be changed from NULL to SPACE.

Similar Messages

  • Add a custom table for field selection while creating field catalog for LIS

    Hi,
    I have a requirement to add a Custom table to be available for field selection while creating a field catalog for LIS. Its required as there are many custom fields to be used for field catalog creation and adding them in one of the existing tables listed is not a feasible option for us. Please let me knw if its possible..?? If yes how to get it done..??
    Regards,
    Akash Sinha

    hi,
    You need to add your field in the Data Dictionary first. For example, if
    you want the new field in the Order Item field catalog do the following.
    Look at structure MCVBAPUSR (SE11). If you already have a user structure
    appended to this structure then you can add your new field to your existing
    structure. If there is no structure already appended to MCVBAPUSR then you
    must create a new structure with your field in it and then append the new
    structure to this one.
    If you look at structure MCVBAP you will see the data appended to the end
    of it.
    Now you should see it in the field catalog.
    regards,
    balajia

  • Custom Table Currency field with 5 decimals

    Hello,
    I have created a custom table and it has a field for 'US Plan Cost'. The users wanted it with 5 Decimals. I have created a custom domain and custom data element of DEC Type with 5 Decimals.
    Domain: ZCOST: Data Type: DEC, No. of Characters: 11, Decimal Places: 5.
    However When I am trying to create entries in the table though, it's giving me error: Input must be in the format _____,_____,_____,_____~._____
    The entry that I am creating is: 1.23450.
    I dont know what went wrong? Can anybody please help me?
    Thanks Much.

    Are you doing this with SM30?  or from a program?  If a program, be sure your data value is precisely '1.23450'. It sounds like you're inputting something else...
    Or, post code?

  • Problem in adding custom table's field in MM46

    Hi,
    I have a complex requirement of adding fields of custom table in MM46 for mass maintance.
    I did most of the part but dont know what is missed.
    Steps that i followed
    1. used tcode MASSOBJ- I Added Ztable name to application table for Object type - BUS1001001.Here i dont know what to provide in other attributes of entry example Number, DB table etc. [SCREENSHOT OF MASSOBJ|https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    2. Used tcode OMSR- I added entry of Ztable'field  here i gave selection group as 211, maint status as KDEVALBQPSZXCFG
    alv group- blank. [screen shot of OMSR |https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
    After doing these steps Table name and field of table is visible in mm46. But problem is  Field is not editable that is in display mode only. 
    Pleae see this snapshot - [error image|https://plus.google.com/photos/114088763388693559922/albums/5704938582830478801]
    Please help me by telling what i missed and am i adding right attributes for entries in MASSOBJ AND OMSR?
    Thanks.
    Waiting for expert's comments.
    Reagards
    Rahul
    Please do not use words like 'urgent'
    Edited by: Rob Burbank on Feb 3, 2012 11:31 AM

    Hi Rahul,
    Wellcome to SDN. Perhaps you know it, and although it's for older releases, perhaps it could help you. Please, see SAP Note 381942 - Mass changes for logistics data in the article master.
    I hope this helps you
    Regards
    Eduardo

  • New field catalog VOLEH does not display while creating a new table

    Dear Gurus,
    I added new field as VOLEH in field catalog. However while I am creating a new table, new field (VOLEH) does not showed in field catalog...
    How can I fix this error?
    Kind Regards,

    HI
    Check once again in IMG>SD>Basic func>Pricing >Pricing control>define condition table>conditions : allowed fields> go to new entries then press F4
    check here newly created field is there or not
    (or) when creation of condition table check properly next page button in menu bar
    still if its not found
    Note 21040 - Allowed Fields not appearing for condition table
    or check this link
    http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm
    Regards,
    Krishna.

  • 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,
    Joan

    Hi 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

  • Add a new field in custom table but not show on SM30

    I add a new field in a custom table, did Table Maintenance generator and SE93.  But that field did not show on SM30 screen.  How to make it show on the SM30?
    Thanks
    Helen

    Hi,
    I think its the Problem with TMG.
    Go to TMG screen delete the old TMG and regenerate the new TMG
    Hope it helps
    regards
    Prasanth

  • Adding new field in customized table ZPM_QMEL_EXT

    Hi all,
    My requirement is  to add a new field in ZPM_QMEL_EXT table numeric field no of  months due (ZZ_CO_MON_DUE) .
    Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
      SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
                                  WHERE GPART EQ WA_QMEL-KUNUM AND
                                        VKONT EQ WA_QMEL-ZZ_VKONT.
        SORT IT_DU_DT BY FAEDN ASCENDING.
        READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
        MOVE WA_DU_DT-FAEDN TO DUE_DT.
        CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
          EXPORTING
            I_DATUM_BIS = SY-DATUM
            I_DATUM_VON = DUE_DT
          IMPORTING
            E_MONATE    = NO_MT.
        IF NO_MT IN P_DU_MT.
          WA_QMEL-DUE_MONTHS = NO_MT.
    Awaiting your kind help .
    Thanks
    hariom.

    Hi,
    There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
    For Customizing tables we can use Append structure as well as Include Structure.
    Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
    Delivery class option  and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
    For that you should maintain the those properties when data base table creation.
    i hope the above information may helpful to you.
    Best Regards
    Sreenivas Pachva

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • 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.

  • Adding a new field to the table

    Hello friends,
    I have a custom table and is in  use from a long time now.
    Now i need to add a new field to that table.
    1 - can i go directly to the change mode and then add it or is their any other way that needs to be followed.
    2 - once added do i need to go to SE14 and do something thr for the changes done to the table.
    This table also has a table Maintenence generator. Do I need to do something thr.
    Thanks,
    Bob.

    Hi,
    Check whether the change in ur custom table is going to impact any Custom program or not.
    If its so then adjust ur ABAP code so as to fit with the new table.
    Decide whether this field is going to be aprt of primary key or simple field.
    Is there any data present in ur custom table already?
    Regards,
    Lakshman.

  • Addition of new field to customer master data

    Hi
    Is it possible to create a new field in customer master table screen  and
    to have the same field in sales order creation screen.
    can we do it in Ideas version of ECC.
    please guide me step by step.
    Regards
    Jai

    Hello,
    Information about the latest enhancement technology to change the standard SAP funcionalities can be found here :
    [http://help.sap.com/saphelp_nw2004s/helpdata/EN/94/9cdc40132a8531e10000000a1550b0/frameset.htm|http://help.sap.com/saphelp_nw2004s/helpdata/EN/94/9cdc40132a8531e10000000a1550b0/frameset.htm]
    This technology is also included in ECC 6.0, you can add fields, add fields to screens, ...
    Hope this is usefull.
    Wim

  • New field (Customer group 5) to be added to the Catalog for Pricing.

    Hello friends,
    For the creation of a new Condition table, I require the field, KNVV-KVGR5 i.e Customer group 5 field present in Sales area data ->Extras -> Additional data in Customer master to be added to the Catalog of allowed fields since this field does not exist anywhere.
    I have already gone thru the threads available on adding New field for Pricing which has an example/detailed explanation with the Item category (PSTYVV) field.
    But the field I want i.e KNVV-KVGR5, is a part of Master data, so please guide me with the steps to follow to add this field in the field catalog and hence use it for creation of a new condition table.
    1) Should i add this field in KOMP (i.e item) or KOMK ( i.e Header) or KOMG?
    2) Should i include it in KOMKAZ or KOMPAZ?
    3) Should i create this field as data element or structure and what should be the domain used?
    4) For the value flow, should i use the Item -level user-exits or Header level mentioned in other threads?
    Please guide for the same urgently.

    Dear Friends,
    I was finally able to create a new field for Cust.grp.5 i.e ZZKVGR5 and added to Catalog to be used for Pricing.
    Then i faced a peculiar issue as below:
    For the business requirement, we defined a new tax condition table for determination of tax rates. For this, we are using both standard and custom fields to derive the correct tax rates in sales/billing documents like below
    A859: Country/Distr. Chl/Cust.grp.5/Material (Here Customer.grp 5 was added following the SAP Note: 531835)
    The field was inserted in the communication structure KOMKAZ which is included in both KOMK and KOMP.
    During the document processing, the pricing analysis view shows no value in the customer grp 5 field, though it is maintained for the customer used in the sales order. The code has been written in MV45 and RV60 both as guided in SAP Note: 531835. But the values are not flowing.
    Solved the above problem as below:
    M posting the answer to help the community for similar issue.
    Also, the new field tat i had added was Customer Grp 5 field of Customer master ->Extras->Additional field and I wanted the value to flow in the ZZKVGR5 field before the Pricing for the sales order was called.
    After trying all, we have finally fetched the value from KNVV-KVGR5 and got it moved to ZZKVGR5 field through ABAP coding.
    After this when i select/click on Pricing for a particular item, it gets picked up correctly and properly.
    Thanks to everyone for their valuable guidance and help.
    Regards to all.

  • Add new fields to additional data tab in customs declaration

    Hello friends,
    My requirement is to add Z fields in the additional data tab in transaction /SAPSLL/CL_CUS_02 of GTS. I would also like to know If its possible to create a new tab all together in /SAPSLL/CL_CUS_02 where in we can add fields from a custom table.
    Thanks a lot in advance. Your help will be highly appreciated.
    Regards,
    Koustubh

    Hi Koustubh,
    As Dave pointed out, there is a BadI for extra tab on declaration Item and Header.
    There is an example implementation already available in the System. I believe that 1 BadI will no be enough for what you need.
    UI enhancement BadI uses standard CUHD and CUIT tables to store the extended data ( via table APPEND ), in order to save content to Z* table you will need a separate BaDI.
    Also, If you intend to use this extra data in outbound message / declaration Idoc, extra BadI has to be used and also the basic IDoc type will need to be extended with your Z* segment. Thats probably 2-3 BadIs working in tandem.
    Can you tell what is the purpose of the extra data / extra tab ?
    Best Regards,
    Branislav Petricek

  • Need to fill a new field in table EKKO

    Hi all,
    i created a new field (ZZCODE) in the table EKKO. Well, now i would like to fill this field when the user save his purchase order. Which user-exit or BADI can i use ?
    I tried a lot but either i can't change the parameters values either the FM is not raise.
    Thanks for help.

    HI CECG,
    Yesterday itself i tried this example,
    i will forward u the document to ur mail id,
    plz provide me the mail id so that i will forward u the doc..
    STEP-BY-STEP PROCEDURE FOR SCREEN EXIT IN ME21n TRANSACTION
    Introduction:
                        SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
                        To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    Requirement:
                         You have to add the custom field in SAP standard table EKKO. Then we have to place the field in ME21N screen. When user enters any input into the field it should get updated in the database.
    Note:
                         EKKO table is meant for Purchasing document header, you should add the field in the header level for ME21n screen. There you are provided with customer sub screens where you can add the field in the screen.
    In EKKO table
    include : cl_ekkodb
    in that u can add the field u want
    Procedure:
    1.     You have to create a field in the Custom Include of standard table, after creating activate it.
    2.     Double click on the include then you can add your custom field here.
    Find out the Required Enhancements:
    1.     Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘Information system’.
    MM06E005 : CUSTOMER FIELDS IN PURCHASING DOCUMENT
    2.     Then mention the particular package name of the transaction you need to      enhance. Then you will be shown the list of Enhancement components for that particular package.
    3.     Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    MM06E005 is the Enhancement component we are using here.
    Development
    Creating a Project to include the enhancement:
    1.     Go to transaction CMOD and create a project.
    2.     Enter a description for the project.
    3.     Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    4.     Click on the components in Application Toolbar.
    5.     Here you will be shown the function module exits, screen exits and Include tables.
    6.     Click on the custom screen SAPLXMO6 – 0101 in which it suits the requirement of adding the custom field to the layout.
    7.     Click on layout and go to get from dictionary and select the field you need to add and click ok.
    8.     Place the field in the layout and activate it.
    9.     After that you come back and check the respective function module in which you need to implement the code. So, we need to import the data from sub screen for purchasing document header. Therefore we have chosen  the  EXIT_SAPMM06E_008.
    10. Write code in the Function Exits to synchronize the programs:
                           Now, code has to be written in the function modules EXIT_SAPMM06E_008 so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen.
    11. Double click on the include and write the required code inside it. Then activate it.
    12. Now come back and activate the entire project.
    13. Now go to ME21n transaction and create a purchase order by giving all the mandatory fields including custom field we have created. Go to SE16n, check whether the field got updated in the database or not.
    Finally it gets updated in the database.
    IF U PROVIDE ME UR MAILID I CAN SEND U THE DOCUMENT WHICH IS VERY CLEAR FOR PURCHASE ORDER
    PLZ REWARDS POINTS IF HELPFUL,
    Ganesh.

Maybe you are looking for

  • Blackmagic Intensity Pro and G5 2.3?

    Hi all, Just wondering if anyone knows first hand if the Blackmagic Intensity Pro card will work with my Power Mac G5 dual 2.3 (has PCI express) with 256MB video card? I realize it is not supported but found this report of it working fine for someone

  • How do I make Word documents to open in Word automatically after downloading the way they used to before I chose "Do this automatically with all files of this type?"

    I teach online, and my students post Word files to a Gradebook where I can click on the link and download their papers. Recently, because I got tired of having to tell Firefox what to do, I checked the box that tells it to open all Word documents wit

  • Not receiving mail in soap-xi-mail scenario

    Hi guys, I've a doubt related to a scenario soap-xi-mail. I've configured the scenario and everything seems to be working ok except the receiver mail adapter. I don't have any kind of error on the adapter monitoring, everything is ok. After I send th

  • Miro with Delivery note

    hi experts, I made Miro with respect to delivery note my query is that is it possible to miro should not create with that previous delivery note number which is given in migo ? how to achieve this? Regards ragini

  • Re-following an artist in Ping

    Hi, I've activated my Ping account in iTunes 10. Then started folowing Lady Gaga. Then stopped following Lady Gaga. Now, when I want to re-start following lady Gaga (call me indecisive) I click the "Follow" button, but iTunes/Ping says I'm already fo