Join for the jtf_notes_b to hz_parties

Hi,
I came across the requirement that I need a query to get the PARTY_NAME from the "HZ_PARTIES" table for the given row in the "JTF_NOTES_B"
Here is the query for the above.
SELECT jnb.creation_date,
jnb.created_by,
jnb.last_update_date,
jnb.last_updated_by,
jnb.last_update_login,
jnb.entered_date,
jnb.entered_by,
jnb.note_status,
jnb.note_type,
jnb.context,
jnt.notes,
jnt.notes_detail
FROM jtf_notes_b jnb,
jtf_notes_tl jnt
WHERE jnb.jtf_note_id =jnb.jtf_note_id;
By using this query I need to get the party_name from the hz_parties(table).
Thank you in advance.

Hi,
check the site www.alvrobot.com.ar
you can create a report over there using inner join just by providing simple information
follow step by step procedure and create a report
<u><b>Reward points if usefull.</b></u>

Similar Messages

  • Pls help me in write a join for the following code.

    can any one give me optimized code for the posted query..
    DATA :BEGIN OF BAPITABLE OCCURS 1,
           EDITELEM LIKE TOJTB-EDITELEM,
           FUNCTION LIKE SBAPIS-FUNCTION,
           SHORTTEXT    LIKE TFTIT-STEXT,
           END OF BAPITABLE.
              SELECT     EDITELEM  INTO (BAPITABLE-EDITELEM)
                                   FROM TOJTB
                                   WHERE APPLIC = APPLICATIONCODE
                                   AND MODELONLY = 'R'
                                   and ACTIVE = 'X'.
              SELECT FUNCTION INTO (BAPITABLE-FUNCTION)
                              FROM  SBAPIS
                              WHERE OBJECT = JEDITELEM.
             SELECT STEXT INTO (BAPITABLE-SHORTTEXT)
                          FROM TFTIT
                          WHERE SPRAS = 'EN' AND FUNCNAME = BAPITABLE-FUNCTION.
                         APPEND BAPITABLE.
                             ENDSELECT.
                   ENDSELECT.
           ENDSELECT.
    waiting for ur replies....
    RESHALI

    Hi
    i'm giving you a sample code please change according to your requiirement.
    I've taken required fields from 3 different tables and put them in one internal table.
    please see the following code.
    types : begin of ty_kna1,
             kunnr type kna1-kunnr,
             name1 type kna1-name1,
             vbeln type vbap-vbeln,
             erdat type vbak-erdat,
           end of ty_kna1.
    data : it_kna1 type table of ty_kna1,
           wa_kna1 type ty_kna1.
    data : it_fieldcat type slis_t_fieldcat_alv,
           wa_fieldcat type slis_fieldcat_alv.
    start-of-selection.
      select kkunnr kname1 v1erdat v2vbeln
      into corresponding fields of table it_kna1
      from ( ( kna1 as k
        inner join vbak as v1 on kkunnr = v1kunnr )
        inner join vbap as v2 on v1vbeln = v2vbeln )
        up to 100 rows.
    Reward if helpful
    Regards
    Lakshman

  • Splitter-Joiner for the Mac?

    I need to do a quick hack job on an existing MPEG file. I'd rather not convert it to an avi then back MPEG. In the PC world, there are several programs available that will split MPEG files without decoding them, but so far I haven't found anything for the Mac. Basically I made and error rendering a file in FCP and no longer have the source material. I need to chop several seconds off the begining and end.
     20" Intel iMac (2.0GB RAM, 500GB HD + 1.5TB external, 20" Cineama Display)   Mac OS X (10.4.7)   All tools, no talent!

    If you made an MPEG 2 file for DVDSP, you can trim the ends inside DVDSP after importing into a video track.
    Otherwise, I did a search on http://www.versiontracker.com for "MPEG EDIT" and got a few hits, but I haven't used any of them.

  • Please help to provide a join for the three tables and output as per list

    to produce a report to list out all condition records for output and pricing.
    <u><b>usage  app  procedure step  counter  cod type  description  access seq </b> </u>
    <u><b>accseqnum  cond table   sales org  doctype  customer  channel  sale doc type</b></u>
    the above list of fields from tables t683s ,t685,and t682i to be pulled, i need an inner join
    regards
    ksrao

    Hi,
    check the site www.alvrobot.com.ar
    you can create a report over there using inner join just by providing simple information
    follow step by step procedure and create a report
    <u><b>Reward points if usefull.</b></u>

  • How to implement left join for the below sql.

    i need to perform left join between inventory table and purchase table and inventory table with sales table.
    please let me know the syntax.
    SELECT Tbl_ProductGroupMaster.ProdName, Tbl_ProductGroupMaster.UnitNam, Tbl_Inventory.CrDate, Tbl_Inventory.QtyOpStk, Tbl_Inventory.QtyClStk, Tbl_Inventory.ExcShortage, purchase.SumOfNUnit, sales.SumOfQty
    FROM Tbl_ProductGroupMaster, Tbl_Inventory left join
    [SELECT Tbl_PurchaseMain.idate as p_idate, Tbl_PurchaseSub.Proid as proid,
    sum(Tbl_PurchaseSub.NUnit) AS SumOfNUnit
    FROM Tbl_PurchaseMain, Tbl_PurchaseSub WHERE Tbl_PurchaseMain.GID=Tbl_PurchaseSub.gid
    and format(cdate(Tbl_PurchaseMain.idate),'mm-dd-yyyy') between format(cdate('13-Sep-2009'),'mm-dd-yyyy') and
    format(cdate('02-Oct-2009'),'mm-dd-yyyy') GROUP BY
    Tbl_PurchaseMain.idate, Tbl_PurchaseSub.Proid]. AS purchase on (Tbl_Inventory.CrDate = purchase.p_idate)
    left join
    [SELECT Tbl_SalesMain.idate AS s_idate, Tbl_SalesSub.Proid, sum(Tbl_SalesSub.Qty) AS SumOfQty
    FROM Tbl_SalesMain, Tbl_SalesSub
    WHERE Tbl_SalesMain.SAID=Tbl_SalesSub.SAID And
    format(cdate(Tbl_SalesMain.idate),'mm-dd-yyyy') Between format(cdate('13-Sep-2009'),'mm-dd-yyyy') And
    format(cdate('02-Oct-2009'),'mm-dd-yyyy')
    GROUP BY Tbl_SalesMain.idate, Tbl_SalesSub.Proid]. AS sales on (Tbl_Inventory.CrDate = sales.s_idate)
    WHERE
    Tbl_ProductGroupMaster.PROID=Tbl_Inventory.proid AND
    Tbl_Inventory.PROID=purchase.proid and
    Tbl_Inventory.PROID=sales.proid and
    Tbl_Inventory.CrDate = '13-Sep-2009';
    thanks,
    Vinodh

    Completely unstested as you haven't given much information but do you mean something like this?
    WITH purchase
           AS (  SELECT   Tbl_PurchaseMain.idate AS p_idate,
                          Tbl_PurchaseSub.Proid AS proid,
                          SUM (Tbl_PurchaseSub.NUnit) AS SumOfNUnit
                   FROM   Tbl_PurchaseMain, Tbl_PurchaseSub
                  WHERE   Tbl_PurchaseMain.GID = Tbl_PurchaseSub.gid
                          AND format (cdate (Tbl_PurchaseMain.idate), 'mm-dd-yyyy') BETWEEN format (
                                                                                               cdate('13-Sep-2009'),
                                                                                               'mm-dd-yyyy'
                                                                                        AND  format (
                                                                                                cdate('02-Oct-2009'),
                                                                                                'mm-dd-yyyy'
               GROUP BY   Tbl_PurchaseMain.idate, Tbl_PurchaseSub.Proid),
        sales
           AS (  SELECT   Tbl_SalesMain.idate AS s_idate,
                          Tbl_SalesSub.Proid,
                          SUM (Tbl_SalesSub.Qty) AS SumOfQty
                   FROM   Tbl_SalesMain, Tbl_SalesSub
                  WHERE   Tbl_SalesMain.SAID = Tbl_SalesSub.SAID
                          AND format (cdate (Tbl_SalesMain.idate), 'mm-dd-yyyy') BETWEEN format (
                                                                                            cdate('13-Sep-2009'),
                                                                                            'mm-dd-yyyy'
                                                                                     AND  format (
                                                                                             cdate('02-Oct-2009'),
                                                                                             'mm-dd-yyyy'
               GROUP BY   Tbl_SalesMain.idate, Tbl_SalesSub.Proid)
    SELECT   Tbl_ProductGroupMaster.ProdName,
             Tbl_ProductGroupMaster.UnitNam,
             Tbl_Inventory.CrDate,
             Tbl_Inventory.QtyOpStk,
             Tbl_Inventory.QtyClStk,
             Tbl_Inventory.ExcShortage,
             purchase.SumOfNUnit,
             sales.SumOfQty
    FROM   Tbl_ProductGroupMaster,
           Tbl_Inventory LEFT OUTER JOIN purchase
                         ON Tbl_Inventory.CrDate = purchase.p_idate
                         LEFT OUTER JOIN sales
                         ON Tbl_Inventory.CrDate = sales.s_idate
    WHERE Tbl_ProductGroupMaster.PROID = Tbl_Inventory.proid
    AND   Tbl_Inventory.PROID = purchase.proid
    AND   Tbl_Inventory.PROID = sales.proid
    AND   Tbl_Inventory.CrDate = '13-Sep-2009';Cheers
    Ben
    http://www.munkyben.wordpress.com

  • Illegal cross join within the same dimension caused by incorrect subject ar

    hi!
    Imagine the following BMM:
    There is one Logical Dimension Table "Service Account" with the following LTS:
    - LTS "D_SERVICE"
    - LTS "D_SERVICE_CLASS"
    - LTS "D_SERVICE_STATUS"
    This Logical Tabe "Service Account" joins (One-to-many) with several Fact Tables (other Logical Tables).
    In the Physical Layer the joins for the "Service Account" LTS are:
    - One-to-many between D_SERVICE_CLASS and D_SERVICE
    - One-to-many between D_SERVICE_STATUS and D_SERVICE
    The problem is that when I build a report in Answers using only the following columns of the Logical Table "Service Account":
    - Service Class Desc (which exists in the Logical Table "Service Account" and in the Physical Table D_SERVICE_CLASS)
    - Service Status Desc (which exists in the Logical Table "Service Account" and in the Physical Tabl D_SERVICE_STATUS)
    - MSISDN (which existis in the Logical Table "Service Account" and in the Phsyical Table D_SERVICE)
    the following error appears:
    Estado: HY000. Código: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14065] Illegal cross join within the same dimension caused by incorrect subject area setup: [ (select * from prd.D_SERVICE where SOURCE_SYS in ('ARBOR','PPB') and DW_SERV_ST_ID in (100000003,100000009)) as T1836, D_SERVICE_CLASS T1916] with [ D_SERVICE_STATUS T1948] (HY000)
    SQL emitido: SELECT "SERVICE ACCOUNT"."TLC MSISDN9" saw_0, "SERVICE ACCOUNT"."IWS Service Class Desc" saw_1, "SERVICE ACCOUNT"."TLC Service Status Desc" saw_2 FROM "VFPT - Upgrade Siebel" WHERE "SERVICE ACCOUNT"."TLC MSISDN9" = '917330340' ORDER BY saw_0, saw_1, saw_2
    Help, please!
    Thanks.

    Physically, only D_SERVICE is joined to the facts. Then D_SERVICE_CLASS is joined to D_SERVICE (one-to-many) and D_SERVICE_STATUS is joined also to D_SERVICE (one-to-many).
    In the BMM, there is only one Logical Dimension Table for those 3 physical tables. This Logical Dimension Table is called "Service Account" and has 3 LTS: D_SERVICE, D_SERVICE_CLASS, D_SERVICE_STATUS. The Logical Dimension Table has several logical columns that are associated to those 3 LTS: SERVICE_KEY, SERVICE_CLASS_KEY, SERVICE_STATUS_KEY, SERVICE_MSISDN, SERVICE_CLASS_DESC, SERVICE_STATUS_DESC.
    The Logical Dimension Table "Service Account" is then joined to a fact table (one-to-many).
    I didn't understand the suggestion about the 3 LTS... Aren't we doing that already? Can you explain it better, please?
    thanks.

  • AV Coupler/Joiner for Mac Mini 2009 (MiniDVI version)?

    I'm sure it's wishful thinking but being that everyone's seemingly biggest gripe with Mac Mini '09 is that it's missing HDMI and subsequently utilizes the optical audio and MiniDVI outputs. This makes things very difficult when trying to set up a media center from it.
    This leads me to this thought. Is there a sort of coupler/joiner for the audio and video? For instance, an adapter that receives Mini (or fullsize) DVI as well as Toslink digital optical audio and outputs HDMI? Again I'm sure it's wishful thinking but I figured I'd ask. 

    You nearly sold me on that second option with taking the DVI and Optical and outputting to HDMI. I was so excited! ...until I saw these reviews under that product which made me very sad. Essentially it doesn't seem to be mac friendly? The whole issue comes down to the fact that my soundbar only receives 1 optical toslink cable and I have 2 devices that ultimately need it (due to the mac mini not having HDMI). Everything is running in to my HDTV via HDMI and out to the soundbar via Toslink. Now that the mini is in the picture, I tried finding an optical auto switch which essentially doesn't exist apparently. They have manual ones but I'm a lazy american that enjoys doing everything from my logitech harmony remote. I tried a cheap 2-to-1 optical combiner but that isn't outputting correctly either. --CUE THIS POST-- That's when I figured if I could get the mac mini to output to HDMI and go in to the TV, life would be merry. I almost want to try it and see if those two reviews were from a couple of whiners, however it seems to good to be true and with them complaining about it, it doesn't reinforce my confidence haha. Either way, your answer was an excellent one! I hope I get more feedback from you/others! :-D 
    Review #1
    "I should of listened to the first reviewer with a MacBook Pro. It also doesn't work at all on my intel Mac Mini connected to my HD TV. In the directions I read that it will not work on non compliant HDCP products. Well, ALL Macs are non compliant HDCP. So if you own any Apple Computer DON"T PURCHASE THIS DEVICE!!! Now I have to go through the process of paying to send this back and waiting for the refund. Plus I purchased a DVI to DVI cable that I also have to send back. To make your Mac ALL DIGITAL you need a Toslink mini cable with a standard Toslink on the other end and connect this to your ear phone jack and the other cable end to a toslink home theater connection- the ear phone jack can be standard analog or digital depending on what cables you purchase. Connect another cable with DVI on one end and HDMI on the other end. The DVI end connects to your MAC and the HDMI connects to your TV- this will be strictly for the video part of the digital connection. A DVI cable can only carry video. NOW click on that HDMI port on your HD TV (for your video) and click the port on your home theater where the Toslink optical connection is. Now both the video and audio are all digital. It takes me less than 10 seconds to do this and my h.264 movies look and sound FANTASTIC! Good luck..."
    Review #2
    "This is a piece of junk. The best resolution I can get from this on my 1080p 50" TV is 640x480. Absolute trash. My MacBook Pro can't detect the TV correctly. The plug and play information is not passed through correctly. And I get no sound."

  • For the mid month new joiner the annual Conveyance exemption is coming incorrectly

    Dear All,
    For one of our client, we have have faced a uniqe issue.
    If any employee join in the mid of the month, his prorated conveyance amount ( wage type 2020) is coming correctly. Suppose an employee joined at 16th of the month, system is calculating his conveyance for that month as INR 400 and which is correct.
    However in his tax calculation for that particular month, system is taking INR 400*(rest of the month of the FY) in the wage type /4E3. which is incorrect. Suppose he joined in 16th April , system is calculating tax exemption 400*12=4800
    Now if we run next month payroll ,  system is caculating the exemption properly. i.e. INR 400 + 800* rest of the month of the FY,
    Please help
    Regards
    Tirtha

    Hi Tirtha,
    system is calculating perfectly.
    first of all system check the no. of present days and accordingly it give the amount in the wage type /3C3 conveyance amount monthly and /3C4 will give Conveyance monthly exemption and it will multiply with no. of months to the fiscal year end and store in the wage type /4E3.
    for example check for PF:
    Every month PF amount store in WT /3F1 and send to /3F5 and this WT multiplied with No. of months and store the Annual amount in wt /3F6.
    Regards,
    Praneeth kumar

  • I have canceled my account same day and joining because the convert PDF to word did not convert correctly how to get credit for cancelled membership

    I have canceled my account same day and joining because the convert PDF to word did not convert correctly how to get credit for cancelled membership

    You need to contact Adobe Customer Support :
    They will check and assist you. (Live Chat)
    Contact Customer Care

  • How to change the utilised join for a particular report

    Hi,
    I have a discoverer report which is very similar to a previously developed report. I copied the report and now I want to change the join that is utilised by the new one (Two different joins exist between the two folders being used). How can I do this?
    In the report items tab under selected items in edit work sheet I can see the different joins and the one it is currently being used is ticked, i can right mouse click on the joins but the options to add/remove from worksheet are disabled (Greyed out)
    Can anyone tell me how to do this?
    Thanks in advance
    Keith

    Short answer - I'd recreate the new report.
    Long answer - I'm not sure if 10g handles this differently, but I've seen many a Disco 4 report that somehow has a 'memory' that you just can't get rid of.
    For example, if you chose some items from one folder and some others from another folder due to a join, then you deleted all those 2nd folder items, and chose from a third - and you absolutely, positively (thx. fedex) know that there's nothing referring to the original 2nd. folder (ie: no conditions, calculations, functions, etc.), you may very well still see the original 2nd. folder being referred to in the SQL. Sounds strange but it does occur.
    So, again, if 4.x, then for sure I'd start from scratch for the new report. If 10.x, I'd probably still start from scratch as even if fixed, I've just seen it screw up my day too many times in the past to try to copy something that probably only takes 15 minutes of recreation work.
    Russ

  • I am running a Mac OSX Snow Leopard. Joined Creative Cloud for the year and now it won't allow me to

    I am running a Mac OSX Snow Leopard. Joined Creative Cloud for the year and now it won't allow me to install the app due to administrator rights. Does anyone know how to fix this ?  I have done all the necessary logging already.

    Duplicate post http://forums.adobe.com/thread/1382476

  • After joining computer to the windows doamin i cannot change password for Mac for the domain user

    After joining computer to the windows doamin i cannot change password for Mac for the domain user

    Hi,
    Did this problem occures after installed Windows 8.1 Update 1? Here is another thread that had similar problem. Also I don't think this problem relate with Domain. Please refer to the solution of the thread below for reference, If there is any
    progress, please let us know.
    http://social.technet.microsoft.com/Forums/en-US/08993680-b6f5-4e80-b031-d32fec97d682/not-able-to-right-click-on-tiles-after-81-update?forum=w8itproge
    Roger Lu
    TechNet Community Support

  • Who can I thank at Adobe for the 117 spam emails I received in 24 hours since joining Creative Cloud?

    Who can I thank at Adobe for the 117 spam emails I received in 24 hours since joining Creative Cloud?  I've tried changing my contact information but it keeps reverting back.
    Should I just cancel?  Please any suggestions welcome.

    Unwanted Email notices
    Click your avatar picture near the upper right corner (slightly to the left of the pencil) and select PREFERENCES then set all Email Preferences to OFF and click Save at the bottom left
    AND
    Another new feature is that Jive7 is oriented toward social networking... so every time you start or reply to a message you are automatically added to a FOLLOW list... meaning you receive a notification of every subsequent message in that thread
    Click the FOLLOW link at the upper right and select STOP FOLLOWING... and don't click the link again to check your status, as you will then be added to the CONNECTIONS STREAM and you will have to uncheck that option as well
    And, after you post in a message thread and select Stop Following, you need to do it all over again the next time you add a reply to the same message thread, since EVERY POST adds you to the automatic Follow list

  • I m not able to connect for the wifi  which i have used earlier ,i m getting an error as unable to join the network how to resolve this please help me

    i m not able to connect for the wifi  which i have used earlier ,i m getting an error as unable to join the network how to resolve this please help me

    We were able to log in this morning and all is working. You should be able to log in at any point today. Please let us know if you are having any other difficulties.

  • AP Cannot join WLC, i have RADIUS authorization is pending for the AP Error

    Hi Support,
    I'm new in installing WIFI, I have WLC 2504 using 7.4.100.0
    I have AP 1600 (AIR-CAP1602E-E-K9)
    I installed the WLC and AP in a cisco poe switch, wlc and ap are in the same subnet and can ping ap from WLC, but the AP cannot join the wlc. i have this error message
    (Cisco Controller) >show ap join stats detailed 00:06:f6:d6:03:f0
    Sync phase statistics
    - Time at sync request received............................ Not applicable
    - Time at sync completed................................... Not applicable
    Discovery phase statistics
    - Discovery requests received.............................. 124
    - Successful discovery responses sent...................... 124
    - Unsuccessful discovery request processing................ 0
    - Reason for last unsuccessful discovery attempt........... Not applicable
    - Time at last successful discovery attempt................ Jun 11 11:56:46.133
    - Time at last unsuccessful discovery attempt.............. Not applicable
    Join phase statistics
    - Join requests received................................... 62
    - Successful join responses sent........................... 0
    - Unsuccessful join request processing..................... 62
    - Reason for last unsuccessful join attempt................ RADIUS authorization is pending for the AP
    - Time at last successful join attempt..................... Not applicable
    - Time at last unsuccessful join attempt................... Jun 11 11:56:56.606
    Another this is from AP cli, i cannot have the command configure terminal
    Can you please help me

    Thanks Scott, i'm in Gabon (Central Africa) there is no Gabon in coutries list, then i chosen France.
    this is the new status
    (Cisco Controller) >show ap join stats detailed 00:06:f6:d6:03:f0
    Sync phase statistics
    - Time at sync request received............................ Not applicable
    - Time at sync completed................................... Not applicable
    Discovery phase statistics
    - Discovery requests received.............................. 126
    - Successful discovery responses sent...................... 126
    - Unsuccessful discovery request processing................ 0
    - Reason for last unsuccessful discovery attempt........... Not applicable
    - Time at last successful discovery attempt................ Jun 11 13:38:37.411
    - Time at last unsuccessful discovery attempt.............. Not applicable
    Join phase statistics
    - Join requests received................................... 63
    - Successful join responses sent........................... 1
    - Unsuccessful join request processing..................... 62
    - Reason for last unsuccessful join attempt................ RADIUS authorization is pending for the AP
    - Time at last successful join attempt..................... Jun 11 13:38:49.888
    - Time at last unsuccessful join attempt................... Jun 11 11:56:56.606
    Configuration phase statistics
    --More-- or (q)uit
    - Configuration requests received.......................... 0
    - Successful configuration responses sent.................. 0
    - Unsuccessful configuration request processing............ 0
    - Reason for last unsuccessful configuration attempt....... Not applicable
    - Time at last successful configuration attempt............ Not applicable
    - Time at last unsuccessful configuration attempt.......... Not applicable
    Last AP message decryption failure details
    - Reason for last message decryption failure............... Not applicable
    Last AP disconnect details
    - Reason for last AP connection failure.................... Timed out while waiting for ECHO repsonse from the AP
    - Last AP disconnect reason................................ Not applicable
    Last join error summary
    - Type of error that occurred last......................... AP got or has been disconnected
    - Reason for error that occurred last...................... Timed out while waiting for ECHO repsonse from the AP
    - Time at which the last join error occurred............... Jun 11 13:40:31.432
    AP disconnect details
    - Reason for last AP connection failure.................... Timed out while waiting for ECHO repsonse from the AP
    Ethernet Mac : 00:06:f6:d6:03:f0  Ip Address : 172.25.100.84
    --More-- or (q)uit
    (Cisco Controller) >

Maybe you are looking for