Transactional data synchronization
Hi,
Looking for approach on transactional data synchronization, and guidance as to where i can find further info to know pros & cons for such approaches.
For instance, when a banking customer makes an account transfer on a self-service Web site, the site must immediately reflect changes to his account. Account information stored in the bank's back-office systems must be synchronized through a transaction with the database backing the Web site.
Thanks.
Maybe you can try something like this:
MERGE INTO emp e
USING (SELECT cep1.operation$, cep1.empno, cep1.NAME,
TO_NUMBER (NULL) chg_empno, TO_CHAR (NULL) chg_name
FROM cdc_v_emp cep1
WHERE cep1.operation$ = 'I'
UNION ALL
SELECT cep2.operation$, cep1.empno, cep1.NAME, cep2.empno,
cep2.NAME
FROM cdc_v_emp cep1, cdc_v_emp cep2
WHERE cep1.cscn$ = cep2.cscn$
AND cep1.rsid$ = cep2.rsid$
AND cep1.operation$ = 'UU'
AND cep2.operation$ = 'UN'
ORDER BY cep1.cscn$, cep1.rsid$) c
ON (e.empno = c.empno)
WHEN MATCHED THEN
UPDATE
SET e.empno = c.chg_empno, e.NAME = c.chg_name
WHEN NOT MATCHED THEN
INSERT (e.empno, e.NAME)
VALUES (c.empno, c.NAME);:)
PS: Note that I changed the order (and name) of some columns in the "USING" query.
.
Similar Messages
-
How To... Update Master Data during upload of transaction data
Can anybody let me know how this can be achieved.
I have datasource (Legacy not R3) where I am getting both master data and text for number of infoobjects.
I dont want separate datasources.
The datasource is actually transactional datasource.
I dont need text in the cubes or DSO I need the text tables of the infoobjects to be updated.
I could find this on SDN but do anyone have document based on the below link.I was not able to find it.
How To... Update Master Data during upload of transaction data
Thanks.Dear Praveen
I guess yr req is demanding the knowledge of Data Unification and Synchronization whose scope is a bit outer the area of BW.( its MDM actually )
In BW we could very well fetch data out of different data sources (even across the different system) with no issues so why not u trying that. if there is any issue implementing that then please specify what kind of trouble you are interfacing...
I got the below link which may be helpful
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bd6389-0a01-0010-eb95-d45835d446a8 -
Not able to Retrieve Transaction Data based on the property of master data
Hi,
I am trying to retrieve transaction data based on property of Master Data for ACCOUNT (property ACCTYPE = ‘EXP’)
in BPC 10 version for netweaver.
Transaction data is present at backend, But I am not getting data in Internal table after running RSDRI Query.
I am using this code.
DATA: lt_sel TYPE uj0_t_sel,
ls_sel TYPE uj0_s_sel.
ls_sel-dimension = 'ACCOUNT'.
ls_sel-attribute = 'ACCTYPE'.
ls_sel-sign = 'I'.
ls_sel-option = 'EQ'.
ls_sel-low = 'EXP'.
APPEND ls_sel TO lt_sel.
lo_query = cl_ujo_query_factory=>get_query_adapter(
i_appset_id = lv_environment_id
i_appl_id = lv_application_id ).
lo_query->run_rsdri_query(
EXPORTING
it_dim_name = lt_dim_list " BPC: Dimension List
it_range = lt_sel" BPC: Selection condition
if_check_security = ABAP_FALSE " BPC: Generic indicator
IMPORTING
et_data = <lt_query_result>
et_message = lt_message
Data is coming if i use ID of ACCOUNT directly, for e.g.
ls_sel-dimension = 'ACCOUNT'.
ls_sel-attribute = 'ID'.
ls_sel-sign = 'I'.
ls_sel-option = 'EQ'.
ls_sel-low = 'PL110.
APPEND ls_sel TO lt_sel.
so in this case data is coming , but it is not coming for property.
So Please can you help me on this.
Thanks,
RishiHi Rishi,
There are 2 steps you need to do,.
1. read all the master data with the property you required into a internal table. in your case use ACCTYPE' = EXP
2. read transaction data with the masterdata you just selected.
Then you will get all your results.
Andy -
Diff B/W master data and transaction data
Hi all,
What is the main Diff B/W master data and transaction data. give me some example ?
Thanks in Advance
Krish...hi krish,
MASTER Data is the data that exists in the organization like employee details, material master, customer master, vendor master etc. These are generally created once.
Master data are distributed throughout the company, they are often not standardised and often redundant. As a result it is very costly to offer efficient customer service, keep track of supply chains and make strategic decisions. With SAP Master Data Management (SAP MDM) these important business data from across the company can be brought together, harmonised and made accessible to all staff and business partners. As a key component of SAP NetWeaver, SAP MDM ensures data integrity via all IT systems.
Regardless of the industry, companies often work with different ERP and Legacy systems. The result: the business processes are based on information about customers, partners and products which is displayed in different ways in the systems. If the data are recorded manually, there are more inconsistencies: some data sets are entered several times, others cannot be retrieved by all divisions of the company.
As corporate applications are becoming increasingly complex and produce ever greater amounts of data, the problem is intensified further. Nevertheless, your employees must work with the inconsistent data and make decisions on this basis. The lack of standardised master data easily leads to wrong decisions, which restrict efficiency and threaten customer satisfaction and profitability.
In a word: in order to save costs and ensure your companys success it is necessary to consolidate master data about customers, partners and products, make them available to all employees beyond system boundaries and use attributes valid company-wide for the purpose of description.
TRASNACTION Data - These are the business documents that you create using the master data - Purchase orders, sales orders etc
http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/193e4045796913e10000000a1550b0/content.htm
Regards,
GNK. -
Problem while data processing TRANSACTION data from DSO to CUBE
Hi Guru's,
we are facing problem while data processing TRANSACTION data from DSO to CUBE. data packets processing very slowly and updating .Please help me regarding this.
Thanks and regards,
SridharHi,
I will suggest you to check a few places where you can see the status
1) SM37 job log (give BIrequest name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
3) RSMO see what is available in details tab. It may be in update rules.
4) ST22 check if any short dump has occured.
You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
If you feel its active and running you can verify by checking if the number of records has increased in the cube.
Thanks,
JituK -
AR Transaction Data vs Line Item
Hello,
I have need to generate a report with some degree of detail and I am having an issue understanding the correlation between AR Transaction Data and Line Item. In a report I would like to show sales for the period and AR balances and I need to be able to drill down on these (at Profit center level or Business Area Level both Characteristics have been added to the extractor and are being populated).
How is Sales for Period derived in Transaction Data? Can I create this same Key Figure at the Line Item Level?
Any assistance is greatly appreciated.
MKSales are derived from the posting key used to post a AR document
The posting key is either sales/turnover relevant or not
As peopel use posting keys for all sorts of thingss- this is not the ideal solution to report Sales
it also includes VAT
ow ar eyou planning to add Profit Centre -?
Conside the following document
Dr Debtors £117.50
Cr Reveneu Prfit centre 1 £50
Cr reveneue Profit Centre 2 £50
Cr VAT £17.50
how are you going to get the profit centre onto the debtors postings?
You can't... you can see the data in 0EC_PCA_4 or you can join Ar4 ODS to the GL ODS via an infoset -
Enhance BW Extractor - Transactional data ABAP CODING ERROR
i need to enhance CRM extractor with additional field.
This is transactional data so i used Exit_rs_001
Here is the extractor result -
Guid...date...........objectid...item guid
1122......1.1.10....901..........8811
1122......2.1.10....901..........8812
1123......1.1.10....902..........8813
1123......2.1.10....902..........8814
now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
itemguid...referencekey...product
8811............01.................110011
8812............02.................110012
8813............03.................110013
now i want to extract data--
Guid...date...........objectid...item guid...product
1122......1.1.10....901..........8811.........110011
1122......2.1.10....901..........8812.........110012
1123......1.1.10....902..........8813.........110013
so i appended the extractor...with field zproduct
FOLLOWING Code doesnot work:::
DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
CASE I_DATASOURCE.
FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
CASE i_datasource.
WHEN 'ziw_orderma_i.'. " Upper case
LOOP AT c_t_data ASSIGNING <PRO_01>.
SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.actually
coding doesnt give any error
but in output in rsa3 i dont see any data
it worked fine wit the same code for master data datasource in exit...2
now same code different parameters doesnt work in exit..1 for transactional data. -
Downloding the SAP master data and transaction data to a flat file
Hello All,
Is there any SAP standard method or transaction to download the SAP master data and transaction data to flat file.
With out using ABAP development, SAP had provided any tool or method to download the SAP system master and transaction data to flat file.
Thanks,
Feroz.hi
as of now up to my knowledge no. -
Transaction data loading error
I have one info-cube: C1, characterstic: Time(0calday), material number(IO_MAT), company code (0comp_code)
key figure: price of material (IO_PRC)
I create one datasource for transaction data
Material Comp code Price
110001 7770 23
when I create transformation, it says error 1::
Rule 2 (target field: IO_PRC): Field PRICE must be assigned to an InfoObject
Message no. RSTRAN526
Diagnosis
No InfoObject is assigned to field PRICE. This is mandatory if you want to use the corresponding rule type.
System Response
The rule is invalid.
Procedure
Assign an InfoObject to the field
error 2:
Key rule 3 (target field: 0CALDAY): Initial update set
Message no. RSTRAN508
do I need another column in my upload file for date? should I put "16/11/2011" or "11.16.2011" for example?
if I don't provide date, is it ok to run DTP? thankshi,
I already have key figure IO_PRC( price) defined and in my datasource, I have also a field called " price" as well as in the upload file. and I already create a mapping by link "price" (upload file field) and IO_PRC (key figure)
The issue is:
No InfoObject is assigned to field PRICE.
and second issue is:
Rule (target field: IO_PRC): No source unit assigned
Message no. RSTRAN517
My key figure IO_PRC is defined as:
Data type: CURR, fixed currency: USD Unit/currency: empty, Data element: /BIC/OIIO_PRC
anything missing? -
Transactional data loads PIR, IM stock, Open PO's documentation
I have to make a documentation of the process of transactional data loads.
transactional data loads pirchase info rec, IM stock, Open PO's
the transactional data is live in both sap and legacy, so they have to be even in both systems in all stages of this process.
how do i maintain that is the question.
send me any details regarding this.
thank you
sridharCheck these three thigns
/n/sapapo/CCR
/n/sapapo/CQ
Check what type of stock has active IM, and what type of stock went in after you created the GR.
Still if you have any problem let us know.
My -
Transactional data PIR, IM stock, Open PO's documentation
I have to make a documentation of the process of transactional data loads.
transactional data loads pirchase info rec, IM stock, Open PO's
the transactional data is live in both sap and legacy, so they have to be even in both systems in all stages of this process.
how do i maintain that is the question.
send me any details regarding this.
thank you
sridharCIN Master data
J1ID - Material Chapter ID / Customer Excise Details / Vendor Excise Details.
Data Migration
To load open POs use BAPI - BAPI_PO_CREATE1
To load open stock use BAPI - BAPI_GOODSMVT_CREATE
To load Invoices use BAPI - BAPI_INCOMINGINVOICE_CREATE -
How to delete the Transaction Data in CRM
Hi Gurus,
I have a requirement to delete the Transaction Data in one Client.
But Configuration should be as it is ?
How can i over come this situation?HI.
Do you mean refresh the client ? if that is the case, i think you are posting in wrong forum since this one is for People Centric User Interface. Try in Customer "Relationship Management (CRM) - General & Framework".
Best Regards.
Armando Rodriguez. -
How to get XLR to show BPs with no transaction data for a given date range
Hi -
I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
The report has the row expansion:
FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
and column expansions:
FIG(SO_TaxDate = @StartDate:@EndDate)
and
FIG(SO_TaxDate = @StartDate2:@EndDate2)
where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
The column formulas are, from left to right:
=ixDimGet("BPA", "CardName")
=ixGet("SO_DocTotal") <-- filtered by column expansion for first date range
=ixGet("SO_DocTotal") <-- filtered by column expansion for second date range
The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
Any help is greatly appreciated!
Thanks,
Lang RileyReally appreciate your feedback! Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query.
Using **, i.e., * or #NULL, makes no change in the resulting data in this case. I had thought that ** would be the solution, but it didn't change the outcome. I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear.
I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set. It seems that perhaps the IXL query needs to be restructured? Please keep the suggestions coming including how this query might be restructured if necessary. -
SAP BPC 7.5 - Netweaver- File Upload -Transaction data along with comments
Hi,
We have a requirement to upload a file containing comments along with transaction data.
We are planning to store commnents in a Ztable from the flat file and read and post comments in the BADI
using UJC*Add_cmt.
Use a custom process chain to execute the above steps and link to a pakage.
Please let me know if there is a better process/how to doc and any code for the above.
Your early reponse is much appreciated.
Regards,
VenkataHi Venkata,
*MVAL function allows you to use multiple time period columns. I don't think this may help your scenario. I my opinion you may need to use two transformation files to bring the data from BW cube to BPC. BPC is an account base model, I don't think you can load the data in two columns in BW cube using one transformation file.
Thanks -
Error while activating Transactional data source
I am facing the below error while activating the transactional data source.
Field Revenue ( Position 7 ): Amount Field in Internal Format, Check Settings.
Can nyone plz let me know.Hi Reddy,
You might have created the Revenue field Currency as "Fixed Currency" like INR or USD.
In the Datasouce Def - Fields tab you have Internal format for a field then you should have the reference field to specify the external format like 0currency.
In your case you have not taken any reference field 0currency. So you should n't specify the revenue field in Internal format,
As Shashank said, Please change it to External format and Activate the DS.
Thanks
Sreekanth.
Maybe you are looking for
-
Firefox cant connect to the internet after a while of being on
Hi, I posted this question some time ago and since i didnt get any working solution and I still have this issue I am reposting it now. My problem is simple: I start up my computer and open Firefox. I browse the internet normally. No problem so far. B
-
Language Conversion issue of HWC SUP APP
Hello Experts Can any one have idea for conversion the hwc sup App from English to other language(French) which was built in SUP2.1.3? Thanks in advanced for your suggestion. Thanks Anil
-
No messages return from CALL TRANSACTION ABZON
Hi all, I'm implementing an BDC program for multiple asset txn posting with tcode ABZON. If there's an error during the posting, I can get the detail system messages. However, nothing was returned from it if posting was successful. The sy-subrc is 0
-
Discriminate between syslog messages - targets
Hi there, I might be trying to do the impossible here, but I am trying to get my ASA 8.2(1) to send certain syslog messages to one host and other messages to another host. By default we are using facility 23 as our logging facility. Loggin
-
Hi Experts, When i trying to deploy application using RFC the following error appears... There is some thing missing in the properties of 'WD_RFC_METADATA_DEST or SLD in step 4.2 (Msg. Server) when Create new JCo Destination, The System Name and