How to update the ztable using screen.

hi experts,
i have one ztable with 8 fields
and i created one screen with 8 fields
how to update the ztable using this screen menas when i press the some push button in my screen the table should update.
Devi

hi
check the link shown below
Coding & screen shots of how to update a database table from screen(Module poool)
http://www.scribd.com/doc/15628693/moduleprog090311165111phpapp011
in the attachment u will find
data  : begin of i_ysrtmm occurs 0,
        sno type ysrtmm-sno,
        sname type ysrtmm-sname,
        scity type ysrtmm-scity,
        sedu type ysrtmm-sedu,
        spercent type ysrtmm-spercent,
        select(1),
        end of i_ysrtmm.
in the SE51 click on layout & in that menu goto - secwindow- enter the internal table i_ysrtmm
and click on get from program.u will get all the fields of the internal table select all of them except
SELECT  field  and then drag and drop on table control . double click on the table control u see the attributes screen there in the w/colselect enter i_ysrtmm-select for tab selection of table control.
Regards

Similar Messages

  • How to update the Ztable using modulepool Tablecontrol...

    Hi All,
    could anyone help me how to update the Ztable using modulepool Tablecontrol...
    if it is possible give me a example with code..
    Many thanks in advance...!!
    Rajesh

    Hi,
    For that pls refer to the link:
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac3735c111d1829f0000e829fbfe/frameset.htm
    Also refer the sample program:
    RSDEMO02
    Then for updating:
    modify the internal table(which u used to populate the tabcntrl) from the table control.
    Then update database table like:
    update dbtab from table itab.
    Regards,
    Renjith Michael.

  • How to update the ztable by using table handling function

    how to update the ztable by using table handling function
    It is very urgent ...............................
    thanks in advance

    see the  below code for the direct   ztable update
    Report  ZUPDATE_PRPS.
    tables: zprps.
    parameter: p_wbs like zprps-pspnr,
               p_value like zprps-fakkz default 'X'.
    data: wa_fakkz type zprps-fakkz.
    *START-OF_SELECTION
    start-of-selection.
    call function 'CONVERSION_EXIT_ABPSP_INPUT'
         exporting
             input     = p_wbs
        importing
             output    = p_wbs
        exceptions
             not_found = 1
             others    = 2.
    select single fakkz
      into wa_fakkz
      from zprps
    where pspnr eq p_wbs.
    if sy-subrc eq 0.
       update zprps set fakkz = p_value where PSPNR eq p_wbs.
       if p_value is initial.
         message i999(za) with 'Billing element field has been unchecked'.
       else.
         message i999(za) with 'Billing element field has been checked'.
       endif.
    else.
      message i999(za) with 'WBS element not found'.
    endif.
    reward  points if it is usefull .....
    Girish

  • How to update the columns using sql queries?

    create table emp(eno number(5),ename varchar2(20),dno number(2),dname varchar2(20),loc_id number(3), location varchar2(10));
    insert into emp(eno,ename,dno,loc_id) values(1,'tom1',10,1);
    insert into emp(eno,ename,dno,loc_id) values(2,'tom2',20,2);
    insert into emp(eno,ename,dno,loc_id) values(3,'tom3',30,3);
    insert into emp(eno,ename,dno,loc_id) values(4,'tom4',40,4);
    insert into emp(eno,ename,dno,loc_id) values(5,'tom5',50,5);
    insert into emp(eno,ename,dno,loc_id) values(6,'tom6',60,6);
    insert into emp(eno,ename,dno,loc_id) values(7,'tom7',70,7);
    insert into emp(eno,ename,dno,loc_id) values(8,'tom8',80,8);
    create table dept(dno number(3),dname varchar2(10));
    insert into dept values(10,'RM');
    insert into dept values(10,'DD');
    insert into dept values(10,'TD');
    create table location(loc_id number(3),location varchar2(20));
    insert into location values(1,'palani');
    insert into location values(1,'salem');
    insert into location values(1,'kalpattu');
    insert into location values(1,'thirukoyilur');
    insert into location values(2,'thaeni');
    insert into location values(2,'villupuram');
    insert into location values(2,'yercaud');
    insert into location values(3,'thiruvanamalai');
    insert into location values(3,'trichy');
    insert into location values(7,'tanjore');
    insert into location values(4,'tirunelveli');
    insert into location values(4,'namakal');
    insert into location values(5,'bangalore');
    insert into location values(6,'chennai');
    insert into location values(6,'calcutta');
    insert into location values(7,'tirupathy');
    insert into location values(7,'bombay');
    insert into location values(7,'kumbokonam');
    My requirement is to update the department name and location of toms present in employee table without using cursors, loops.
    The column department number and loc_id are used for joins.
    I am in a situation to deliver my code on time.

    try this
    update emp tt
    set (dname,location ) = (
    select res,res1 from (select a.eno,a.ename,a.dno,b.dname,a.loc_id,c.location
    from emp a,
    dept b,
    location c
    where a.dno = b.dno
    and a.loc_id = c.loc_id
    ) t
    where tt.eno = t.eno
    model
    return updated rows
    partition by (eno)
    dimension by (row_number() over (order by eno) as rn)
    measures(cast (dname as varchar2(50))  as res,cast (location as varchar2(300)) as res1)
    rules
    upsert
    iterate(1000)
    until(presentv(res[iteration_number + 2],1,0) = 0)
    res[0] = res[0] ||','|| res[iteration_number + 1],
    res1[0] = res1[0] ||','|| res1[iteration_number + 1]))
    ;output
    1     tom1     10     ,RM,RM,RM,RM,DD,TD,DD,DD,TD,TD,TD,DD     1     ,palani,salem,kalpattu,thirukoyilur,palani,thirukoyilur,kalpattu,thirukoyilur,palani,salem,kalpattu,salem
    2     tom2     20          2     
    3     tom3     30          3     
    4     tom4     40          4     
    5     tom5     50          5     
    6     tom6     60          6     
    7     tom7     70          7     
    8     tom8     80          8     

  • How To Update The Registry using Java

    I want to open up the registry and place my Java Application in the Startup using Java.Opening the Registry is done with the use of Exec() now how to add my program in the startup.
    Tx in Advance.
    gomes

    Search the forum - I've already answered similar questions about 10 times.

  • How to update the lists using the timer jobs?

    Hi,
    I'm new to sharepoint developing
    Using the timer jobs the items which are present in the one list must get updated in the another list and also should be overwritten.
    For example:
    If there 10 items present in a X list. After some time period the first five of X should get updated in Y  list . After some more time the next 5 items of X has to overwrite the items present in the Y list.
    Regards,
    Santto.

    Hi Santto,
    The following articles and code examples would be helpful.
    SharePoint 2010 Custom Timer Job
    https://code.msdn.microsoft.com/office/SharePoint-2010-Custom-416cd3a1
    SharePoint Add/Update/Delete List Item Programmatically to SharePoint List using C#
    http://www.sharepointblog.in/2013/04/add-new-list-item-to-sharepoint-list.html
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to update the data in sqlserver table using procedure in biztalkserver

    Hi,
    Please can any one answer this below question
    how to update the data in sqlserver table using procedure in biztalkserver
    while am using executescalar,typedprocedure getting some warning
    Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
    Please send me asap....
    Thanks...

    Hi Messip,
    A detailed error would have helped us to answer you more appropriately but
    You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
    http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    2013: Inserting RawXML (Whole Incoming XML Message) in SQL database

  • How to update the FB01L transaction using the FM  bapi_acc_document_post

    Hi All,
            How to update the FB01L transaction using the bapi_acc_document_post but there is no ledger group field in the bapi function module.
    Please help me how to do it.

    hi,
    use batch input method for the same.
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19107237&messageID=884744]

  • How to update the iTunes in the iPad using the I pad

    How to update the iTunes in the iPad using the I pad?

    Then you cannot update without Conecting to iTunes on a computer.
    The Over the Air Feature is only available on iOS 5 or later.
    You have iOS 4... See Here...
    http://support.apple.com/kb/HT4972
    OR...
    Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch

  • How to print the Module pool screen using a push button in the screen

    Hi Every one,
                         i have developed a module program , which have a selection screen and it display the output in a structured way.
    output includes boxes, texts etc...
    my problem is :---
    How to print the Module pool screen using a push button in the screen.

    When the "Print" button is pressed:
    leave to list-processing and return to screen 100.  "(current screen)
    Call a transaction that runs your print program.
    Rob

  • How to Update the oracle toad column value in table by using SSRS 2008

    Hi Team,
    How to update the oracle DB table column value by using SSRS 2008.
    Can any one help me on this.
    Thanks,
    Manasa.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, you want to use SSRS to update data in database table. Right?
    Though Reporting Services is mostly used for rendering data, your requirement is still can be achieved technically. You need to create a really complicated stored procedure. Pass insert/delete/update and the columns we need to insert/delete/update as
    parameters into the stored procedure. When we click "View Report", the stored procedure will execute so that we can execute insert/delete/update inside of the stored procedure. Please take a reference to two related articles below:
    Update Tables with Reporting Services – T-SQL Tuesday #005
    SQL Server: Using SQL Server Reporting Services to Manage Data
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to update the field EKET-WEMNG (delivered) in database using BAPI.

    Dear All,
    How to update the values to good received field for EKET WEMNG (delivered) in database using BAPI and please give me the standard bapi and explain the process  how to update to database bcoz am new to bapi concepts and i will be thankful to your help.
    Regards,
    Tazeer.

    this field is only updated when you do a goods receipt. 
    So the only BAPI that can do this is the BAPI GoodsMovement  (BUS2017)

  • How to update the test case result in MTM using C#

    Hi
    I have tried the following code but when I execute the same I am getting the testcase result as "In Progress".
    How to update the testcase execution result as Passed.
    I tried the below code:
    public
    static
    void UpdateResult()
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(server));
    ITestManagementService tms = tfs.GetService<ITestManagementService>();
    ITestManagementTeamProject proj = tms.GetTeamProject(project);
    ITestPlan Plan = proj.TestPlans.Find(1);
    ITestRun testRun = proj.TestRuns.Create();
    testRun = Plan.CreateTestRun(false);
    ITestPointCollection points = Plan.QueryTestPoints("SELECT
    * FROM TestPoint");
    foreach (ITestPoint
    p in points)
    testRun.AddTestPoint(p,Plan.Owner);// null);
    testRun.State = TestRunState.Completed;
    testRun.Save();
    ITestCaseResultCollection results = testRun.QueryResults();
    ITestIterationResult iterationResult;
    foreach (ITestCaseResult
    result in results)
    iterationResult = result.CreateIteration(1);
    foreach (ITestStep
    testStep in result.GetTestCase().Actions)
    ITestStepResult stepResult = iterationResult.CreateStepResult(testStep.Id);
    stepResult.Outcome = TestOutcome.Passed;   
    iterationResult.Actions.Add(stepResult);
    iterationResult.Outcome = TestOutcome.Passed;
    result.Iterations.Add(iterationResult);
    result.Save();
    results.Save(true);
    testRun.Save();
    testRun.Refresh();

    Hi Mohammed,
    Sorry for my delay.
    According to your code, I have been modified your code in my side and it can work fine. So you can refer the following code to check your issue in your side.
    Reference:
    publicstaticvoidUpdateResult()
    TfsTeamProjectCollectiontfs
    = newTfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(server));
    ITestManagementServicetms
    = tfs.GetService<ITestManagementService>();
    ITestManagementTeamProjectproj
    = tms.GetTeamProject(project);
    ITestPlanPlan = proj.TestPlans.Find(1);
    IStaticTestSuitesuite
    = Plan.RootSuite.SubSuites.Where(s
    => s.Id == 1339).First()
    asIStaticTestSuite;
    ITestCasetestcase
    = null;
    testcase
    = suite.Entries.Where(e
    => e.Title == "login").First().TestCase;
    ITestRuntestRun
    = project.TestRuns.Create();
    testRun
    = Plan.CreateTestRun(false);
    ITestPointCollectionpoints
    = Plan.QueryTestPoints("SELECT * FROM TestPoint WHERE TestCaseId ="+
    testcase.Id);
    foreach(ITestPointp
    inpoints)
    testRun.AddTestPoint(p,
    Plan.Owner);// null);
    //testRun.AddTestPoint(p, null);
    testRun.State =
    TestRunState.Completed;
                testRun.Save();
    ITestCaseResultCollectionresults
    = testRun.QueryResults();
    ITestIterationResultiterationResult;
    foreach(ITestCaseResultresult
    inresults)
                    iterationResult = result.CreateIteration(1);
    foreach(ITestSteptestStep
    inresult.GetTestCase().Actions)
    ITestStepResultstepResult
    = iterationResult.CreateStepResult(testStep.Id);
                        stepResult.Outcome
    = TestOutcome.Passed;   
                        iterationResult.Actions.Add(stepResult);
                    iterationResult.Outcome
    = TestOutcome.Passed;
    result.Iterations.Add(iterationResult);
    result.Outcome
    = TestOutcome.Passed;
    result.State = TestResultState.Completed;
    result.Save(true);
    testRun.Save();
    testRun.Refresh();
    Note: you will need to
    base on your requirement to modify the code such as modify the testsuite id and title in your side.
    In addition, I find a blog about TFS API that can help you:
    # Code snippets on Test Management APIs
    http://blogs.msdn.com/b/aseemb/archive/2012/08/07/code-snippets-on-test-management-apis.aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to update the windows cached password after SSPR?

    Scenario: Windows 7 remote user forgets the cached password for her laptop and uses FIM 2010 R2's Reset Password invoked from the login screen. The domain password change is successful, but the user still cannot login to the laptop as the
    cached password has not been updated.
    Question: How to update the cached windows logon password after SSPR to allow user to login with the new password.
    Thanks 

    Please try the following:
    KB2845626 - Cached credentials are not updated when you change your password in Windows
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

Maybe you are looking for

  • How can I record and edit using an electronic drum kit to midi on a windows based PC (That I will eventually use in Garageband)?

    Hi there I know this isnt really a Garagband question and possibly a little off GB topic, but in the end I will be using the midi file in Garageband so it kind of is I'm new to Midi recording so please bare with me. I am looking to do the following.

  • Settlement Rule for Internal Order

    Hi All I have Maintained Settlement rule for Internal order as under CAT - FXA Settlement Receiver - Asset % - 100 Settlement type - Full Now after settlement of above Order in KO88 . I want again use above internal order. Hence i have trying to put

  • Issue to use all memory installed on server

    currently running crystal report server 2008 (12.1.0.882) Crystal 32bit on powerfull  Dell server R 905 with 64 Gig memory.. There are currently 15 instances of Crystal running on this server, with each being allocated a maximum of 2GB.  The aim of t

  • Content Conversion Parameter- Help

    Dear Friends, I have a quick question regarding content conversion paramter. My structure is as follows <MT_Root> <Statement_response> <row> <Value1>ABC</Value1> <Value2>CDE</Value2> <Value3/> </row> <row> <Value1>DATA</Value1> <Value2>TEST</Value2>

  • Front Row Video Conversion

    Most of the video files I have I play with VLC beacuse quicktime will not play them. They are avi files. I was wondering if there was some program out there that would convert these files to mp4 or something quicktime can read so ic an play them in f