How to get relationship between two  views in the  reports

How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

Hi,
Please explain your question in detail...what do you want to read ?
If you want to know about the navigation links between the views then you can use APIs  like
wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
Iterate through the navigationLinkInfo from above collection and can read the other properties .
I haven't tried the above , but it should work !!!
Regards,Anilkumar

Similar Messages

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • How to get days between two dates

    Hi ,
    How to get days between two dates.
    Regards,
    Ramesh.

    Hi Ramesh,
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.

  • How can get difference between 2 dates in the form of days

    how can get difference between 2 dates in the form of days

    Hi,
    Check the following program:
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Regards,
    Bhaskar

  • How to give relationship between two tables with comon column with between oprator

    Hi Folks,
    I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables. 
    I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
    Inventory Details Table having a column Card No and inventory Header Table having columns  From card No and To Card No.
    I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
    Your help would be greatly appreciated .
    Regards
    hasthi.
    email:[email protected]

    Hi Raju,
     We have two way that we can relate to the table either join or quality condition use following syntax/Query  for relating two tables 
    select * from Inventory_Details ID inner join  Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
    or 
    Select * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
    Hope this will help you 
    Niraj Sevalkar

  • How to create relationship between two records using MDM Java APIs

    Hi,
    I am trying to create relationship between two records using Java Apis. Please guide me in doing this.
    Regards,
    Niraj

    Hi Niraj,
    There is ModifyRelationshipsCommand:
    http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
    Retrieve Relationship command:
    http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
    Also, please refer similar thread, MDM Java API and relationships.
    Hope it helps..
    Regards,
    Mandeep Saini

  • How to create relationShip between two resources??

    Hi,
    Is there any manual process on workbench to create relationShip between two resources like repositoryClient.createRelationship() API does.
    Regards
    Sunil

    Hi Niraj,
    There is ModifyRelationshipsCommand:
    http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
    Retrieve Relationship command:
    http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
    Also, please refer similar thread, MDM Java API and relationships.
    Hope it helps..
    Regards,
    Mandeep Saini

  • How to get values between two years??

    select distinct a.band_no_daftar, a.episod, a.band_nama1, a.penjara,
    to_char(b.trkh_semak_layak,'yyyy') as tahun,
    c.penj_lokasi
    from banduan a, prl_semak_layak b, penjara c
    where a.band_no_daftar =  b.no_daftar(+)
    and  a.episod = b.episod(+)
    and a.penjara = c.penjara_id
    and b.status_layak = 1
    and b.trkh_semak_layak between trunc(to_date(:dari,'yyyy')) and to_date(:hingga,'yyyy')
    group by  c.penj_lokasi, a.band_no_daftar, a.episod, a.band_nama1, a.penjara,
               to_char(b.trkh_semak_layak,'yyyy')
    order by a.penjarahow i'm going to retrieve records between two years??for example from year 2011 to 2012.

    CREATE TABLE PRL_SEMAK_LAYAK
      NO_DAFTAR          VARCHAR2(10 BYTE)          NOT NULL,
      EPISOD             NUMBER(2)                  NOT NULL,
      TL_HUK             NUMBER(1),
      TL_KLAS            NUMBER(1),
      TL_JAD4            NUMBER(1),
      TL_KESLAIN         NUMBER(1),
      TL_LP              NUMBER(1),
      TL_RAY             NUMBER(1),
      TL_PPI             NUMBER(1),
      STATUS_LAYAK       NUMBER(1),
      TRKH_LAYAK_PAROL   DATE,
      KOD_PEJABAT_PAROL  VARCHAR2(10 BYTE),
      TRKH_MULA_PRL      DATE,
      TRKH_TAMAT_PRL     DATE,
      TEMPOH_T           NUMBER(4),
      TEMPOH_B           NUMBER(4),
      TEMPOH_H           NUMBER(4),
      KLASIFIKASI_PRL    NUMBER(1),
      TL_ROTAN           NUMBER(1),
      PECAHAN_KESALAHAN  VARCHAR2(3 BYTE),
      TERIMA_DOSIR       NUMBER(1),
      TRKH_DOSIR         DATE,
      TRKH_SEMAK_LAYAK   DATE
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('70201849', 9, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/06/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 10:46:40', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('670500066', 5, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/22/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 11:03:27', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('71000424', 3, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('04/26/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('12/24/2012 11:11:01', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('470900549', 1, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('12/20/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('11/08/2010 09:15:59', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into prl_semak layak
       (NO_DAFTAR, EPISOD, TL_HUK, TL_KLAS, TL_JAD4, TL_KESLAIN, TL_LP, TL_RAY, TL_PPI, STATUS_LAYAK, TRKH_LAYAK_PAROL, TL_ROTAN, TRKH_SEMAK_LAYAK)
    Values
       ('30906760', 2, 1, 1, 1, 1, 1, 1, 1, 1, TO_DATE('12/02/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, TO_DATE('11/19/2010 08:54:26', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;i give you this sample,table creation and some insert values.So now,what i should do in order to retrieve all these records?

  • How to get data from another view on the RFx to populate bidders web dynpro

    i am trying to populate bidders in the table on the bidder tab when a user click a button based on the line item data.  How do i have access to get the line item since it is in a separate component controller and view for the RFx? thanks you.

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

  • How to share files between two accounts on the same Macbook Pro???

    Hi,
    I have recently purchased a Macbook Pro and have created two accounts, one for me and one for my wife.
    I have all the itunes music on my account and my wife wants to load some of the songs nto her Itunes on her account but I don't want to start copying files into the "shared folder" in the "users folder" which will obviously take up more room on my hard drive.
    I have noticed that I can see my folders when she is logged in but the ones that she needs to access (like the music folder) have a red dot on them and when you double click on them it brings up the message "the folder "music" could not be opened because you do not have sufficient privileges".
    Can anyone help me with these problems?
    Please help me!!!

    Hi, remember to set the ownership & permissions for files/folders if you want to be able to amend files or change them from both accounts. If a file is created in one account. it may only be viewed in the other account. but if you change the ownership & permissions from "read only" to "read and write" then files can be amended from both accounts. To get the info, simply click once on the folder or file then command-i to get the file/folders info. you can change things there. Permissions can only be change from the account the file/folder was created in.
    MBP   Mac OS X (10.4.7)   iMac G4

  • How to get rid of unassigned values in the report

    hai to all,
    here is the issue,
       while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
    Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible?    the same case with <u><b>Customer country</b></u>, on the same report.
    pl anyone help me
    br
    venkat/shyam

    Hi Shyam.
    Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty.  Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to  scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
    Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
    Hope this works for you.
    Chears, Jørn

  • How to get difference between two rows for a column field?

    hi, all,
    Could anyone show me what query statement is to get the difference betweem two rows for two column fields?
    The tables and its records are like this:
    id,      begin,      end
    p1         21          30
    p2          45          60
    p3          120          150
    I would like to have the query result like this
    id,    diff
    p1     15    --- which is 45 minus 30
    p2     60    --- which is 120 minus 60
    and so on...
    thank you in advance.
    Raffy

    You can use the LAG function to access values from previous rows:
    with q as (select 'p1' id, 21 v_start, 30 v_end from dual
    union all
    select 'p2', 45, 60 from dual
    union all
    select 'p3', 120, 150 from dual)
    select id, v_start, v_end, v_start - lag (v_end, 1, 0)
      over (order by id) v_diff from q
    ID,V_START,V_END,V_DIFF
    p1,21,30,21
    p2,45,60,15
    p3,120,150,60
    See the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions075.htm

  • How to get relationship between material document no and accounting documen

    Hi Experts !!
                     I want to create a report displaying accounting document no and GL account no buy providing PO No and material document no (MIGO No).
    I want a database table from where I can get  material document no (MIGO No)(MBLNR/BELNR) and accounting document(BELNR) no both.Currently I am using
    BSEG for getting HKONT,EBELN,BELNR
    MSEG for getting MBLNR by using EBELN (P.O. NO)
    BKPF for getting BUDAT.
    the problem came with EBELN (P.O. NO) as repeated entries are there.
    I am unable to write query for getting MBLNR and  BELNR for same EBELN (P.O. NO).
    Is there any table where MBLNR and  BELNR are related to each other??????
    Thanks in advance !!!!

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

  • How to get total number of times excuted the report

    hi,
    Can you spend for a while.
    Requirement is when the Monthly summary report: When report executed then in the header it has to display how many times times this is executed and data has to display(this completed).
    For example out put is:
    No.of times executed:20   (means this is 20th time this report is running)
    here data has to display(This i completed).
    Thank you,
    Anu.

    Anitha Reddy wrote :
    Requirement is when the Monthly summary report: When report executed then in the header it has to display how many times times this is executed and data has to display(this completed).
    For example out put is:
    No.of times executed:20 (means this is 20th time this report is running)
    here data has to display(This i completed).
    If you completed everything then what is your problem ??

  • Additional data on relationship between two objects

    Hi
    We have a requirement to capture additional data on a relationship between two objects.  The data to be captured are custom fields that are unique to the relationship between the objects and not specific to either of the objects.
    We created a new object type and related it to the position (S)and the job (C) object.  In the customising (Personnel Management/Personnel Development/Basic Settings/Maintain Relationships there is an option to set up Additional Data.  There are however several restrictions (e.g. the substructure has to be in T77AD).  When you set up an existing substructure (e.g. PAD22) and screen (e.g. 3000), it works really well, however we have not been able to get this to read our own substructure and screen (since there is no customer include on HRP1001 and the 'Additional data' button seems to go to MP100100 to find the screen).
    My question is two fold:
    a) Is this an allowed customisation (e.g. can we create our own substructure, screen and Query string)? And if so, how does the data get into T77AD (since SAP recommends that data should not be added to this table)? and
    b) Is there any documentation on this (thus far I have only received info on how to enhance infotypes which I don't think is relevant???)?
    If this can not be maintained is there any other suggestions on how to deal with this scenario?
    Any assistance will be appreciated.
    Regards
    Liezl

    Hi everyone
    Thanks for everyone who tried to assist us with this.  I am happy to report that our in-house guru's have found the answer.  So, for anyone who is interested:
    In programme MP100100 you have a screen 6000 which is a customer enhancements screen.  We set up two in-house function modules for the PBO and PAI with its own screen and added an append structure to PAD31 to add the fields required.  In the configuration, we then specified PAD31 as the substructure with screen 6000 and then also specified our own PBO and PAI function modules.  The parameters required for screen 6000 is set up within our own customer screens.
    Hope this will be helpful to someone - it certainly seemed to open up some doors for us!
    Regards
    Liezl

Maybe you are looking for

  • Power pc g3 with Imovie 3.03 system v 10.3.9.

    I have a power pc g3 with Imovie 3.03 system v 10.3.9. I am trying to import a 6.6 gig dv file into I movie for editing etc. These are old 8 MM converted to didgital and saved via final cut as dv files. When I try to import into I movie I get the fol

  • Zoom 100% in place shortcut

    When I press cmd + 1 it zooms 100%, but the position changes to the actual artboard. A lot of times I work outside the artboard, and it is annoying that there's no fast way to switch to 100% zoom wihout having to move the position again. Using view i

  • JAXB 2.0 code with JDeveloper

    I am have a JUnit test that uses JAXB. When I try to run it, JDeveloper seems to be picking up jaxb 1.0 classes - I am getting an error "Unable to locate jaxb.properties....." (jaxb 2.0 no longer uses this file). Although I do have jaxb 2.0 classes i

  • Couldn't start Back to My Mac

    I have unchecked it, re-checked it, signed out of iCloud, rebooted, but no matter what,  I can't seem to get Back to My Mac to start.  It just says "Couldn't Start Back to My Mac"  Clicking details says turn off back to my mac, and reboot, and then t

  • I want to run cdc/foundation on xscale target board. what do I do?

    Hi~ I am porting a cdc/foundation porting on the xscale taget board. But, When linking I have some error message. ================================== Linking ../../build/linux-sarm-dtv/bin/cvm /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-lin