How to display this  ... ?

Hi all,
I have two data model where each one generate data as example below :-
Data Model A
Reqnum __ Data
10671____ Submit
10671____ Forward
10671____ Approved
10672____ Submit
10672____ Forward
10672____ Approved
10673____ Submit
10673____ Forward
10673____ Approved
Data Model B
Reqnum ____Item ____ Qty
10671 ____12458____ 15
10671 ____22222____ 36
10672 ____45485____ 86
10673 ____12212____ 14
10673 ____23233____ 3
10673 ____11212____ 1
My expected output is something like this :-
Reqnum__ Action
10671____ Submit
10671____ Forward
10671____ Approved
Item______Qty
12458_____ 15
22222_____ 36
Reqnum Action
10672____ Submit
10672____ Forward
10672____ Approved
Item_____ Qty
45485____ 86
and carry on to print 10673 and so on. How to link between the two data model, where in range of searching as above, I need to display the details of data in data model A first and link to data model B. It will carry on until the end of search.
Please helps!!
Rgds
Lim

Hi
Sorry for not giving more details... I meant something like this:
select distinct reqnum
from tablea -- your data model A table
union
select distinct reqnum
from tableb -- your data model B table
The "union" is only required if there are reqnums that exist in tableb but not in tablea. It it is not the case, you can use just:
select distinct reqnum
from tablea

Similar Messages

  • How to display this in ALV

    Hi,
    Can anyone tell how I will get the following output in ALV grid?
      some records (or items) are starts from second column onwards and some from third colum onwards ...
    thanks in advance.

    Hi Munvar,
         When you display the ALV you need to pass the values in the form of internal table. now its upto you to decide the field catalog of the ALV grid and you can insert your own logic to display the ALV grid where in the records can be seen in the second or third column depending upon the field position of the internal table.
    To display the ALV grid here is an example.
    data : itab2 type table of <table>.
    x_fieldcat-fieldname = '<field1>'.
    x_fieldcat-tabname = '<table>'.
    x_fieldcat-col_pos  = 1.
    append x_fieldcat to it_fieldcat.
    clear x_fieldcat.
    x_fieldcat-fieldname = '<field2>'.
    x_fieldcat-tabname = '<table>'.
    x_fieldcat-col_pos  = 2.
    append x_fieldcat to it_fieldcat.
    clear x_fieldcat.
    select * from <table> into table itab2.
    call function 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    it_fieldcat              = it_fieldcat
    TABLES
    t_outtab                 = itab2
    EXCEPTIONS
    program_error            = 1
    others                   = 2.
    if
    sy-subrc  = 0.
    endif.
    endform.                  
    Hope this helps.
    Regards,
    Kinshuk

  • How to display this 2 character for date field (    \   \       )

    hi friends
    it's possible to display the character format in text field after you run the form
    plz I need your help
    thanks

    Hello,
    So you mean for the date field you want to show slashes by default. I don't think that forms will support this type of things.
    BTW may i know what is the purpose to show like this?
    If you use the normal format which is DD/MM/RRRR it will add the slashes automatically. When user will enter date like this 01012010.
    -Ammad

  • AdvancedDataGrid - how to display this type of data

    I have the following two classes (attached to this message).
    I think the AdvancedDataGrid can display it properly.
    Basically there can be EmployeeGroups inside of
    EmployeeGroups..nested as much as you want. Each group also
    contains Employees. I'd like to display these columns:
    Name (of group) | Name (of employee) | Dept (of employee)
    any help to get started would be great.

    "anoweb" <[email protected]> wrote in
    message
    news:g81cc8$avp$[email protected]..
    > so to get things to show up as I wanted I had to add a
    "children" property
    > to
    > my EmployeeGroup (didn't see that anywhere in the
    documentation, but I
    > noticed
    > the Adobe examples have "children" properties).
    >
    > Obviously it can be more efficient, but it works..which
    is the start!
    >
    > public function get children():ArrayCollection {
    > var kids:ArrayCollection = new ArrayCollection();
    > for (var i:int=0; i < groups.length; i++) {
    > kids.addItem(groups
    > }
    > for (var i:int=0; i < employees.length; i++) {
    > kids.addItem(employees);
    > }
    > return kids;
    > }
    Look at HierarchicalData. The children property is pretty
    clearly defined
    there.
    HTH;
    Amy

  • How to display dynamic signature in Smartforms?

    Hi,
    Someone could help me in displaying dynamic signatures in SmartForms?. The signature is an attached file to the document. I already have the binary file but I don't know how to display this as an image in the Smartforms.
    Thanks in advance,
    Oliver
    Message was edited by: Oliver Vera
    Message was edited by: Oliver Vera

    Please give me the reply.
    I have an image content in one internal table.I want to display that image in the smartforms.
    plaese please.

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • How to display the form of time statement, which was created in trans. PE50

    Hi to all!
    I have created the salary statement with the PE50 and I want the form to be displayed in the ESS.
    How to display this form?
    Thank.

    Dear Siddharth,
    I am getting this error for Time Statement here also we have used PE50 to create time statement for r/3 purpose, Which would be feasible one to work with for getting the display of Time Statement.
    Form TH_TIME_ST does not exist
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Form TH_TIME_ST does not exist
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Error.<init>(Error.java:49)
         at com.sap.pcuigp.xssfpm.java.FPMRuntimeException.<init>(FPMRuntimeException.java:34)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:357)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
         at com.sap.xss.hr.tim.per.selection.VcTimPerSelection.onInit(VcTimPerSelection.java:238)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelection.onInit(InternalVcTimPerSelection.java:246)
         at com.sap.xss.hr.tim.per.selection.VcTimPerSelectionInterface.onInit(VcTimPerSelectionInterface.java:162)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface.onInit(InternalVcTimPerSelectionInterface.java:144)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface$External.onInit(InternalVcTimPerSelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:467)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:359)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:755)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:722)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:70)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:818)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1265)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:750)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:715)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:113)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:107)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:60)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:335)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:101)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Appreciate your help on this.
    Regs,
    Raj

  • How to display response of http request as a web page in ABAP?

    Hi all,
    In ABAP, we can use class <b>cl_http_client</b> to send a http requst and then got the response data as a XSTRING variable. Usually, the response data is the html source of a web page. How to display this web page within dynpro?
    I found we can use class <b>cl_gui_html_viewer</b> to display the web page of a URL or data in SAP web respository. Is there any way of using it to load response data in cl_http_client and display that web page?
    Thanks a lot.

    Welcome to SDN.
    1. use http_client->response->get_cdata( ).
    to get the response data in string format instead of xstring format.
    2. use FM CONVERT_STRING_TO_TABLE to covert the string to table of type W3HTML
    3. use method
    data: l_doc_url(255) type c.
          call method html_control->load_data
                      exporting
                         type         = 'text'
                         subtype      = 'html'
                      importing
                         assigned_url = l_doc_url
                      changing
                         data_table   = html_table.
    call method html_control->show_data
                      exporting
                         url       = l_doc_url.
    to load the html content and show it in cl_gui_html_viewer
    Regards
    Raja

  • How to display html document returned by utl_http package (POST method)

    I am using oracle forms 10g, data base version is 10g.
    I have written a database procedure that calls utl_http package POST method and request returns an html document. How do display this html document from oracle form?
    Thank you
    Hema

    Here you have...
    A Full Web Browser Java Bean - Oracle Forms PJCs/Java Beans
    http://forms.pjc.bean.over-blog.com/article-26251949.html

  • How to display currency values in indian format

    hi all,
       When I am displaying Currency values as output , those are displaying in U.S. format (ie.1,234,000.00) , But I need to display those in Indian Rupee format (i.e 12,34,000.00).
    Plz any one can help me that how to display this
    thank you,
    regards
    Hanuma

    Hi Hanuma kumar, please try this code.
    REPORT ZAMOUNT_CONVERSION.
    DATA : RESULT1(20).
    PARAMETERS : NUM TYPE P DECIMALS 2.
    DATA : num2 type STRING.
    DATA :  col_amt(20) type n,"15
             col_b type i,
             num_1(20) type C,"15
             Length type i.
    num_1 = num.
    write : 'default format      :',num.
    uline.
    skip.
    IF ( num >= 999999999 ).
           write num_1 using edit mask 'RR__,__,__,__,______' to col_amt.
           CONDENSE col_amt.
           length = STRLEN( col_amt ).
           if length = 16.
             REPLACE first OCCURRENCE OF ',' in col_amt with space.
             write :/'amount indian format:',col_amt.
           else.
           write :/'amount indian format:',col_amt.
           endif.
    ELSEIF NUM < 999999999 AND NUM >= 9999999.
           write num_1 using edit mask 'RR__,__,__,______' to col_amt.
           condense col_amt .
           length = STRLEN( COL_AMT ).
           if length = 13.
             REPLACE first OCCURRENCE OF ',' in col_amt with space.
             write :/'amount indian format:',col_amt.
           else.
             write :/'amount indian format:',col_amt.
          endif.
    ELSEIF NUM < 9999999  AND NUM >= 99999.
           write num_1 using edit mask 'RR__,__,______' to col_amt.
           condense col_amt .
           length = STRLEN( COL_AMT ).
           write :/'amount indian format:',col_amt.
    ELSEIF NUM < 99999.
       data : dumy(10) type c.
       dumy = num .
       CONDENSE dumy.
       length = STRLEN( dumy ).
         if length <= 6.
           write :/'amount indian format:',num.
           else.
           write num_1 using edit mask 'RR__,______' to col_amt.
           write :/'amount indian format:',col_amt.
          endif.
       ENDIF.
       uline.

  • How to display icon in view

    I've already seen some questions on this forum about displaying icons but in ALV Table.I have data in ALV display and user status as icon but when i select a row i need to display all row details in another view but for user status field its not showing in icon..coming in i/p field.So how to display this field as icon.I tried to change data element as icon...but its not working.
    Thanks
    Kiran

    Hi Kiran,
    Instead of I/P element use IMAGE ui element and check.
    Cheers,
    Kris.

  • How to display a 16-bit bmp file

    Hi,
    i have a 16 bit BMP file available in a byte[] along with the BITMAPINFO information. how to display this in Java.
    i was able to find the code for displaying the 8-bit/24-bit BMP file in Javaworld :Java Tip 43 .
    Pls provide pointers to sample/example code if available.

    Try JAI it supports 8, 16, and 32 bit image data types.
    http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/index.html

  • HOW TO DISPLAY A VARIABLE

    hi friends,
    I have a variable in wk_matnr value is 'MATERIAL123'.
    How to display this variable like Material No :-MATERIAL123
    How to code for this in BSP.
    Moosa

    Hi,
    To display any variable in BSP.
    you need to do this:
    <%= varibale name %>
    For your variable,
    <%= wk_matnr %>
    OR
    <htmlb:label for = "wkm"
                       text = "Material No" />
    <htmlb:text id = "wkm"
    text = "<%= wk_matnr %>" />
    Hope this is helpful.
    Regards,
    Abhinav

  • How to display output parameters in storedprocedures in front end?

    hi all ,thank you for all the support.
    Now i want your help .Here below i have given the general format of stored procedure we are using in our application . In procedure we are catching the exception and assigning to an output variable P_STATUS .
    If any exception occurs ,How we display this caught exception from front end that means how we display the exception in front end .We are using VB.NET and VS 2005 and Oracle 9i for development.
    CREATE OR REPLACE PROCEDURE SELECTINTERVALS
    P_MINVAL INTEGER,
    P_MAXVAL INTEGER,
    P_INTERVAL     INTEGER,
    P_USERID VARCHAR2,
    P_STATUS OUT VARCHAR2
    AS
    BEGIN
              SELECT STATEMENT or INSERT STATEMENT     
    EXCEPTION
              WHEN OTHERS THEN
              ROLLBACK;
              P_STATUS:=SQLERRM;
    END;
    If anybody knows, please help me
    thanks & regards

    Both methods are wrong. Returning error/exit codes for the reasons I've stated above.
    As for handling the exception... If you want to propagate the exception, then DO NOT CHANGE IT INTO A MEANINGLESS USER EXCEPTION!
    This is useless:
    WHEN OTHERS THEN
    ROLLBACK;
    P_STATUS:=SQLERRM;
    RAISE_APPLICATION_ERROR(-20011, SQLERRM);
    Why it is meaningless? Because the caller now has to parse the error message to determine just what the actual root exception was... as the root exception number has been replaced with a meaningless number.
    This is meaningful and (almost) correct:
    [pre]
    when OTHERS then
    rollback;
    raise; -- re-raise the exception
    PS. It makes better sense to trap the actual exception like no data found, duplicate PK violations, etc... it seldom makes sense to trap all other exceptions and then do something like a rollback.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Page numbers displayed incorrectly in TOC in new Pages - does anybody know how to fix this?

    I'm working on a multi-section document with a single TOC for two sections. Section one uses lowercase roman numerals (i, ii,...) and section two arabic numerals (1, 2, ...). The page numbers are displayed correctly on the pages themselves, but in the TOC the first two headings from section two (pages 1 und 3) are displayed as "i" and "iii". This only started after the update to pages 5, everything was fine before that. Does anybody know how to fix this? I already tried deleting the TOC and inserting a new one and changing the numbers to uppercase letters and back, to no avail.
    thanks for any input

    Go back to Pages '09 inside the iWork Folder inside Applications.
    There are so many problems with Pages 5 it is difficult to know where to begin.
    Peter

Maybe you are looking for

  • Changes are not reflecting on Script layout

    Hi Gurus,      I made chandes in SO10 standard include this include can be used in Script, when ever I copied script from DEV client to Test Client changes are visible in SO10 include text But not reflecting while executing the Script through Transac

  • XML PL/SQL Parser Demo Error ORA-29516

    I'm trying to get the XML Plsql demo to work on the following system: Sun Solaris 8 Oracle 8.1.7.0.0 64 bit using the $ORACLE_HOME/xdk/plsql/demo files I created an oracle user "xmldba" , granted javauserpriv to xmldba, granted javasyspriv to xmldba.

  • Oracle 8i install on NT server

    Hi, I have downloaded the NT Oracle 8i trial version, and during the installation, at sample DB creation time, I get the following ORA-12560: TNS error: protocol adapter error In the pdf doc on errors, it says stuff that we should be checking only af

  • Replacing HTML text :  English to foreign language

    Hi Guys What is the easiest way to find and replace text on the website?  I need some english words and dates translated to a foreign language that is not listed in the culture.. ??

  • Settings in R/3 for Interface

    Hi, Please advise what are the settinings / defines to be done in SAP R/3 to set interface with external system in PP-PI? Please suggest. Thank You.