Hi all, i need to create a one method in assistance class for updating the custom table.

Req as follows : 
1. i need to create one method in a assistance calss  for updating custom table .
2. now i  have to pass the multiple entries to that table then inside the method based need to update the Ztable. based on this entries
3. My internal table is having 2 fields ( Customernumber (key field) , Shiftloc ).(Multiple entries ex : 500)
   based on customernumber need to update the new shiftloc in my custom table.
Can any one give some inputs please. i have doubt can we pass mupltiple entries (internal) as a importing parameter to the method?
Cheers,
Venu

Hi rama,
thank you for your promt reply.
i have one more query. Here i need to update the only Shipt to adress for particular customer number.
i have written the code as below. Please clarify this code will work for my requirement.
   method UPDATE_SHIPTO.
  data : Lt_contract type ty_update_shipto_t.
  data : ls_contract like line of  Lt_contract .
  REFRESH : Lt_contract.
  lt_contract[] = LT_DATA[].
  loop at lt_contract into ls_contract.
*    update  Zcustom  SET ship_to_adress  = ls_contract-new_bp
                             WHERE  cust_no = ls_contract-custnum
    CLEAR : ls_contract.
  ENDLOOP.
COMMIT WORK.
endmethod.

Similar Messages

  • Create transaction for update a custom table

    Hi,
    I have a custom table Z****. What are all the steps to create a transaction for updating my custom table? I don't want to use SM30 anymore.
    Thank you.

    Create a Table maintainence through the maintainence generator.
    Open table in SE11, goto utilities => table maintainence generator.
    Once the generator is created,
    In the same screen of generator - Goto Environment => Transaction Code
    Select Transaction Code with Parameter.
    In the default values - Enter the Transaction as SM30 . Select skip first screen.
    In default values at the bottom
    Add
    screen field = VIEWNAME and value = Ztable name.
    screen field =UPDATE  and value = 'X'.
    Edited by: Pranu Pranu on May 19, 2010 2:36 PM

  • Need a PLSQL API for update the oe_order_headers_all table

    Hi all,
    I need a PLSQL API for update the oe_order_headers_all table.
    Anyone know please help me.
    Regards,
    M.Soundrapandian.

    Use the Process Order API to update this table.
    Note: 746787.1 - Process Order API In Order Management
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=746787.1
    Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115omapi.zip
    Oracle Integration Repository
    http://irep.oracle.com

  • How to changed old apple ID in AppStore? I've already creat new one's but when I go to the AppStore the old apple ID always appear. Hope you can answer my question. Thanks godbless

    How to changed old apple ID in AppStore? I've already creat new one's but when I go to the AppStore the old apple ID always appear. Hope you can answer my question. Thanks godbless

    No, your accounts will remain separate, any content that you download via either account will be tied to that account - so each account will only be able to authorise its own downloads on your computer's iTunes, redownload them, download updates to its apps, and make in-app purchases in its apps.
    Is there are particular reason why you've created a new account ? If it's due to, for example, no longer having access to your old email account then you can update the email address on an account by tapping on the id in Settings > iTunes & App Store and selecting 'view apple id' on the popup and logging into it, via the Store > View Account menu option on a computer's iTunes (click the Edit button to the right of your id at the top of your account's screen), or via http://appleid.apple.com . If you want to re-use the email address on the account that you've just created then you will need to change that first

  • HT1222 I just wish we had a "backwards" half circle to hit when we need to go back one page.  Does anyone else feel the same way?  How did I find this page anyway?

    I just wish we had a "backwards" half circle to hit when we need to go back one page.  Does anyone else feel the same way?  How did I find this page anyway?

    how about you just swipe from left to right.  works for me.

  • How to get all the custom tables created in database

    Hi,
    Is there any sql query present to fetch the name of all the custom tables(Not the tabless inbuilt tables which is given by oracle) present in any module like iExp,iRec or anything.
    Thanks

    It is difficult to differentiate custom tables from the seeded ones if there is no naming conventions followed during their creation. The custom schema or owner name can be used to differentiate them.
    Thanks,
    Neeraj

  • I was using a different itune id and now a new one but when i want to update the old app its always asking for my old app id. Is there a way to change my old app to my new id so that i dont have to use my old id.

    I was using a different itune id and now a new one but when i want to update the old app its always asking for my old app id.
    Is there a way to change my old app to my new id so that i dont have to use my old id?

    There is no other way you can do now. Actually, you don't need to create a new Apple ID account, you can change the Apple ID from old email account to other email accout easily by all the steps below.
    1, Open iTunes > iTunes Store > log in old Apple ID > Click on your apple ID on the right hand side on top > choose account > Apple ID > Edit
    As long as you only change your Apple ID, then all the old apps are still under your new email account as well as you can keep downloading new apps.

  • How to create the custom table?

    Hi, how to create the custom table and how to integrate the table with defferent R/3?
    my requiremnt is i have to create the two tables and those i have to integrate with the existed R/3 and using those R/3 i have to update my custom tables .....can give me some idea?
    Tks
    DPk

    how to create the custom table
    There are two approach in creating a table.
    1. Bottom-up approach
    2. Top-down approach.
    Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
    1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
    2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
    3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
    4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
    5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
    6. Go to data element page and save, check and activate.
    7. Go to main table page and save, check, and activate.
    8. Also, you have to save the technical settings of the table.
    The table is now ready for operation. You can use it in your program or you can use it to enter information.
    Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
    It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
    SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
    how to integrate the table with defferent R/3
    Transport the Table to the another server/client/qas/prd
    Kanagaraja L

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

  • Updating the VETVG table while creating the purchase order

    hi all,
       I have one requirement to calculated the delivery creation date while creating the Purchase Order. It is calculated based on the delivery date of PO. I have calculated that one but how to update it after calculation. Can any body give a user exit or BADI with implementation which will update the VETVG table while creating the PO.
    Thanks
    rajkumar

    hi sanjay,
    thanks for reply, I am using same BADI(ME_PROCESS_PO_CUST) and implementation(FIELDSELECTION_ITEM_REFKEYS). In this implementation i am setting the shipping data with SET_SHIPPINGDATA method . but after that the values are not updating the EKPV and VETVG tables but it is only showing in the screen. Can you give a idea where to pass these values so it will update the tables.
    thanks
    rajkumar

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • No change log is created when updating the customer master using LSMW

    Hi Gurus,
         I am a bit confused on why no change log is created when I use the LSMW to update the customer master. What I update is the customer partner of the customers. For example I have a sold-to 1000 then a customer representative (Z3) 50001, now when I use the LSMW to change the customer representative to 50002 it is correctly updated however no change log is found if you check for the changes on that specific customer. This is a bother for me since I want to send all the customer changes through IDOC and the processing needs to access the change log.
    Thank you.

    Hello,
    What process are you using object, BAPI, etc.
    Regards
    Waza

  • 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

  • In OWB I need to update the target table with same field for match/update

    In OWb I am trying to update the target table with the match and the update on the same field can this be done. I am getting a error match merge error saying you cannot update and match on the same field. But in SQl my select is
    Update table
    set irf = 0
    where irf = 1
    and process_id = 'TEST'
    Hwo do i do this in OWB.

    table name is temp
    fields in the table
    field1 number
    field2 varchar2(10)
    field3 date
    values in the table are example
    0,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    In the above example I need to update the first row field1 to 1.
    Update temp
    set field1 = 1
    where field1 = 0
    and field2 = 'TEST'
    when I run this I just need one row to be updated and it should look like this below
    1,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    But when I run my mapping I am getting the rows like below the second row with 9 also is getting updated to 1.
    1,'TEST',05/29/2009
    1,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009

  • Unable to create or update the Custom Data Provider WIS 10853

    Hi,
    I have created the universe in designer then I created QAAWS. In the web intelligence tool, clicked for new document and then chosen web services under other data sources. After giving webservices detailed, I encountered the following error.
    Error from Personal Datasource : Unable to create or update the Custom Data Provider: invalid information retrieved while trying to get the structure. (CDS 105109). (WIS 10853)
    Can anyone help abt this problem? I wud very thankful for them.

    Hi,
    Can you post the wsdl URL. It would be of great help if we could have a look at the wsdl schema. Not all schemas are supported at the moment and hence the error. You can have a look at the limitations section in the documentation guide.
    Regards
    Rahul

Maybe you are looking for