Building mplayer-svn using internal ffmpeg-svn libraries [SOLVED]

Yeah,
I know that a bunch of us are having errors building mplayer-svn against ffmpeg-svn internal libraries.
The error:
libvo/vo_yuv4mpeg.o: In function `flip_page':
vo_yuv4mpeg.c:(.text+0x694): undefined reference to `rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x6f0): undefined reference to `rgb24toyv12'
vo_yuv4mpeg.c:(.text+0x848): undefined reference to `rgb24toyv12'
libmpcodecs/vf_palette.o: In function `put_image':
vf_palette.c:(.text+0x3ee): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x431): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x453): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x473): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x489): undefined reference to `palette8tobgr16'
vf_palette.c:(.text+0x4a1): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x50a): undefined reference to `palette8topacked32'
vf_palette.c:(.text+0x55e): undefined reference to `palette8torgb15'
vf_palette.c:(.text+0x5b3): undefined reference to `palette8torgb16'
vf_palette.c:(.text+0x5d0): undefined reference to `palette8topacked24'
vf_palette.c:(.text+0x5ed): undefined reference to `palette8tobgr15'
vf_palette.c:(.text+0x60a): undefined reference to `palette8tobgr16'
libmpcodecs/vf_rgb2bgr.o: In function `put_image':
vf_rgb2bgr.c:(.text+0x1d7): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x20a): undefined reference to `rgb32tobgr32'
vf_rgb2bgr.c:(.text+0x274): undefined reference to `rgb24tobgr24'
vf_rgb2bgr.c:(.text+0x290): undefined reference to `rgb32tobgr32'
libmpcodecs/vf_yuy2.o: In function `put_image':
vf_yuy2.c:(.text+0xf7): undefined reference to `yv12toyuy2'
vf_yuy2.c:(.text+0x154): undefined reference to `yuv422ptoyuy2'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
All of this is coming from swscale. Enabling Mplayer's internal swscale fixes the build for me, but it's hardly a solution seeing that there is no difference at all in between the code bases.
The question:
Why are Archers seeing this and yet there's no traces that I can find anywhere on the web? I ask because I don't know if it's a Mplayer bug, a FFmpeg bug, or one of the core libraries in Arch? In short, I don't know who to file a bug report with.
What I know:
1) The build fails in different places on different architectures.
2) Mplayer seems to not be able to find yasm even though x264 and FFmpeg find it fine, even with the configure flag --yasm=YASM.
3) FFmpeg is not installing any swscale header file other than libswscale/swscale.h and force installing it does not help.
    a) There is no difference at all in the Makefile between the two code bases.

wonder wrote:to be fair i don't think you can build mplayer-svn against ffmpeg-svn. you can only with mplayer-mt-git against ffmpeg-mt-git or something like that.
I've been doing it daily for well over a year. Maybe even two.
-- Edit--
If anyone cares, it's because of how Mplayer deals with FFmpeg's header files. For instance, Mplayer is looking for yuv2rgb.h, but FFmpeg now produces yuv2rgb_mmx.h at runtime on my system. It looks as if libswscale's build files are being generated per architecture for usage of ASM code. Mplayer isn't looking at things quite right anymore.

Similar Messages

  • Attempting to build mplayer with external (shared) ffmpeg libraries.

    Theoretically it is possible - the Gentoo guys have done in their e-build (USE flag external-ffmpeg).
    However, when I do it I get multiple build errors about undefined references.
    I use mplayer svn 29438 and ffmpeg 0.5 (and svn 19564).
    The necessary additions to a normal mplayer build are:
    depends=('ffmpeg>=0.5')
    --enable-rpath \
    --enable-dynamic-plugins \
    --disable-libavutil_a \
    --disable-libavcodec_a \
    --disable-libavformat_a \
    --disable-libpostproc_a \
    --disable-libswscale_a \
    --enable-libavutil_so \
    --enable-libavcodec_so \
    --enable-libavformat_so \
    --enable-libpostproc_so \
    --enable-libswscale_so \
    Any help-insight why it does not build?
    PS: Does ffmpeg has to be built with:
    --disable-stripping
    Last edited by wantilles (2009-08-02 17:49:14)

    It may be a GCC linker issue, but as had been stated a few times above, there are unnecessary parts of your build that are causing the problem. I don't use --enable-path, don't --enable-vdpau, don't explicitly try to link to the FFmpeg shared objects. I really don't --enable anything. In fact, I try to disable as much as Mplayer as possible to avoid it using it's own internal libraries. This is my configure line, with the exception that I added the dynamic-plugins bit just to see if it works. And yes, even VDPAU is working great here:
    ./configure --prefix=/usr --confdir=/etc/mplayer \
    --disable-gui \
    --disable-faad \
    --disable-faad-internal \
    --disable-runtime-cpudetection \
    --enable-dynamic-plugins \
    --disable-faac \
    --disable-faac-lavc \
    --disable-libdv \
    --disable-aa \
    --disable-mencoder \
    --disable-liblzo \
    --disable-speex \
    --disable-fribidi \
    --disable-smb \
    --disable-openal \
    --disable-x264 \
    --disable-esd \
    --disable-jack \
    --disable-gl \
    --disable-fbdev \
    --disable-mp3lib \
    --disable-dvb \
    --disable-dvbhead \
    --disable-libvorbis \
    --disable-musepack \
    --disable-directfb \
    --disable-nas \
    --disable-liba52 \
    --disable-libavutil_a \
    --disable-libavcodec_a \
    --disable-libavformat_a \
    --disable-libswscale_a \
    --disable-libpostproc_a \
    --disable-tv \
    --disable-tv-v4l1 \
    --disable-tv-v4l2 \
    --disable-tv-teletext \
    --disable-v4l2 \
    --disable-dga2 \
    --disable-dga2 \
    --disable-vidix
    My advice to you is to let Mplayer link to whatever it finds and if there's some functionality it didn't pick up on, then try the --enable switch.

  • [svn] 1590: Updating WebService RPC tests that previously used external endpoints at whitemesa . net to now use internal endpoints accessed through Tomcat server on localhost :8400/qa-regress/axis/services/{SERVICE_NAME}?wsdl

    Revision: 1590
    Author: [email protected]
    Date: 2008-05-07 08:49:22 -0700 (Wed, 07 May 2008)
    Log Message:
    Updating WebService RPC tests that previously used external endpoints at whitemesa.net to now use internal endpoints accessed through Tomcat server on localhost:8400/qa-regress/axis/services/{SERVICE_NAME}?wsdl
    Endpoints built from Axis SOAPBuilder tests in Perforce's /depot/axis/xml-axis/java/tests/
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/server-config.wsdd
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/web.xml
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Import1_WhiteMesaTest.as
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Import3_WhiteMesaTest.as
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3RPCEncoded.as
    Added Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/javax_mail.jar
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/qa-services-wm.jar
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Compound1.as

  • [svn] 1363: 1) update the qa-regress build file to use 1.5 source level

    Revision: 1363
    Author: [email protected]
    Date: 2008-04-23 14:02:19 -0700 (Wed, 23 Apr 2008)
    Log Message:
    1) update the qa-regress build file to use 1.5 source level
    2) remove the duplicate MBeanServerGateway destination
    3) remove a comment from the mxml
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/build.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • Problems connecting to SVN using HTTPS

    I am having an issue connecting to SVN using HTTPS.  I am using DreamWeaver 5.5.
    We are being required to access the SVN Repository using LDAP.  Prior to this I was able to get to the SVN Repository just fine using the SVN connection.
    With the HTTPS connection I am getting the following error in the log:
    SVN: #175002, OPTIONS of 'https://ipAddress/repos/...': SSL handshake failed: SSL error code -1/1/336032856 (https://IPAddress)
    Another developer who is on a MAC can get to the Repository using DreamWeaver and HTTPS just fine.  I have validated that all of the settings in DreamWeaver was the same.  The other developer using Windows is having the same issue that I am having.
    I can get to the repository through Tortoise using HTTPS.
    Any recommendations?

    FYI.  This issue has been solved.  After we connected using the server name instead of the IP address it was able to work.  So, if anyone else has this issue maybe this will help.
    Thanks.

  • External SVN vs. XCode SVN integration

    We've been using an external SVN (springloops) for our XCode collaboration and are finding that unless we remember to move the /build folder up and out of the SVN repository, the SVN system constantly is getting its knickers in a knot because the contents changes without telling SVN about it. So we've had to remember to move the /build folder when we start, and remember to move it back when we do an actual build for the app store, because otherwise the provisioning stuff doesn't work.
    So we are considering switching to just use XCode's built-in XCode support. I've done a small test (with Unfuddle, this time) with a HelloWorld type app, and it seems like the SVN integration doesn't care about the /build folder and doesn't seem to care what happens with it, which is exactly what we want. But it's hardly an exhaustive test, and I hate to experiment with the actual code we are working with.
    Is my impression accurate? Is anyone else using this, and if so, do you have to do anything special about /build? Does it Just Work (I'm hoping)?

    Thanks for that reminder, that might be what we end up doing, but I still would like to know from the people using XCode's SVN integration whether that is even necessary - or does XCode just take care of that stuff by itself?
    Sue

  • Building ADF  application Using Maven

    I have a requirement to build the Adf application using Maven.
    My JDeveloper version is 11.1.1.3 and I imported the Maven plugins.
    When I create the new Fusion application , pom.xml is getting created in model project but not in viewcontroller project. Any reason for that?
    Please help me to point to the right article and example to build Adf application using Maven?

    User,
    While you can build an ADF app using Maven, it's nowhere near easy or automated in terms of getting started. There are a few people who are doing it, but they have invested a lot of effort including:
    * loading the ADF libraries into their corporate repositories
    * re-structuring their ADF projects to match the Maven directory standard (or customizing their POMs)
    * Hand-building POMs for their ADF apps
    Most or all of the people that I know who are doing this are doing all of these things without the benefit of the Maven integration provided in JDeveloper. If you have a search of this forum and the [url https://groups.google.com/forum/?fromgroups#!forum/adf-methodology]ADF EMG, you can find plenty of discussions about this. There's no "step-by-step" guide that I know of, and it will definitely take you quite a bit of effort to get started. The Maven integration in JDeveloper is still in developer preview mode, and in my opinion, isn't ready for prime time - at least not with respect to ADF projects.
    John

  • Building multilingual portal using WebCenter

    Hi,
    Can anyone point me to a good documentation on building multilingual portal using WebCenter? I found one for Spaces but I am developing custom portal using ADF resources. Thanks!

    Hi.
    WebCenter Portal Applications is an ADF application basically. You have to build your own multilingual solution based on:
    - Labels in Resource Bundle configured in your WebCenter Portal Application.
    - For Web Content showed in Content Presenter you have to define a WebCenter Content solution. It can be a "language" metadata to filter CMIS Queries.
    - Locale can be managed in different ways:
    - Session bean: Language should be associated to the session.
    - User LDAP preferred language: Solution based in user preference language like Spaces.
    - Browser locale: Set browser locale to your pages to set the language.
    My recommendation steps to follow in order:
    - First think in a WebCenter Content Solution for your contents and web assets.
    - Second Think "how to store your labels" internally in Resource Bundle or Override Resource Bundle that can be changed at Runtime because are stored in MDS. Or you can create an UCM View to manage literals and access them from an app bean in WebCenter Portal.
    - Think in your Java Bean that stores user "locale" and implement and strategy like Spaces. "Browser, preference or session language".
    Be careful in your "change locale" bean because SiteResources labels are cached. What's the meaning of this? You have to create an ADF Listener who "clean" in prepareModel phase SiteResources Cache.
    It's a common issue, follow A-TEAM Blog: https://blogs.oracle.com/ATEAM_WEBCENTER/entry/navigation_model_locale_dynamic_run
    Another blog Entry of A-TEAM Blog for multilanguage contents: https://blogs.oracle.com/ATEAM_WEBCENTER/entry/internationalize_webcenter_portal_content_presenter
    Regards.
    Edited by: Daniel Merchán on 17-ago-2012 7:09

  • Using old third party libraries

    I am trying to compile several programs and the programs need to use old libraries that I cannot re-compile because they belong to a third party vendor. Is there any way to get symbols resolved using older libraries that were probably built using Sun's 4.0 compiler ?

    For full details, read the C++ MIgration Guide that comes with the compiler, and which is also available at docs.sun.com.
    If the libraries were built using Sun C++ 4.2, you can build new code using the -compat=4 option and it will be binary compatible with the libraries. You will be restricted to ARM (1990) style C++, and will not be able to use modern C++ features in your new code.
    If the libraries were built using Sun C++ 4.0 or 4.1, you might have some compatibility problems.
    You should get the vendor to re-build the libraries using a recent Sun C++ compiler, or find replacements for the libraries. You can't rely on old-style C++ forever.

  • [svn] 1607: Set svn:mime-type and svn: eol-style on LICENSE and NOTICE files in the lib directory.

    Revision: 1607
    Author: [email protected]
    Date: 2008-05-07 17:02:39 -0700 (Wed, 07 May 2008)
    Log Message:
    Set svn:mime-type and svn:eol-style on LICENSE and NOTICE files in the lib directory.
    Modified Paths:
    flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txt
    Property Changed:
    flex/sdk/branches/3.0.x/lib/batik-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/commons-collections-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-logging-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/commons-logging-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/mm-velocity-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/mm-velocity-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xalan-LICENSE.txt
    flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
    flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txt

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

  • Unable to build search collections using PSOLmanager

    I installed PeopleBooks on HP-UX Itanium. During installation I selected the option to generate search collections for the entire site. But still PeopleBooks search functionality is not working. When I try to search it gives me error "Page Cannot be displayed" error "HTTP 500 - Internal server error." I thought search collections were not built properly so I tried to build search collections again but when I am trying to build collections again using PSOLmanager I am receiving a message "This function is not available."
    I am using
    PeopleTools 8.49.18
    Webserver = WebSphere 6.1
    Can someone please help me? I am stuck at this.

    Hi,
    Try running the psolmanager from the server and using localhost instead the server name or IP address. It worked for me.
    "http://localhost:<PORT>/PSOL/psolmanager.htm"
    Hope it helps,
    Regards,
    Alejandro

  • Abap Logic for performance tuning not working when using Internal tables

    Hi,
    I wrote this piece of code that is working correctly that is select SUM of cost from DSO where Plant is the same for Sales Items.
    LOOP AT RESULT_PACKAGE INTO rp.
    SELECT SUM( /N/S_STRDCOST ) FROM /N/ADSP_DPIT00 INTO
    rp-/N/S_STRDCOST
    WHERE /N42/S_SALESITEM = rp-/N42/S_ITEMID AND /N42/S_PLPLANT EQ
    rp-/N42/S_SOURCE.
    MODIFY RESULT_PACKAGE FROM rp.
    Clear rp.
    ENDLOOP.
    Now I try to rewrite it for performance tunning using internal table  but I am getting 0 values. can't figure out whats the problem and been struggling fixing it.
    TYPES : begin of ty_DSO_TABLE,
             /N42/S_STRDCOST TYPE /N/ADSP_DSPC00-/N/S_STRDCOST,
             /N42/S_ITEMID TYPE /N/ADSP_DSPC00-/N/S_ITEMID,
           end of ty_DSO_TABLE.
    DATA: it_DSO_TABLE type hashed table of ty_DSO_TABLE with unique key
    /N/S_ITEMID,
         wa_DSO_TABLE type ty_DSO_TABLE.
    Field-symbols:  <rp> TYPE tys_TG_1.
    LOOP AT RESULT_PACKAGE assigning <rp>.
      clear wa_DSO_TABLE.
    Read table IT_DSO_TABLE into wa_DSO_TABLE with table key /N/S_ITEMID
      = <rp>-/N/S_ITEMID.
      if sy-subrc ne 0.
          select SUM( /N/S_STRDCOST )  into CORRESPONDING
          FIELDS OF wa_DSO_TABLE from
          /N/ADSP_DPIT00 WHERE /N/S_SALESITEM =  <rp>-/N/S_ITEMID AND
          /N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
         if sy-subrc eq 0.
              <rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
         endif.
    endif.
    ENDLOOP.
    Any idea whats wrong with the code
    thanks

    Hi Vaidya,
    According to the code which you have written, there is no value in table IT_DSO_TABLE when you are trying to read the values.And after the read statement you have given a condition for sy-subrc. Hence the select statement is actually not even getting executed. *Also you have not assigned the final value back to the ResultPackage.*_
    So Kindly correct your code as follows:
    Data: wa_dso type ty_DSO_TABLE.
    LOOP AT RESULT_PACKAGE assigning <rp>.
    clear wa_DSO_TABLE.
    select SUM( /N/S_STRDCOST ) into CORRESPONDING
    FIELDS OF wa_DSO_TABLE from
    /N/ADSP_DPIT00 WHERE /N/S_SALESITEM = <rp>-/N/S_ITEMID AND
    /N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
    if sy-subrc eq 0.
    <rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
    MODIFY RESULT_PACKAGE FROM <rp>.
    endif.
    ENDLOOP.
    Hope this helps you.
    Regards,
    Satyam

  • Using internal tables in BI 7 Start routines

    Hi All
    I tried searching for using internal tables in a start routine in BI 7 could not find the right pointers.
    This is what I am trying to do is the following:
    In a DSO ZSD_O01  I have a sales order and sales order item number and this DSO also contains the Contract number and the contract Item number.
    The DSO structure is as follows:
    /BIC/AZSD_O0100
    DOC_NUMBER
    ITEM
    CONTRACT
    CITEMNUM
    I want to read the data in this DSO into a internal table. But the key fields in this DSO is DOC_NUMBER and ITEM so I want to read this data into a internal table only for the first data package into the internal table. Thereafter I want to lookup into the internal table given the doc_number and ITEM to find the CONTRACT and CITEMNUM.
    Can any of you kindly show me how to :
    - Read data from a DSO into a internal table
    - Read the internal table for the first data package
    - How do I make the access in the internal table fast when my lookup in the internal table is not on the
      DSO key columns but on a different key column
    Appreciate your help
    Thanks
    Karen

    Hi Karen ,
    It will be helpful if you tell your requirement  as the approach you suggested is not looks convincing .May be their is some easy way and we can suggest you better approach
    -how to check for source_package = 1
    You need to hard code it .
    We decide package size at DTP level so you can declare a global variable .let say you have 50000 size of your  package then use global variable as counter and read only when record_count is <= 50000 .
    -how to declare the internal table so the values in it exists between different data packages
    Declare a global table and select data into it .A global table retain data across  the packages .
    - The key on which I need to lookup in the internal table is not the key fields as in the DSO
    Its ok .Let say you are doing lookup on A B and C field of DSO1 and the values may duplicate  in your source .then you just need to read the internal table having data from DSO2  with key field  A B C .
    Better if you set them as semantic keys at DTP level so that all  duplicate entries of A B  C will appear in same package .
    global Declarations
    In your start routine you will have this following code :
      TYPES:
          tyt_SC_1        TYPE STANDARD TABLE OF tys_SC_1
                            WITH NON-UNIQUE DEFAULT KEY.
    $$ begin of global - insert your declaration only below this line  -
    ...   insert your code here
    $$ end of global - insert your declaration only before this line   -
    One question
    Why you want to populate values for 1 source package only not for all ?This will be helpful to understand your requirement and may be we can fulfill it in some other manner .
    Regards,
    Jaya Tiwari

  • Report using internal table events

    Hi,
    i have an internal table with  the fields 1. profitcenter 2. company code 3. gl account 4. amount
    for each profit center i need to seggregate accounts based on company code.
    the report should look like the one below.
    please suggest some code using internal table events at new , at end etc. as im not using alv. your help will be rewarded
    regards,
    ravi.
    -Profitcenter-companycodeglaccount-amount---
    -pfcenter1----
    glaccount1-1000---
    glaccount2-2000---
    4444-total--3000---
    glaccount1-4000---
    glaccount2-1000---
    3333-total--5000---
    -profitcentre1*total8000---
    profitcentre2.........

    Hi.
    TYPES: BEGIN OF G_I_DATA,
             PROFIT(4)   TYPE C,
             COMPANY(4)  TYPE C,
             ACCOUNT(10) TYPE C,
             AMOUNT      TYPE P,
           END OF G_I_DATA.
    DATA: G_IT_DATA TYPE TABLE OF G_I_DATA,
          G_WA_DATA TYPE G_I_DATA.
    DATA: G_SUM_COMPANY  TYPE P,
          G_SUM_PROFIT   TYPE P,
          G_AMOUNT       TYPE P.
      G_WA_DATA-PROFIT = '0001'.
      G_WA_DATA-COMPANY = '1111'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT1'.
      G_WA_DATA-AMOUNT = 2000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0001'.
      G_WA_DATA-COMPANY = '1111'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT2'.
      G_WA_DATA-AMOUNT = 3000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0001'.
      G_WA_DATA-COMPANY = '2222'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT1'.
      G_WA_DATA-AMOUNT = 4000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0001'.
      G_WA_DATA-COMPANY = '2222'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT2'.
      G_WA_DATA-AMOUNT = 5000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0002'.
      G_WA_DATA-COMPANY = '1111'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT1'.
      G_WA_DATA-AMOUNT = 2000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0002'.
      G_WA_DATA-COMPANY = '1111'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT2'.
      G_WA_DATA-AMOUNT = 3000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0002'.
      G_WA_DATA-COMPANY = '2222'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT1'.
      G_WA_DATA-AMOUNT = 4000.
      APPEND G_WA_DATA TO G_IT_DATA.
      G_WA_DATA-PROFIT = '0002'.
      G_WA_DATA-COMPANY = '2222'.
      G_WA_DATA-ACCOUNT = 'ACCOUNT2'.
      G_WA_DATA-AMOUNT = 5000.
      APPEND G_WA_DATA TO G_IT_DATA.
      SORT G_IT_DATA BY PROFIT COMPANY ACCOUNT.
      WRITE: /6 'ProfitCenter', 20 'CompanyCode',
              34 'Glaccount', 48 'Amount'.
      WRITE: /6 SY-ULINE(50).
      LOOP AT G_IT_DATA INTO G_WA_DATA.
        AT NEW PROFIT.
          WRITE: /6 G_WA_DATA-PROFIT.
        ENDAT.
        G_AMOUNT = G_WA_DATA-AMOUNT.
        AT NEW ACCOUNT.
          WRITE: /34 G_WA_DATA-ACCOUNT,
                 48  G_AMOUNT.
        ENDAT.
        G_SUM_PROFIT = G_SUM_PROFIT + G_WA_DATA-AMOUNT.
        G_SUM_COMPANY = G_SUM_COMPANY + G_WA_DATA-AMOUNT.
        AT END OF COMPANY.
          WRITE: /20 G_WA_DATA-COMPANY,
                  34 'Totle',
                  48 G_SUM_COMPANY.
          CLEAR G_SUM_COMPANY.
          WRITE: /6 '*******'.
        ENDAT.
        AT END OF PROFIT.
          WRITE: /6 G_WA_DATA-PROFIT,
                  20 'Totle',
                  48 G_SUM_PROFIT.
          CLEAR G_SUM_PROFIT.
          WRITE: /6 '*************************************'.
        ENDAT.
      ENDLOOP.

  • Having issues setting up the use of two iTunes libraries on one Apple TV.  I can set up my iTunes library as I can turn home sharing on from my own computer, however, my fiance only has an iPad with home sharing turned on and it does not find his account?

    I have a new Apple TV which I am struggling to set up with both mine and my fiances music.  I have a laptop, but my fiance only has an ipad and it only seems to sync my music library from my iTunes account.  He has homesharing turned on on his iPad but the Apple TV does not recognise his iPad.  It seems from the help that I have read online that homesharing works when you use the same itunes account, is not possible to be able to use two different itunes libraries with two different accounts (and only one computer)?
    Thanks

    Both libraries would need to have been setup to use home sharing with the same Apple ID in order for that to work.

Maybe you are looking for

  • Transporter payment

    Hello, The scenario is sometimes payment is to be made on proforma invoice issued by supplier, against letter of credit. how it will happen in sap. urgent

  • How do I register my email with imessage?

    I tried imessage today for the first time.  I do not know anyone with imessage so I tried sending an imessage to myself.  When I typed in my email address it said that "this person is not registered."  How do I "register?"

  • A clock under Forms 6i

    Hi to all world...this is my question. How can i make a clock, in Forms 6i, that refresh every second? Thanks in advance..

  • Lost contacts after update to 4.3.2

    I updated my iPhone4 software to version 4.3.2 and now I have lost all of my contacts. How do I get them back? I have already tried right-clicking on my iPhone from within iTunes and selecting Restore From Backup... and that did not work. I have read

  • Trying to Cancel Order Online

    I purchased two products on Bestbuy.Com withen the last twelve hours and am now trying to cancel them but the site will not let me. Requring assistance. Will provide details such as order #