Can we join Ztables with SAP std. tables in SQVI ?

Dear All,
Can we join Ztables with SAP std. tables in SQVI ?
How to use "left outer join" in SQVI ?
What r the rules/steps to be followed for creating right SQVI/query ?
Sometimes it gives error / we do not get any output ....
Pl' give examples.

hi
good
1- Yes
3-Check this example for SQVI Query.
It is possible to generate a complete list of purchase document releases with the purchase document number (requisitions and orders), releaser, release date and release time.
First, create an Infoset using transaction SQ02 directly reading from table CDPOS and create an additional table: CDHDR. If you are releasing purchase requsitions at the item level, it is convenient to create an additional field (PURPS LIKE EBAN-BNFPO) to capture the item number. Once the field is defined add the following code to it:
PURPS = CDPOS-TABKEY+14(5).
Once created, make sure to assign your Infoset to the user groups.
Second, create an SAP Query (SQ00) or QuickViewer (SQVI) based on the Infoset you created previously. Set CDPOS-OBJECTID, PURPS (additional field), CDHDR-USERNAME, CDHDR-UDATE & CDHDR-UTIME, CDPOS-TCODE, CDPOS-VALUE_NEW, and CDPOS-VALUE_OLD as list fields (display screen).
Set CDPOS-OBJECTCLAS, CDPOS-OBJECTID, CDPOS-TABNAME, CDPOS-FNAME, CDPOS-CHANGIND, CDHDR-USERNAME, CDHDR-UDATE & CDHDR-UTIME as the selection fields (selection screen).
Finally, execute your query. For filtering purchase requisition releases set:
Object class='BANF'
Table Name='EBAN'
Field Name='FRGKZ'
Change type='U'
For filtering purchase order releases set:
Object class='EINKBELEG'
Table Name='EKKO'
Field Name='FRGKE'
Change type='U'
Make sure to specify username, dates or purchase document number (object value) in order to reduce run times.
thanks
mrutyun^

Similar Messages

  • Can I join Structure with Z table ?

    Can I join Structure with Z table?
    If yes...plz explain me with an example.
    PLease provide me with an example to join a structure with a Ztable...
    Any help would be appreciated...
    Regards,
    Krishna Chaitanya

    Hi Chitanya,
      It is possible to add fields in the form of structure to a Z table.it can be done in the form of Include or Append structure.There are no other ways to join structure to the table upto my knowledge.
    if it useful, reward points.
    Thank u,
    Prasad G.V.K

  • Join SAP BW Query with SAP BW Table

    Hello guys,
    we would´need to join a SAP BW Query with information of an SAP BW Table like it is explained in the following example:
    The result of the query is:
    ID         Quantity    Revenue
    4711    10              20
    4713    20              40
    4714    30              30
    The table will look like this:
    ID         Category
    4711    A
    4712    B
    4713    C
    4714    A
    The result should be:
    ID        Category    Quantity    Revenue
    4711    A               10              20
    4713    C               20              40
    4714    A               30              30
    We would like to use the current SAP Business Objects 4.0 or 3.1 environment.
    Is it possible to join these data sources in the universe Designer or in Crystal reports?
    Regards,
    Markus

    Hello Markus,
    the Information Design Tool is able to create a relational Universe on top of InfoProvider which will show the tables from the cube, but the Information Design Tool in the current release is not able to show the tables from the ERP system.
    regards
    Ingo Hilgefort

  • How can I directly update a SAP screen table control with values?

    I have a need to update a table control on a standard SAP screen with values. Here's the scenario: The user will come into a standard SAP transaction (IQS2-change notification) and click on an action button which calls a function module. That function module will determine what needs to be added to the SAP screen table control (add additional task rows). When the function module returns with the row data to be added to table control, I would like to set those values as if  the user input directly. The table control is located on it's separate tab (TASKS) in the transaction. I cannot find any user exists or BADI's for this transaction to allow me to affect the TASKS tab table control for this GUI. I'm trying to prevent from having to make a custom modification. If anyone has any ideas, please let me know.  Thanks.

    Hi,
    Check these enhancements:
    IWOC0002      PM/SM notification: Check whether status change is allowed
    QQMA0001      QM/PM/SM: User Subscreen for Notification Header         
    QQMA0008      QM/PM/SM: User Subscreen for Additional Data on Notif. Ite
    QQMA0011      QM/PM/SM: User Subscreen for Additional Data on Task     
    QQMA0013      QM: Default Values when Creating a Task                  
    QQMA0014      QM/PM/SM: Checks before saving a notification            
    QQMA0015      QM/PM/SM: User-Exit before Call-Up of F4 Help on Catalogs
    QQMA0016      QM/PM/SM: "User data" Function "Goto" --> "Task" Menu    
    IWO10026            User check on setting status 'Do not perform'                   
    IWO10027            User exit: Generate user-defined settlement rule                
    IWOC0001            Create PM/SM notification: Determine reference object           
    IWOC0002            PM/SM notification: Check whether status change is allowed      
    IWOC0003            PM/SM authorization check of ref. object and planner group      
    IWOC0004            Change single-level list editing PM/QM/SM ALV settings          
    Regards
    Appana

  • How can i join PO with GRPO

    Hi,
    I make query as belown to join PO with GRPO.I wnat to calculate Quantity from PO to GRPO but in my query it show duplicate record i also use distinct but useless.My query as below.
    SELECT T1.DocNum [PO No], T1.DocDate [PO Date], T3.ItemCode, T3.Dscription, T3.U_CostCentre, T3.DocEntry [GRN No], T0.DocDate [GRN Date],T3.Quantity'GRIR Quantity',T2.Quantity 'PO Quantity',
    T3.Quantity-T2.Quantity 'Balance Quantity'
    FROM OPDN T0 , OPOR T1, POR1 T2, PDN1 T3
    WHERE T1.DocEntry = T2.DocEntry
    and T0.Docnum = T3.Docentry
    and T3.BaseRef  =  T1.DocNum
    and T2.ItemCode = T3.ItemCode
    and T3.DocDate between [%0] and [%1]
    Can any body help in this regards.
    Sohail Anwar Ali

    Hi Sohail,
    As i understand, you want to know till now how much of quantity stills needs  to be delivered, in that case instead of trying joining two tables i would suggest to try this query which gives you
    Purchase Order Document No,
    Purchase Order Date,
    Vendor Name,
    Item Code,
    Item Description,
    Ordered Quantity,
    Received Quantity,
    Open Quantity.
    as the filed OpenQty stores the Quantity yet to receive for that particular Purchase Order. As this approach is much more flexible
    Query
    SELECT T0.DocNum, T0.DocDate, T0.CardName, T1.ItemCode, T1.Dscription, T1.Quantity,
    (T1.Quantity-T1.OpenQty) as "Recevied Quantity",
    T1.OpenQty FROM OPOR T0  INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.DocDate >=[%0] and
    T0.DocDate <=[%1]
    I hope this helps out your issue
    regards,
    Shreyas

  • How can I join PRPS with DRAD?

    Hi,
    I would like to join the table PRPS and DRAD in order to see all documents linked to a certain PSP. I tried to join DRADOBJKY with PRPSPSPNR but it doesn't work since the OBJKY is different from the psp-number. If I'm doing this with MARA~MATNR it works. Strange. can someboy help me?
    Thanks

    Hello,
    Can you check if PRPS-OBJNR = DRAD-OBJKY ?
    If this is not successful, then use the conv. exit  CONVERSION_EXIT_ABPSP_INPUT, pass the PRPS-OBJNR get the internal number.
    Now check that this internal number matches with DRAD-OBJKY.
    Plz revert back.
    BR,
    Suhas

  • How can i Display images with may own table

    Hi
    I want display images with my own table. How can I use in this query.
    SELECT    '<a href="#" onclick="javascript:'
           || 'getImageHeight(''my_img'
           || '#ROWNUM#'');javascript:redirect'
           || '(''f?p=&APP_ID.:212'
           || ':&SESSION.:DISPLAY:NO::P212_IMAGE_ID:'
           || ID
           || ''');">'
           || '<img src="#IMAGE_PREFIX#edit.gif" '
           || 'alt="Edit"></a>' ID,
              '<img id="my_img'
           || '#ROWNUM#" src="#WORKSPACE_IMAGES#'
           || filename
           || '"/>' image
      FROM wwv_flow_filesThanks
    Nr
    Edited by: user10966033 on Sep 28, 2009 1:41 PM

    You don't use #workspace_images# since that is for STATIC files, not images in a table..
    see this thread for help: Re: Display image from blob
    Thank you,
    Tony Miller
    Webster, TX

  • How we can integrate ep system with SAP R/3 system

    I want to integrate SAP EP(7.0) system with SAP R/3.Can any body guide me the step by step method to integrate the above two system.
    How we can configure SLD with J2EE engin?How we can established the JCO connection?
    Thanks
    Kundan

    Hi,
      Why don't you use search functionality in SDN? You can get lots of guides. This question is repeated lots of times.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/how%252bto%252bconnect%252bto%252bsap%252br3%252bsystem%252bthrough%252benterprise%252bportal%252b7.0%252busing%252ban%252biview.
    Configuring SLD in Sneak Preview SAP NetWeaver '04 Sneak
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3d7db2e5-0601-0010-4a88-9f3498f8142f
    Regards,
    Harini S

  • What contents we can include under JAVA with SAP NetWeaver 7.0?

    hi friends,
    i want to know about JAVA with SAP NetWeaver 7.0.
    whether it covers only java programming or java-WebDynpro,portal and many more?
    can somebody give details on this?
    i have worked on java-WebDynpro,portal.is that enough to get certification on JAVA with SAP NetWeaver 7.0-Associate  C_JAVA_70?
    please provide me details.
    thanks
    Nutan.

    Hi Rajesh,
    I cleared this certification last year. Go through the syllabus mentioned. In our time there were 13 different sections e.g NWDI, EJBs, WD etc which had multiple choice qs and u need to click on the radio button for that.
    How to prepare.
    Go through the topics and course books mentioned in the syllabus well. U should be clear with all the basics especially EJBs and NWDI, lot many qs asked from these. WedDynpro qs are basically easy.if u dnt have books chk sdn and help site fot the topics.Qs chk your understanding of the content. They come from syllabus but are not direct and multiple choice make it difficult to answer.
    How to answer the questions.
    Chk every option in case of mutiple choice. Mark only those options which u are full confident and den if more than 50% confident bcoz we heard there were -ve markings although not sure how they calculated marks.
    Is any sample test program is there?
    There are no sample test program for this.
    All D Best for the certification.
    Regards
    Priyanka

  • How can widget be used with SAP EP?

    hi,
    If any one  can tell me how we can use widget with SAP EP and the related scenarios.The steps to do so and the docs to refer to
    thanks

    these are desktop tools, check the link given in your another thread to understand more abou it.
    Raja

  • SAP Crystal Report 2013 SP03 - Connection error with SAP ECC tables, clusters

    Hi,
    I'm trying to connect SAP Crystal Report 2013 with SAP ECC but I'm getting below error. I've read some where that We need to install SAP integration kit but SAP BI 4.1 it comes default, also had to install the ABAP cystal report transport - How to do Install this on SAP side -
    and on the ECC side we had to develop Crystal Authorization - how to develop this?
    Can someone screenshot of these steps and please suggest if something else can be done.

    Hi Pawan,
    Search for the error and you should see many threads for this issue.
    Anyway, this is what I found:
    logon failed. you do not have the necessary rights to design reports
    Crystal Reports 2008 and BW - Installation and Configuration - Business Intelligence (BusinessObjects) - SCN Wiki
    The wiki should have answers to all your questions regarding Transports, Authorization et al.
    -Abhilash

  • How can java application integrate with SAP

    i need some help regarding.
    Actually we need a application which should work as standalone also which will be as java application
    and as well as mostly we are preferring that this application should be integrated with SAP system also.
    so please help me...
    Edited by: anant waghmare on Apr 22, 2008 10:45 AM

    If they are on seperate systems (ABAP & JAVA) you need to create a JCO connection

  • Can we join the transparent and pooled tables?

    hi friends,
    i have a doubt that is when we want to get the data from transparent and pooled tables it is not possible to join the tables.
    so should we go with nested select statements or is there any way to get the data? with better performance
    if i go with nested select statements it takes a lot time thats y i need a better way
    for example i want the data from BKPF and BSEG based on BELNR
    please send me how can we get it
    regards
    jagadish

    hi rob
    thanks for response
    see the below code once
    SELECT * FROM bkpf
              WHERE gjahr = p_gjahr
              AND ( monat BETWEEN lv_1st_mth AND gw_prev_monat ).
    *- Selection with cost center
          IF  gw_kostl NE SPACE.
                 s_kostl = s_kostl+3(10).
                 SELECT * FROM bseg
                      WHERE bukrs = bkpf-bukrs
                      AND   belnr = bkpf-belnr
                      AND   gjahr = bkpf-gjahr
                      AND   kokrs = p_kokrs
                      AND   kostl IN s_kostl
                      AND   buzei = '001'
                      AND   lstar <> ' '.
                 MOVE bseg-lstar TO itab2-lstar .
                 MOVE bkpf-bukrs TO itab2-bukrs.
                 MOVE bkpf-belnr TO itab2-belnr.
                 MOVE bkpf-gjahr TO itab2-gjahr.
                 MOVE bkpf-monat TO itab2-monat.
                 MOVE bkpf-budat TO itab2-budat.
                 MOVE bseg-kokrs TO itab2-kokrs.
                 MOVE bseg-buzei TO itab2-buzei.
                MOVE bseg-wrbtr TO itab2-wrbtr.
    *Changed----
                 IF bseg-shkzg = 'H'.
                   lv_wrbtrcd = 0 - bseg-wrbtr.
                   itab2-wrbtr = lv_wrbtrcd.
                 ELSEIF bseg-shkzg = 'S'.
                   MOVE bseg-wrbtr TO itab2-wrbtr.
                 ENDIF.
                 MOVE bseg-fdwbt TO itab2-fdwbt.
                 MOVE bseg-sgtxt TO itab2-sgtxt.
                 MOVE bseg-kostl TO itab2-kostl.
                 APPEND itab2.
                 ENDSELECT.
          ELSE.
                 s_kostl = p_estat+0(4).
                 SELECT * FROM bseg
                      WHERE bukrs = bkpf-bukrs
                      AND   belnr = bkpf-belnr
                      AND   gjahr = bkpf-gjahr
                      AND   kokrs = p_kokrs
                      AND   kostl IN s_kostl
                      AND   buzei = '001'
                      AND   lstar <> ' '.
                 IF bseg-kostl+0(4) = s_kostl.
                     MOVE bseg-lstar TO itab2-lstar.
                     MOVE bkpf-bukrs TO itab2-bukrs.
                     MOVE bkpf-belnr TO itab2-belnr.
                     MOVE bkpf-gjahr TO itab2-gjahr.
                     MOVE bkpf-monat TO itab2-monat.
                     MOVE bkpf-budat TO itab2-budat.
                     MOVE bseg-kokrs TO itab2-kokrs.
                     MOVE bseg-buzei TO itab2-buzei.
                    MOVE bseg-wrbtr TO itab2-wrbtr.
    *Changed----
                 IF bseg-shkzg = 'H'.
                   lv_wrbtrcd = 0 - bseg-wrbtr.
                   itab2-wrbtr = lv_wrbtrcd.
                 ELSEIF bseg-shkzg = 'S'.
                   MOVE bseg-wrbtr TO itab2-wrbtr.
                 ENDIF.
                     MOVE bseg-fdwbt TO itab2-fdwbt.
                     MOVE bseg-sgtxt TO itab2-sgtxt.
                     MOVE bseg-kostl TO itab2-kostl.
                     APPEND itab2.
                 ENDIF.
                 ENDSELECT.
          ENDIF.
          ENDSELECT.
    regards
    jagadish

  • Problem with sap script table in main window

    hi all,
    i have created a sap script  for which output is in 7 pages.
    except first page all the remaining pages are giving the correct output.
    the problem with the first page is iam not not getting vertical lines in the table which is in the main window of page 1.
    iam getting the vertical lines correctly in the mainwindow table of all the remaining pages.

    Hi,
    It's simple,
    Pre- U should had declared a second page for the same window with header, main & footer.
    now
    First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
    or
    when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
    This would solve the issue.
    Thanks
    Ravi

  • Can anyone help me with SAP MM module configuration?

    Hello!
    If anyone have SAP MM module configuration with or without screenshots then kindly me on [email protected]
    Thanks and Regards
    Jyoti MIshra

    Hi Jyoti
    Before posting the thread, Kindly do the search in Google or SCN. you can find the so many links about MM configuration.
    Please READ The SCN Rules of Engagement and abide by the rules.
    Regards
    SS

Maybe you are looking for

  • Is it possible to activate an ipad w/o an internet connection on a mac?

    Is it possible to activate an ipad without an internet connection on my mac? I have got a macbook pro with iTunes 10.1.2 (17) and an micro-sim card with a iPad 3G data plan, so I can use it directly with the iPad, but I have to activate the iPad at f

  • Can i buy apple care on my 8th month of owning!

    i am readin about alot of things happening to macs , can i purchase apple care after i have already purchased my macbook which is 8 months old! or is it too late!

  • I am looking for support migrating Eudora 6.2.4 to Thunderbird

    I have been hanging on to an antiquated Eudora email program (6.2.4) for far too long because I did not know how to migrate it, all of the settings, address book, filters, folders, etc. to Thunderbird. As a result I'm still running Mac OS 10.4.11. I

  • Changing the logic board

    will I lose my apps in my macbook pro if I change the logic board? For example, I have Logic Pro 8 on my macbook pro. My mac didn't turn on anymore, I went to the Apple store and they told me that I need to change the logic board. If I get the logic

  • Part 5 - Upgrading your Free Trial Site | Learn Business Catalyst | Adobe TV

    In this last episode, we'll show you how to share your trial site with your client. You'll see how to manage user logins, and how to activate a domain transfer and eCommerce features once you've made the sale. We'll also take a look at defining alert