Additional flag for change pointer needed
i need to store an additional "characteristic flag" for some of the changes made to routings in TC CA02 .....
how can i get the actual CHANGENR of CDHDR/CDPOS to save it somewhere together with my flag for future reporting on routing-changes for this flag ?
Hi,
If the chnage document flag is ticked at data element lever automatically chnage pointers will be triggered and u cna seee the changes in table BDCP and status in BDCPS.
Reward ponts if useful.
Regards,
Sasi
Similar Messages
-
Customization for Change Pointer Mechanism in IDOC Programming?
Hi,
Can anyone suggest me that
We want to Maintain Master and Transactional Data in Different SAP Servers.I want to Send the Master Data to the other Server but before IDOC Creation i need to Display all Created or Changed Master Data then Our endusers will select Specific Master Data then only IDOC will create for that Master Data and Created IDOCs will send to the other SAP Server where Transactional Data is Maintained.
In Change Poinetr Mechanism it is not possible to see the Created or Changed Master Data before IDOC is going to be Created.But i need to Display the Master Data.
Please give me an idea to solve this or if you have any solution then send me.Hi,
When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention. If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen. Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
Thanks,
Mahesh. -
Need "test run" flag for change BAPI of fixed assets
Hi Experts,
There will be 'Test Run Flag' in the Bapi.Please tell where it will be given with in the BAPI . For example, in 'BAPI_FIXEDASSET_CREAT'.
Thanks,
gsaasg.
Edited by: Julius Bussche on Sep 5, 2009 11:28 PM
Please use meaningfull subject titlesHi,
Test Run flag field is not available for the requested BAPI, but it is in the BAPI BAPI_FIXEDASSET_CREATE1
VALUE(TESTRUN) LIKE BAPI1022_MISC-TESTRUN OPTIONAL
Please test this new BAPI whether it will meet your requirement or not.
Thanks,
Mahesh. -
Change pointer for HR master data is not getting generated in table BDCP
Hi,
I have done all the required configuration for change pointer for HR master Distribution and it was working fine few days back. Now suddnly it has stopped working.
Can anyone assist me on how should i debug it.
Thanks
Sunil SinghHi Shital,
Thanks for your Reply.
I am not able to find that path in SPRO
Basic Functions-> application Area
And Also My change pointer configuration was working properly and it suddenly stopped working.
I mean to say all the required settings was done previously.
Anyways kindly let me know how should i proceed.
Thanks
Sunil Singh -
Hi All,
Please give me a scenario to expalin about change pointers.
Regards,
SrikChange Pointer Configuration and extraction in HRPay.
Infotypes to be logged are in:
V_T585A,
V_T585B,
& V_T585C
Please view the table contents to understand the structure of these tables and how they are linked. These help you identify the cluster tables which store the data.
Payroll Cluster Table PCL4 contains the cluster table reference. (Please refer to the table structure below:
Payroll Custer Tables
http://www.planetsap.com/HR_ABAP_payroll.htm
Cluster tables combine the data from several tables with identical (or almost identical) keys into one physical record on the database.
Data is written to a database in compressed form.
Retrieval of data is very fast if the primary key is known.
Cluster tables are defined in the data dictionary as transparent tables.
External programs can NOT interpret the data in a cluster table.
Special language elements EXPORT TO DATABASE, IMPORT TO DATABASE and DELETE FROM DATABASE are used to process data in the cluster tables.
PCL1 - Database for HR work area; (long text, etc)
PCL2 - Accounting Results (time, travel expense and payroll); (payroll results)
PCL3 - Applicant tracking data;
PCL4 - Documents, Payroll year-end Tax data (change logs, etc)
Database Table PCL4
The database table PCL4 contains the following data areas:
LA change logs (long term documents)
SA Short-Term Documents for HR Master Data
SB Short-Term Documents for Applicant Master
SRTFD (PC400) = trans class always A for master data (1) pernr (8) info type (4) modified date (8) modified time (8) seqnr (4)
Please note that for the extraction of data, you have to use the date portion of the SRTFD and not the field value AEDTM(since it is not primary key).
Naming convention for INCLUDES when defining clusters. These INCLUDES will define the work area key above and the cluster data that is returned from an IMPORT:
RPCnxxy0
n = 1, 2, 3 or 4 (for PCL1, PCL2, PCL3, PCL4)
xx = cluster ID
y = country grouping (0 for international otherwise country indicator T500L)
Description of Cluster Data using Cluster RX as an Example
The data description is stored in the include RPC2RX00 in accordance with the above naming conventions.
RPC1TX00 - Long text cluster ID in table PCL1
RPC2RUU0 - Payroll results for the US cluster ID in table PCL2
RPC4LA00 - Change log cluster ID in table PCL4
Importing Data (I)
The IMPORT command causes data objects with the specified key values to be read from PCLn.
If the import is successful, SY-SUBRC is 0; if not, it is 4.
REPORT ZRPIMPORT.
TABLES: PCLn.
INCLUDE RPCnxxy0. "Cluster definition
Fill cluster Key
Import record
IMPORT TABLE1 FROM DATABASE PCLn(xx) ID xx-KEY.
IF SY-SUBRC EQ 0.
Display data object
ENDIF.
See sample program for long text.
Importing data (II)
Import data using macro RP-IMP-Cn-xy.
Check return code SY-SUBRC. If 0, it is successful. If 4, error.
Need include buffer management routines RPPPXM00
REPORT ZRPIMPORT.
*Buffer definition
INCLUDE RPPPXD00.
DATA: BEGIN OF COMMON PART 'BUFFER'.
INCLUDE RPPPXD10.
DATA: END OF COMMON PART 'BUFFER'.
*import data to buffer
RP-IMP-Cn-xy.
*Buffer management routines
INCLUDE RPPPXM00.
Cluster Authorization
Simple EXPORT/IMPORT statement does not check for cluster authorization.
Use EXPORT/IMPORT via buffer, the buffer management routines check for cluster authorization.
rpcbdt00 - include needed for importing from database PCL4(la) (Change log cluster ID)
Please note that data for change pointers is stored at two levels: 1) Header which has the key info and 2) BELEGE which has the changed info ie. Old value and new value.
Check standard program RPUAUD00
Applications which write change documents will also try to write change pointers for ALE operations. These are log entries to remember all modified data records relevant for ALE.
Most applications write change documents. These are primarily log entries in the tables CDHDR and CDPOS.
Change documents remember the modified fields made to the database by an application. They also remember the user name and the time when the modification took place.
The decision whether a field modification is relevant for a change document is triggered by a flag of the modified fields data element. You can set the flag with SE11 by modifying the data element.
For the purpose of distributing data via ALE to other systems, you may want to choose other fields, which shall be regarded relevant for triggering a distribution.
Therefore R/3 introduced the concept of change pointers, which are nothing else than a second log file specially designed for writing the change pointers which are meant to trigger IDoc distribution via ALE.
So the change pointers will remember the key of the document every time when a relevant field has changed.
Change pointers are then evaluated by an ABAP which calls the IDoc creation, for every modified document found in the change pointers.
The Change pointers are written from the routine CHANGEDOCUMENT_CLOSE when saving the generated change document. So change pointers are automatically written when a relevant document changes.
The following function is called from within CHANGEDOCUMENT_CLOSE in order to write the change pointers.
CALL FUNCTION 'CHANGE_POINTERS_CREATE'
EXPORTING
change_document_header = cdhdr
TABLES
change_document_position = ins_cdpos.
Activation of change pointer update :
Change pointers are log entries to table BDCP which are written every time a transaction modifies certain fields. The change pointers are designed for ALE distribution and written by the function CHANGE_DOCUMENT_CLOSE.
Change pointers are written for use with ALE. There are ABAPs like RBDMIDOC which can read the change pointers and trigger an IDoc for ALE distribution.
The change pointers are mainly the same as change documents. They however can be set up differently, so fields which trigger change documents are not necessarily the same that cause change pointers to be written.
In order to work with change pointers there are two steps to be performed
1) Turn on change pointer update generally
2) Decide which message types shall be included for change pointer update
R3 allows to activate or deactivate the change pointer update. For this purpose it
maintains a table TBDA1. The decision whether the change pointer update is active
is done with a Function Ale_Component_Check
This check does nothing else than to check, if this table has an entry or not. If there is an entry in TBDA1, the ALE change pointers are generally active. If this table is empty, change pointers are turned off for everybody and everything, regardless of the other settings.
The two points read like you had the choice between turning it on generally or selectively. This is not the case: you always turn them on selectively. The switch to turn on generally is meant to activate or deactivate the whole mechanism.
The change pointers which have not been processed yet, can be read with a function module.
Call Function 'CHANGE_POINTERS_READ'
The ABAP RBDMIDOC will process all open change pointers and distribute the matching IDocs.
When you want to send out an IDoc unconditionally every time a transaction updates, you better use the workflow from the change documents.
Arunsri
Posts: 307
Registered: 12/3/07
Forum Points: 246
Re: change pointers method
Posted: Feb 27, 2008 11:08 AM in response to: satish abap E-mail this message Reply
hi,,
Activating Change Pointers
Use
You can activate change pointers in the HR system to avoid distributing the entire structure when you make changes to the HR-ORG model, and distribute instead only the changes that you have made.
Procedure
1. In the Implementation Guide (IMG, transaction SALE), choose Modeling and Implementing ® Master Data Distribution ®Replication of Modified Data ® Activate Change Pointers ‑ Generally.
2. Set the activation status Activate Change Pointers ‑ Generally, and save your entry.
3. Choose the activity Activate Change Pointers for Message Types.
4. Set the active indicator for the message type HRMD_ABA.
5. Save your entries.
also see this link,
http://help.sap.com/saphelp_47x200/helpdata/en/ba/c9c1c31253ed4596e3bbb74922cd4a/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/ba/c9c1c31253ed4596e3bbb74922cd4a/frameset.htm
Check the links below;
http://help.sap.com/saphelp_nw70/helpdata/en/f1/035c8cae3d11d3b540006094192fe3/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/12/83e03c19758e71e10000000a114084/frameset.htm
Reward points hope this helps u, -
Change pointer method in IDOC.
hi,
Plz tell me necessary steps for data transfer using change pointer method . after
Activate change pointers ,De-activate change pointers. run of program RBDMIDOC ,RBDCPCLR , what other programs we need to execute related to this change pointer method . I thin I m missing 2 more steps for this method..
Thanks.Hello sranjna ,
These are the steps for change pointer :
1. BD61 :Activate change pointer generally .
2. BD50 :Activate change pointer for message type.
3. BD21 :Create IDOC type from change pointers.
4.Save the content : create a variant .
5.For automatically process:go to SM36 :Create a job with the program "RBDMIDOC " and the variant you created.
Also see the link if you want :
[http://help.sap.com/saphelp_nw04/helpdata/EN/12/83e03c19758e71e10000000a114084/frameset.htm]
Good Luck,
Boaz -
How can I display different error bars for each point on a scatter graph?
I have a scatter chart in Numbers and I need to add error bars to the points along both the x and y axes, however, the size of the error bars for each point need to be of different sizes. Is there a way to accomplish this or is there some kind of work around to acheieve a similar result? So far the only way I can find to add error bars only allows a standard amount for each point.
I found the answer here https://discussions.apple.com/message/16440653#16441393
-
EXCHANGE_RATE with change pointer
Hello Experts,
I saw that there is no option to define the message type EXCHANGE_RATE for change pointer
My question is: how can I get a partial idoc when there is a change in the exchange rate?
Is it possible?
Thank you,
BoazHi Jignesh,
"It is ideal that we dont change the Exchange Rate at the time of POsting Invoice to accounts."
How you have addressed the issue. could you explain.
Thanks & Regards
Sri -
Change pointer + user exit + condition records
Hiii
When creation or modifying condition record that status blank i don't want a change pointer to be generated?
Note that the KBRST field for status is not present in the BD52 transaction thus filtering cannot be done so as for change pointer to not be generated when condition record with status blank.
Please advise if this can be done on a user exit?
ThanksHi,
your question is not understandable.
Pls provide more details.
Cheers,
André -
Change Pointer RBDMIDOC in SRM Replication
Hi Experts ,
We have ECC 6.04 with SRM7.0. We replicated HR Org Structure from ECC to SRM.
Out of 10000 Employee , only 2000 Employee will sue SRM, So I wish to replicate only 1500 Employee as initial upload from ECC by eopy paste from EXCEL in PFAL selection screen. That is okay.
For changes & Delta , I will schedule Chnage Pointer RBDMIDOC in SRM.
1) My doubt is exatly what this Change Pointer will replicate to SRM (with matching to Filter setting ).... out of below ?
1. Changes to already replicated Employees in SRM
2. New created Employees after initial replication
3. Remainning Employees in initial replication as well ( i.e. 13000 )?
Is all these 3 cases will replicate to SRM ?
2) In case of change of one field value, will system send only that Value in IDoC or all the date of Employee again ?
Please suggest
Thanks
NAPHello sranjna ,
These are the steps for change pointer :
1. BD61 :Activate change pointer generally .
2. BD50 :Activate change pointer for message type.
3. BD21 :Create IDOC type from change pointers.
4.Save the content : create a variant .
5.For automatically process:go to SM36 :Create a job with the program "RBDMIDOC " and the variant you created.
Also see the link if you want :
[http://help.sap.com/saphelp_nw04/helpdata/EN/12/83e03c19758e71e10000000a114084/frameset.htm]
Good Luck,
Boaz -
Change pointer activation.
Dear Professional,
I have one requrement like i want to push Material (matnr) change data to third party system. for every 1hr .
Kindly guide me i should go change pointer for Matnr , Qty and Meins. for that shall i read BDCP(Change Pointer table )
table or may be other way for that for changing material(Article) data frequenty.
Regard
DK Sahu.hi,
for change pointer
1) in BD50 check the checkbox for MATMAS
2)got to BD61 and check the checkbox if not checked
3) if u want for particular fields then go to BD52 give message type MATMAS and check ur fields exits or not in that if does not exist then make a new entries of those fields.
Try this out... -
Hi Experts,
I followed the following steps for change pointer method.
1.BD61- change pointers activated -generally
2.BD50 -Activate change pointers for message type 'OILT01'.
3.BD52 - add the triggering fields and corresponding tables and change document object.
But when I run the program RBDMIDOC and give the message type I found an error message that " Message type OILT01 cannot be sent with change pointers" .Please help.
regards,
Jeetuhi,
I dont think we have run the program RBDMIDOC for implementing chagne pointer method
<b>Activating Change Pointers</b>
Change pointer generation has to be activated at both the
general level and message type.
1) Goto BD61, check the checkbox Change pointers activated - generally.
2) Save
3) Goto BD50, Choose the row for message type MATMAS, and check mark the corresponding field
4) Save
Converting change pointers to IDOCs
Create, change or mark for deletion materials using
transaction MM01, MM02, or MM06.
Execute transaction BD21
Enter Message type MATMAS
Execute
You can see tha changes gets reflected in 810 client that are done in 800 client.
Regards,
Sailaja. -
Tcode for changing any program
Hi,
How can i chnage a programe (report)
Best regards,
RajdeepHI
You can have a display of any program by T code SE38
Enter the program name and click on display.
If you want to change click on change button
But for changing you need to be a developer.
regards
Prashanth -
SP2013 Online - Approval Workflow "Request for Change" customization
Hi,
I am need for modifying the flow of request for change option in Approval workflow.
Whenever a user requests for change, I need to change the current task status as "Change Request" instead of completing the current task and creating a new task. Also, send an email notificaton to the requestor to make the changes.
Requestor will then make the changes and send a seperate email to the approver to review and approve the changes. After that reviewer will be appoving the workflow task.
I am need of this process flow as my requestor group will not have access to workflow task to re-initiate the workflow after changes.
Please advice.
soundarHi,
According to your description, my understanding is that you want to change the current task status as "Change Request" instead of completing the current task and creating a new task whenever a user requests for change in your SharePoint Online.
For your issue, you can Copy & Modify the Globally Reusable Publishing Approval Workflow using SharePoint Designer and create a new Task Outcome for "Change Request".
For more information, you can refer to the blog:
http://thinketg.com/approve-or-reject-what-about-a-third-option-in-sharepoint-2010-approval-workflows/
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
Change pointer for functional location- deletion flag & activation status
Hello,
Im trying to use change pointer for functional location outbound interface. I did all required settings in BD52. The problem is with deletion flag and acive/deactive status.
I found that those two are stored in:
table field
TAPL LOEKZ
TAPL PARKZ
The problem I have is that I cannot find the object for those table, and due to that it cannot be customized in BD52.
Could You please advise which object class should I use or alternatively which other table/field and object should I type in to activate change poiters for deletion flag and active/ not active status?
For object IFLO, and its table (IFLOT, IFLOTX, ILOA)- there is no field for del flag and active status.
Thanks in advance.Hi, standard didnt let us fulfilling this requirement. What we did- we extended table IFLOT with additional field for the status and used an user exit when saving FL, to take the value (status) from table JEST/TJ02T and copy the value to the newly created field. Then BD52, iflo, iflot, and the new field and it worked. Of course the function module for the message type (BD60) had to be changed to add this status value in additional segment/field for the idoc. Hope this will help You, as there is a lot of technical background behind it, and this is only functional overview.
rgds.
Maybe you are looking for
-
Photoshop Elements 12 Editor Crashes When Editing Raw
Hi -- Consistently when I'm editing RAW files (Canon T2) the Elements Editor 12 crashes. To repro: 1) I'll select 5-8 photos in the Organizer. 2) Right click and "Edit with PS Editor" 3) RAW importer/editor (not sure if that's the official name, but
-
User domain\SPFservice is not authorized to perform request using authentication type Negotiate
Hi, I have installed WAP/SPF in the same domain via express installation. The SPF domain service account is sysadmin on the SPF database. The SPF domain service account is running as identity in IIS application pool. I have registered SPF in WAP v
-
Creating iviews programatically - getting OperationFailedException
Hi, While creating a iViews programatically I am getting OperationFailedException exception. This is the piece of code which is throwing the exception NewObjectDescriptor IVtoCreate = null ; try IVtoCreate = (NewObjectDescriptor) iViewSrv.instantiate
-
XmltoQuery removing leading zero
Hi, I have a function that takes in a raw xml and covert to query. The problem is any leading zeroes are gone. For example, 000123 will become 123. Is there any way or function in CF that will stop from removing leading zeroes? Thanks,
-
Hi, I've read the following in AD connector documentation: The architecture of the password synchronization connector has been completely overhauled in release 9.1.1. We have AD UM v. 9.1.0.1 and we are planning to install AD Password sync v. 9.1.1.