SciTE CVS [FINISHED]

Please see post #6 for review request
-->This is easier to understand if you know SciTE. <--
I put together a PKGBUILD file for SciTE from CVS. I got it working great but with one remaining problem. There are bugs (that I filed a bug report for) where some of the options in the User Options File are ignored by SciTE. Two of these that I know of are window position and geometry. In order to change these settings it has to be done to the Global Options File. This is overwritten every time SciTE is updated.
The solution so far is to check to see if /usr/share/scite/SciTEGlobal.properties already exists in the file system. If it does, the new version of the file is saved as SciTEGlobal.properties.pacnew and the old version is copied into the new package. Is this a decent solution until the bug gets fixed upstream? If so, how do I get pacman to print and log the information? If not, would copying all of the settings from the old properties file to the new one make more sense?
--EDIT--
Post #6 has the (hopefully) final version.
Last edited by skottish (2008-09-30 06:17:35)

All of my questions are now answered and no one has commented, so soon to be in AUR.
# Maintainer: skottish <STUFF>
# Contributor: Corrado 'bardo' Primier <STUFF>
# Contributor: Jochem Kossen <STUFF>
pkgname=scite-cvs
pkgver=20080929
pkgrel=1
pkgdesc="A generally useful editor with facilities for building and running programs"
arch=('i686' 'x86_64')
url="http://www.scintilla.org/SciTE.html"
license=('custom:scite')
depends=('gtk2' 'desktop-file-utils')
provides=('scite')
conflicts=('scite')
makedepends=('cvs')
install=scite.install
source=(SciTE.desktop)
md5sums=('48526532ef677982a4b156ae90f25b6f')
_builddir="scite-build"
_cvsroot=":pserver:[email protected]:/cvsroot/scintilla"
_cvsmod="scintilla"
_cvsmod_scite="scite"
build() {
mkdir $startdir/src/$_builddir
cd $startdir/src/
msg "Connecting to scintilla.cvs.sourceforge.net CVS server....[Scintilla]"
if [ -d $_cvsmod ]; then
cd $_cvsmod
cvs -z3 update -d
else
cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
fi
cd $startdir/src/
msg "Connecting to scintilla.cvs.sourceforge.net CVS server....[SciTE]"
if [ -d $_cvsmod_scite ]; then
cd $_cvsmod_scite
cvs -z3 update -d
else
cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod_scite
fi
msg "CVS checkout done or server timeout"
msg "Starting make..."
cd $startdir/src/
cp -r $_cvsmod $_builddir
cp -r $_cvsmod_scite $_builddir
find $_builddir -type f -exec sed -i 's/1.76/CVS/' {} \;
cd $_builddir/$_cvsmod/gtk
sed -i "s/#ARCHCXXFLAGS#/${CXXFLAGS}/g" makefile
make || return 1
install -Dm644 ../License.txt $startdir/pkg/usr/share/licenses/scintilla/LICENSE
cd $startdir/src/$_builddir/$_cvsmod_scite/gtk
sed -i "s/#ARCHCXXFLAGS#/${CXXFLAGS}/g" makefile
make || return 1
make DESTDIR=$startdir/pkg install
install -Dm644 ../License.txt $startdir/pkg/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 $startdir/src/SciTE.desktop $startdir/pkg/usr/share/applications/
ln -sf SciTE $startdir/pkg/usr/bin/scite
cd $startdir/pkg/usr/share/scite/
find SciTEGlobal.properties -type f -exec sed -i 's/position.left/#position.left/' {} \;
find SciTEGlobal.properties -type f -exec sed -i 's/position.top/#position.top/' {} \;
rm -rf $startdir/src/$_builddir
# vim:set ts=2 sw=2 et:
Last edited by skottish (2008-09-30 06:24:05)

Similar Messages

  • Help with cvsup in abs

    My problem is with my cvsupd server setup.  I am using the abs script in my crontab to sync the repositories to my server; I cannot seem to get the cvsupd to download the files to the location specified in the sup files.  It will connect and I will finish with successful message, but no files will have been downloaded.
    Connected to localhost
    Updating collection arch/cvs
    Finished successfully
    Connected to localhost
    Updating collection extra/cvs
    Finished successfully
    Connected to localhost
    Updating collection community/cvs
    Finished successfully
    No files were downloaded.  I think my problem is with list and release files.
    The repositories are in /cvs/abs directory and look like this:
    PKGBUILD.proto  daemons  install.proto  multimedia  system       x11-libs
    base            devel    kernels        network     x11
    cvsup           editors  lib            office      x11-drivers
    And my releases and list.cvs  look like this:
    cat /cvs/cvsupd/sup/arch/releases
    cvs list=list.cvs prefix=/cvs super=arch
    cat /cvs/cvsupd/sup/arch/list.cvs
    upgrade abs/base
    upgrade abs/devel
    upgrade abs/editors
    upgrade abs/kernels
    upgrade abs/lib
    upgrade abs/multimedia
    upgrade abs/network
    upgrade abs/office
    upgrade abs/system
    upgrade abs/x11
    upgrade abs/x11-drivers
    upgrade abs/x11-libs
    cat /cvs/cvsupd/sup/extra/releases
    cvs list=list.cvs prefixe=/cvs super=extra
    cat /cvs/cvsupd/sup/extra/list.cvs
    upgrade abs/extra
    cat /cvs/cvsupd/sup/community/releases
    cvs list=list.cvs prefix=/cvs super=community
    Anymore information needed and I will gladly add it.

    What modem do you have?
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Cvs scite

    howdy guys,
    I'm trying to package scite from cvs.  Makepkg can't find a file it needs, because I goofed somewhere.  I used the abs scite PKGBUILD, and modified it.  What should be in it?
    (thanks!)
    # $Id: PKGBUILD,v 1.35 2006/07/19 17:56:51 jgc Exp $
    # Maintainer: dorphell <dorphell>
    # Contributor: Jochem Kossen <j>
    pkgname=scite
    pkgver=
    pkgrel=1
    pkgdesc="A generally useful editor with facilities for building and running programs."
    arch=(i686)
    depends=('gtk2' 'desktop-file-utils')
    makedepends=('pkgconfig')
    install=${pkgname}.install
    url="http://www.scintilla.org/SciTE.html"
    build() {
    cd ${startdir}/src/
    cvs -z3 -d:pserver:[email protected]:/cvsroot/scintilla co -P scintilla scite
    cd ${startdir}/src/scite/gtk/
    make || return 1
    make DESTDIR=${startdir}/pkg install
    ln -sf SciTE ${startdir}/pkg/usr/bin/scite
    # install a nice and working .desktop file
    sed -i 's|^Categories=.*$|Categories=GTK;Application;Utility;TextEditor;|'
    ${startdir}/pkg/usr/share/applications/SciTE.desktop
    echo -e "MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;
    text/x-c++;text/x-chdr;text/x-csrc;text/x-c;text/x-objc;text/x-java;
    text/x-pascal;text/x-perl;text/x-python;text/x-php;text/x-php-source;
    text/x-tcl;text/x-tex;application/x-shellscript;text/xml;text/html;text/css;"
    >> ${startdir}/pkg/usr/share/applications/SciTE.desktop
    chmod 644 ${startdir}/pkg/usr/share/applications/SciTE.desktop

    I guess actually it's make that can't find something.
    it fails with
    make: *** No rule to make target `../../scintilla/bin/scintilla.a', needed by `../bin/SciTE'.  Stop.

  • I'm trying to import contacts to outlook 2011 from a cvs file.  I've followed all the steps, mapped the fields, clicked import -- it shows that it imported my 900 contacts --- but the contact field remains blank and I can't see any information.  Help?

    I'm trying to import contacts to outlook 2011 from a cvs file.  I've followed all the steps, mapped the fields, etc.  It appears to import all 900 contacts, but after finishing nothing appears in my contact list.  Any ideas on why this is not working?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Executing CVS files into Oracle using JDeveloper

    I am incredibly impressed with JDeveloper (11.1.1.4), and am working through a process walk through for our current development groups. We using CVS as our SCM, and I was able to easily connect and navigate the CVS directories.
    I can open the CVS file and view it, but I cannot seem to figure out how to execute/compile that file into a database. For example, when I'm working in development, I want to be able to open files from CVS, edit them, compile them, and then check them back in. Can someone please point out how this is accomplished? I'm sorry - this seems like an easy/silly question, but in all my searching, I'm unable to find the answer.
    Thank you for your time!
    T.j.
    Here is a screenshot of what I see, if that helps.
    Edited by: 910514 on Apr 5, 2012 6:53 AM

    ADF7 wrote:above toolbar from 7 of the last there sql icon. hit it to open the sql workesheet. or else press (alt+f10).Thank you for your quick response!
    This is my issue - I don't want to have to open a separate editor. Here is the process:
    1. Navigate the CVS repository for a file. Open that file for editing. (currently opens as read-only - I'm assuming this is a setting that I need to change)
    2. Make changes and compile into the database.
    3. When finished, commit those changes back into CVS. (this part I can see with the 'Pending Changes' tab)
    Does your response me that I have to copy the code into a SQL Worksheet, do my work, and then copy the changes back into the file?
    Thank you again!

  • Workshop 8.1 useless with CVS

    Hi all,
    Workshop never works with CVS for me.
    The CVS server is installed in Win 2000 machine. And it works fine when I do
    CVS operations from other clients like
    Inspite of asking BEA for many times, I could not solve the problem of
    connecting to CVS NT Server.
    SP2 also does not fixes the problem of connecting.
    The error that I am getting is like this
    cvs update: unknown method in CVSroot:
    :ntserver:bkarthi@ets4218:F\\Aretail\\RepositoryCVS when I do any CVS
    operation.
    I know that the problem is in the CVSROOT.
    Any body please tell me how can i connect to CVS NT Server means
    provide me the correct CVSROOT for NT server which works with Workshop 8.1.
    Also opened a case with BEA, a month ago but still no solution.
    Thanks,
    Karthi.

    Hi all,
    I came to know that the problem is the version of the CVSNT and cvs.exe that is available to Workshop through the environmental variable.
    It is mandatory that we have to add cvs.exe to OS PATH. So that the workshop will launch this process.
    This will solve the problem of create process.
    But with problems that I faced, I understand that workshop is specific to particular version of "cvs.exe"
    Now, I am able to access the CVS server from workshop but not with "ntserver" protocol. I am using "sspi" protocol.
    I tried with "pserver" too, it works fine.
    So I need to know which version of "cvs.exe", the developers are suppose to use.
    Points to remember while configuring workshop with CVS.
    1. correct "cvs.exe" should be in the PATH variable
    2. Don't use "ntserver" protocol.
    3. Use "pserver" or "sspi" ( I tested both. Works fine )
    4. "pserver" protocol requires that the user should be logged in before doing a cvs operation.
    5. To be functional , cvs module should be imported and check out before opening workshop. There is no built in method to import and check out from Workshop.
    6. If want to customize workshop with cvs commands, CVSROOT variable should be defined before you launch the Workshop.
    Thanks,
    Karthi.
    "Dan DeMania" <[email protected]> wrote in message news:3ffc8585$[email protected]..
    I also can not seem to find a way to configure the CVSROOT parameter to connect to CVS? Your right, it doesn't appear that there is a location to put the password for the CVS login! I get the following error:
    commit starting...
    Caught exception: CreateProcess: cvs -d:pserver:[email protected]:/cvsroot/gewt_portal commit -l -m a C:\bea\user_projects\applications\portalApp\portalWebApp\Controller.jpf error=2
    commit finished.
    with the following cvs root configured:
    :pserver:[email protected]:/cvsroot/gewt_portal[att1.html]

  • Workshop and CVS

    Hi,
    Has anyone been successful in linking up workshop 8.1 with CVS. I get this weird
    message when I try. I am using the pserver option.
    add starting...
    Usage: cvs add [-k rcs-kflag] [-m message] files...
         -k     Use "rcs-kflag" to add the file with the specified kflag.
         -m     Use "message" for the creation log.
    (Specify the --help global option for a list of other help options)
    add finished.
    --Krish.

    Krish,
    Please post this question in the Workshop 8.1 beta newsgroup.
    weblogic.developer.interest.81beta.workshop
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.81beta.workshop&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Krish Khambadkone" <[email protected]> wrote in message
    news:3eee6b44$[email protected]..
    >
    Hi,
    Has anyone been successful in linking up workshop 8.1 with CVS. I getthis weird
    message when I try. I am using the pserver option.
    add starting...
    Usage: cvs add [-k rcs-kflag] [-m message] files...
    -k Use "rcs-kflag" to add the file with the specified kflag.
    -m Use "message" for the creation log.
    (Specify the --help global option for a list of other help options)
    add finished.
    --Krish.

  • CVS Workshop 8.1 help

    Hi all,
    I came to know that the problem is the version of the CVSNT and cvs.exe that
    is available to Workshop through the environmental variable.
    It is mandatory that we have to add cvs.exe to OS PATH. So that the workshop
    will launch this process.
    This will solve the problem of create process.
    But with problems that I faced, I understand that workshop is specific to
    particular version of "cvs.exe"
    Now, I am able to access the CVS server from workshop but not with
    "ntserver" protocol. I am using "sspi" protocol.
    I tried with "pserver" too, it works fine.
    So I need to know which version of "cvs.exe", the developers are suppose to
    use.
    Points to remember while configuring workshop with CVS.
    1. correct "cvs.exe" should be in the PATH variable
    2. Don't use "ntserver" protocol.
    3. Use "pserver" or "sspi" ( I tested both. Works fine )
    4. "pserver" protocol requires that the user should be logged in before
    doing a cvs operation.
    5. To be functional , cvs module should be imported and check out before
    opening workshop. There is no built in method to import and check out from
    Workshop.
    6. If want to customize workshop with cvs commands, CVSROOT variable should
    be defined before you launch the Workshop.
    Hope this is help full to all.
    Karthi.

    Hi all,
    I came to know that the problem is the version of the CVSNT and cvs.exe that is available to Workshop through the environmental variable.
    It is mandatory that we have to add cvs.exe to OS PATH. So that the workshop will launch this process.
    This will solve the problem of create process.
    But with problems that I faced, I understand that workshop is specific to particular version of "cvs.exe"
    Now, I am able to access the CVS server from workshop but not with "ntserver" protocol. I am using "sspi" protocol.
    I tried with "pserver" too, it works fine.
    So I need to know which version of "cvs.exe", the developers are suppose to use.
    Points to remember while configuring workshop with CVS.
    1. correct "cvs.exe" should be in the PATH variable
    2. Don't use "ntserver" protocol.
    3. Use "pserver" or "sspi" ( I tested both. Works fine )
    4. "pserver" protocol requires that the user should be logged in before doing a cvs operation.
    5. To be functional , cvs module should be imported and check out before opening workshop. There is no built in method to import and check out from Workshop.
    6. If want to customize workshop with cvs commands, CVSROOT variable should be defined before you launch the Workshop.
    Thanks,
    Karthi.
    "Dan DeMania" <[email protected]> wrote in message news:3ffc8585$[email protected]..
    I also can not seem to find a way to configure the CVSROOT parameter to connect to CVS? Your right, it doesn't appear that there is a location to put the password for the CVS login! I get the following error:
    commit starting...
    Caught exception: CreateProcess: cvs -d:pserver:[email protected]:/cvsroot/gewt_portal commit -l -m a C:\bea\user_projects\applications\portalApp\portalWebApp\Controller.jpf error=2
    commit finished.
    with the following cvs root configured:
    :pserver:[email protected]:/cvsroot/gewt_portal[att1.html]

  • CVS problem: Entries file not being created

    I am using Flash Builder 4 Standard. Connecting to CVS, it had been working correctly  but now when sharing a project it isn't working. It creates the project in the repository but doesnt include any of the files. Looking in the actual project files (in finder) it has created a CVS folder correctly but only has 'repository' and 'Root' but not 'Entries' which I assume is the problem. These are the steps I am taking (which was working...)
    Create new project
    File > New > Project
    Complete all fileds including path to the project files. Fla, and .as files.
    Do all the work I need to, and is finished. So I want to share the project to the team.
    Right click on the project in 'Package Explorer' window > Team > Share project...
    Select the CVS repository, (the connection works as I see all the projects listed)
    Select 'use project name as module name'
    Next > enter password > Finish
    At this point I used to get another dialogue window appear to be able to add comments and finalize the commit. But now for some reason nothing happens. No errors or anything. When I look in the repository the folder is there but it is empty.
    Does any one have any idea how I can fix this? It is most strange and very frustrating! Any help would be greatly appreciated

    Delivery transaction accounting can be seen in Inventory--Transactions--Material Distributions screen (assuming that your destination is inventory)
    Thanks
    Nagamohan

  • Problems using CVS from worksho 81

    I tried to configure my workshop81 to use CVS (password server). But I get the
    following exception when I try to update any file from the workshop.
    update starting...
    Caught exception: CreateProcess: cvs -d:pserver:pavasthi@newark:/opt/apps/cvsroot
    update -A -l admin/admin.jsp error=2
    update finished.
    I would appreciate any help.
    Prachi.

    Hi everybody,
    I have exactly the same pb as your. If I copy the CVS command created by Workshop,
    it's working in the command line.
    Have you guys found a workaround for this bug ?
    What is BEA saying about that ???
    Adrien
    "Karthi" <[email protected]> wrote:
    Hi Prachi & Anurag,
    I am also having the same problem when using CVS with ntserver.
    I have also done the same as what Anurag told to Prachi.
    I did the Module import and check out successfully .
    In the release notes of Workshop 8.1 in KL Section it has been that we
    should use Source view of the code in workshop. I did so.
    But none of the CVS options worked for me from with in Workshop , all
    of
    them are working from WinCVS.
    It means that we can't use the CVS option of WLW 8.1(SP1) and we have
    to
    depend on the command line or use WinCVS.
    Any help ??
    Thanks,
    Karthi
    "Prachi" <[email protected]> wrote in message
    news:[email protected]...
    Thanks a lot for replying Anurag.
    I think I have already done that but not from the command line though.I
    use WinCVS.
    But that shouldn't make a difference, right . I checked out the modulefrom CVS.
    Then I went to Workshop->Tools->Application Properties ->Source Controland set
    all the required fields.
    After that if I try to use any CVS command from the workshop, it throwsthe exception
    that I mentioned before.
    Is there anything else I need to do ?
    "Anurag" <[email protected]> wrote:
    Prachi,
    You need to first import and checkout any Workshop application which
    you
    configure from CVS, from the command line. Can you confirm whether
    you
    have
    done that?
    For example, you can follow the following instructions:
    1. set CVSROOT=:pserver:[email protected]:/home/cvs
    2. cd to the directory "myApp" which is my Workshop applicationdirectory,
    where I imagine "v1" is an arbitrary string indicating the versionnumber.
    cvs import myApp v1
    3. cd to the parent directory of "myApp" and
    cvs checkout myApp
    Let me know if you need any further help.
    Regards,
    Anurag
    "prachi" <[email protected]> wrote in message
    news:[email protected]...
    I tried to configure my workshop81 to use CVS (password server).
    But
    I
    get the
    following exception when I try to update any file from the workshop.
    update starting...
    Caught exception: CreateProcess:cvs -d:pserver:pavasthi@newark:/opt/apps/cvsroot
    update -A -l admin/admin.jsp error=2
    update finished.
    I would appreciate any help.
    Prachi.

  • JDev hangs with CVS

    Help! :-)
    We are having a LOT of problems with CVS and speed with JDeveloper 10.1.3.1.
    Looking for changes in CVS it's literally locking our PC's up
    for up to 5 minutes.
    It eventually finishes but it's pretty painful. We
    have decent PC's (p4 2.8ghz 1.0 gb ram) so we don't believe it's a resource issue.
    We are using version CVS 1.11.21 on a HP-UX box. Our JDeveloper version
    is 10.1.3.1 (preview). We also attempted the project with Jdeveloper 10.1.3.
    We are using the CVS extension 10.1.3.39.14
    When we go to find the incoming changes it pegs the CPU. It's a project
    with nearly 1000 files. We have seen the same issue now on 4 different
    PCs.
    We have begun to think about Subversion for our source control for JDeveloper integration due to our issues with CVS
    Two questions
    1. Have you heard of this issue with CVS and JDeveloper before?
    2. Do you recommend Subversion?
    Message was edited by:
    scoobytierns

    JDeveloper: 10.1.3.0.4 (SU3) does NOT have the issue.
    If you apply Service Pack 5 or go to the JDeveloper Developer Preview the issue exists.
    The issue again is that the CVS plug in locks up your PC for up to 5 minutes when looking for incoming changes on large projects. It pegs the CPU at 100%. It's very easy to reproduce and we have seen it on at least four different PC's.
    What is the best way to get visibility to this issue with Oracle? We are now stuck on 10.1.3.0.4 (SU3) with CVS putting us two service packs behind.
    Thanks!

  • XML Publisher Report Finished in Warning 11i EBS HRMS

    Hi there
    I have developed XML Publisher Report using Developer 6i Data Module, this report works fine for specific sets of records. but When I run this report for All Companies This Report Finished in Warning.
    Note: XML Data is generated in this report I can see the XML Data in explorer.
    This report is for Oracle 11.5.10.2 (HRMS)
    Oracle XML Publisher 5.6 Build 45
    ++++++++++++
    AND When I load this XML file into Template at MS Word, I loaded Successfully and When I try to get the PREVIEW, I GET the following ERROR
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: M:\ATCO\Disco\Employee Profile Report\Defect\119\XXPEREMPPROFILE4.xml
    FOProcessor setLocale: en-us
    Regards
    ASIM

    Is the XML file Complete with all tags closed? Issues with Oracle prevent the completion of the XML file. It truncates in between and hence is not parsed successfully by the XML Template.
    Also, try setting the following to 'TRUE' under XML Publisher Administrator>Administration Tab
    1) Use XML Publisher's XSLT processor.
    2) Enable scalable feature of XSLT processor.
    3) Enable XSLT runtime optimization.
    Thanks, Naveen Gagadam.

  • HT204053 I have one apple ID for purchases and then my mobile me ID where I use for email.  So I have set my cloud with my mobile me name, while keeping my purchases the original name.  Will my purchases be recognized as purchases when backup is finished.

    I have one apple ID for purchases and then my mobile me ID where I use for email.  So I have set my cloud with my mobile me name, while keeping my purchases the original name.  Will my purchases be recognized as purchases when backup is finished.

    Welcome to the Apple community.
    So long as you are logged into the iTunes Store, using the correct ID and password (settings >store), then you will always have access to your apps, books, music, TV shows etc etc bought via the iTunes Store on that account.

  • HT5052 hi , i cant update mi ipod touch software, a soon as the download process in finished an error message appears

    hi , i cant update mi ipod touch software, a soon as the download process in finished an error message appears :" session time has expired" something like that

    Disabling the computer's security software during the download and update usually resolves a network timeout error.

  • Actual Cost of finished goods in MIGO

    Hi,
    The value of Finished material in FI Document generated in MIGO takes the (Goods Receipt Quantity) X (Planned/Moving average Price from material master), Where as it should take the Total Actual Price calculated after Order Confirmation Based on Actual Material Purchase Price & Actual Activity Posting Value.
    For example:
    Present scenario
    Material-> MIGO QTY>Moving Avg Price -->MIGO FI Document Value
    Finished> 1000  EA> Rs. 10/ EA--
    >Rs. 10,000=00
    Required Scenario:
    MIGO FI Document value= (Purchase Value of Raw Material)+ ((Activity Posted while Confirmation)X(Activity price))
    Thanks.

    Hi,
    What u said is right Mr Kapil.. See when u do GR From Production Order System Calculate Moving Price or Planned Price from
    material Matser .
    As per ur Reuirement u told it should calculate (Raw Material Price + activity+OVHD).
    it is possible only when order quantity is less , suppose say your order qty is 150 mt per day and your Plant capacity is 500mt
    per day production will be done in a half day, sale can be done on same day after Production with the formula what u told.
    If suppose say , Your order is 2000 ton of Oil , it will take u to complete 4 days for your Total production as you told, GR should
    be done on (Raw Material Price + activity+OVHD) formula, you dont know exact activity price for 2000 ton until u finish your total
    production, at the same time until u do GR sales cannot be done. So in SAP Gr is intially done on Moving Average Or Planned
    (Standard Price) , After totla Prodcution GR is Compared with Actual Cost(Raw Material Price + activity+OVHD)= :"Variance".
    Plus are MInus is Reduced or added to Finished Goods Account or PP account during Settlement.
    If any wrong Pls Correct me Experts,
    Pavan

Maybe you are looking for

  • Passing variables from DM to logic script problem (REPLACEPARAM)

    Dear All, I would like to send variables from data manager to a logic script. The script copies values from an account to an other. If I hardcode two accounts in the script, it works fine, but I want to pass these two accounts dynamically from data m

  • Confused Regarding SAP XI Pre requiste

    Hi all,        Many of the threads has all the information that ......particularly sravya blog.....all says ...that SAP XI has no pre requiste.........         am still not able to understand that ..what are the concets we need in ABAP or java exactl

  • Reinstalling Adobe Photoshop Elements and Adobe Premiere Elements on Mac instead of PC

    I have Adobe Premiere Elements 12 and Adobe Photoshop Elements 12 on my window pc. Pc broke down and its replaced by MacBook Pro. Can i reinstall these program on my Mac without bying the programs once more?

  • Card Reader Driver S5220Y Win 7 64bit

    Hello, I have a desktop that the card reader stopped working and there is a exclamation point on HW ID: USB/UNKNOWN in Device Manager. I looked on the drivers and downloads page and there is no driver for Windows 7 64 bit concerning the Card Reader.

  • Hardware Rendering=broken preview (CS3)

    Hey guys, im new to the forums, but I've recently encountered some strange behavior. I used to have dual monitors setup but only used one in bridge(didnt use the other for previews) and i was able to use hardware rendering just fine. Then i moved and