Adding New Records Using BPC Data Manager
Hi All,
Thanks for reading my post.
I have a requirement in which file format is as given below
Account|Category|Time|RptCurrency|Amount|Quantity
I am able to upload Amount into my application, I need to update Quantity into another account. I have tried options using *NEWCOL(A) with combinations of with and without Header file format. In case of without header my Transformation is as following:
============================================================
*OPTIONS
FORMAT = DELIMITED
HEADER = NO
DELIMITER =
SKIP = 0
SKIPIF =
CREDITNEGATIVE=NO
VALIDATE_RECORDS=YES
*MAPPING
ACCOUNT = *COL(1)
CATEGORY = *COL(2)
DATASRC = *COL(3)
ENTITY = *COL(4)
RPTCURRENCY = *COL(5)
Time=*COL(6)
AMOUNT=*COL(7)
*CONVERSION
============================================================
I need to add another Mapping to read the Quantity coming in the file but moment I do that, BPC Transformation reports error that Account dimension is already mapped and in second case when I have two columns in the file with Header, Data manager reports error "DUPLICATE SIGNEDDATA"
I may end up having another dimension to store quantity, will appreciate your comments which can be give me some hints to fix this issue.
Regards,
Umesh
Umesh,
What you are trying to achieve is not standard possible. You have in fact two columns with measure data in it, this is not possible with some workarounds.
One possibilitie is that you create a ssis package that in fact loads in the file twice, each go with each own transformation/conversion files, the first go will then load in the amounts, the second the quantity. You have to make sure that the second go is a merge instead of a clear and replace.
Another possibilitie is that you create a ssis that first load in the delivered file in a staging table, combine the amount and quantity table, dump the records to a tempfile and than load in this file using one transformation/conversion file.
I have an example package that does the second possibilitie (never looked/used this package myself, just got it in my library), please drop me an email if you want this example.
Alwin
Similar Messages
-
Any BAPI/Function Module for adding new record with dates in PA0027
Hi all,
I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
thanks for ur time.
MuraliHi Raj/Suresh thanks for ur answers.
but i am having a problem,i gave this values.
INFTY -
0027
NUMBER -
00000010
SUBTYPE -
010
OBJECTID
LOCKINDICATOR
VALIDITYEND -
03/12/2006
VALIDITYBEGIN -
03/01/2006
RECORDNUMBER -
000
RECORD -
P0027
OPERATION -
CHK
TCLAS -
A
DIALOG_MODE -
0
NOCOMMIT -
Y
VIEW_IDENTIFIER
SECONDARY_RECORD
i am getting short dump saying that
The source field is too short.
The current program, "SAPLHRMM", tried to assign a field to a field symbo
However, the field is shorter than the type of the field symbol, which
is not allowed.
The statement in question is in the form ASSIGN f TO <fs> CASTING or
ASSIGN f TO <fs> with a field symbol that was created using the
STRUCTURE addition.
I tried operation - Chage,Create (same thing for all inputs)
is this correct funtion moduel for my requirment?
what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
Thanks for ur time.
Murali. -
Searching attibutes in the record mode in Data Manager
Hi,
If i create a new attribute in taxonomy mode,i cannot view it in the corresponding search in the record mode in Data Manager.The particular attribute which i have added is not getting displayed in the attributes in the search pane.If i have to search for that attribute in the record mode what should i do.
Thanks and Regards,
Preethihi Preethi,
there are a few differencies between fields and attributres
have a look at table:
Tab. 1 Comparison Fields vs. Attributes
from this document
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d4211fa-0301-0010-9fb1-ef1fd91719b6
for search options based on attributes have a look at the bottom
of the table I mention
hope this will clarify a little bit
Regards,
michal -
Insert New Record in Master Data by Code
Hi guys,
I need to insert a new value in an infoobject by code creating:
1 new record in table P (data not time dependent)
1 new record in table S (SID table)
This code could be executed by many tasks in parallel and so it could create problems of concurrency in writing and in quality of the value of new SID selected.
The first question is:
THERE IS A STANDARD CODE THAT INSERT A NEW RECORD ALSO CREATING SIDS, managing concurrency in writing and reading?
The second (if not answer to first)
This is a part of my code (draft)... any suggestions:
insert into TABLE P
INSERT INTO /bic/pzck9idfl VALUES st_p_zck9idfl.
IF sy-subrc = 0.
FLAG = 1.
WHILE FLAG = 0.
SELECT MAX( sid )
INTO v_sididfl
FROM /bic/szck9idfl.
ADD 1 TO v_sid.
*record for SID table
st_zck9idfl-sid = v_sid.
st_zck9idfl-/bic/zck9idfl = v_idfl.
st_zck9idfl-chckfl = 'X'.
st_zck9idfl-datafl = 'X'.
st_zck9idfl-incfl = 'X'.
insert record in SID Table
INSERT INTO /bic/szck9idfl VALUES st_zck9idfl.
COMMIT WORK AND WAIT.
IF Sy-subrc = 0.
SELECT SINGLE FROM /bic/szck9idfl
WHERE SID = v_SID
AND /bic/zck9idfl NE v_idfl.
IF Sy-SUBRC = 0.
FLAG = 1.
ELSE.
FLAG = 0.
ENDIF.
ELSE FLAG = 1.
ENDIF.
ENDWHILE.
Thanks and points to helpful answer!
ciao
C@fHi Claudio,
I would not recommend to do this. Please have a look for standard fm to that job of have a look into the class library to find some methods. On the first look at your code here my comments:
SELECT MAX( sid )
INTO v_sididfl
FROM /bic/szck9idfl.
ADD 1 TO v_sid.
Not a pretty good idea, as there is a number range object for getting a sid for each infoobject. If you get your sid like this, all later standard postings will fail with 'duplicate records'.
*record for SID table
st_zck9idfl-sid = v_sid.
st_zck9idfl-/bic/zck9idfl = v_idfl.
st_zck9idfl-chckfl = 'X'.
st_zck9idfl-datafl = 'X'.
st_zck9idfl-incfl = 'X'.
if you mark all these flags with 'X' you will tell the system that this record is used somewhere in masterdata or in a datatarget and you cannot delete it with standard methods.
regards
Siggi -
Gettig error while adding a pdf file in Data Manager
Dear All,
When I m trying to add a new pdf file in the Data manger then it gives the error as:" Unable to open Adobe Acrobat. See your administrator about installing Adobe Acrobat."
Please help me in adding this pdf file to Data Manager.
Thanks And Regards
Gaurav Kumar sharmaHi Gaurav,
In order to load PDF files Adobe Acrobat® Standard or Professional Version is required and it needs to be installed on the machine that is loading the PDF and not on the Server machine.
That's why it is giving you error to Install Adobe Acrobat. It is also required to generate Thumbnails.
Refer, SAP Note for more details:
https://websmp130.sap-ag.de/sap/support/notes/1258537
Thanks and Regards,
Mandeep Saini -
How to create a new record using a custom method?
Hi I want to create Jdev 11 a new record using the contructor following in the footsteps of http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CACCIJAG/vtTopicFile.adfdevguide%7Cweb_adv~htm/.
My problem is the following.
Messages for this page are listed below.
Error
JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
Error
java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
Error
Object: null is not a known entity type.
Someone can help me?
Cristian.Hello Frank, this tutorial make it and was successful but, what I am trying to do is add a new record in the table departments. The steps undertaken are suguientes
drag over page the contructor department, with a submit, this will drag on the button, the method presistencia, set binding action with "$ (bindings.Departments.result)", and when running the application gives me the error
Nov 2, 2007 10:06:22 PM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: ADFc: JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
I need to know if what I am doing is right, because I followed the steps of the tutorials and it is not functioning the insertion of a new record.
Thank you thank you. -
Email BPC data manager Package log to a team for BPC10 NW
Hi iI found documentation on how to send Data manager package by email. Contained 2 transports but the documentation is for 7.0 NW do you know if they have a documentation for BPC 10 NW ?
Hi Frederic,
Please check the below documnet.
How to Email BPC Data Manager- Formula Log or Package Log
Thanks,
Dinesh.v -
I set up my iphone with my laptop but now its broken is there anyway of adding new song using anpther laptop/desktop computer without erasing everything currently on my phone? I have no access to my old computer and the songs on it are from cds not itunes purchases
Please help!!1) ensure iTunes is authorized for your iTunes store account(s)
2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
3) sync the device
iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer. -
i created new responsability using seeded menu 'Manager Self Service' which is assigned to seded responsability 'Manager Self-Service', when i try to open any function like 'change job' it give me that there are no selected actions although it works with the seeded responsability.
Hi Steven,
Please create a quota template named "Personal site" and apply in self service site creation page, then check again.
http://blogs.msdn.com/b/jimmiet/archive/2012/07/22/10332361.aspx
http://danmyhre.wordpress.com/2010/03/16/my-sites-do-not-have-a-quota-when-they-are-created/
Thanks
Daniel Yang
TechNet Community Support -
Adding new records from time dependent master data
Hi,
i need to keep track of asset movements between costcenters. currently we using costcenter hierarchy, which is not time dependent. But i can see asset movement from one cost center to another in asset master data. if i access costcenter from asset master data report is giving wrong values, because its reading last value of the costcenter. i am using 0FIAA_C11 AND 0FIAA_C12, I need to populate extra record for that asset when it moves one cost center to another cost center, if it moved in 2nd period of current fiscal year, i need to populate two records for that specific fiscal year.
any suggestion or solution.
regards
rajaIf you make cost center a time dependent attribute of 0ASSET you will be able to track the changes undergone by an asset. Anytime a costcenter changes for the asset there will be a new record that will be created and the old one will be delimited.
-
Adding new field using EEWB and using it for Pricing
Using the Easy enhancement workbench, I have created a new tab containing a new field at the item level of contract. Then in SPRO, in the field catalog, I added a new entry using the same field name and data element name. Created a new condition table with this new field. created access sequence and assigned it to a condition type.
I tried to maintain condition record for the condition type but initially it was showing some error for which I had to implement a new method for the BAdi /SAPCND/ROLLNAME.
Now. condition record is also maintained successfully.
But, the problem is that the value is not reflected at the contract.
Somehow, the condition record is not being picked up.
Please suggest some solution.
Regards,
Anindita RoyChowdhury.Hi Anindita,
Stpes mentioned in your questions are fine.
You have created new Screen @ item level in Order txn, right?
Did u checked value passed to the method of BAdI ?
As per my knowledge, pricing call must have happened before you fill the Zfield which u added in new screen. Hence no value in field and no effect on pricing.
Regards,
Deven -
Adding new field to Master Data
Hi All,
I have one master data which is business content.
i need to add one custom field in that with the status information of records. that new field will get data from R/3 status table via extractor from CMOD.
now this Master data is having delta.
my confusion is if i add new field in it how the delta will react ? coz there are different status - eg. when user create the status - it will be "created" that time delta will pick up that record coz it has been changed. Now if user changes status to "closed" or "in transit" how delta will react ?
i meant is it doable to do like that ? any guidance will be appreciated.
Thanks in advance.Smith,
Your master data extractor will continue to give your existing fields- as for delta - it depends on how the delta is managed - you would have to find that oiut - is it on timestamp / date et etc... ?
CMOD will change only the extract structure and whenever this datasource is called - CMOD fills in the additional field - nothin about delta / init here...
Arun -
Adding new fields to the data flow
Hi,
I am currently planning to add some new fields in one DSO and map it (with info source) in the update rules.
Will adding new fields to Info source - Comm. structure affect all the update rules connected to it?
The info source is connected to multiple DSO.
(The data source is currently under enhancement for these fields). Once this is done, we have to replicate it to BW.
Thanks,
Naveenyes.
Once the enhancement is done for data source in r/3 side, you will have to replicate the datasource in BW.
Adding new fields will deactivate the update rules. You have to map the same in update rule and activate the same.
This will require activation of transformations, update rules, etc for related DSOs. Try to find out the where used list for the DSO where you want to add the new objects. Then check each objects whether these are activate after the changes. If these are inactive, you will have to activate all the objects.
Cheers
Chanda -
Receiving error in BPC Data Manager while running Export package.
We are in a multi server environment and receiving below error message while running Export package.
Have anyone seen below error message in BPC 5.1
An error occurred while executing a package.
Package Error Events:
ErrorCode = -1073668060
Source = Dump Data
SubComponent=
Description = The task "Dump Data" cannot run on this edition of Integration Services. It requires a higher level edition.
IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}
Thanks
SridharBelow are our BPC versions:
BPC on Server Manager: 5.0.486
Data Manager from eData: 5.0.484
BPC from eTool: 5.0.486
Below is the total error message as per your suggestion to run Export package. (even with service account which we used to install the software we are getting same error message.)
TOTAL STEPS 2
1. Dump Data: Failed in 0 sec.
[Selection]
FILE=\ApShell_SK\FINANCE\DataManager\DataFiles\SKTEST.TXT
TRANSFORMATION=\ApShell_SK\FINANCE\DataManager\TransformationFiles\System Files\Export.xls
MEASURENAME=PERIODIC
(Member Selection)
Category: ACTUAL
Time: 2006.JAN
Entity:
Account:
DataSrc:
IntCo:
RptCurrency:
[Messages]
An error occurred while executing a package.
Package Error Events:
ErrorCode = -1073668060
Source = Dump Data
SubComponent=
Description = The task "Dump Data" cannot run on this edition of Integration Services. It requires a higher level edition.
IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC} -
Error adding new records in an user table
Hi
I'm trying to add a new record in an user table, and after calling the add method I get the next error message:
"Generating this document requieres numbering to be determined for the document".
I've defined my user table as Master Data, and the source code is as follows:
dim m_UserTable as SAPbobsCOM.UserTable
m_UserTable = SboCompany.UserTables.Item(UserTable)
m_usertable.Code = NewValue
m_usertable.UserFields.Fields.Item("U_FIELD1").Value = NewValue
if m_userTable.add() <> 0 then
SboCompany.GetLastError(lngError, strerror)
SboApplication.MessageBox(strerror)
end if
Thanks and Best Regards
DaniHi Dani,
when you create a user Table as "Master Data", this table becomes a part of a UDO (User Data Object) that you have to create too.
In the version 2004A, you don't have the possibility to enter information in these kind of table using the DI. You can only do it thru the application.
You can look at a post called "Access to UDO via DI" posted 16th December 2004
Sebastien
Maybe you are looking for
-
Recently I got a new laptop, with excel 2010 version and acrobat 9 standard. I could no longer print (save as) an excel file with multiple tabs into a pdf file with bookmarks. My old computer has excel 2007 version and acrobat 9 standard. Print an ex
-
Backing up files on External Hard Drive
I attached a Seagate 3TB back up Hard Drive to my desk top MAC and Have now backed up all my files including iMovies[ using Time machine ] .. I now want to delete some of the i movies on my MAC to make room to add more. Is this O.K. to do? Any oth
-
Which one should i buy an ipad mini wifi and cellular or an iphone 5 ? ineed an iadvice
i have been using ipod touch 5th gen and i thing its just right . it is right about the thin design the iphone 5 optics iphone 4s chip and a camera of an iphone 4 its preety nice actually ive been using it for a month its pretty good in performance..
-
Extended desktop mode with external display
I use my Macbook with an external display. Sometimes I need to use extended desktop mode and sometimes I don't need the extra desktop space and prefer to work only with my external display. My needs change as I work throughout the day and I'm getting
-
I am using PCI-6052 with (LabVIEW) .Where two analog outputs are available ,DAC0 and DAC1.I want to simultanouly output the different waveforms on each Channel at the same time.Time is important. I tried it with two DAQ assistance vi's setting each c