After adding fields on KNA1 using append structure, not null dn't work

Hello, all.
let me ask you something.
after adding fields on standard table 'KNA1' using append structure, not null , default value doesn't work.
when I check table using data object check(utilities > data object > check),  the report says like this.
Fld name  Position Data Type     Length Decimals Not null  Default
MANDT    1            VARCHAR2 9                           X           '000'
KUNNR    2            VARCHAR2 30                         X            ' '
LAND1    3            VARCHAR2 9                           X            ' '
ZMBRN   178        VARCHAR2 30                          X            ' '
ZKUNNR 179        VARCHAR2 30      
ZSEQ     180         VARCHAR2 12      
fields ZKUNNR, ZSEQ  doesn't check not null, default.
Any advice will help.
thank in advance.

Using 'initial values' check at SE11, I can explicitly make a filed not null.
but when I use append structure, there is no way for checking 'initial values' check at SE11.
thanks anyway.

Similar Messages

  • Error message in WebGUI after adding fields with EEWB - Class doesn't exist

    Hello!
    After adding fields to the component BT111H_OPPT within EEWB and BSP_WD_CMPWB I recieved an error message while trying to open an Opportunity in the WebGUI, stating:
    Cannot display view MainWindow
    An exception has occured
    Exception Class CX_SY_DYN_ILLEGAL_CLASS - Method call of IF_BSP_WD_DYN_RT_REP_SUPPORT~GET_URL_PARAMETERS failed; the class ZL_BT111H_O_BSPWDCOMPONEN_IMPL does not exist
    Method: CL_BSP_WD_COMPONENT_FACTORY=>GET_REPOSITORY_XML
    Source text Row:25
    An exception occured during the activation of target view CUBTOpptOverview.MainWindow for the navigation
    An exception has occured
    Exceptions Class CX_BSP_WD_RUNTIME_ERROR - View CUBTOpptOverview.MainWindow could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source text Row:162
    Has any one an idea, if this could be a bug or what went wrong? I am especially irritated, that it seems, that class was not created. After all I never changed any tables or anything in the background manually. I just used the standard tool EEWB, nothing else.
    Many thanks for any kind of help!
    By the way, I tried to go back all the steps I took previously to, kind of "un-do" my error, but I was not able to delete all created extensions, due to a another error - but that's a different story, or isn't it?
    Cheers,
    Marek

    Hello Experts,
    I know my question was a tricky one and no-one was able to help me from this forum. That's why I would like to share with you the solution I just recieved from SAP:
    Although all classes that were created whilst extending the component BT111H_OPPT were deleted, there still existed a seperate extension definition in ViewCluster BSPWDVC_CMP_EXT still persisted.
    I wasn't aware of the fact, that I had to delete that too.
    Note: in order to delete ViewCluster, use tx SM34
    The problem ist now solved!
    Cheers!
    Marek

  • Itunes stops working after say half hour of use and will not play next song, the only way to get it working again is to close and reopen, then it works fine till next time, but the problem keeps returning

    itunes stops working after say half hour of use and will not play next song, I have to close and reopen, it works fine till next time, it keeps happening on a regular basis, HP pavilion laptop, g6 series,
    Window 7 64 bit

    Hello davewood26,
    The following article provides steps that can help get iTunes stabilized.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • Customer Master using Appended structure KNA1

    Hi
    We have to update few ZZ description fields in ZAKNA1, which are not part of user interface in XD01/02/03. The available options are such as LSMW, Batch input require code addition through user exit ZXF04U01/ EXIT_SAPMF02D_001.
    I would like to use BAPI as we have a plan to use web services. Any idea how to extend the BAPI's such as BAPI_CUSTOMER_CHANGEFROMDATA1 or BAPI_CUSTOMER_CREATEFROMDATA1 using best practice?  I donu2019t find any extension structures like other BAPIu2019s have. Without ExtensionIn and ExtensionOut parameters, a BAPI can not be enhanced correct?
    The version we are using is ECC 5.0. Any ideas with customer master BAPI will be greatly appreciated.
    Bala

    Hi Bala,
    Just some general comments without having looked at your specific problem. Since you're on ECC 5.0 you cannot use the new [Enhancement Framework|http://help.sap.com/saphelp_nw2004s/helpdata/EN/94/9cdc40132a8531e10000000a1550b0/frameset.htm], which would make such changes more easy...
    A rather awkward workaround for extending the BAPI's is sometimes to add append structures to an IMPORT parameter of the BAPI. However, this is a rather dangerous and limited approach, because you might get into trouble depending on where the structures are used (i.e. if you add a field, it might cause harm in other programs that use the structure) and you also have to study the source code to see if you even could utilize those additional fields.
    A pretty generic option in lieu of other approaches is to generate a custom wrapper function module around the standard BAPI. Within your custom BAPI you can add the missing fields as parameters, call the standard BAPI and then do the additional updates. The big advantage of such a solution is that
    <ol>
    <li>Your change/additional logic is obvious (not hidden in a customer exit or BAdI, which are often harder to find when troubleshooting or changing functionality)</li>
    <li>Any changes to the standard BAPI will automatically also take effect in your custom BAPI (since you didn't copy the original one); this excludes of course interface changes, but here you anyhow would have to do something...</li>
    </ol>
    Should you have custom fields that are already exposed on the customer maintenance screens via enhancements, then you might want to consider using the wrapper approach, but simply export the additional data to memory, then call the standard BAPI and within the customer/user exits handling the additional fields fill them via an import from memory.
    Cheers, harald

  • Runtime Error in SE16 after adding fields in VBAK (ABAP-SD)

    Hi All,
    I have a requirement where I need to add a field in the header item of VA03, 
    So I have add new field or APPEND structure in VBAK.
    I appended structure ZZLAND1 having component field LAND1 in VBAK.
    In SE11, structure ZZLAND1 is activated and has no log of errors.
    In SE14, table VBAK is successfully adjusted as well and no log of errors.
    When I execute SE16, I have runtime error:
    Short text
        SQL error in the database when accessing a table.
    Missing Handling of System Exception
        Program                                 /1BCDWB/DBVBAK
    Trigger Location of Exception
        Program                                 /1BCDWB/DBVBAK
        Include                                 /1BCDWB/DBVBAK
        Row                                     547
        Module Name                             START-OF-SELECTION
    544 CASE ACTION.
    545   WHEN 'ANZE'.
    546 try.
    547 SELECT * FROM VBAK                     "client specified  <<-- Error Occurs here
    548                  APPENDING TABLE IVBAK
    549                  UP TO RSEUMOD-TBMAXSEL ROWS BYPASSING BUFFER
    550    WHERE VBELN IN I1.
    Am I missing any other part here?  In VBAP, after I added a field, I didn't encounter this one.
    Thanks all.

    As we see you have done everything correctly. However check whether following things are also in place:
    The fields of an append structure must lie in the customer namespace, that is the field names must begin with ZZ or YY. This prevents conflicts with fields inserted in the table by SAP.
    An append structure must be flat, that is each field of the append structure must either refer to a data element or be directly assigned a data type, length, decimal places and short text.
    If a foreign key or search help attachment is already defined for a field in the table, you cannot change this definition with the append structure.

  • After adding field to Datasource not getting data for it

    Hi All,
    I have extended the datasource 2lis_11_VASCL and added three keyfig to it.
    I have changed it accordingly in EXIT_SAPLRSAP_001 (trans. data).
    In RSA3 when i go to debug mode it is fetching correct data, But the problem is that when i check the data in the rsa3 using displaylist it is not showing newly added fields in the structure.
    I have replicated the datasource to BW here i can see newly added fields.when i ran the delta update still it is not extracting anything for newly added fields.
    I think my problem is in R/3 only coz it is not showing fields itself in rsa3 or rsa7.
    Pls. help me out.
    Regards,
    Viren.

    Hi,
    In RSA3 after you display the list choose a record and selected Choose detail(CtrlshiftF3)  and check.
    Or from the menu select >  settings > display variant  > current  and see if it is in the hidden list.
    Jaya

  • Bug after adding fields in advanced search mode of af:query

    We are migrating from JDeveloper 11.1.1.6 to 11.1.1.7.
    I noticed the following issue:
    In a page with search criteria (based on a view object), when the user adds an additional field in advanced search mode and clicks on a full submit button in the page, the following browser popup appears:
    "This page is asking you to confirm that you want to leave - data you have entered may not be saved."
    This was logged as a bug in Oracle Support but we have not been able to find a workaround yet.
    This is the only issue currently blocking us from migrating to 11.1.1.7. Has anyone else faced this issue? Any ideas on how we can bypass this behavior?
    Thank you,
    Gabriel.

    Unfortunately, the latest update from Oracle Support was that they no longer consider this a bug!
    SR 3-7706485141: Additional Fields in af:query problem - JDeveloper 11.1.1.7
    Bug 17346704 - ADDING FIELD TO AF:QUERY ADVANCED SEARCH CAUSES SPURIOUS WARNING DIALOG POPUP
    1. I cannot understand how something that blocks user actions and cannot be bypassed in any way could be considered "acceptable behavior".
    2. I also do not understand how a Bug can be lodged and then have its status changed to "Not a Bug".
    3. Even if we were to ignore this issue and convince our customers that they should be delayed by meaningless popups while working (which we cannot), their is still another issue that makes this functionality dysfunctional. When the user clicks on "Stay on Page" the popup closes and the page freezes and becomes unresponsive.
    Off course this is another issue and a different SR should open, but I think it shows that something is going very wrong with this functionality.
    I wonder if anyone else is considering using JDeveloper 11.1.1.7.0 in a production system.

  • Why is Field value sometimes used an sometimes not?

    In workflow, I have been able to execute rules using things like
    [<OpportunityType>]="New Accountt"
    I see in the expression builder help files that sometimes FieldValue is used i.e.
    (FieldValue('<OpportunityCategory>') = 'Small Deal'
    Could someone give a quick over view of the differences between using 'FieldValue' and not using 'FieldValue'?

    I posted this in the wrong forum so I will post this in the admin forum. thanks

  • Adding field values together using Advanced Field Management

    Hi All
    I have 5 currency fields on the Revenue page, that I need to add together into one field, Total Amount (currency field also). I have made Total Amount field read only, and using adv field mgt set the following default and ticked post default:
    [<Revenue>]=[<cCorporate_Income_ITAG>]+[<cDonation_Income_ITAG>]+[<cFlower_Income_ITAG>]+[<cHost_ITAG>]+[<cMerchandise_Income_ITAG>]
    It does not seem to work, is this possible at all or am I not doing something right.
    Help....

    I'm having a very similar issue. I'm trying to do the calculation as a default field value and receive the following error:
    [1] An error occurred calculating the default value for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00412) [2] Could not evaluate expression 'Expr: '=[<cMetal_Rate_ITAG>]*[<nQuoted_Weight_ITAG>]*[<nDross_Factor_ITAG>]'' for field 'ZCur_5' in business component 'Revenue'.(SBL-DAT-00394) [3] Generic SSA NOTOK error message.(SBL-DAT-00472)
    I can make the update work via workflow, but this does not help during the initial creation of the record.
    Any ideas?

  • Added field to dynamic selection screen does not work in FBL5N

    hi,
    we have added KNA1-KATR5 to the selection screen of FBL5N by using logical database DDF using "view CUS" but it does not work.
    Our system is 6.0
    is there any OSS note or program that we should add?
    many thx.

    Refer This:
    Additional field selections in FB03

  • Printer went offline after a print was interrupted and I can not get it to work again.

    Printer had been set up and was working but a paper interruption stopped it and I can not get it to print or remove the offline setting

    That will probably be because its their licence and will be registered to them..??
    You won't be able to open CC files in CS2, that is to many versions back.

  • Adding field to Table Control using screen exit

    Hi Folks,
    I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
    The field is also not existing in the table, it is also added to the table using Append Structure.
    Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Punit,
    There are various screen user exits(QQMA0001,QQMA0008,QQMA0010,
    QQMA0011,QQMA0012) available for this transaction but all are related to adding a subscreen.So, I am not very sure whether we can modify a table control for this transaction. So, If possible if u r requirement still can be acheived with creation of a subscreen then it would do only if the exits which were mentioned above belongs to u r main screen..
    Regards,
    Swaroop

  • Adding field to Table Control

    Hi Folks,
         I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
         The field is also not existing in the table, it is also added to the table using Append Structure.
        Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Poorna,
       Thanks for the reply.
       I have to add field to the txn QM02. User will specify the value for the custom field in this txn and the same should be updated in the database table.
       The field is not a std SAP field, it is added to the table using append structure.
    Thanks,
    Punit

  • Requirment to add new field in kna1 and maintiane using XD02

    hi
    i have a requirment need suggestion on that
    1) the requirmen is to add a new field email id on kna1 standard table
    ( it can be done by append structure pls give me full steps to do it and complication involved in it)
    2) now is it possible that user able to maintiane this new field by using Tcode XD02
    will it be visible there if we use a new zappend structure and how the data will be populate in that field by Xd02 do any change required in Xd02
    3) we have to create another tcode for display of these threee fields kunnr name1 and email id that will be done by moudle pool again so is there any compication in thati method later is above steps are done
    main th ing is how data will be populated in kna1 using xd02
    regards
    ARora

    hi Seshu
    my main problem in this is that
    since we are using append structure how data wil be populated in the kna1 table in this new field email id?
    as we need to find some user exists to do so as it is a structre not a field so population of data is a problem in that?
    2) and wheter i should new ztable but customer is asking to add in the standard table and maintian by some xtransaction whetehr it is possible or not?
    #) also can us suggeest on the primary keys i should give for t his data types and records as pasted below if i create a new table and should i check init check box also?
    kunnr        email id                                       name1
    100400     [email protected]      TECHNOLOGY HONG KONG LTD
    100400     [email protected]      TECHNOLOGY HONG KONG LTD
    100400     [email protected]     TECHNOLOGY HONG KONG LTD
    100400     [email protected]               TECHNOLOGY HONG KONG LTD
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]                      INDUSTRIAL CO. LTD.
    100550     [email protected]                      INDUSTRIAL CO. LTD.
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]                       INDUSTRIAL CO. LTD.
    regards
    Arora

  • Modify fields in Append Structure

    Hi there,
    I am driving crazy about append structures. We appended a few fields to KNA1 - e.g. a field that keeps a version number (every time a record changes we want to increment the version starting with 1 at creation time).
    We found a lot of material about how to append structures and actually, it's fairly simple to extend KNA1 with append structures. But HOW can someone update those fields?
    We tried user exit EXIT_SAPLVV01_001 and BAdI IF_EX_CUSTOMER_ADD_DATA-SAVE_DATA to populate those fields at commit of customer data. In both scenarios, we don't have CHANGING or EXPORTING parameters. So, we tried to update the table directly, e.g.
    method IF_EX_CUSTOMER_ADD_DATA~SAVE_DATA .
    DATA: w_kna1 type kna1.
    select single *
      from kna1                            " Customer master table
      into w_kna1
      where kunnr = I_KUNNR.
    w_kna1-sap_version = w_kna1-sap_version + 10.
    update kna1 from w_kna1.
    break-point.
    endmethod.
    Now, when we execute VD02 the program stops at the given break-point and we see the data changed in KNA1. But the record gets updated by the SAP program SAPMF02D (underlying program of VD02), of course as we cannot manipulate the KNA1 record in the internal table of SAPMF02D.
    Is there any way to store information into append structures at save time (within the same transaction) without customizing standard programs?
    Many thanks for your help

    Hi Maic,
    Normally for append structures to standard tables, code is written in user exits where it is mandatory to change existing SAP objects (user exits exist are provided by SAP and you need change key).
    For additional functionality to the existing flow of transaction, we use BADIs and customer exits (through CMOD).
    Your requirement suits the first point above.
    Annyways, try using method GET_DATA in badi CUSTOMER_ADD_DATA_CS. This has changing parameter for KNA1.
    Ramesh.

Maybe you are looking for

  • After taking a pix with my iPhone, it shows up in my Album.  But when I select it to look at it or forward it, it disappears and the screen is blank.  How do I fix this?

    After taking a pix with my iPhone, it shows up in my Album.  But when I select it to look at it or forward it, it disappears and the screen is blank.  This doesn't happen with all of my pictures.  I have the camera set on photo, with HDR off.  How do

  • EM upgrade woes

    Hey all, I am upgrading a standard GC 10.2.0.1 for Linux x86 without any modifications to the latest patch set 10.2.0.4 and have run into problems. All the configuration assistants complete successfully except the last one "Starting Oracle Management

  • Authorization for conditions in PO

    Hello, I would like to limit the authrorizations that a user has to enter conditions in PO (Me21n). Which authorization object to use? Thank you.

  • Which IOS?

    I have Cat 6509 switch with Sup 720 and MSFC3, I need to upgarde the IOS to support MPLS which version I should use? Also what is the version for 3640 that supports MPLS?

  • Crushing plant scenario mapping

    Hello Experts, One of our client to use SAP for Crushing plant, where the huge rocks are crushed in to Specific sizes of Aggregate (Output material) i.e. Aggregate 40 mm, 20mm and aggreate 10 mm get Produced. ROCK BLASTING CRUSHING SCREENING How shou