Chnage pointers table updation
Hello,
I am updating the EKPO-Netpr field using programm.After updation i am trying to extract the data for BW.But there is no change pointer are created for this table updation.
Can you please clarify,How to create change pointers for table updation?
Best regards,
Shyam
Hi ,
You need to create a change document object for that from transaction SCDO .
After that you need to call the automatically created function module (during creation of change Doc. Object)
from your program where you wrote the update or insert statement after those statement.
Now those changes will reflect on the database table CDPOS and CDHDR .
Please check the link - -
[https://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document]
Regards
Pinaki
Similar Messages
-
BDCPS (Chane Pointers table updation).
Hi Friends,
could you please help me, Actually we have changed the vendor master data in MK02, when i modified the vendor master data in MK02 That time the system updates the Change pointers table BDCPS.
Could you please help me where the BDCPS table updates at time vendor master change in MK02
Please help me
Thanks.
Charnn.Why don't you use ST05 to trace the SQL executions upon that table, you'll then be able to easily reach the ABAP source line. By the way, the CHANGE_POINTERS_CREATE* function modules are used to write change pointers. See [sap library|http://help.sap.com/saphelp_nw2004s/helpdata/en/78/2178da51ce11d189570000e829fbbd/frameset.htm]
-
RAISING AN EVENT WHEN DATABASE TABLE UPDATES
hi all,
i want to raise an event when database table updates.For eg : if a price of a material has been changed then i have to raise an event and run the abap program in back ground.i know transaction SM62 to create event, i dont know about transaction SM64. please give me the procedure how to solve this problem. i dont know work flow. please give me a sample code how to raise event.
thanka and regards
sureshHi Suresh
It is important to understand that the SAP architecture abstracts the database from the application.
I think that you should look for ways that the application triggers an event when an update has taken place, rather than the DB.
Two ways of doing this that spring to mind are change pointers (for the ALE interface, see menu SALE) and Business Transaction Events (various things including CRM integration, see menu FIBF).
The latter works very well for sending prices to CRM when they change. I am more familiar with this than ALE so I will discuss it.
If you go to menu FIBF and then follow menu path Environment -> Info System (P/S), and then run the report for event 00503301, you can find documentation and a sample function module that you can copy.
Once you register your new function module in the event tables then it will be called when prices are changed.
Cheers
Dom -
Ways to find Tables updated by Transaction
Hi,
I am having the list of transactions.I want to find the list of tables updated by the transaction.
I need the various ways to find the same and let me know the best method for that.
Any pointers will be highly appreciated.
Edited by: Jayanthi Jayaraman on Dec 20, 2007 5:24 AMHi Jayanthi,
Try FM RS_PROGRAM_TABLES
give Object_type as TRAN
object_name as FB01
it gives the list of tables effected by that TCODE
see the output
These are the tables where delete statement is used on this table
Delete
Table Description
TFBUF Table for FI Data Puffers
These are the tables where the data is updated
Change
Table Description
BSEG Accounting Document Segment
BSEU Line Item Additional Information (Update)
BSEZ Line Item Additional Information (Online)
RFDT Accounting Data (INDX Structure)
SKB1 G/L account master (company code)
TFBUF Table for FI Data Puffers
these are the tables READ , used in select statements
Read
Table Description
BKDF Document Header Supplement for Recurring Entry
BKPF Accounting Document Header
BNKA Bank master record
BSEC One-Time Account Data Document Segment
BSED Bill of Exchange Fields Document Segment
BSEG Accounting Document Segment
BSET Tax Data Document Segment
BSID Accounting: Secondary Index for Customers
BSIK Accounting: Secondary Index for Vendors
BSIX Index table for customer bills of exchange used
IDBUPLA_AC Activate Business Place per country -
Auto update of Ztable when ever BSID or BSAD tables updated
Auto update of Ztable when ever DB table updated
Hi experts
I want my Ztable get updated automatically when ever a record is created or updated in BSID or BSAD tables.
Here clear requirement
Generally using Company code & Allocation number ( 18 char ) my programs access BSID & BSAD tables it is taking very long time for execution almost more than 30 minutes ( data in millions ).
Step 1.
I created a new Ztable with limited fields Company Code, Customer, Document, Allocation Number and Posting date.
Step 2.
Before look into BSID or BSAD my program searches Ztable for Customer number & Document number using Allocation field and Company code.
Step 3.
Once get the Customer & Document numbers accessing BSID & BSAD table is very easy (now just taking less than 1 minute).
Created a new program to update Ztable every day but BSID and BSAD are live table so I want my Ztable get updated immediately when any entry posted in BSID or BSAD
Please help me
Satya
SingaporeYou need to check what is the procedure (T-Code) from which the data gets updated into these tables.
For example
when we craete a material from MM01 the data gets updated in the corresponding table i.e. EKPO.
In same way you need to find the process and then you can use BTE (Busineess transaction events) for that process. BTE are only for FI module and these tables are also related to FI . -
Problem in MSEG Table updation
Hello All,
The problem is related to MSEG table updation after Stock Transport Order (STO) is done between Manufacturing plant & Depot. The problem is described below with an example.
In case of STO the Supplying Plant or vendor is SP02 and the Receiving Plant or the customer is RP15.in the STO under the shipping tab for Customer the system is showing RP15 and under the Delivery address tab for Vendor the system is showing SP02.
While during PGI when the material document is generated when we check the MSEG table two line items have been generated where we found that the field WERKS contained SP02 & RP15 against which the feld XAUTO is showing blank space & X symbol respectively.But in case of both LIFNR & KUNNR fields it is showing blank space, which indicates that both the vendor & customer fields are not getting updated in the MSEG table.
Now I want the system to pick up the data for KUNNR field (in case of XAUTO is X) also in the MSEG table i.e. RP15 should also be displayed in the MSEG table.
Is there any configuration to attain my requirement?
Looking forward to some valuable suggestions.
Thanks & Regards
Priyanka Mitrathe ADRx tables are central tables that are used from various transactions in SAP.
e.g. from customizing, master data maintenance, transactional data, such as purchase orders and sales orders.
use the ADRNR from ADR6 table and then lookup an entry in table ADRC to find and hint to its origin field ADDR_GROUP -
Calling Batch input from Web Dynpro - any alternatives for table updates?
Hi!
I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ? We are not supposed to do direct table updates.
Anyone who have struggled with the same issues and found a solution??
regards, TineHi,
as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
Thanks,
Chandra -
How to capture the table update
How to capture the table update.Suppose I delete a enrtry from the table or mofying any entry in a table is there way to capture that update in SAP?
hi ,
follow these steps:
1. After you selecte the search help for New Responislbe person, domodify gets triggered.
2. In the wddomodify, get the value of New Responsible person by reading the attribute binded to it.
3. Now if Value entered is not initial, write a selecte query to fetch the name based on pernr no.
4. Finally bind the name fetched with the attribute binded to New Responsible person name.
Wdomodify :
************* *Read the New REsponsible person Pernr* ***********
DATA lo_nd_cn_sflight TYPE REF TO if_wd_context_node.
DATA lo_el_cn_sflight TYPE REF TO if_wd_context_element.
DATA ls_cn_sflight TYPE wd_this->element_cn_sflight.
DATA lv_carrid LIKE ls_cn_sflight-carrid.
* navigate from <CONTEXT> to <CN_SFLIGHT> via lead selection
lo_nd_cn_sflight = wd_context->get_child_node( name = wd_this->wdctx_cn_sflight ).
* get element via lead selection
lo_el_cn_sflight = lo_nd_cn_sflight->get_element( ).
* get single attribute
lo_el_cn_sflight->get_attribute(
EXPORTING
name = `PERNR`
IMPORTING
value = lv_carrid ).
****** *Check whethre a value has been entered in PERNR* *************
if lv_carrid is not initial.
*************Select Name based on pernr entered* ***********
select ename from pa001 into lv_ename where pernr = lv_carrid.
*******Set the Name atttribute with the ename value fetched* *****
lo_el_cn_sflight->set_attribute(
name = `NAME`
value = lv_cename ).
endif. -
Why to use chnage pointers for master data idoc why not the change idoc
Hi Gurus,
I have one doubt about Idoc.
When changes to master data has to be sent Change pointers are configured and used. (CDPOS & CDHDR). In case of the transaction data change change idoc is used as is the case with orders (we use ORDCHG for ORDERS message type to send the chnage details to a order which was already sent to other system.
Why we can't use change idoc or message type whatever, instead of Chnage pointers in case of master data or vice versa in case of transaction data.
Your valuable input will be rewarded with suitable points!!
-B S B.Hi,
It was a good question ... SAP seems never designed the change pointer to handle transactional data IDocs. Only for master data IDocs distribution purposes.
It may due to volume data ... the transactional data can change many times within a day compare with master data which hardly change or once a while.
Regards,
Ferry Lianto -
Tables updating for atransaction
Hi All,
i wnat to know is there any transaction code or program to know the tables updated for a transaction.
we have a transaction called PPOM and FS00 ,i want to know which tables are updated when i create new records for these transaction codes.
With regards,
kiran IHi,
You can check tables CDHDR and CDPOS tables.
You can check the modified tables, values, by which transaction does this modification has been done.
Give current date to check. As these are cluster tables, it may take some time for retrieving data.
CDHDR - header details
CDPOS - item details
Regards,
Sailaja.
Dont forget to reward points, if answer helps you.
Message was edited by: Sailaja N.L. -
Tables updated while creating order, before saving
hi friends,
Please provide list of tables updated while creating the order, before saving it.
regards,
vandana aroraHi
The following tables get updated
VBBE - Sales Requirement
VBLB - Release Order Data
VBAK - Sales Document Header
VBPA - Partner Table
VEPVG - Delivery Due Index
VBAP - Sales Document Item Data
VKDFS - SD Index: Billing initiator
VAPMA - SD Index: Order Item by Material
VAKPA - SD Index: Order Item by Partner Function
VBEP - Schedule Line
VBKD - Sales Doc: Business Data
VBEH - Schedule Line History -
How downtime can be reduced for setup table update.
Hi;
Can anyone tell me various ways to reduced system downtime for setup table updates.
thanks
Warm Regards
SharebwHi,
You will need to fill the set up tables in 'no postings period'. In other words when no trasnactions are posted for that area in R/3 otherwise those records will not come to BW. Discuss this with end user and decide. Weekends are a general choice for this activity.
try Early Delta Initialization
With early delta initialization, you have the option of writing the data into the delta queue or into the delta tables for the application during the initialization request in the source system. This means that you are able to execute the initialization of the delta process (the init request), without having to stop the posting of data in the source system. The option of executing an early delta initialization is only available if the DataSource extractor called in the source system with this data request supports this.
Extractors that support early delta initialization are delivered with Plug-Ins as of Plug-In (-A) 2002.1.
You cannot run an initialization simulation together with an early delta initialization.
hope this link may make you clear about early delta init
http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/frameset.htm
thanks,
JituK -
Which are the tables updated in SRM and R/3 System for SC created?
Hi,
I want to know which are the tables updated in SRM system and also in R/3 system, when a Shopping Cart is created. Also how do i get the PO number for the Shopping Cart created.
Thanks.
Regards.
RahulHello Rahul,
All list of tables for eg. SC You can find in transaction BBP_PD on SRM side.
These tables are (SRM):
- CRMD_ORDERADM_H - for Header (Business Transactions Header)
- BBP_PDHGP - Business Transaction Purchasing Information
- CRMD_ORDERADM_I - for Item - Business Transaction Item
- BBP_PDIGP - Business transaction item-Purchasing information
- BBP_PDBEI - Backend Specific Item Data
On R/3 side:
EBAN - purchase requisition
EBKN - purch. req. account assignment
Regards,
Marcin Gajewski
please reward points for helpful answer -
Hi
Facing a problem with wrong VBAP table updation.
Sales order shows Business Area" A " at both header and Item Level but in VBAP table the business area updated is " B ". can't understand why it is happening.
Changelog doesn't indicate anything
Thanks and regards
NikhilHi,
Can you check how the business rule that is assigned at SPRO-> Sales and distribution -> basic functions -> Account assignment/Costing -> Business area account assignment?
Regards -
Table Updation through Workflow
Hi All,
I have a scenario in my project in which a workflow is to be triggered when an entry is made in a table.
Now this workflow has to read some data from some tables and then update some other tables.
My doubt is it possible through workflows to update the tables? If yes is it advisable.Also how will the
updation happen? Should methods for updation will be written in BO methods? Or should a task be called
which does the same.
Please suggest,
Saket.Hi Saket,
Yes it is possible!
To trigger workflow from table updates you can use table level events. Refer to
Re: WorkFlow when Data is changed in Table or program
Also you can update a table from a workflow. To do this, create an Activity step in workflow. In this, you can call a BO method. This BO method would store the code to update the database table required.
Just take care of the bindings between the method -> task -> workflow container.
Hope this helps!
Regards,
Saumya
Maybe you are looking for
-
Ajuda para fazer retorno de NF-e com mensageria não SAP
Bom dia pessoal. Estamos fazendo um arquivo XML para uma mensageria não SAP e estamos criando isso com um enhancement point na função J_1B_NFE_XML_OUT chamando uma função Z para efetuar o download dos files. Agora estou começando a criar um programa
-
Not able to extarct all product data from t code crmd_order
Hi experts, My Datasource is 0CRM_SALES_CONTR_I. The data in the source system (CRM) looks like (in T-code crmd_order) Contract (header level) Setvice Item Material A Material B The Extractor (standard one) is picking up the Contact (header level) it
-
Help! iPhone reset itself
My iPhone was running low on battery about 14% so I plug it in and it shuts off, and resets itself. Why would my phone do this and what should I do about it? I lost all my information on my phone.
-
Can not use default screen saver with this version of Mac OS X
Hello, I created a 10.6.4 image on a Mac Pro that I have installed on a new 27" iMac. Every thing works fine, as expected, except the screen savers (all Apple default). All screen savers appear in the list when booted off the Mac Pro, but when booted
-
Opening an Access table in Oracle through ODBC
Hi all, Is it possible to open a linked table (Access or similar, or any other ODBC accessible table), similar to how one can make an ODBC table accessible as a linked table within an Access database. If not, is there an easy method to download an OD