Copy Net Result from Many Accounts to An Account

Hi All,
I want to copy Net Result for all products to an account for a product.
Accounts :
ACT = Technical Account
AC1 = account
Products :
P1 = Product1
P2 = Product 2
NA = Na product
With Property : I've tried to copy a list of accounts using property
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET INTCO=NON_INTERCO
*XDIM_MEMBERSET MEASURES=YTD
*WHEN ACCOUNT.PROPERTY
       *IS INCOME
            *REC(FACTOR=-1,ACCOUNT="AC1",PRODUCT="NA")
*ENDWHEN
*COMMIT
This solution copy only the last value of account list.
With Business Rules and script logic :
I use Business Rules to copy list account to an account -> List of account in ACT
Logic to copy all products of ACT in NA Product of AC1
*FOR %PRODUCTL%=P1,P2,NA
*XDIM_MEMBERSET ACCOUNT=ACT
*XDIM_MEMBERSET DATASRC=INPUT
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET INTCO=NON_INTERCO
*XDIM_MEMBERSET MEASURES=YTD
*WHEN PRODUCT_LINE
         *IS %PRODUCTL%
                 *REC(ACCOUNT="AC1",PRODUCT="NA")
*ENDWHEN
*COMMIT
*NEXT
OR
*XDIM_MEMBERSET ACCOUNT=ACT
*XDIM_MEMBERSET DATASRC=INPUT
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET INTCO=NON_INTERCO
*XDIM_MEMBERSET MEASURES=YTD
*REC(ACCOUNT="AC1",PRODUCT="NA")
*COMMIT
The 2 solutions does not work. It copy ACT of NA product in AC1 of NA Product and I want to copy all products of ACT in NA product of AC1.
Any Idea ?
KR,
Samir

Hi,
Try with the following code
*XDIM_MEMBERSET RPTCURRENCY=LC
*XDIM_MEMBERSET INTCO=NON_INTERCO
*WHEN ACCOUNT.PROPERTY
       *IS INCOME
            *REC(EXPRESSION=%VALUE%,ACCOUNT="AC1",PRODUCT="NA")
*ENDWHEN
*COMMIT
After this, if you want to invert the sign, you can add the following before the *COMMIT
*WHEN ACCOUNT
*IS AC1
*REC(FACTOR=-1)
*ENDWHEN
Try to run the script using the debugger and see whether the result is correct or not.
Hope this helps.
I have removed the statement *XDIM_MEMBERSET MEASURES=YTD

Similar Messages

  • Copy Exchenge rate from many Delivery to one AR invoice

    Hi all!
    I face with the problem. My customer need copy exchange rate from many Delivery that in one delivery we have different exchange rate for different date. After done all delivery, we will copy them to AR invoice, and customer need keep exchange rate the same with delivery.
    How can i do that because SAP B1 prevent this??? i don't know reason why?
    Thanks!

    Hi,
    If the AR invoice date is the same with Delivery date, the Exchenge rate will be the same. However, if you want to Copy Exchenge rate from many Delivery to one AR invoice, you may only have one rate for the invoice date.
    Thanks,
    Gordon

  • Reg: Copying inspection results from inspection( 04) to inspection type (!0

    Dear Friends ,
    I have configured for Quality certificate.
    At the time of delivery , the system will create an inspection lot.
    To make delivery we need to carry out RR and UD once again.
    Can we copy inspection results of inspection type (04) to inspection type 10 , as we are maintaining  the same results of inspection type (04). Also can we sit as background whenever a lot is created with lot origin(10) , automatically it has to copy the results from inspection  type 04 .
    Thanks in advance.

    HI Dear,
    As you said  , it is for COA.
    And the materials are not batch manged.
    Is there any possibility  of copying the results of 04 inspection lot to inspection type 10 lot  , which is created at the time of PGI.
    Because untill and unless RR and UD is made sales people will be not able to  make the delivery . if there are multiple lots , it takes
    time for them to carry out RR and UD.
    Thanks for your reply!!!

  • Copying Inspection results from inspection lot.

    Dear All,
    Please explain me the process of copying inspection results in QM. Following is my clients requirement:
    During receiving inspection they receive the same material in say 10 batches (coils). They want to create the independent batch for  each coils of same material for tracking mechanism, so I  don't have any option to generate that many number of lots.
    Out of this 10 lots, say there are 2 masters (mother coils). Means there are two set of characteristics only which i need to copy for 5 lots each.
    As I  learn from SDN, EA - PLM  need to be activated . But I don't know what are the  adverse effects of activating  same.
    Please explain me the process.
    Best Regards.
    Shekhar Mokashi

    Hi Shekhar,
    Refer the OSS note 855959 - Activation of Extension Sets via SPRO not successful.
    I think all your doubts regarding to this Enhancement package will get resolved.
    The big warning is given there in that note itself about implementing the EA-PLM enhancement is.....
    Once an Enterprise extension set has been activated, it cannot be de-activated by de-selecting the option in the SPRO or otherwise, because BC Set activations cannot be undone.
    Appart from that note refer the document for
    Release Notes
    SAP ERP Corporate Services
    SAP enhancement package 2 for SAP ERP 6.01.
    the link for the same is pasted here FYI.
    [Chap_04_RNCorporateService|http://www.id.uzh.ch/dl/sw/sap/upgrade/Chap_04_RNCorporateService.pdf]
    Even after this much stuff completion, you don't have your doubt cleared up then I would advice you to ask the question in [ SAP Enhancement Packages|/community [original link is broken]; forum.
    Regards with lots of good luck wishes.
    Shyamal.
    Edited by: Shyamal Joshi on Jul 26, 2008 12:19 PM
    Edited by: Shyamal Joshi on Jul 26, 2008 3:06 PM

  • Is it possible to copy the songs from my wife's itune account into my itune account?

    Is it possible to copy the songs from my wife's itunes library into my itunes library.  We each have our own apple id.

    Isa Garduño wrote:
    the only way to creat an icloud account is with a ipad, iphone or imac Apple computer.
    As you already knew, no, you cannot create a new iCloud account from anything but the above devices.
    http://support.apple.com/kb/HT4436

  • Copy Appraisal Results From Previous (MBO)

    Hi:
    There is a business requirement to populate the "criteria" and "notes" from previous year's appraisal form.
    This must be populated when the appraisal form is launched.
    I probably should be using a BADI for this. However, I don't know which function module I should use.
    I hope experts in this forum can help me. Any help is appreciated.
    Thank you,
    Ash

    Hello Ash,
    You can use the Value Determination BADI to default value in the VC.
    There are some standad BADIs implementation in the following definition:
    HRHAP00_VAL_DET     Appraisal Document - Value Determination
    You may copy/create your own custom implementation from the standard.
    Best Regards,
    Vincent

  • Error during copying inspection result.

    Hi All,
    While recording result with the Inspection plan where I had done settings to copy inspection result from another lot I got the error message;;;;
    Message Text
    No active implementation exists for BAdI QEC_SELECTION, procedure
    Technical Data
    Message type__________     E (Error)
    Message class_________     QECOPY (QM Data Transfer to an Inspection Lot)
    Message number________     016
    Message variable 1____     QEC_SELECTION
    Message variable 2____     
    Message variable 3____     
    Message variable 4____     
    Message Attributes
    Level of detail_______     
    Problem class_________     1 (very important)
    Sort criterion________     
    Number________________     1
    Pls guide me how do I activate this BADi
    Regards,
    Shyamal Joshi

    HI all,
    I think I will not get any response over it so closing the thread to contribute in new rule of engagement.
    Regards,
    Shyamal

  • Copy of inspection lot results from one to many batches

    Dear All,
    I have a batch managed material in sap & inspection lot is generated for all the batches. I want some of the values of  inspection results to be copied from one lot to many
    to save the result recording time since value entered in 5 to 6 batches are same. please note that product is common for three plants.
    Or I have to do it through Z development.
    Thanks

    First you have to customizing the functionality of Copy of Inspection Results using the following path, where you have to entry the inspection types, plant .etc., where you want to have the functionality.
    SPRO -> Quality Management -> Quality Inspection -> Make Settings for Copy of Inspection Results
    Then when you are in Record Result screen you select Menu -> Edit -> Copy Inspection Results ,
    then a pop-up window is displayed and you filled in with the inspection lot which has the results and then another pop-up window is displayed to select the characteristics that you want to copy.
    A.P.

  • Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    You can't. Why on earth would you attempt to manage 2500 emails with setting up a folder structure or some means of doing so? Simply keeping them in an single inbox is not realistic, no matter what email client you use.

  • Copying the value from a cell in the SQL results?

    I run an sql query. The results are returned in a results window. I would like to copy the value from this cell
    and paste it into an sql query. How can I do this? I can copy and paste a value from a cell in the view of the data in
    a table, but not from the test results. How do I do this? Is there a setting I need to change?

    I usually do this kind of operations and I've never had any issues, the procedure is as simple as CTRL-C in the results grid, with the required column/columns selected and CTRL-V in the worksheet or anywhere else.
    If you still have issues please post your
    - SQLDeveloper version
    - Java Version
    - OS
    - Database Version
    and if you can a small test case.

  • How to filter results from 4 dynamic list menus depandant on how many of them are selected

    I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?  

    Hey there,
    Thanks for replying,
    I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
    Any suggestions?  
    SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
    FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
    WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR  (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR  ( location=varloc AND type=vartype AND beds=varbed) OR  (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
    ORDER BY detailstable.trueprice ASC
    Look forward to receiving your thoughts,
    Linda
    Date: Wed, 21 Oct 2009 14:36:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
    Hiya,
    I'm just doing my first dynamic site too, and am at a similar level to yourself.
    Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
    For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
    Let me know how you're going on anyway
    Cheers
    Andy
    >

  • Copy the inspection  result  from one lot to multiples lots!!

    Hi SAP expert,
    I want to copy the inspection  result  from one lot to multiples lots, currently i know how to setup  the copy to another lot(SAML Response from SAP ID Service ) , but  i dont know to do to multiples lot.
    ¿Someone can help me?
    Thank you

    First you have to customizing the functionality of Copy of Inspection Results using the following path, where you have to entry the inspection types, plant .etc., where you want to have the functionality.
    SPRO -> Quality Management -> Quality Inspection -> Make Settings for Copy of Inspection Results
    Then when you are in Record Result screen you select Menu -> Edit -> Copy Inspection Results ,
    then a pop-up window is displayed and you filled in with the inspection lot which has the results and then another pop-up window is displayed to select the characteristics that you want to copy.
    A.P.

  • Copy Data From a Parent to an Account - Legal (Periodic P&L Reclassificate)

    Hi Gurus,
    I'm in an implementation project at the BPC NW 7.5 SP04, being responsible for part of the consolidation. Currently I'm trying to find the best way to make a copy of the value of a node group hierarchy accounts P&L for a liability account.
    After the data load the actual, from the BW InfoCube or from an Upload flat-file, must perform the reclassification mentioned periodically.
    The issue is that there is two ways I know to copy the value to the account, one from the business rule of account transformantion  and the other is by default logic included in the script logic.
    I set the rule on account transformation placing the following code in the script and run:
    * RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %Versao_SET%
    CURRENCY = %Groups_SET%
    TID_RA = %MesAno_SET%
    CALC = APUR_RESULT
    OTHER = [ENTITY=TECSA] / /%% Empresa_SET] / / or OTHER = [Entity = C1000] or [ENTITY_SET ENTITY% =% =% INTCO INTCO_SET %...]
    * ENDRUN_PROGRAM
    It worked, but it took about 20 minutes to finish, the performance is very bad.
    I put on the default logic the following command line:
    * XDIM_MEMBERSET CONTA=3 
    * WHEN CONTA
    * IS "3"
    * REC (FACTOR=1, CONTA="PC012503030002")
    * ENDWHEN
    * COMMIT
    Script logic can be run automatically after data is sent to database from BPC for Excel using the default,lgf, but do you know how to run it whenever there is a charge on a company ? 
    Can you help me? Telling me how to call this script, or correcting my business rule?
    Best Regards
    Alexandre Mendoza Collepicolo
    P.s.: I tried use the col formula but this don't record the data so that is if I put this account as a parent, I need this recorded to do calcs.
    Edited by: Alexandre Mendoza Collepicolo on Sep 22, 2010 9:19 PM

    Hi Gersh and Nilanjan,
    I did a test in a few minutes, I changed the code on default logic from this:
    *XDIM_MEMBERSET CONTA = 3
    *WHEN CONTA
    *IS "3"
    *REC(FACTOR=1,CONTA="PC012503030002")
    *ENDWHEN
    *COMMIT 
    to this:
    *XDIM_MEMBERSET CONTA = PC013000000001
    *WHEN CONTA
    *IS "PC013000000001"
    *REC(FACTOR=1,CONTA="PC012503030002")
    *ENDWHEN
    *COMMIT 
    And I load again the data, the default logic copy the value from PC013000000001 to PC012503030002, that is a good news for me, but with this I concluded, the script don't get value from parent, so is there a way to put a range of account on code ? 
    Best Regards
    Alexandre Mendoza Collepicolo
    Edited by: Alexandre Mendoza Collepicolo on Sep 23, 2010 2:27 PM

  • TS3297 Tried to copy a movie from my iTunes account to my iPhone and keep getting this message--.  iTunes could not copy "L.A." to the iPhone "Michael's iPhone" because of a timeout occurred.

    Tried to copy a movie from my iTunes account to my iPhone and keep getting this message…….  iTunes could not copy "L.A." to the iPhone "Michael's iPhone" because of a timeout occurred.

    I completely understand what is happening. I know that you are connected to the Internet. I made the suggestion because I have seen it work in similar circumstances. The Apple iTunes servers can be a bit fussy about things and sometimes rebooting the router clears up this miscommunication between iTunes and your network.
    Have you tried signing into your account and then try to sync again. Go to Store>View Account. You will have to enter your password. Then try to sync again. Or try signing out completely in Store>Sign out. Quit iTunes, sign in again and then try to sync again.
    Sometimes refreshing settings will help clear up weird problems.

  • Sales order should not copy the net value from contract

    Hi,
    When we are creating the sales order,Where we can maintain that sales order should not copy the net value from contract.
    Regards
    Prabudh

    Hi,
    When I am creating the sales order with reference to contract,it's copying the net value and quantity from the contract.
    But I want  that sales order should not copy the net value and quantity from the contract and user can take new required quantity at the time creating the sales order.
    Regards
    Prabudh

Maybe you are looking for

  • CreateDesktop, ERROR CODE = 5, Access is denied. WTF!

    2010-06-06 01:00:17,819 INFO  [com.adobe.pdfg.GeneratePDFImpl] ALC-PDG-001-000- Job ID for the submitted createPDF job =File.pdf409521-3f3c2f-479b06-b279af-1e90c4-144464 2010-06-06 01:00:17,944 INFO  [com.adobe.pdfg.BMCCaller] ALC-PDG-001-024-File.pd

  • Where can I find a macro I can use in Project Properties to generate PDB files of different filenames each build?

    Found a better solution. The answer is given at the very bottom of this post. I'm looking for $(Random), %(Date), %(Time), or some %(Value) that I can put in the "Generate Program Database File" entry. Like "$(TargetDir)_%(CreateTime).pdb". But the p

  • Strange restart screen happening and advice needed on new imac purchase

    Well first thing first, i just sold my imac 20" CD for a refurbished 24" iMac C2D directly from apple. The first thing i noticed is screen during the restart process that i have never seen on the multiple macs that i have owned. It looks like termina

  • How to set default font in Finder?

    I am using OS X Yosemite.  I highlight the Macintosh HD (internal) drive in Finder, then right-click and select Show View Options. I then change the text size and click on Use as Defaults.  I was expecting this to apply the same text size setting to

  • How to hide the Add-on panel from a script

    Good day I've installed an Add-on on my PowerShell ISE. I activate the add-on by  Import-Module c:\ps1\Modules\VariableExplorer\VariableExplorer.psm1 im my Profile A minor annoyance is that the adds-on panel gets shown.  i have to press Alt+Shift+V i