Add/Update Indexes Rates via DI, table:ORTT

Hello,
The SBObob object contains function: SetCurrencyRates - add/update currencies rate.
I need to to the same, but with indexses
Does anyone know how to do this?
thanks
Tam
Edited by: YECHIEL SCHUSSEIM on Mar 16, 2010 11:53 AM

Ok, i will try to explain better:
The ORTT table contains values for Exchange rates and indexses:
the "currency" field contains key from OIDX table or  OCRN table.
When i use the function: SBObob.SetCurrencyRates  to insert value whith key from OCRN table, it's works well.
But when I tried to insert value whith key from OIDX table, i got the Error:"Invalid Currency"
thanks for your help
tami

Similar Messages

  • Update index rates, table:ORTT

    Hello,
    The SBObob object contains function: SetCurrencyRates -  add/update currencies rate.
    I need to to the same, but with indexses
    Does anyone know how to do this?
    thanks
    Tami

    Tami,
    This is a duplicate message to this one ...
    Add/Update Indexes Rates via DI, table:ORTT
    Please close one of them.
    Eddy

  • HOW CAN I ADD/UPDATE/INSERT IN A USER TABLE WITH MATRIX

    Hi All,
    I have one User table (Defined as No Object) and what i need to do is a form with a matrix to Add/Update/Delete data in my user table.
    I already create the form and the matrix that already give me the user table data. But now i have several problems to solve.
    First I try to add a new row but this new row get the data of the last row in the matrix. What i needed is a blank row to add new data in the user table.
    Second, when i change data in matrix and do update in the form, sap show me the message that the operation is successfully done but the data in the user table in not updated.
    I am trying to do one forma like whe can find in Setup-> General -> Freight.
    Can anyone help me?
    Best Regards,
    Luis Duarte

    Hi,
    If ur dealing with a simple form like that U can as well use the direct table form, and just provide a FMS to auto matically fill the code and name. U can directly use the form by.. Tools-->UserDefined Windows
    Or
    Comming to ur problem.... when ur adding a new row clear the data sources so that u'll get a blank row.
    And for update the best thing to do is delete all the records in the table and again insert all the records directly from the matrix.
    Hope it helps,
    Vasu Natari.

  • Add an index to a DB table without modification?

    I have a database table in the SAP namespace, and I would like to add one or two indices to the table (non unique database index). This is not possible without modifying the table, right?

    Hi Daniel,
    No it wouldnt be a modification to the table but you should first analyze the impact of the index since its not advisable to create index always.
    refer the below link:-
    [Create index in standard table;
    [What to Keep in Mind for Secondary Indexes|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm]
    Regards
    Abhii
    Edited by: Abhii on Sep 1, 2010 3:49 PM

  • BPL Sales orders: Updating index tables

    Hello forum,
    After using BPL to copy sales orders, index tables are not updated. Examples of these tables are VAKPA (sales index by partner function), VAPMA (sales index by material), VLPMA (deliveries by material) or VRPMA (billing documents by material).
    To correct this what we do is run program RVV05IVB (Reorganization of SD Document Indices) but this report is very time consuming. (it is not that easy to know the documents numbers for all sales / deliveries / billing docs that were copied so we have to run the report for all documents; even if we knew the document numbers, though, the report is very slow because these tables do not have an index by document).
    Is this the way to do it, or are other people working differently?
    Or should these tables be included in the context?
    Thanks in advance,
    Rui Dantas

    >
    Nico Gaertner wrote:
    > Alternatively you can also create this index on the receiver side and connect these tables with the Table VBUK in the BPL datamodel.
    > Nico
    In this case you mean sender system, right?
    The access won't be that bad if you choose the right table to link: VBAP-MATNR for VAPMA, or VBPA-KUNNR + VBPA-PARVW for VAKPA. I'll try in our system.
    It would be even better, of course, if we could link from more than one table (e.g. VBAK + VBAP to VAPMA). This is not possible, right?

  • BAPI or function module to add/update MRP Area (MDMA table precisely)

    Hi All,
    can any one suggest me the BAPI to add/update MRP Area. I need to update the fields in MDMA table.
    Thanks in Advance,
    KG

    Dear Brahmankar,
    My actual requirement is that I will get an excel sheet with data to be added to MARC and MDMA table. I guess the report you suggest is good for manually updating/creating/deleting MRP area. It will as good as using BDC in MM02 transaction programatically. Doing BDC will be the last option. If I am able to use any function module then it will good I guess. Please correct me, if I am wrong and suggest me how to proceed.
    Thanks and Regards,
    KG

  • What privs r required to run Alter table truncate partition update indexes?

    I rebuilt the indexes on the table. Know my problem is that when I truncate a partition on the table the unique index whic consist of the primary key fields becomes unusable which causes my to have to rebuild it after each truncate. I tried to runm the following statement from the master schema on but get
    an insufficient privs error when I use "update indexes":
    Alter table schema_name.table_name truncate partition partition_name storage update indexes;
    What priv does master need to perform statement successfully when there's data in it?
    Does using 'update indexes' needs extra priveleges?
    Thanks in Advance
    Gagan

    Hi Its Oracle 10.2.0.4 64 Bit on HP UX.
    I dont have the exact error as I got this much information only from the end user....It will be couple of hours more then he will be available again
    ok so for Truncate we need 'Drop any' privs but to use clause 'update indexes' alongwith do we need some extra privelege?
    Thanks again
    Gagan

  • How can I create index(uniqie index) for a existed table?

    Hi guys,
    I want to create a index for a existed table, it should be unique index. I did it using se11, "indexes," and select the radio button "unqiue index", of course the fields as well. But when I activate it, I get a waring and therefore can not create this index. But if I select radio button "non-uniqe index", it works.
    However I have to reate a unqiue index.
    How can I do it?
    Thanks in advance
    Regards,
    Liying

    HI Wang
    You can create your index via SE11, enter the table name, click change, choose Go To, Indexes. Here create your index with the key fields that you want. To use the index, your select statement WHERE clause, you must have the key fields of the index in the order that they appear in the index. The "optimizer" will choose the index depending on your fields of the WHERE clause.
    One thing to remember is that when you create indexes for tables, the update or insert of these tables may have a slower response then before, I for one have never seen a big problem as of yet.
    this Document may help u on primary and secondary indexes :
    http://jdc.joy.com/helpdata/EN/cf/21eb20446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    If it helps Reward the points
    Regards,
    Rk
    Message was edited by:
            Rk Pasupuleti

  • 'Null' being added to ArrayCollection during add/update by Dataservice

    Environment:
    Tomcat 6.0
    Livecycle 3.1
    Flex SDK 3.5
    We have a data service destination setup like this:
         <destination id="Trades" adapter="java">
            <properties>
                <factory>spring</factory>
                <source>lcdsTradeBlotterAssembler</source>
                <scope>application</scope>
                <item-class>com.domain.Trade</item-class>
                <use-transactions>false</use-transactions>
                <auto-sync-enabled>true</auto-sync-enabled>
                <cache-items>true</cache-items>
                <metadata>
                    <identity property="uid" type="java.lang.String" />
                </metadata>
                <network>
                    <throttle-inbound policy="IGNORE" max-frequency="500" />
                </network>
            </properties>
        </destination>
    We implement a custom assembler by extending the AbstractAssembler.
         The fill and refreshFill methods are implemented.
    Updates are pushed to the client using a DataServiceTransaction:
         DataServiceTransaction transaction = DataServiceTransaction.getCurrentDataServiceTransaction();
         transaction.createItem(DESTINATION, trade);
         transaction.commit();
    After we create items and push them from the server, the refresh method on the Assmbler gets called. We return 'APPEND_TO_FILL'.
    The item shows up in the client side managed ArrayCollection. This ArrayCollection is bound to a datagrid.
    Problem description:
    The above works fine when we run the server and the client locally on the same machine. When the application is hosted on a another part of the network - we see that for some of the updates - a null gets added to the ArrayCollection, instead of the object pushed from the server. We found this by attaching a CollectionChange event listener to the managed ArrayCollection. This causes blank rows to show up in the Blotter. In some cases we have also seen duplicate rows.
    We see that the object is delivered to the client but not applied to the ArrayCollection properly. I attached a screen shot of the client side stack where we loose the update.
    Calling the refresh() method on the ArrayCollection after the update, fixes the situation. The nulls disappear and the ArrayCollection now has the right data !
    Things tried so far:
    Throttling the DataService update rate - down to 1 update/sec
    Enabling reliable delivery on the Dataservice destination
    Handling conflicts - none detected. Client never updated data.
    Setting DataService.resetCollectionOnFill property to true
    Any pointers would be very helpful

    Thanks.
    We traced this down to the fact that we have multiple threads reading off a JMS queue and pushing the add/update to the client via LCDS.
    Each thread has its own instance of DataServiceTransaction - so this should be ok.
    Following up with support.

  • Add a custom-field in the table MARC and manage it in MM01/MM02/MM03

    Good day to all of you!
    I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows:
    In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say the field is MATNR OBSOLETE.
    I have searched and implemented the things in customizing: Made a copy of function group MGD1, added the field on the screen.
    MY PROBLEM! How to manage it??? When the user enters MM01/MM02/MM03 and update this field, the field should be updated in MARC.
    1. I am not sure that this custom-field should be on Basic Data1 or Basic Data2.They want it at plant level.
    2. How to manage the data transfer from SAP Standard Program and my Custom Function Group.
    PLs: Do not paste me link to sap technical site with that example, because there takes the custom fields and UPDATE a CUSTOM TABLE. I need to update MARC!
    All the documentations i have read until now tell you how to add the field, ONLY the first part of the SOLUTION.
    Any help, pls?
    Good day and thank you!

    Hi Alex,
    In which way you are trying to update that custom filed. Have you written any logic in EXITS/BADIS?
    http://pavelgk.pbworks.com/f/6729224-Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen.pdf
    and
    Just read the OSS note mentioned earlier.
    Symptom
    You want to integrate customer-specific fields in material master maintenance.
    Other terms
    SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001 
    Solution
    To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
          1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
          2. Enhancing online maintenance in customized material master maintenance:
          Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
          In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
          If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F): 
          Application examples for standard field selection:
          The field is mandatory and is to be flagged with a "?".
          The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
          The following data is required for each field:
                a) Field name        (T130F-FNAME)
                b) Field selection group (T130F-FGRUP)
                Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
                You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
                Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
                c) Maintenance status (T130F-PSTAT)
                List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
                d) Reference        (T130F-KZREF)
                This indicator must be set if the field from the reference material should be proposed during creation with reference.
    Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
    You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
    In addition, you must not add new standard fields to table T130F.
          3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
          Add the fields to central field table T130F (see above).
          Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
          Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
          For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
          If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
          Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
          As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
                a) Add the customer-specific fields to include CI_MMH1.
                The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
                Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
                b) Activate include CI_MMH1.
                c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
                d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
    Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
    In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
    Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
    If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
    If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
    To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
    check this link. It may helps you to solve your issue.
    Thanks
    Sravan

  • Dynamic Table - Add rows and columns in same table

    Hi there,
    I wonder if someone could help please? I'm trying to create and table where a user can add both rows and columns (preferably with separate buttons) but am having trouble trying to figure out how to do this. Is it possible? If so how? I'm not familar with script but have found examples of seprate tables where you can add a row and then another table where you can add columns and essentailly want to merge the two but cannot make it work.
    Any help much appreciated!
    Thanks,
    Ken

    It is great example....you can learn the concepts there and apply....however you may have to think twice before you implement column adding dynamically....because the technique here is make copy of what we already have and reproduce it as a new item and this technique works great for rows as they all have every thing in common. But when it comes to columns it may have unique visible identity as column head and displaying repeatedly the same column head may not look good. Of-Course you can do few extra lines of code and change the column appearance based on users input each time. Situations where users need to add additional column is very unlikely (sure your requirement might be an exception).
    Key in allowing adding/removing instances is managing design mode settings under Object>>Binding>>....and select the checkbox "Repeat <subform/row/...> for Each Data Item" and then set Min, Max and Initial count values.
    Also you need to club your effots by using simple scipt with button clicks....
    for the example refered in URL you posted following is what I did to make the first table allow Adding/Removing Rows....
    1. Opened the form in LC designer.
    2. Add two buttons AddRow & RemoveRow right next to RemoveColumn
    3. For AddRow I used following JS code....
          Table1._Row1.addInstance(1);//that means any time this button is clicked a new instance of Row1 is added use _Row2 or Row3 based on your needs
          var fVersion = new Number(xfa.host.version); // this will be a floating point number like "7.05"
          if (fVersion < 8.0) // do this for Acrobat versions earlier than 8.0
           // make sure that the new instance is properly rendered
           xfa.layout.relayout();
    4.  For RemoveRow I used following JS code....
         Table1._Row1.removeInstance(1);//Syntax is...<objectReference>.removeInstance(<index of the repeating object that needs to be removed>); //in this case since we used 1 alwasys second object from top gets deleted.
          var fVersion = new Number(xfa.host.version); // this will be a floating point number like "7.05"
          if (fVersion < 8.0) // do this for Acrobat versions earlier than 8.0
           // make sure that the new instance is properly rendered
           xfa.layout.relayout();
    5. Now time to update settings at Object>>Binding tab and set "Repeat......" and also set Min, Max and Initial count as explained above.
         Those settings needs to be updated for Row1 (or your choice of row) of the table
    6. Set the Height to Expand of the Subform, where the table is housed....  this is done under Layout pallet
    7. Save the PDF as dynamic template and verify the results...
    If you still run into issues I can send you copy that works on my machine, but you need send me an email at n_varma(AT)lycos.com
    Good luck,

  • Add/Update/Delete XMP (PDF) metadata?

    I'm new to working with PDF. What I would like to do is add/update/delete XMP metadata to PDF documents. These documents will be indexed by our search engine, which I'm told can index this metadata. It's indexing Dublin Core so don't see why it could not index custom schema. Anyway, I've been researching this and as a non-programmer I'm confused.
    1) Can PDF metadata be added, updated and deleted?
    2) Can this be done via a template? (ie. get the PDF file, fill out a metadata form, and submit it or in the case of update/delete change or remove the data).
    3) Are there any developed applications (client or server based) that can do this or must they be developed? If they exist please tell me what and where they are ...
    4) Has anyone used the Java XMP parser?
    5) Anyone know of any online demos of adding/updating/deleting PDF XMP metadata?
    6) Can XML or XMP data be imported into a PDF file?
    Any help will be very much appreciated.
    Thank you

    1) Can PDF metadata be added, updated and deleted?
    PDF metadata is tricky - it consists of legacy doc info within the PDF structure and newer XMP metadata - Adobe is making the transition to supporting XMP across all its applications but we have to ensure not to break older workflows.
    Additionally, PDFs have the property of storing successive edits - meaning, changes are stored as add ons on top of the orginal when Saved - they are cleaned up when the PDF is Save As-ed.
    This has the added implication that XMP packets are duplicated - so scanning for the XMP maker will bring up multiple 'hits' even if one object is there. I've believe there are some heuristics that can be applied to find the 'right' packet using mod dates.
    In most cases it helps to have the PDFL to assist in the process.
    2) Can this be done via a template? (ie. get the PDF file, fill out a metadata form, and submit it or in the case of update/delete change or remove the data).
    Yes, within the application - under Advanced > Document Metadata...
    Outside of the application you will need to build your own workflow.
    3) Are there any developed applications (client or server based) that can do this or must they be developed? If they exist please tell me what and where they are ...
    PDF can be updated very easily using the Photoshop CS File Browser - multiple files can be selected and metadata templates applied. Additionally the File Info dialog in the File Browser can be customized - adobe.com/xmp for docs.
    Also, check out poundhill.com - they have plugins for customization and integration with FileMaker, AppleScript & PHP
    4) Has anyone used the Java XMP parser?
    I'd like to know the answer to this too!
    Check out:
    http://www.java-channel.org/query.jsp?cids=c_10807
    Looks like some there are XMP and PDF related java code.
    5) Anyone know of any online demos of adding/updating/deleting PDF XMP metadata?
    What would you like to see? Using the Acrobat application or from a developer perspective?
    6) Can XML or XMP data be imported into a PDF file?
    What were you looking to do? Again, this can be done using templates and the PS CS File Browser.
    Pound Hill may be able to provide the connectors that you could piece together.

  • Task to add new row and values to Table?

    Hi, I am new to SSIS, I have a table that I would like to capture daily currency conversion rates. In my Control Flow
    pane, I've been able to use a web service task to get a string value of the conversion rate pass it to an XML task, and connect it to at Data Flow Task. So now I'm not sure what to do from here. I would like to input the daily values into my table:
    [CurrencyID] [int] IDENTITY(1,1) NOT NULL,
    [CurrXDate] [datetime] NOT NULL,
    [Country] [nvarchar](50) NOT NULL,
    [CurrXRate] [float] NOT NULL,
    insert into tbl_CurrXrates
    (CurrXDate, Country, CurrXRate)
    values
    (getdate(), 'USD', @[User::ConversionRate])
    What data tasks and order would I use to add a new row to my table which I think would be a simple insert statement. Hope my
    question makes sense.

    You can put into a package variable and use as part of the insert statement via a SSIS expression to drive a Execute SQL Command to insert it or
    Have the value off the webservice dumped to a XML file and then consume it with XML Source which will allow the values to be inserted into the table (e.g. OLEDB Destination)
    Arthur
    MyBlog
    Twitter

  • Update Business Partner via SAP Business One Webservices

    Dear all,
    We use the SAP Business One Webservices to add/update businesspartners and items.
    We can add/update items without any problem.
    We can also add businesspartners without any problem.
    But when we try to update a businesspartner.
    We always get the error message : "Entry already exists in following tables:"
    This is the code we use to update BusinessPartner:
    Dim bpsService As BP.BusinessPartnersService = New BP.BusinessPartnersService()
    Dim msgheader As BP.MsgHeader = New BP.MsgHeader()
    msgheader.SessionID = sSessionID
        msgheader.ServiceName = Global.BP.MsgHeaderServiceName.BusinessPartnersService
        msgheader.ServiceNameSpecified = True
        bpsService.MsgHeaderValue = msgheader
                ' fill business partner class
                Dim oBp As BP.BusinessPartner = Nothing
                Dim myBPParams As BP.BusinessPartnerParams = New BP.BusinessPartnerParams()
                myBPParams.CardCode = sCardCode
                ' Call GetByParams command
                oBp = bpsService.GetByParams(myBPParams)
    oBp.CardName = "Test update BP"
    Can someone tell me what is going wrong when I call this function :
      bpsService.Update(oBp)
    Kind regards
    Bart

    Hi Bart,
    I think the problem is because you are using the BPService twice without initializing it one more time in the middle.
    You call first GetByParams and then Update.
    The following code works for me:
            myBPService = New BusinessPartnersService()
            Dim myBP As BusinessPartner = New BusinessPartner()
            Dim myBPParams As BusinessPartnerParams = New BusinessPartnerParams()
            ' Create Header
            Dim msgHeader As MsgHeader = New MsgHeader()
            msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
            msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
            msgHeader.ServiceNameSpecified = True
            myBPService.MsgHeaderValue = msgHeader
            myBPParams.CardCode = MainForm.CardCodeTextBox.Text
            myBP = myBPService.GetByParams(myBPParams)
            myBPService = New BusinessPartnersService()
            ' Create Header
            msgHeader = New MsgHeader()
            msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
            msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
            msgHeader.ServiceNameSpecified = True
            myBPService.MsgHeaderValue = msgHeader
            System.Console.Out.WriteLine("Update a BP")
            myBP.CardName = "CardName MOD"
            '/ call Asyncronous Add
            myBPService.Update(myBP)
    Hope it works also for you
    Regards
    Trinidad.

  • Can we change the fields of database unique index in a customised table?

    Hi all..
    I want to know that can we create or change or delete the database unique index of a customized table?
    In my case, there is a customised table with 4 primary keys with all the records to be maintained thru transaction code SM30.
    There is database unique index maintained for this table which has 2 fields. These 2 fields are out of the 4 primary fields of the table.I hope I have made myself clear!
    Now when I am trying to insert a record in the table it give me a short dump.( It says duplication of records is not allowed)
    The reason being that the new record that I am trying to insert in the database table has those 2 fields for which the unique index is maintained is the same as an already existing record.And the other two fields are different from the already existing record.So overall the combination of the 4 primary fields is different.
    Please tell me how shall I proceed now?
    I also tried to change the Unique index but it is asking me some kind of authrization(You are not authorized to make changes (authorization object S_DEVELOP)).Also I am not sure whether changing the unique index is feasible or not.?
    Thanks.

    hi
    I think you will not be able to do unique indexing withou the help of primary keys,so use all the primary keys into the table field selections  and and then create indexing otherwise dupilication of keys can occur. if you are not able to keep the primary keys then go for non unique key indexing,where you have to add the client field and the any keys of your wish.

Maybe you are looking for

  • Vendor spend analysis report from ECC as source system

    Hi Experts, Currently am working on Functional Specification on a BI report "Vendor Spend Analysis".The source system is ECC.This report should give details about how much the company has spend on a vendor during a particular period along with paymen

  • Help, help help help

    When I connect my nano it doesn't add any songs and a warning comes up from my tray that says"iTunes:iTunes.exe Corrupt File run the Chkdsk utility." I typed Chkdsk into run and ran it. Nothing changed. Also when I connect my nano it says "Attempt to

  • How to Delete Albums in Ps El 13.... Mac iOS9

    There's the + icon to add.... the small - icon next to it doesn't work.   Video not mention this.  HELP! Bill

  • Prepayment Process ECC 6.0

    Dear All I am trying to do a scenario for prepayment. When I try to Park an invoice the system says "No (suitable) item found for purchase order 4xxxxxxx" I have followed the documentation and performed customizing for that company code to allow prep

  • Audio Editing support for Dell 11 3147

    Sir I have the Dell 11 3147 Laptop running by Windows 8.1 and the system is well within warranty. Now I urgently need to install the Driver & Software for editing the Audio Filed of my system which has been recorded by my Laptop itself. I failed to f