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
Similar Messages
-
Copy data from mysql to oracle database help?
Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
Where can i look to get started on this?
ThanksYou could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums -
Copy data from 1 company code to another company code
hi friends
my client has 3 company codes but now they want to close one company code for that they want to copy data from one company code to another company code after copying the data they want to delete that company code
i am fresher to sap(fico) please tell me the solution for this,
1) what is the process of copy from one company code data to another
2) what is rules and integrations for thatCompany Codes are the individual identity and we have to give accounting details (Balance Sheet and Profit and Loss account) to statutory bodies so deletion of Company code or coping data from one to another is not posible and not suggested too.
Expalin your client to block all the transaction in one company code and transfer all the closing balance as per trail balance, open Purchase orders, open Sales orders, inventory valuation to another company code and start doing trasaction there.
This is the only solution as per my knowledge.
Uttam -
ADF 11g can not select and copy data from cell of readonly table in IE
hi,
In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
is it a bug?
Edited by: kent2066 on 2009-5-18 上午8:46Hi Timo,
Sorry forgot to mention versions.
We are using 11.1.1.7 and IE 9.
I tried in Google but could not get the solution.
Kindly let me know solution for this.
PavanKumar -
Copy data from one Table to another Table
How can I copy data from one Oracle Table to another Oracle Table on a different server? Question 2: How can I clear all of the data in one Table with a single SQL script?
Thanks...Question 1:
I assume you have the privileges. If you don't, ask the DBA to give them to you. Then
1. Login to database_source (It could be either the source or the target. Let's assume it's the source.)
2. Create a database link to database_target: CREATE DATABASE LINK link_to_database_target CONNECT TO myuserid IDENTIFIED BY mypassword USING 'database_target'; Note the single quotes.
3. Copy the table data: INSERT INTO targetowner.mytable@link_to_database_target SELECT * FROM sourceowner.mytable; COMMIT;
Question 2:
You have two options, but you may not have privileges for both.
Option 1:
DELETE FROM tableowner.tablename; COMMIT;
Advantage: Since this is a DML (Data Manipulation Language) statement, you have to commit the transaction. Also, the data will be gone but the table size is NOT changed, so it's ready for accepting replacement data. DML statements can simply be executed not only from SQL scripts, but from PL/SQL scripts as well.
Disadvantage: Slow, because all record deletion is logged, so you can recover from it by issuing a ROLLBACK; instead of the COMMIT; above. The table size is NOT changed, so if you are short of disk space or tablespace space, you have not resolved the issue.
Option 2:
TRUNCATE TABLE tableowner.tablename;
Advantage: Since this is a DDL (Data Definition Language) command, you do NOT have to commit the transaction. (DDL commands automatically commit both before and after their execution.) The table size will be changed back to the initial extent size which is the minimum size a table can have and can only be set when the table is created. If it needs to be changed, the table has to be dropped and recreated with a different initial extent size. The statement execution of this command is not logged, therefore it's much faster then the DELETE.
Disadvantage: No rollback. Being a DDL, this command cannot be executed straight from PL/SQL. If you need to issue this within PL/SQL, you will have to use dynamic SQL. -
Copying data from one table to another table thru java
Hi
I have to copy data from table emp in Database A to table emp in Database B. My input would be table name and number of rows to be fetched. these rows i need to insert in table B.
The problem over here is I won't be having any info. of table emp i.e the number of columns it has and their type.
So is their any way i can copy the data from one table to other without having the info abt the number of cols and their type.
TIACross post - http://forum.java.sun.com/thread.jspa?threadID=5169293&messageID=9649839#9649839
-
Copy data from one table to another
Hello everyone,
I have a student table with fields sno, sname. I created another table student1 with same fields sno, sname and with one new field class.
Now i want to copy data from sno, sname of student table to sno, sname of student1 table when the class field in styudent1 has no data i.e., its null.
Could any one let me know how to do this?
Thanks,
Prathimai want to copy data from sno, sname of student table to sno, sname
of student1 table when the class field in styudent1 has no dataSo what is the join condition? What column in STUDENT1 tells us what row in STUDENT to copy?
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
I need to copy data from a table in one database (db1) to another table in
Hi
I need to copy data from a table in one database (db1) to another table in another database (db2).
I am not sure if the table exists in db2,,,if it doesnot it needs to be created as well data also needs to be inserted...
How am I supposed to this using sql statements..?
I shall be happy if it is explained SQL also...
Thanking in advanceHow many rows does the table contains? There are manyway you can achieve this.
1. export and import.
2. create a dblink between two databases and use create table as select, if structure doesnot exists in other database, if structure exists, use, insert into table select command.
example:
create a dblink in db2 database for db1 database.
create table table1 as select * from table1@db1 -- when there is no structure present
-- you need to add constraints manually, if any exists.
insert into table1 select * from table1@db1 -- when there is structure present.
If the table contains large volume of data, I would suggest you to use export and import.
Jaffar -
Copying data from excel(more than one row) and pasting into table control
I have a requirement to copy data from excel and have it pasted it into the corresponding fields table control when the user clicks on an icon.For the first part I used a class to copy it from the clip board.By the previous process,I get the data inside an internal table, but even after trying to split the data using 'split at cl_abap_char_utilities=>horizontal_tab into table itab.' it's not working.The table and the excel file are of the same structure.
Does anyone know any cause as to why it might not work?Is there any other way to achieve my objective?
BonHi,
try to get data into internal table as below
TYPES : BEGIN OF ty_data ,
zbukr TYPE payr-zbukr ,
hbkid TYPE payr-hbkid ,
hktid TYPE payr-hktid ,
rzawe TYPE payr-rzawe ,
chect TYPE payr-chect ,
laufd TYPE reguh-laufd ,
laufi TYPE reguh-laufi ,
lifnr TYPE reguh-lifnr ,
vblnr TYPE reguh-vblnr ,
rwbtr TYPE reguh-rwbtr , "uncommented
unique_no TYPE char13 , " Added SAP Doc. No. and current year concate in NEFT,RTGS and Fund Transfer cases
END OF ty_data .
DATA : wa_file LIKE LINE OF it_file ,
wa_data TYPE ty_data .
DATA: it_data1 TYPE kcde_intern WITH HEADER LINE,
wa_data1 LIKE LINE OF it_data1.
start-of-selection.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = lv_file1
i_begin_col = '1'
i_begin_row = '4'
i_end_col = '11'
i_end_row = '60000'
TABLES
intern = it_data1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc = 0.
PERFORM format_data.
ENDIF.
FORM format_data.
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
DATA it_tab LIKE wa_data OCCURS 0 WITH HEADER LINE.
LOOP AT it_data1.
MOVE it_data1-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE
it_tab TO <fs>.
MOVE : it_data1-value TO <fs>.
MOVE it_data1-value TO p_table.
AT END OF row.
APPEND it_tab.
CLEAR it_tab.
ENDAT.
ENDLOOP.
it_data[] = it_tab[] .
ENDIF.
endform. "format_data -
Error while copying data from infoprovider to planning area
Hi,
Error for COM routine using application program (return code 40,075)
Message no. /SAPAPO/OM102
Diagnosis
An application program has called a COM routine. During the process, an error occurred.
I got the above error while copying data from infoprovider to planning area using t code TSCUBE.
How to resolve this?Hi,
Is your issue resolved, If not please run MPOS consistency checks, Planning area consistency check and livecache consistency check.
Below are the programs for the same.
/SAPAPO/TS_lcm_cons_check
/SAPAPO/TS_PSTRU_TOOL
/SAPAPO/TS_PSTRU_CONS_CHECK
Regards
Kishore -
Copy data from a UDO form to Goods Receipt PO using UI API
Hi, all
I tried to copy data from a UDO form to Goods Receipt PO using UI API through following codes.
It works fine while copying to a Item-type Goods Receipt PO.
But when the doctype is set to service, I got errors.
I use for-loop to copy two items, Description and LineTotal, into the matrix of Goods Receipt PO form, but both failed.
any suggestion?
Edited by: Chao-Yi Wu on Aug 25, 2009 5:50 AMHi Chao-Yi Wu ,
SBO_Application.ActivateMenuItem("2306")
Dim oFormGR As SAPbouiCOM.Form = SBO_Application.Forms.ActiveForm
Dim omtxIQC, omtxGR As SAPbouiCOM.Matrix
Dim oedIQC, oedGR, oed As SAPbouiCOM.EditText
Dim ocbIQC, ocbGR As SAPbouiCOM.ComboBox
oFormGR.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE
oedIQC = oFormIQC.Items.Item("13").Specific
oedGR = oFormGR.Items.Item("4").Specific
oedGR.Value = oedIQC.Value
oedIQC = oFormIQC.Items.Item("21").Specific
oedGR = oFormGR.Items.Item("24").Specific
oedGR.Value = oedIQC.Value
oedIQC = oFormIQC.Items.Item("edComments").Specific
oedGR = oFormGR.Items.Item("16").Specific
oed = oFormIQC.Items.Item("3").Specific
oedGR.Value = oedIQC.Value + ", Goods Recript PO:" + oed.Value
ocbIQC = oFormIQC.Items.Item("cbDocType").Specific
ocbGR = oFormGR.Items.Item("3").Specific
If ocbIQC.Selected.Value = "I" Then
ocbGR.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
Else
ocbGR.Select(1, SAPbouiCOM.BoSearchKey.psk_Index)
End If
omtxIQC = oFormIQC.Items.Item("mtx_0").Specific
For i As Integer = 1 To omtxIQC.RowCount
omtxGR = oFormGR.Items.Item("38").Specific
If ocbIQC.Selected.Value = "I" Then
oedIQC = omtxIQC.Columns.Item("c_ItemCode").Cells.Item(i).Specific
oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
oedGR.String = oedIQC.String
oedIQC = omtxIQC.Columns.Item("c_AQty").Cells.Item(i).Specific
oedGR = omtxGR.Columns.Item("11").Cells.Item(i).Specific
oedGR.String = oedIQC.String
oedIQC = omtxIQC.Columns.Item("col_19").Cells.Item(i).Specific
oedGR = omtxGR.Columns.Item("14").Cells.Item(i).Specific
oedGR.String = oedIQC.String
Else
omtxGR = oFormGR.Items.Item("39").Specific
oedIQC = omtxIQC.Columns.Item("c_Descrp").Cells.Item(i).Specific
oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
oedGR.String = oedIQC.String
oedIQC = omtxIQC.Columns.Item("col_16").Cells.Item(i).Specific
oedGR = omtxGR.Columns.Item("12").Cells.Item(i).Specific
oedGR.String = oedIQC.String
End If
Next
for items the matrix is 38 and for service the matrix is 39
Rgds
Micheal -
2006 iMac running 10.4 OS. I copied files to ext. drive. Put in 10.6 disc and did a clean install (format) of 10.6. Copied data from ext. drive back to Mac. I didn't get all the files. CAN I REVERT BACK TO THE 10.4 OS SO I CAN COPY MY DATA PROPERLY?
How did you copy files to the external drive, and what files did you copy? Did you drag and drop in the Finder? Use a clone utility? What files did not successfully copy?
If you reformatted the drive as part of your install, then you won't be able to recover any files from the drive. Reverting back to (reinstalling) 10.4 will not help you.
Do you have a complete-drive backup of your old system?
Matt -
Hi all,
I'm trying to figure out why my macbook keeps freezing when I try to drag my data across to it (even small files from a USB).
I've had to force restart over a dozen times today :/
I ran EtreCheck and there are a couple of issues (I've no idea what they mean).
If anybody could share some light into the report below I would be very grateful:
Problem description:
Macbook Pro mid 2010, Yosemite, blank new install on 1 TB hdd, keeps freezing when copying data from an ext drive and also from a usb
EtreCheck version: 2.2 (132)
Report generated 5/2/15, 4:55 PM
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
MacBook Pro - model: MacBookPro7,1
1 2.4 GHz Intel Core 2 Duo CPU: 2-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1067 MHz ok
BANK 1/DIMM0
4 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Battery: Health = Normal - Cycle count = 2061 - SN = W013358KQD3BA
Video Information: ℹ️
NVIDIA GeForce 320M - VRAM: 256 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.3 (14D136) - Time since boot: 0:7:25
Disk Information: ℹ️
ST1000LM024 HN-M101MBB disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (968.00 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HL-DT-ST DVDRW GS23N
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Inc. Apple Internal Keyboard / Trackpad
Gatekeeper: ℹ️
Mac App Store and identified developers
Problem System Launch Daemons: ℹ️
[failed] com.apple.mtrecorder.plist
Launch Daemons: ℹ️
[failed] com.apple.spirecorder.plist
User Launch Agents: ℹ️
[failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
[loaded] com.google.keystone.agent.plist [Click for support]
User Login Items: ℹ️
iTunesHelper UNKNOWN Hidden (missing value)
Caffeine Application (/Applications/Caffeine.app)
Internet Plug-ins: ℹ️
Default Browser: Version: 600 - SDK 10.10
QuickTime Plugin: Version: 7.7.3
3rd Party Preference Panes: ℹ️
None
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
20% WindowServer
6% com.apple.WebKit.WebContent(7)
4% Safari
3% hidd
1% launchd
Top Processes by Memory: ℹ️
1.07 GB com.apple.WebKit.WebContent(7)
439 MB kernel_task
90 MB spindump
57 MB mdworker(5)
57 MB Safari
Virtual Memory Information: ℹ️
4.54 GB Free RAM
3.46 GB Used RAM
0 B Swap Used
Diagnostics Information: ℹ️
May 2, 2015, 04:47:31 PM Self test - passed
May 2, 2015, 01:39:52 PM /Library/Logs/DiagnosticReports/DesktopServicesHelper_2015-05-02-133952_[redact ed].cpu_resource.diag [Click for details]
May 2, 2015, 01:23:20 PM /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-05-02-132320 _[redacted].crash
Regards
HozThanks - I had a 1TB hdd in my macbook for about 12 months but it started playing up a few days ago (I got the question mark folder on bootup) so I bought another 1TB hdd (same model) and started from scratch.
My macbook is an early 2010... now I'm wondering if Yosemite is a bit too much for it?
The ext hdd is my timemachine backup, so yes I have used it often and it has my TM backups - and the usb is a new usb which Ive used a few times.
The issue seems to be when Im transferring files from an ext drive to my mac. I can use it fine and browse (worked find for 45 mins) then I tried to bring my data across.. and it copied a few gig over before total freeze.
This has happened about a dozen times.
I keep running disk utility and checking the disk. I also just ran the apple diagnostics tool that came in the apps cd - the hardware apears to be fine.
I have a 250 gb partition for the OS and the rest is my second partition for data.
I'm now wondering if I should reformat the first partition, install leopard from the CD, then upgrade to mavericks and leave it at that.
Any thoughts would be awesome. Thank you for reading and replying!
Hoz -
How to copy data from one BB to another via Desktop Manager
I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300.
Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program.
-
Copy Data from Non CBF Planning Area to CBF Planning Area in APO DP
Hi Experts,
I am working in APO implementation in an automative client, here we have material type Vehi and configurable material.
I have done my forecasting in Non CBF planning area . Now I want to copy Key figure of final conenses forecast which is in non - CBF planning area to a CBF planning area .
Can anybody has worked on similar scenario or worked in copying data from a non - CBF planning area to CBF planning area.
Looking for your valuable inputs
Thanks and regards
KapilHi Kapil!
We have the same need mentioned by you "Copy Data from Non CBF Planning Area to CBF Planning Areau201C.
We obtained the source data, but can not do to write the same in CBF area.
You managed to make the recording of such data in CBF area? How did they do it?
Thanks and regards.
Clelidon
Maybe you are looking for
-
AT A LOSS - Apple TV Suddenly Stops Working
Quick background -- I have an eligible MacBook and the newest AppleTV and everything has been working ok for months. Suddenly, no AppleTV icon on my MacBook (or my iPhone for that matter). I tried everything -- restarting, resetting the AppleTV... an
-
Can't download all old .Mac/Me messages to Mail
Hello, Trying to deal with the move to iCloud... I'm trying to backup all of my online .Mac/Me messages onto my Mac but not all of the messages are downloading from the In box. The messages that were moved into folders (left sidebar) seem to be oka
-
Docky does not launch anymore after big system upgrade
Hi, I get this when trying to launch docky: [1111@MNAME ~]$ docky Could not load file or assembly 'Mono.GetOptions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. Unhandled Exception: System.TypeLoadExc
-
Custom Redirect After Account Creation
By default, a user is automatically redirected to a "welcome page" after his/her account is created. I would like to modify this behaviour. Specifically, I would like to redirect a user to the portal home page after his/her account is created. Is thi
-
Hello everyone, I know I'm lazy and this has probably already been answered somewhere in this forum, but I can't be bothered spending ages searching for it. Why is i-Chat not compatible directly with MSN. Let's face it, no really uses ichat in the bi