New value in system Edittext

HI!
I use:
SBO 2004C
VB 6.0
I have problem with input new value in system Item (Edittext).
Modul: Banking ->Incoming Payments->Incoming Payments->Payment Means-> Cash-> G/L Account.
This is link Editext field.
I use this code:
Private oBusinessForm As SAPbouiCOM.Form
Set oBusinessForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType,pVal.FormTypeCount)
kpkonto.Value = "100"
I get message:
Run-time error '-3006 (fffff442)'
Form - Invalid Form Item
Can You help me?
regards
Krzysztof Sala

Try this
Private oBusinessForm As SAPbouiCOM.Form
Set oBusinessForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType,pVal.FormTypeCount)
''Initialize kpkonto item here as
kpkonto=oBusinessForm.Items,Item("UID").specific
kpkonto.Value = "100"
Regards,
Mahendra

Similar Messages

  • All Values Deleted from Target System when transporting new values added

    Hi,
    Wasn't really sure where to put this question.
    I created a maintenance view between two Z tables. A main key table and a text table.
    I added the new values to the maintenance view and transported successfully.
    I then had a request to create 3 more values.
    I added these three and transported these to the target QA system.
    However when the transport completed, all entries bar one had been deleted from the Z table but the Z text table had all existing entries plus the three new ones.
    I've tried manually creating a transport and adding all 10 entries but this has the same problems.
    If I SCC1 the entry from one dev client to another it works fine.
    Has anyone come across this problem befor and know how to resolve it?
    Many Thanks
    David

    Yes, I managed to sort it.
    This is what I did:
    I created a new blank transport.
    For the task created under the transport I then opened the task object list.
    I then added two entries in this list. i.e. one for each table that was in the view.
    My entries where:
    Entry 1:
    Program ID: R3TR
    Object Type: TABU
    Object Name: ZNR_REASON
    Then click on the key icon and add:
    Table Name: ZNR_REASON
    Table Keys: 200* (NOTE 200 is our development client). The '*' is needed to that ALL entries are included in the transport.
    Entry 2:
    Program ID: R3TR
    Object Type: TABU
    Object Name: ZNR_REASONT
    Then click on the key icon and add:
    Table Name: ZNR_REASONT
    Table Keys: 200* (As above 200 is our development client). Again the '*' is needed to that ALL entries are included in the transport.
    I hope this helps.
    Regards
    David

  • New Value Field

    Dear Friends,
    We are planning to add new value field in current copa structure, for this I need know :
    1. As soon as we add new value field current operation conern gets deactivated ?
    2. If there is only one server for development and production then as soon as we create value filed in development, what would be the impcat in production client ?
    3. If server is same than transport of value field is required ?
    4. If required then opernation concern shuld be re-generate after transport ?
    5. If server is same then operating concern has to be regenerated in every client ? i.e. dev, testing, preprod, prod.
    and what ever impact would be in this case and also if we have different server for dev nad product. Kindly let me know about you expert comment.
    If there is any risk while regenerate operating concern, also please let me know.
    Thanks
    Ravi

    Hi,
    Activation of Operating concern has two aspects- Cross client and client specific...  for your questions.. if you have operating concern in the same server it is enough if you activate only client specific one..
    On each change of u r datastructure i.e changes to characteristics and value fields u need to generate.. till then it will be in Inactive mode..
    In terms of different systems generally u can transfer the active operating concern on addition of new value field.  However sometimes it may be required to activate specifically..
    Regards
    Sudhakar Reddy

  • New Value Field in COPA

    Hi
    I have created new conditions in SD. These have been assigned to a value field which was never assigned to any conditions. Now this KE4I config is moved to test system and I found that values of these conditions are not appearing under new value field.
    Earlier these new conditions were assigned to old value field and those were coming correctly in billing doc. Still these conditions values are appearing under that old value field.
    Am I missing any step ? Please help
    Raj

    HI,
    Billing document value flow is as per KE4I mapping to value fields.
    There are some value flow analysis tools under CO-PA to check your settings with respect to value flows. Use transaction KE4ST (Simulate billing document transfer -> Value flow (<Ctrl +F7>) to check where things went wrong.
    Hope this helps.

  • New values not taken into account in MASS / XD99

    I am trying to use a background job to block Customers for Billing at month end.
    In MASS/XD99  I created a variant to update field KNVV-FAKSD (Sales Area Billing Block).
    But running the variant in background (using MASSBACK), it seems the new values I thought I saved in the variant in MASS/XD99 are not taken into account.
    I opened the variant again in MASS/XD99 and indeed it seems it had not saved the new values, because the screen again shows the current values.
    Tried a couple of times again, but everytime I open the variant I have saved again, the new values revert back to 'current values'.
    Is this the reason MASSBACK is also making no updates? What am I doing wrong?
    Thanks in advance for your comments & advice.

    Here is the second method  -
    Regarding your issue:
    Retraction is based on the records of the SEM buffer. Zero records are
    in general filtered in the buffer, so that they cannot be considered forplanning functions that execute the retraction. I regret but this is
    the normal system behaviour in the standard. As workaround, please use adummy key figure that is set to a value <> 0.
    The only way is a work around. If you fill a dummy key figure with an
    arbitrary value, the frame work recognizes this as not 0, even if the
    proper key figure is 0. In that case the 0 retraction would work. So if
    not existing, create an additional dummy key figure to the cube and workon as described.
    For all the of retractions (CO-OM, IM, PS) BPS planning functions are
    used and they run in the general BPS framework. This framework is
    designed to explicitly not process zero records because of performance
    reasons.
    If zero records would be processed, planning functions would run longer
    but they can't deal with those records anyway. Therefore the developmentdecided on the current design, to delete all zero records first, before
    processing them with a planning function. This decision has been
    discussed several times before and it not likely to be changed.
    Regarding SAP note you can check the work aroud I explained can be foundin the oss note 768822 SEM-BPS: Retraction of WBS element w/ Pushback.
    I hope this explains the reason.
    Please kindly confirm the message if your issue is answered.
    Thanks for your support and cooperation.

  • Problem while setting new value to entity object attribute in doDML meathod

    Hi all,
    I am overriding the entity objects doDML method for generating the value of Sequence Number just before insert .
    For this puropose i am using doDML method. I am fetching the maximum value for the sequence number feild from the table by a prepared statement
    and then incrementing that value by one.
        protected void doDML(int operation, TransactionEvent e) {
            if (operation == DML_INSERT) {
                // code for getting the max+1 of sequence number before insert
                //command executes.
                try {
                    System.out.println("Inside doDML Method");
                    String sql =
                        "select nvl(max(seq_no),0)+1  from WF_LEAVE_HDR where org_unit_code = " +
                        this.getOrgUnitCode();
                    PreparedStatement pstmt =
                        getDBTransaction().createPreparedStatement(sql, 0);
                    ResultSet rs = pstmt.executeQuery();
                    rs.next();
                    Integer newSeqNo =rs.getInt(1); //(Number)rs.getString(0);
                    //this.setSeqNo(new Number(newSeqNo));
                    setAttributeInternal("SeqNo",new Number(newSeqNo));
                    System.out.println("Value of new seq no is -->>"+getSeqNo());
                } catch (Exception excpt) {
                    System.out.println("Inside catch block ");
                    excpt.printStackTrace();
            super.doDML(operation, e);
        }i am getting the value correct by using the sql statement but while i am using setAttributeInternal("SeqNo",new Number(newSeqNo));
    it is giving an error and value for new sequence no is not passed to the seq no feild of the entity object. I have tried this.setSeqNo(new Number(newSeqNo))
    but it is also not wotrking .
    Any one please help , I am using Jdeveloper 10.1.3
    Thanks all in advance.

    iloveoracle,
    Sigh... in addition to doing this in doDML (which Dimitar points out is the wrong place to do this)... you are making a huge huge mistake.
    select nvl(max(seq_no),0)+1  from WF_LEAVE_HDRWhat happens when two people do this at around the same time? You don't do any locking, so you will get two rows with the same SeqNo. This is absolutely the wrong way of doing sequence numbers. The best way of doing this would be to use real sequence numbers (an Oracle sequence) and ignore the fact that there will be gaps. If you insist on using your approach, you MUST LOCK THE ENTIRE TABLE before you try to do your little max() + 1 trick, otherwise you run the very real risk of getting duplicate SeqNos. OK, I see that you are trying to do sequences by org_unit_code, so you don't have to lock the whole table, but you do have to have some way of holding a lock. You must also write some code to be able to handle an "unable to get the lock because someone else already holds it" type of situation.
    <rant>
    I have seen so many people try to do this little max() + 1 trick. It DOES NOT, WILL NOT work until you handle locking properly. One question that I often ask when I interview database developers is about generating "gapless" sequences; unless the job is for a brand-new-with-absolutely-no-experience trainee, answering "select max() + 1" without any mention of concurrency issues would be grounds for an immediate rejection of the candidate. Seriously. Have a run over to http://asktom.oracle.com and search for "gapless" if you'd like to see a more strongly worded rant.
    </rant>
    Bottom line, just use an Oracle sequence if it's at all possible; otherwise, be prepared to write some bunches of code to deal with locking.
    John

  • How do I get a new value for the service name field and update it in Connection Properties?

    I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?

    When you create a new film script, the first page you see is a title page.
    The page after this title page is the one where you generally type in your scenes.
    It looks like you are facing some issue and not able to delete any text.
    Can you please send me this script so that I can have a better look at your issue?
    You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
    Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
    Thanks

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

  • Maintaining operating concern after adding new value field

    Hello,
    I added a new value field to our live operating concern,maintained the data structure throguh KEA0(Maintain operating concern).The changes are transported from Development to Quality,Changes were reflected in Q system.After testing in Q system transports were pushed to production system.The new value field is added to the operating concern. When i check the log for KEA0 in production system it displayed one message like:
    Field VV088 was added to the reference structure
    Message no. KE782.You probably either  changed the operating concern or SAP-EIS aspect, and added the field VV099 to the definition.
    The added a CO-PA value field:
    In this case, the field is added to the definition or the summarization levels. This invalidates all existing levels. Consequently, you need to activate them again and fill them with data.
    In production system maintaining operating concenr or KEAO is only in display mode.Is it needed to regenerate the operating concern once again in production, how to do it. Is the message talking about the KEDV summarization levels.?
    thanks
    rahul

    Hi,
    No no ....KEDV is nothing to do here....that is creation of summarization in CO-PA.
    Since you added new value field you necessarily have to Regenerate the operating concern...
    Use Tcode KEA0...go to Environment tab...there the status of Cross client part  and client specific part both will be in RED....now just click on the Cross client (candle button)...now the system would regenerate the operating concern...once it is over do the same for the client specific...
    Beware when you do regenerate the operating concern no body can enter any transaction in that server since it is cross client table ...hence better do it after business hours.
    Hope this helps!
    Running KEDU with rebuild is relevant only when you already have created summarization and called up the same in the CO-PA report "options" tab. If you did not created the summarization you are nothing to do with KEDU.
    Next: The new value field has to be transported to PRD and hence even in PRD we have to do the regeneration manually.
    Regards,
    Velumani
    Message was edited by: Velumani Arunachalam
    Message was edited by: Velumani Arunachalam

  • Transport COPA new value field

    Hello SAP Experts,
    I have created a new COPA value field. Now i would like to transport the same to Test (Acceptance or Quality) server, can you kindly let me know how can i proceed with this.
    Your inputs are highly appreciable in this regard.
    Many thanks in advance.
    Regards,
    Pavan Kumar P

    Hi,
    Please read note 131664 regarding the use transaction KE3I to transport operating concern structures.
      In principle you can transport a new value field with a transport of an operating concern - part 'Structures: ABAP Repository objects' in transaction KE3I.
      You need to perform the following steps:
    1. Value field added in source system thro tcode KEA6
    2. Regenerate the environment of operating concern in source system (tcode KEA0)
    3. Transport using KE3I (select: ABAP repository objects)
    4. Regenerate the environment of operating concern in target system.
    Via transaction code KE3I you have the option to transport specific object classes.  If you select 'Structures: ABAP Repository objects' the following settings are transported:
    Cross-client objects in the SAP Repositiory
    - Tables and structures of the operating concern (CE1xxxx - CE8xxxx)
    - Domains and data elements for CO-PA characteristics
    - Master data tables for CO-PA characteristics (without data)
    Cross-client control tables
    - CO-PA field catalog
    - View directory
    Normally we advise customer to add a new value field/characteristic to
    DEV then transport to QAS and then transport to PRD. This ensures that
    the operating concerns in the 3 systems are in sync.
    regards
    Waman

  • Adding new value fields to an existing and productive operating concern

    Hi,
    I would like to have 5 new value fields active in 4 out of 6 operating concerns that I am working with.
    Is it correct that I could do this one of the following ways:
    1. Use a value field that exists already in an operating concern and rename it?
    In this case is it necessary to regenerate the operating concern?
    Do I transport the change ?
    2. Create an entirely new value field, and assign it to the operating concern?
    Is it necessary to regenerate the operating concerns in question?
    Do I transport the change?
    3. Select a value field that is currently in the system but is not assigned to any operating concern eg some kind of SAP delivered value field?  How do I assign it to the op  con? Do I need to re gen the op con?
    Which way is the best or is there a 4th option?
    Thanks for your help in adviance
    Regards
    Aisling

    Hi,
    This note is a catalogue of notes of consulting notes where SAP tell you steps, reports to use and son . If you read them (these notes and related notes) you have the steps, guides, reports that you must use. Better advice. Try a solution with all steps in mind and check it in a quality enviroment. As you know there a lot of things in CO-PA concern (you have your own tables, with your own fields, your reports as KE2Rxxxx, and so on), your secondary indexes, etc.. , the best is try the solution in your Quality Enviroment (a quasi-clone of your production enviroment) and check the results (create SO, invoices, after modifications to check possible problems,...).
    Regards,
    Eduardo
    pd: I forgot. If the size of tables (CE4xxxx, CE1XXXX, ...check them with DB02) are so big, get the opinion of a Basis Consultant. Surely in the before note there notes about this issue.
    Edited by: Eduardo Hinojosa on Apr 23, 2010 2:41 PM

  • In FMDERIVE does the "Overwrite w/New Value"...

    ...button impact automatic Status Indicator on transactions. 
    Heres the situation.  We had a major re-organization and I set up an LSMW to transfer asset value from assets linked to an old  Cost Center to a new asset shell linked to a new Cost Center.  This was done after the configuration was changed in FMDERIVE for the Internal Order/Funded Program fields where the Fnded Program field was set to Overwrite with New Value.  This was done to accomodate the copy function in Purchase Orders and Purchase Requisitions when original order data changes from the time of origination to the time of realization. 
    It appears when we changed the configuration in FMDERIVE it stopped posting "Statistical" documents in FM and now everything is posting as real.  Can someone explain if indeed that "Iverwriute New Value" button is somehow linked to the Statistical vs. Real button?

    We finally discovered the problem.  In our FMDERIVE table we have an assignement configured for all Asset transaction types to post to a Statistical Commitment Item.  In our "Gold" client for some reason the "values" are blank for this assignment. When the transport for the Order/Funded Program rule were transported a pop up window requests, "Do you want to transport values?".  This was answered YES.  As a resulte the 18 values in the Quality and Production system in the Asset Transaction Type assignment were all wiped out.  Evidently, our organization has a policy to update values manually in Quality & Production. 
    I disagree with this philosophy so we will be addressing the issue that the Table is not identical to what is in Production. 
    Thanks for your help. 
    Dan

  • New Value fields created in existing opr struc problem in transport request

    Hi,
    I have created new value fields in existing operating structure but system has now created any transport request for value field creation also for value field activation and later on operating concern generation on development environment.
    What is the other way of doing transporting value field (also activation of same) from Dev to QA?
    Regards,
    Sayujya

    Hi,
    Creation of new value field or characterisitics will not generate any Transport request. Goto transaction KE3I and create transport request.
    Regards,
    Sreekanth

  • CRM 2011: when auditing is turned off, why do existing Audit records lose "New Value"?

    Not sure if this is by design (if so, would love to know why!) or if this is a bug.  Let's say I have auditing turned on for Accounts.  I change the phone number in the Main Phone field from 555-1111 to 555-5555, and an audit record is
    created showing the Old Value (555-1111) and New Value (555-5555).  Great.  Now I turn off auditing. The system goes back to the audit record that had previously been created, and modifies it so that it shows the Old Value (555-1111),
    and inserts an icon into the New Value field indicating auditing was turned off.  The tool tip for that icon states "Auditing was stopped and restarted.  The new values for the fields that changed during this period cannot be identified or recorded."
    First of all (minor picky issue) auditing hasn't been turned back on yet, despite what the tool tip says (says the same thing whether or not auditing is turned back on).  But the real problem is
    why the existing audit record's New Value would be removed... why would that happen?!?  We're talking about a historical update.  It really did change, and the system knew what it changed from/to, so why would the system remove that new value
    from the audit record?  Logically I would expect that any changes made
    while auditing is off would not be logged, and that once auditing is turned back on, Old/New values would correspond to whatever was/is in the system at the time that any new audit record is created, so there may be a disconnect between an older audit
    record and a new one (old record's New Value not matching the new record's Old Value, because changes were made while auditing was off). And it's quite apparent when auditing is turned off, because an audit record is created stating "Auditing Disabled". 
    Any ideas if there's a logical reason why it would do this, or if this is really a bug that Microsoft needs to fix?  We have a client with a business need to periodically turn off auditing while integration updates run between CRM and another system
    (otherwise hundreds of thousands of unnecessary audit records would be created).  But if they're going to lose audit data every time they disable auditing, the auditing is worthless.

    We wouldn't ever temporarily turn auditing off on purpose... it's happening when we import managed solutions.  We have vendors with managed solutions that contain system entities such as Contacts.  When importing their solution, it momentarily
    turns auditing off on those entities.  The only evidence of this is audit records indicating "Entity Audit Stopped", and of course the loss of all the most  recent "new value" on all audit records.  The interesting (?) parts of this are:
    1. When importing the managed solution, the recommended option to keep all existing customizations is selected.  I would think this would include the audit settings on the entity, but apparently not (sort of... see #2).
    2. As soon as the managed solution is imported, in addition to creating an "Entity Audit Stopped" audit record on relevant entities and wiping out new values, it apparently turns auditing back on, yet there's no record of this (in customizations, the entity
    still (or once again) indicates auditing is enabled; but on records for that entity, there is no "Entity Audit Enabled" record.   
    So, now it's on to working with the vendors, to dig into their managed solutions and see if there's a way to prevent this!

  • SQL CLR Table-Valued Function System.NullReferenceException

    Good day.
    I wrote a clr table-valued function that gets the data from the sharepoint list using the client model.
    Sometimes I get exception (When I calling this function I get 90000 rows and then I get this exception...):
    Msg 6260, Level 16, State 1, Line 1
    An error occurred while getting new row from user defined Table Valued Function :
    System.NullReferenceException: Object reference not set to an instance of an object. System.NullReferenceException: v at SDS.FillRow(Object obj, SqlInt32& month, SqlString& datePlanSalary, SqlString& dilerCode, SqlString& dilerName, SqlString&
    model, SqlInt32& countSalary).
    How can I fix this issue?
    My Code:
    public class SDS
    [SqlFunction(SystemDataAccess = SystemDataAccessKind.Read, FillRowMethodName = "FillRow")]
    public static IEnumerable SDSItems(SqlString url, SqlString listName)
    ClientContext context = new ClientContext(url.ToString());
    List list = context.Web.Lists.GetByTitle(listName.ToString());
    CamlQuery query = new CamlQuery();
    query.ViewXml = "<View/>";
    ListItemCollection listItems = list.GetItems(query);
    context.Load(list);
    context.Load(listItems);
    context.ExecuteQuery();
    return listItems;
    public static void FillRow(
    object obj,
    out SqlInt32 month,
    out SqlString datePlanSalary,
    out SqlString dilerCode,
    out SqlString dilerName,
    out SqlString model,
    out SqlInt32 countSalary
    item = (ListItem)obj;
    month = Convert.ToInt32(item["_x041c__x0435__x0441__x044f__x04"]);
    datePlanSalary = Convert.ToString(item["_x0414__x0430__x0442__x0430__x000"]);
    dilerCode = Convert.ToString(item["_x041a__x043e__x0434__x0020__x04"]);
    dilerName = Convert.ToString(item["_x041d__x0430__x0437__x0432__x04"]);
    model = ((FieldLookupValue)item["_x041c__x043e__x0434__x0435__x04"]).LookupValue;
    countSalary = Convert.ToInt32(item["_x041a__x043e__x043b__x0438__x04"]);

    That's not a lot of information to go on, but...
    Can you put a check in your FillRow method for a null object (or one of your fields being null) and put out diagnostic information? Or is it happening in the ListItemCollection iterator itself? (i.e. before it returns a row back to FillRow). If it's happening
    in the iterator, perhaps you could subclass it and return diagnostics at that point.
    I'm also wondering (if it actually always happen at row 90000) if you're hitting a limit in web service call, or iterator, or UDF code. Does the function ever return more than 90000 rows successfully?
    Hope this helps, Bob

Maybe you are looking for

  • IX4-300d - UPS, not showing in management, but sends messages if I connect and disconnect

    Just acquired a iX4-300d, and updated to the latest firmware (4.1.104.31360). On trying to link a UPS (a KSTAR BM-3080) - the UPS Management page just shows "Status: None Connected" BUT -  in the EVENT LOGS panes I get the following message: Event 44

  • MSI K9N2GM-FD unable to set memory voltage.

    I just bought a MSI K9N2GM-FD and i'm trying to set the memory voltage but the setting remains at [Auto] and grayed out. No key seems to adjust it, is this feature disabled on this board?

  • Transport Category and Appraisal Template

    I am trying to transport category and Appraisal Template Transport: 1) Right clicked on Category, select transport and clicked enter, it gave me the following error: Object "R3TR" "TABL" "T77HAP_C_OTHER" is an automatically generated object and canno

  • Time Machine Deletion Notifications - or lack of?

    Hi, I'm wondering if there is a way to get Time Machine to notify you before it deletes old backups to make room on the drive, because at the moment I get the notification saying they've been deleted and I can either use another drive or exclude more

  • Icloud with phone and ipad

    I am using icloud for reminders on both my phone and a work ipad.  They reminders are not showing up on my phone under icloud -- only under my gmail account.  How do I set up my phone to have the icloud reminders?