Get table for cl_gui_alv_grid

Dear all
I have several cl_gui_alv_grid controls and I like to add 1 double-click handler to all those Grids.
Now when doubleclicking, I need to now which table (they have all the same type) is displayed by this grid.
How can I get this information?
thank you
Herbert

I guess, everyone has missed the fact that we can get the access of the Event Sender as the parameter SENDER. So, you can achieve it by doing like this:
* definition
    methods: handle_double_click
             for event double_click of cl_gui_alv_grid
             importing e_row
                       e_column
                       es_row_no
                       sender.
Set event handler for all the objects
    SET HANDLER g_event_receiver->handle_double_click
                                  FOR all instances.
For the method implementation
method handle_double_click.
   case sender.
      when o_Grid1.
*        grid1 processing
       when o_grid2.      
   endcase.
endmethod.
More information on Sender: [Method - For Event|http://help.sap.com/abapdocu_702/en/abapmethods_event_handler.htm#!ABAP_ADDITION_1@1@]
Regards,
Naimesh Patel

Similar Messages

  • How to get Tables for the datasource

    Hi ,
    When i have a datasource,How do i get to know..What are the table for that data source.
    Thanks,
    Kiran.

    Hi,
    In ECC:
    1. goto RSO2 and give datasource name and display, if it is SAP defined datasource it will display some warning message in Status bar, so again press Enter Button and then see teh datasource there you can fine FM, Table/VIiew, InfoSet like that, in this way you can fine, if it is build on Function Module then you need to see that FM and debug and find. For LO dataSources you can fine in LBWE.
    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    Thanks
    Reddy

  • Tables for SD partner details

    hi,
    Can anybody help me to get tables for SD partner details?
    Any useful answer will be rewarded.
    Thanks & Regards
    Naveen

    Hi,
    For order related parnter you can use the table VBPA
    For general customer master you can use the table KNA1
    Thanks
    Naren

  • Report / Table for getting Datewise item cost

    Friends,
    Can u help me know MM Report / Table for getting Datewise item cost in a plant.

    hi,
    try table S031...Movement of stocks....
    THis shd help you..
    Regards
    Priyanka.P

  • How to get the object class field value in CDHDR table for vendor

    hi
    how to get the object class field value in CDHDR table for vendor

    Try KRED/KRED_N as object class in CDHDR for Vendor.

  • Adpatch Fail WithError Cannot Get Table Of Contents In Library File For Pro

    I install EBS R12.1.1 on windows server 2003 R2 on the vmware station.
    when I upgrade R12.1.3 adpatch the 9239089, it has the error,the log is belowing:
    ===============================================================
    ---ad----------------------------------------
    Extracting object modules for product ad...
    C:/oracle/PROD/apps/apps_st/appl/ad/12.0.0/bin/adlibout.sh: line 332: lib: command not found
    adlibout: error: cannot get table of contents in library file for product ad
    File name is C:/oracle/PROD/apps/apps_st/appl/ad/12.0.0/lib/adst.lib
    Skipping to next product...
    ================================================================
    I check doc[ID 335488.1], the problem is same as I.
    and i do the steps in this document.
    step1:
    i check %JAVA_TOP%=C:\oracle\PROD\apps\apps_st\comn\java\classes,but there is not files loadjava.zip. so i copy it from C:\oracle\PROD\apps\apps_st\comn\java\lib; then i add the classpath on the setting of the environment variables in the system properties.
    step2:
    i check it has the lib.exe adst.lib fndst.lib and work correctly.
    STEP3:
    I don't know how can I do the following information:
    +*<moderator edit - deleted MOS Doc content - pl do not post such content - it is a violation of your Support agreement>*+
    Are there persons can help me?

    C:\Documents and Settings\Administrator>which lib
    C:\mvcs\VC\bin/lib.exe
    C:\Documents and Settings\Administrator>lib /nologo /list C:\oracle\PROD\apps\ap
    ps_st\appl\ad\12.0.0\lib\adst.lib
    adpcdlvl.obj
    adpdrv.obj
    adpvov.obj
    adusnap.obj
    aidrdf.obj
    aidsql.obj
    aifgms.obj
    aiibas.obj
    aijmgr.obj
    aijmtab.obj
    aijwrkr.obj
    aiogfm.obj
    aioora.obj
    aiospawn.obj
    aiuarg.obj
    aiucef.obj
    aiucmd.obj
    aiufil.obj
    aiulog.obj
    aijtim.obj
    ailreg.obj
    aimrdb.obj
    aiofrl.obj
    aiojava.obj
    aiopatch.obj
    aipind.obj
    aipini.obj
    aiuoqg.obj
    aiuora.obj
    dmeef.obj
    dmmcad.obj
    dmmcon.obj
    dmmffk.obj
    dmmmax.obj
    dmmmis.obj
    dmmnew.obj
    dmmobs.obj
    dmmold.obj
    dmmsrc.obj
    dmmtar.obj
    dmud.obj
    adicep.obj
    admfac.obj
    admfrt.obj
    adpact.obj
    adpfil.obj
    adpgbl.obj
    adphist.obj
    adpmisc.obj
    adppmf.obj
    adprdc.obj
    adpver.obj
    adsmisc.obj
    adsugu.obj
    aduattr.obj
    adudbsn.obj
    adufbb.obj
    aduffk.obj
    adufpk.obj
    adufrt.obj
    adufsq.obj
    aduftb.obj
    adufvw.obj
    aiumem.obj
    aiures.obj
    aiusql.obj
    aiustr.obj
    aiustrg.obj
    aiuval.obj
    aiuver.obj
    aiz.obj
    dmecep.obj
    dmesr.obj
    dmmact.obj
    dmmb.obj
    dmmbi.obj
    dmmcep.obj
    dmmef.obj
    aioenv.obj
    aiofcp.obj
    aiofdl.obj
    aiofgg.obj
    aiofgp.obj
    aiofgr.obj
    aiofls.obj
    aiofsp.obj
    aioful.obj
    aiofvf.obj
    aiofxx.obj
    aioini.obj
    aioproc.obj
    aiosdt.obj
    aiotime.obj
    aiounl.obj
    aipclien.obj
    aipfind.obj
    aifrdf.obj
    aifrof.obj
    aifunl.obj
    aifvaf.obj
    aifz.obj
    aiicot.obj
    aiidps.obj
    aiierr.obj
    aiiics.obj
    aiiind.obj
    aiiini.obj
    aiiipb.obj
    aiipdm.obj
    aiispm.obj
    aijcssd.obj
    aijcsssm.obj
    aijctrl.obj
    aijhigh.obj
    aijmjava.obj
    aijmlist.obj
    aiccep.obj
    aicdb.obj
    aicdgrt.obj
    aicdind.obj
    aicdprv.obj
    aicds2.obj
    aicdsyn.obj
    aicdview.obj
    aicfile.obj
    aicintfc.obj
    aicpar.obj
    aicsave.obj
    aictsu.obj
    aidafc.obj
    aidapp.obj
    aidcfk.obj
    aidcrt.obj
    aidenv.obj
    adufea09.obj
    adufeat.obj
    adufix.obj
    adugbl.obj
    aduhsh.obj
    adum.obj
    adumd.obj
    adumef1.obj
    adumef2.obj
    aduoix.obj
    adupln.obj
    adurts.obj
    admpmf.obj
    admpmr.obj
    admprn.obj
    admpst.obj
    adncep.obj
    adpcfv.obj
    adpfndld.obj
    adphena.obj
    adpintfc.obj
    adpparr.obj
    adppdep.obj
    adptask.obj
    adsenv.obj
    adsha1.obj
    admpmd.obj
    admpbf.obj
    admgri.obj
    admd5.obj
    admd.obj
    admatr.obj
    admart.obj
    admamo.obj
    admaln.obj
    admabb.obj
    admaac.obj
    adino.obj
    adifo.obj
    addts.obj
    addbs.obj
    adcptch.obj
    adcosd.obj
    adcintfc.obj
    adcfil2.obj
    adcfil1.obj
    adcds.obj
    adccfl.obj
    adapps.obj
    adufea08.obj
    adufea07.obj
    adufea06.obj
    adufea05.obj
    adufea04.obj
    adufea03.obj
    adufea02.obj
    adufea01.obj
    aduf.obj
    adue.obj
    adudyn.obj
    aducsfs.obj
    aducd.obj
    aduatcfg.obj
    aduabb.obj
    aduaaf.obj
    adsrtr.obj
    adsrpd.obj
    adsrlo.obj
    adsrln.obj
    adxpfpps.obj
    aduxxx.obj
    aduxvw.obj
    aduxtb.obj
    aduxsz.obj
    aduxsq.obj
    aduxsn.obj
    aduxpv.obj
    aduxpm.obj
    aduxpk.obj
    aduxix.obj
    aduxft.obj
    aduxfk.obj
    aduxco.obj
    aduxbb.obj
    adustb.obj
    adussq.obj
    adussf.obj
    adusrt.obj
    adusq2.obj
    aduspk.obj
    adusix.obj
    adusfk.obj
    adusbb.obj
    aifpll.obj
    aiflrv.obj
    aiflnk.obj
    aiflist.obj
    aifif.obj
    aifgov.obj
    aifggd.obj
    aifdrv.obj
    aifcf.obj
    aidz.obj
    aidvao.obj
    aiduic.obj
    aidsws.obj
    aidsiz.obj
    aidora.obj
    aidldf.obj
    aidgrnt.obj
    aidfgs.obj
    aideva.obj
    aiodxx.obj
    aiocset.obj
    aiocef.obj
    aimz.obj
    aimudb.obj
    aimres.obj
    aimras.obj
    aimlld.obj
    aimiup.obj
    aimism.obj
    aimini.obj
    aimact.obj
    ailtrf.obj
    ailmisc.obj
    ailifc.obj
    ailfind.obj
    aijtodo.obj
    aijpkch.obj
    aijpdep.obj
    aijmres.obj
    aiuext.obj
    aitz.obj
    aitwrt.obj
    aitshp.obj
    aitopt.obj
    aitldf.obj
    aitlang.obj
    aitfile.obj
    aitcom.obj
    aitarc.obj
    aipz.obj
    aipvrs.obj
    aipudb.obj
    aiptest.obj
    aiprpf.obj
    aipres.obj
    aiprel.obj
    aippgrp.obj
    aipodf.obj
    aipmsob.obj
    aipmisc.obj
    dmusr.obj
    dmus.obj
    dmumn.obj
    dmuef.obj
    dmucom.obj
    dmmuid.obj
    dmmsr.obj
    dmmp2.obj
    dmmp1.obj
    aijboth.obj
    aiimm.obj
    aiigce.obj
    aiicfg.obj
    aifgrp.obj
    aifgfm.obj
    aidjawk.obj
    aiddua.obj
    aiddgr.obj
    aidafo.obj
    aicdtab.obj
    aicdseq.obj
    aicdora.obj
    aicdcons.obj
    aduovw.obj
    aduotb.obj
    aduort.obj
    aduoprc.obj
    aduopk.obj
    aduofk.obj
    aduobb.obj
    dmutt.obj
    C:\Documents and Settings\Administrator>lib /nologo /list C:\oracle\PROD\apps\ap
    ps_st\appl\fnd\12.0.0\lib\fndst.lib
    fdfwtk.obj
    fdplbr.obj
    fdprep.obj
    fdspwd.obj
    fdssgn.obj
    fdxidk.obj
    fdxidr.obj
    fdxsqk.obj
    fdxsqr.obj
    spnnt.obj
    spnunx.obj
    afdgfn.obj
    afdrdb.obj
    afdrrt.obj
    afdrsc.obj
    afmem.obj
    afpcmn.obj
    afpeim.obj
    afpo.obj
    afppqs.obj
    afpsgc.obj
    ccmsssvc.obj
    fdfapi.obj
    fdfchy.obj
    fdfcom.obj
    fdfdbg.obj
    fdfdds.obj
    fdfdfu.obj
    fdfdtj.obj
    fdfdvu.obj
    fdffbu.obj
    fdffds.obj
    fdfffu.obj
    fdffile.obj
    fdffld.obj
    fdffvs.obj
    fdmenu.obj
    fdparg.obj
    fdpibm.obj
    fdpperl.obj
    fdprrc.obj
    fdpsql.obj
    fdpstp.obj
    fdsecp.obj
    fdsgbl.obj
    afppur.obj
    afpsec.obj
    afpsm.obj
    afpsmc.obj
    afpsmg.obj
    afpsrs.obj
    afscp.obj
    afspwd.obj
    afupi.obj
    afuprt.obj
    ccmsup.obj
    ccmsvc.obj
    fdacv.obj
    fdatat.obj
    fdaupd.obj
    fdfbpl.obj
    fdfbtr.obj
    xitdgmd.obj
    xitdgme.obj
    xitdgmi.obj
    xitdgml.obj
    xitdgmo.obj
    xitdgmp.obj
    xitdgmr.obj
    xitdgms.obj
    xitdgmz.obj
    xitdin.obj
    xitdmf.obj
    xitdmp.obj
    xitdoe.obj
    xitdpa.obj
    xitdpo.obj
    xitdpr.obj
    xitdpy.obj
    xitdra.obj
    xitdrg.obj
    xitdsa.obj
    xitdsp.obj
    xitdus.obj
    xitdwp.obj
    stdafx.obj
    usdccf.obj
    usdfmv.obj
    usdgpa.obj
    usdhtml.obj
    usdins.obj
    usdmac.obj
    usdmpe.obj
    usdnt.obj
    usdoaut.obj
    usdos2.obj
    usdpar.obj
    usdspid.obj
    usdstub.obj
    usdtec.obj
    usdwin.obj
    usdxit.obj
    wfcore.obj
    wfdes.obj
    wfext.obj
    wffile.obj
    wfidx.obj
    wfldr.obj
    wfldrf.obj
    fdwask.obj
    fdxapp.obj
    fdxcls.obj
    fdxdat.obj
    fdxdcf.obj
    fdxdsp.obj
    fdxefv.obj
    fdxext.obj
    fdxfil.obj
    fdxgvl.obj
    fdxkmd.obj
    fdxlcs.obj
    fdxmc.obj
    fdxml.obj
    fdxnls.obj
    fdxpii.obj
    fdxprf.obj
    fdxpst.obj
    fdxqus.obj
    fdxsqf.obj
    fdxsql.obj
    fdpsps.obj
    fdpsqp.obj
    fdpsra.obj
    fdptls.obj
    fdptmx.obj
    fdpurq.obj
    fdpvwr.obj
    fdpwrt.obj
    fdrcmp.obj
    fdrfcmp.obj
    fdrpbf.obj
    fdrutl.obj
    fdsarg.obj
    fdsaud.obj
    fdsctl.obj
    fdsgtk.obj
    fdsnxt.obj
    fdssck.obj
    fdhhlp.obj
    fdidrv.obj
    fdipth.obj
    fdisqf.obj
    fdllov.obj
    fdndbc.obj
    fdndcf.obj
    fdnlng.obj
    fdnwsc.obj
    fdomsg.obj
    fdowln.obj
    fdpblf.obj
    fdpbq.obj
    fdpccr.obj
    fdpcrc.obj
    fdpdbf.obj
    fdpdbg.obj
    fdpdf.obj
    fdpemon.obj
    fdperi.obj
    fdpevt.obj
    fdpfqr.obj
    fdpgcf.obj
    fddxit.obj
    fdefil.obj
    fdfile.obj
    afsxss.obj
    afsys.obj
    aftime.obj
    aftimr.obj
    afttf2t3.obj
    afttflib.obj
    afubtree.obj
    afuddl.obj
    afuepp.obj
    afufld.obj
    afugai.obj
    afugli.obj
    afulzw.obj
    afusc.obj
    afust.obj
    afutim.obj
    afvbt.obj
    afvca.obj
    afvpa.obj
    afwaol.obj
    afwdev.obj
    afwevt.obj
    afwgeo.obj
    afpgpr.obj
    afpgri.obj
    afpgrs.obj
    afpgsr.obj
    afplog.obj
    afpmir.obj
    afpolg.obj
    afpops.obj
    afpoux.obj
    afpoval.obj
    afppio.obj
    afppir.obj
    afprcl.obj
    afgfhdoc.obj
    afgldbs.obj
    afglpw.obj
    afhtmhlp.obj
    afifld.obj
    afixfs.obj
    afixfsb.obj
    afixlh.obj
    afixpic.obj
    afixpm.obj
    afixpmuu.obj
    afixucf.obj
    afixupgn.obj
    afixust.obj
    aflog.obj
    aflutl.obj
    afmath.obj
    afmsg.obj
    afoleaut.obj
    aforg.obj
    afgbox.obj
    affntrep.obj
    affntlst.obj
    affntgen.obj
    affile.obj
    afenv.obj
    afe.obj
    afdwin.obj
    afdtmp.obj
    afdsrw.obj
    afdsil.obj
    afdict.obj
    afdfrm.obj
    afdf.obj
    afdcx.obj
    afdcpm.obj
    afdacc.obj
    afctx.obj
    afcs2uni.obj
    afcore.obj
    afcharrp.obj
    afpgip.obj
    afpfsv.obj
    afpfsc.obj
    afpfs.obj
    afpflx.obj
    afpdwpur.obj
    afpdpo.obj
    afpdon.obj
    afpdlk.obj
    afpdbg.obj
    afpcmt.obj
    afpcc.obj
    afpcbidi.obj
    afpcat.obj
    afpcal.obj
    afstr.obj
    afspc.obj
    afslov.obj
    afshape.obj
    afsfld.obj
    afpvpc.obj
    afpufe.obj
    afpucf.obj
    afptstp.obj
    afptmttp.obj
    afptmi.obj
    afptmc.obj
    afptm.obj
    afpspt.obj
    afpsmf.obj
    afpscg.obj
    afprun.obj
    afprul.obj
    fdcpspn.obj
    fdastr.obj
    fdarux.obj
    fdahmi.obj
    fdacon.obj
    cregkey.obj
    ccmupi.obj
    ccmsvcpg.obj
    ccmsetup.obj
    ccmrkey.obj
    ccmppsht.obj
    ccmoptpg.obj
    ccmmndlg.obj
    alroms.obj
    afwsys.obj
    afwpal.obj
    afwlib.obj
    afwkflw.obj
    afwind.obj
    fdpscm.obj
    fdpsbm.obj
    fdpsar.obj
    fdprst.obj
    fdprpt.obj
    fdprmo.obj
    fdprlk.obj
    fdprhl.obj
    fdpreq.obj
    fdprcp.obj
    fdpprn.obj
    fdppev.obj
    fdppbr.obj
    fdpmst.obj
    fdpmbr.obj
    fdplnk.obj
    fdpldr.obj
    fdpimp.obj
    fdphbe.obj
    fdpgrq.obj
    fduxit.obj
    fduuid.obj
    fdutkn.obj
    fdutim.obj
    fdusql.obj
    fduopr.obj
    fdumod.obj
    fduli.obj
    fdugwi.obj
    fdugii.obj
    fdugci.obj
    fdueds.obj
    fdudat.obj
    fducst.obj
    fducsq.obj
    fdsxit.obj
    fdstkt.obj
    fdssvl.obj
    fdssuq.obj
    fdsssk.obj
    fdssop.obj
    spnvms.obj
    spnos2.obj
    spnmpe.obj
    spnmac.obj
    spndos.obj
    gmalloc.obj
    fpe.obj
    flutil.obj
    flup.obj
    fllog.obj
    flglob.obj
    fldisp.obj
    fldb.obj
    flada.obj
    fdxwrk.obj
    fdxwho.obj
    fdxutl.obj
    fdxuar.obj
    fdxtrc.obj
    fdxtmr.obj
    xitdgma.obj
    xitdgl.obj
    xitdff.obj
    xitdfa.obj
    xitden.obj
    xitddt.obj
    xitdcs.obj
    xitdcp.obj
    xitdbm.obj
    xitdax.obj
    xitdas.obj
    xitdar.obj
    xitdap.obj
    xitdal.obj
    xirnop.obj
    wfrsp.obj
    wfresg.obj
    wfres.obj
    wfomgul.obj
    wfomgucn.obj
    wfntf.obj
    wfmutil.obj
    wfmsiic.obj
    wfms.obj
    wfmlr.obj
    afpprr.obj
    afpprq.obj
    afpprn.obj
    afpprc.obj
    afpperl.obj
    afppcp.obj
    afpiml.obj
    afpi.obj
    afpgrq.obj
    afpgmg.obj
    afpesa.obj
    afperq.obj
    afpeot.obj
    afpejp.obj
    afpcsq.obj
    afpcrs.obj
    afpcra.obj
    afpbwv.obj
    afpatn.obj
    afixube.obj
    afixft.obj
    fdfkbt.obj
    fdfkbr.obj
    fdfkbp.obj
    fdfkbe.obj
    fdfkba.obj
    usdsim.obj
    fpep.obj
    fpeb.obj
    fdxver.obj
    fduprn.obj
    fduhex.obj
    fdugpi.obj
    fdssoa.obj
    fdsrsp.obj
    fdfwrt.obj
    fdfwmsg.obj
    fdfwin.obj
    fdfwfld.obj
    fdfweb.obj
    fdfvsu.obj
    fdfvgn.obj
    fdfval.obj
    fdfutl.obj
    fdfupu.obj
    fdftdu.obj
    fdfstr.obj
    fdfsrw.obj
    fdfsdf.obj
    fdfrfu.obj
    fdfobj.obj
    fdflop.obj
    fdflist.obj
    fdfkva.obj
    fdfksr.obj
    fdfkfu2.obj
    fdfkfu.obj
    fdfkds.obj
    fdfgli.obj
    fdfgcx.obj

  • How to get IAttributeStrand for each Cell in Table

    Hello All,
    I am trying to set the font and size depending upon the user inputs under each cell in the table.
    For Text frame I am able to achieve this by using ITextModel->QueryStrand(). But for Table I am not able to find any function which can allow me to query the Cell Strand and allow to apply the attributes.
    Has anyone been able to achieve the same. If so please do let me know its urgent.
    Thank you all in advance.
    regards
    Farzana.

    Hi,<br /> <br />Thanks for the prompt reply. By the way I forgot to mention that we are using the same in CS3.<br />We tried as you have mentioned in your mail. But we did not find any way to achieve the ITextStoryThread from ICellConent. We tried all possible ways but we always get the Text Frame TextModel.<br />We have used following code to get TextModel for each cell. We get correct startindex and endindex for each cell and also get the valid TextModel Interface. But when we try to find out its length then it returns the whole TextModel length. <br />Thus when we try to apply different attributes for each cell then it applies to whole table. <br />E.g. When we try to apply 12 font size for 1st cell then it also applies to remaining cells.  So we think we are not able to find out correct TextModel for each cell. <br /> <br />Below is our snippet of code on what we tried.<br /> <br />ITableModel::const_iterator iterTable(tableModel->begin());<br />ITableModel::const_iterator end(tableModel->end());<br /> <br />while(iterTable != end) <br />{<br />GridAddress gridAddress = *iterTable; <br />GridID gridid= tableModel->GetGridID(gridAddress);<br /> <br />   InterfacePtr<ITableTextContainer> tableTextContainer(tableModel, UseDefaultIID());<br />   if(tableTextContainer != nil) <br />   {<br />       InterfacePtr<ITextModel> textModel(tableTextContainer->QueryTextModel());<br />       if(textModel != nil) <br />       {<br />          InterfacePtr<ITextStoryThreadDict> textStoryThreadDict(tableModel, UseDefaultIID());<br />          if (textStoryThreadDict != nil) <br />          {<br />              InterfacePtr<ITextStoryThread> textStoryThread(textStoryThreadDict->QueryThread(gridid));<br />              if (textStoryThread != nil)<br />              {<br />                 InterfacePtr<ITextModel> iTextModel(textStoryThread->QueryTextModel());<br />                 if (iTextModel != nil)<br />                 {<br />                      TextIndex startIndx;<br />                      TextIndex endIndx;<br />                      startIndx=textStoryThread->GetTextStart(&endIndx);<br />                 }<br />                 else<br />                     CAlert::ErrorAlert("iTextModel == nil");<br />             }<br />          }<br />       } <br />   }<br />                                     <br />   ++iterTable;    <br /> }<br /><br />Regards,<br />Farzana.

  • Getting Cursor for Table control while scrolling

    Hi Experts,
    I am displaying 3 pages of records using table controls,
    and when i double click on the record, i have to display some pop up based on the values present in the particular record,
    this is done by getting the line number of the record using GET CURSOR LINE and reading the internal table with the index obtained from GET CURSOR LINE
    This is working fine for one page. I am getting problem for more than one pages
    i.e. if i have to validate for the 23rd record, it will be the second record in the second page, so i will get line number as 2nd instead of 23rd (using GET CURSOR LINE) and i will read the 2nd record in the internal table instead of reading the 23rd record.
    This will lead to improper pop up messages.
    So please let me know how can i catch/get the line number of particular record irrespective of number of pages.
    Thanks,
    Kavya

    declare two variables to get line count and line index
    data: wrk_linecnt(10),
    wrk_lineindx(10).
    get cursor line wrk_linecnt.
    wrk_lineindx = <table control name>-top_line + wrk_linecnt - 1.

  • Crystal based on Universe + RAS SDK: How to get Universe for Table

    Hi,
    Is it possible to retrieve the Universes used in Tables for the EXISTING CrystalReport? I can access SI_UNIVERSE_INFO in enterprise to get the list of universes, BUT i need to know EXACTLY which Universe belongs to which Table. Getting just the list of them does not help, because there can be 10 Tables and only 2 Universes in the list.
    I've checked ConnectionInfo property and it does not seem to store any Universe ID's or CUID's. ReportClientDocument.Database seems to be the only place in RAS object model, where such info can be potentially stored, but i could not find it so far.
    Does anyone have any idea?
    Thanks,
    Roman.

    It sounds like you need to use the Universe SDK to do what you are wanting to do.  You should post this question to the "Business Objects Enterprise XI R2" forum and hopefully someone will be able to help you out.  I'm no help with this one! 
    I believe the Universe SDK only comes in a COM flavour so if the SDK can do what you need it to do, you'll need to use COM from your .NET application.
    -MJ

  • Dr/Cr indictor getting updated wrongly in J_1IPART2 table for ETT-RLFC

    Dear All,
    While Reconciling the excise reports, I had been observed some issue in J_1IPART2 table for the excise transaction type RLFC.
    All the entries for Excise TT RLFC the Dr/Cr indicator should be “S-DEBIT” but system has updated the value “H-CREDIT” for all the entries.
    Because of this issue system is displaying the values wrongly in RG23APART2 register.
    Reference Oss notes: 1756565/1907900.
    I had raised oss to SAP as well only recieved intial response saying will be assigned to expert & he will get backs to you.
    But I haven't recieved any response from SAP.
    J_1IPART2 Table entries:
    Accounting entries for the internal document: T.Code-J1IH -> Display
    RG23A PART2 Register Printout
    If any body has experienced this strange issue please let me know.
    Regards,
    S.Himavanth.

    Dear Nikhil,
    Still SAP haven't released this not generally.
    Raise OSS to SAP on the issue that you are facing they will reply to that.
    Regards,
    S.Himavanth.

  • Onblur get values for form field from table.

    Hello,
    I created one from with report for TableA.TableA has 5 column. Now after i enter first field ,on blur, i want 2 other fields should get populated.They should get the 2 values from TableB.Table A and Table B are connected through primary key foreigh key constraint.First field is primary key of TableA.
    How can i do this.I am writing a javascript function which i am calling from first form field.
    But in the function how to take values from the table for the other 2 fields.
    Can i just Select statements inside javascript function?
    Thanks
    Swapna.T

    Swapna,
    You can do this using AJAX. See link.
    Hope it helps
    Cheers,
    Hari

  • Data gets deleted for the table RSTRFIELDSH

    If data gets deleted for the table RSTRFIELDSH at BW end
    ...what should i do?to get it back

    Wim,
    We lost the data from production. We ran Archive program to archive the data and archiving file is still exist.
    There is no possibliity to run the OUTBOUND process again to create the IDOCs.
    But only my concern is When we run the Transaction SARA we will be getting the data for other period as well.
    But I need to reload the data for three months only because that archiving file also has other period data as well.
    Can you send me details of how to use SARA Transaciton for particular period.
    Thanks,
    Kalikonda.

  • How do i able to get data for unit price using RSEG table?

    Dear All,
    How do i able to get data for unit price in RSEG table?

    Hi Thiru,
    Please check the logic in thread http://scn.sap.com/thread/1347964
    Hope this helps.
    Regards,
    Deepak Kori

  • IDT SDK - getting connection for DataFoundation table

    Hello,
    I retrive universe from repository, open local DataFoundation and getting tables.
    Now I want to know which connection (repository SI_ID) using each table. Any ideas?
    My code:
    String localPath = cmsService.retrieveUniverse("MY_UNIVERSE.unx", LOCAL_FOLDER, true);
    SlResource loadedRes = localService.load(localPath);
    RelationalBusinessLayer businessLayer = (RelationalBusinessLayer) loadedRes;
    String localDFPath = businessLayer.getDataFoundationPath();
    SlResource resource = localService.load(localDFPath);
    DataFoundation dataFoundation = null;
    if (resource instanceof MonoSourceDataFoundation) {
                dataFoundation = (MonoSourceDataFoundation) resource;
    } else if (resource instanceof MultiSourceDataFoundation) {
                dataFoundation = (MultiSourceDataFoundation) resource;
    List<Table> tables = dataFoundation.getTables();
    for (Table table : tables) {
              System.out.println("Table: " + table.getName() + " using connection: ????");
    BO 4.1 SP3

    Hi
    To check the connection information for IDT universe
    To check a secured connection, in the repository resources view, open a session on the repository where the connection is published and The Connection folder or sub folder, double click connection name.
    Then check the Server, connection name, Connection Type, Repository Folder, and general information.
    Please find the below link.
    How to check connection parameters information in IDT

  • To get the table for the purchase order , Completely delivered

    Hi Experts,
    I need to find a table for a given purchase order no . EKKO-EBLEN ,
    which shows the status of the purchase orde is completely delivered or completely invoiced.
    I tried finding using the F1 help and the where used list, but couldnt..
    Thanks in advance ,
    Harshit Rungta

    in EKPO, check for each item
    - ELIKZ "Delivery completed" indicator
    - EREKZ "Final invoice indicator"
    Regards,
    Raymond

Maybe you are looking for