How to get Row = 2 Details in report from JDT1 Table

Dear Experts,
SELECT T0.TransId, T0.Account, T1.[AcctName]Row1, T0.Debit, T0.Credit, T0.RefDate, T0.BaseRef,  T0.Closed, T0.Ref1, T0.Ref2, T0.Ref3Line, T0.RelType
FROM JDT1 T0  INNER JOIN OACT T1 ON T0.Account = T1.AcctCode
WHERE T1.[AcctName] = [%0]
in above query i  want ROW2 Detail from JDT1Table.
Any Help?
Regards,
Rahul
Edited by: RAVI_JHA_SAP on Mar 3, 2011 8:27 AM

Hi Ravi.......
Try this.....
SELECT T0.TransId, T0.Account, T1.AcctName, T0.Debit, T0.Credit, T0.RefDate, T0.BaseRef, T0.Closed, T0.Ref1, T0.Ref2, T0.Ref3Line, T0.RelType
FROM JDT1 T0 INNER JOIN OACT T1 ON T0.Account = T1.AcctCode
WHERE (T1.AcctName = '[%0]' or '[%0]'='') and T0.[Line_ID]=2
Regards,
Rahul

Similar Messages

  • How to get row number of selected entry from OVS search result

    Hi,
    Anyone having any idea on how to get row number of the  selected entry/ how to differentiate rows in OVS search result in ON_OVS method?
    Regards,
    Jatin

    Hi,
    You can get the selected record to <ls_selection> structure in co phase 3.
    From that structure you can get what ever field you want.,
    check the below code for reference,
    << Moderator message - Cut and paste response from F4 help for ALV table field removed. Plagiarism is not allowed in SCN >>
    hope this helps u.,
    Thanks & Regards,
    Kiran
    Edited by: Rob Burbank on Jan 5, 2012 5:24 PM

  • How To Get Row numbers in matrix report

    Hi All
    i created an matrix dril down report
    in which i have to get row numbers 
    my requirement is something like
    state          City                           RowNumber                 
    Apr                          May                  
    Jun                Jul        Aug
    AP +            Vij                                 
     1                               300000                
    5666
                      Guntur                            
     2                                70000                    
    8888
                      Hyd                                  
    3                                 0000                    
    555
    MP+               RJA                              
    4                               7770                           
    0
    KL+             Kollam                            
    5                              80000                           
    555
                       Trv                                   6                             
    50000                       666
    SP+              Trj                                  
    7                               666                         
    666
    JP+               mka                                
    8                             6667                           
    66668
    RP+              Rja                                  
    9                               899
    like that above i have to get
    i used                  RowNumber(Nothing)                And Also RowNumber("Group")
    iam not getting like above   iam getting either randomly   or sum of all months
    means for each month it is taking 1
    so total iam getting 12,24,36,48..................like that
    but i want the above requirement
    so any one suggest how get that in matrix report..........

    Hi Mr.SMK,
    Per my understanding you want to get the row number based on the row group of "City", right?
    I have tested on my local environment and you can using the expression below to do this:
    Right click the city column and select the "Insert Column" and select the "Inside group-right"
    Add below expression to get the row number:
    =RunningValue(CountDistinct("DataSetName"),Count,"DataSetName")
    Preview result like below:
    If you still have any problem, please try to provide some sample data and more details information.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to get metadata option list values derived from a table/view using SOAP

    I am writing an ASP.NET application that replicates some of the features of the SCS search interface. I have looked at the GET_DOC_METADATA_INFO service and its SOAP output. It has a few missing pieces of information, like the option list values for a field if that fields values are derived from a separate table/view. Some of the fields I am dealing with also make use of Dynamic Control Lists (DCL). Is there a way to get the DCL info using SOAP? I did notice that the dOptionListKey element contains the name of the view from which the option list values will be derived. However, I cannot find a service that takes the view name as a parameter to return the option list values. I have looked in the services reference manual, but I have not had any luck finding what I am looking for.
    TIA
    - Tyson
    Message was edited by: Add the word 'get' to the subject.
    Tyson

    Hello,
    What error you are getting? You code seems to be ok. I have tested below code and working fine
    XPathNavigator rTable = MainDataSource.CreateNavigator();
    String ddlSectionSelectedValue = Convert.ToString(rTable.SelectSingleNode("/my:myFields/my:ddlSection", NamespaceManager).Value);
    One think you can check that keep dropdown value display name and id same.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to get the stock of STO Report with suppling Plant/receiving Plant/open

    How to get the stock of STO Report with suppling Plant/receiving Plant/open/close qty.

    MB5T gives you Details of STO which have stok in transit.
    ME2W gives you supplying plant wise STO details.  Also in ME2W , in the ALV report output, if you select  the "delivery Schedule line" icon , you will get details such as , STO qty, Issued qty , undelivered qty etc.

  • How to get the input details on the output screen in T code KCR0

    Hi All,
    How to get the input details on the output screen in T code KCR0, the issue is that we need to get the input details like Company code and payment date on the output screen while executing the report painter via t code KCR0.
    I tried to chane the settings via t code KCR6 but still didn't get the required output details.
    Regards,
    Ajay

    This is the asset accounting forum.  You should post your question in the proper forum.

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to get the usage of SSRS reports in project server 2010

    Hi
    Can any body tell me how to get the usage of the SSRS reports in Project Server 2010.
    Thanks
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    Hello,
    See the links below on how to get the usage for SSRS reports:
    http://sqlbadboy.wordpress.com/2013/09/12/reporting-services-reports-whos-using-them/
    http://www.mssqltips.com/sqlservertip/1908/analyze-report-execution-and-usage-statistics-in-sql-server-reporting-services/
    http://www.mssqltips.com/sqlservertip/1306/how-to-know-what-reporting-services-reports-are-being-used/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to get the output of the report in pdf format

    how to get the output of the report in pdf format?
    Thanks in advance,
    madan.

    Refer these links
    http://www.sap-img.com/bc037.htm
    http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
    CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF

  • How to get last column used in report sorting?

    hi,
    how to get last column used in report sorting?
    simon

    How to identifiy which column was sorted having different reports on page?
    just use:
    'YOUR_STATIC_REGION_NAME' instead of p_static_id,
    :APP_ID for p_app_id,
    :APP_PAGE_ID for p_page_id
    :APP_USER_ID for p_app_user.
    and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
    good luck and thank you Juergen.Schuster
    Simon

  • How to get GL transactions detail

    How to get GL transactions detail to insert in 3rd party applicaton.? We need Journal Entry number, date, account number, debit and credit columns. We need detail table structure.
    Thanks
    Shafiq

    Hi
    About period balance.
    To have the amount of the balance of a certain account you need to run the following query (you need to know the CODE_COMBINATION_ID of the account, the SET_OF_BOOKS_ID of the company, the PERIOD_NAME and the functional currency used)
    select nvl(sum(bal.begin_balance_dr + bal_period_net_dr - bal.begin_balance_cr - bal.period_net_cr),0)
    from gl_balances bal,
    gl_code_combinations cc
    where cc.code_combination_id = bal.code_combination_id
    and bal.actual_flag = 'A'
    and cc.code_combination_id = <your ccid>
    and bal.period_name = <your period name>
    and bal.currency_code = <your func currency>
    and bal.set_of_books_id = <your sob id)
    Hope this helps.
    Octavio.

  • HT4859 Does anyone know how to get my Mailbox details from iCloud Back-up? I have accidentally deleted lots of emails I needed to keep. Thanks

    Does anyone know how to get my Mailbox details from ICloud Back-up?
    I deleted some emails in error and need them back.Thanks

    The iCloud backup doesn't contain email.  If you deleted the email and it isn't in your trash folder, there is no way to recover it.

  • How to get work item details programatically ?

    Hi All,
    I have a list of work items (process instances) and I want to retrieve each item details such as: attachments, notes, id, ...
    All the items are filtered and represented as Fuego.Papi.Instance:
    Fuego.Papi.Instance[] inst = busProcess.getInstancesByFilter(filter : instFilter);
    But the work item details are inherited from Fuego.Lib.ProcessInstance. So, how to get the item details from inst[] ?
    Would appreciate any help, may be Dan will have an advise ?
    Regards,
    Kim

    If you have instances returned by your filter, you could extract variable information for each instance by doing something like this:
    for each inst in getInstancesByFilter(ps, filter : instF) do
        // here's how to get the value inside a primitive instance variable
        orderAmtObj as Object = getVar(inst, var : "orderAmount")
        // here's how to get the value of attributes inside a complex BPM Object instance variable
        //    - in this case this is an "order" object with two attributes (customerName and amount)
        orderObj as Object = (getVar(inst, var : "order"))
        xmlObject = Fuego.Xml.XMLObject(createXmlTextFor(DynamicXml, object : orderObj, topLevelTag : "xsi"))
        logMessage "The value of the order object's customer name is: " +
               selectString(xmlObject, xpath : "customerName")
        logMessage "The value of the order object's order amount is: " +
               selectNumber(xmlObject, xpath : "amount")
        // here's a rather uninspired way to retrieve who the participant is that was assigned the instance
        logMessage "The participant assigned to this instance is: " + inst.participantId
    endInside the above "for" loop, you could retrieve these predefined variables (this example assumes you use "inst" in your "for" loop):
        objRet as Any
        objRet = inst.getVar(var : "PREDEFINE_ACTIVITY")
        logMessage "Activity name = " + objRet using severity = DEBUGSubstitute "PREDEFINE_ACTIVITY" in the above logic to get this information:
    PREDEFINE_PRIORITY (priority)
    PREDEFINE_ACTIVITY_DEADLINE (activity.deadline)
    PREDEFINE_CREATION_TIME (creation.time)
    PREDEFINE_PROCESS_DEADLINE (deadline)
    PREDEFINE_DESCRIPTION (description)
    PREDEFINE_PROCESS (process)
    PREDEFINE_RECEIVED_TIME (receptionTime)
    PREDEFINE_PARTICIPANT (participant)
    PREDEFINE_COPY (id.copy)
    PREDEFINE_STATUS (status)
    Similarly, you might want to try to get instance information using the Fuego.Papi.VarDefinition object a try. Never used it, but the logic might be as simple as:
        logMessage "who created? = " + inst.getVar(Fuego.Papi.VarDefinition.CREATOR_ID) using severity = DEBUG
        logMessage "does it have attachments? = " + inst.getVar(Fuego.Papi.VarDefinition.HAS_ATTACHMENTS) using severity = DEBUG   
        logMessage "does it have notes? = " + inst.getVar(Fuego.Papi.VarDefinition.hasnotes) using severity = DEBUGDan

  • We need to buy Adobe Framemaker version 11. The distributor is only able to provide us with version 12. Can someone suggest me how is it possible to get the license for ver 11 serial  key after purchasing ver 12 and also how to get the download details ?

    We need to buy Adobe Framemaker version 11. The distributor is only able to provide us with version 12. Can someone suggest me how is it possible to get the license for ver 11 serial  key after purchasing ver 12 and also how to get the download details ?   Urgent response will be helpful.D

    Adobe Support helped us with a similar query. We ended up with exactly what you need.

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

Maybe you are looking for

  • [SOLVED] Gnome 3.12 : gnome terminal does not run anymore

    I had the following message when trying to run gnome-terminal after updating to 3.12: Error creating terminal: Message did not receive a reply (timeout by message bus) I have found a fix, so I'll share it with the community. The problem was that I ha

  • Version 8 stopped working on my Windows 7 computer

    Can I download an older version of Firefox. V8 has stopped working completely on my Windows 7 machine. An older computer in the house, running an older version of Firefox is working just fine. Or any further suggestions on what to do since I have tri

  • How do I use Time Machine

    I don't know how to get started with Time Machine. Also, I want to change to a SSD hard drive and I was told that I could save evrything in Time Machine and then load all my software files from Time Machine onto the new SSD. Is this possible? If so,

  • Table entries deleted in Customized table.

    Respected Guru's table entries in a customized table were deleted in production system, no transports pertaining it was found. Table entries were updated using bapi. Please help me to know how the table entries were deleted. Daya. Edited by: Dayanana

  • Unsupported Cluster configuration.

    Hi  Im getting below error on refershing the host cluster I get below error . I have 2 hosts in the cluster and VMs report unsupported cluster configuration. SCVMM 2012 SP1 dont seem to see the Logical Switches . Although Upon restarting WMI Services