How to track changes in an ABAP program
Hi,
I have a program being changed by 3 people one after another !! I want to know what were the changes made by each of the them !! Just like tracking the changes in a CVS !!
How to do that in ABAP workbench ??
thanks
Are they making the changes under a same CR? If so there is actually no way to track the changes made by individual user, unless they put some comments. In such a case, the other option is to have individual users generate a version after completing their changes (but ensuring that no other user makes a change at the same time by using editor lock and releasing the editor lock after generating a version).. Once the version is generated, u can use change management
If the changes are made under different CR, then you can use version management as suggested by Rich.
Similar Messages
-
How to track changes to fields in a Module Pool Program
Hi Experts,
I have one requirement to track the changes to some fields used in the Program, The fields for tracking the changes will be maintained in a table T1, this will be changed dynamically.
There are many screens in the program and many fields in each screen.
1. How to do the coding for tracking the changes, the code should track all the changes to the fields maintained in the table T1.
Thanks in Advance.
BaburajHi Baburaj,
The table logging concept will helpful for this requirement.(Tcode: scu3 --> give table name --> u can find changes for all fields).
Make use of concept change documents (auditing purpose used) --> CDHDR,CDPOS tables.
If you want to track changes to your own program, You need write some API to store the data.
Regards
Bhupal Reddy -
How to make a transport of ABAP Program to a QA environment
Hi forum and sorry for my easy question, but i am a newby in ABAP
How can i a transport an ABAP program to QA environment?... is the same machine only changes the mandant.
Thnks
Josue CruzYou need have transport request for ABAP program.
Transport Request are two types :
1.customizing
2 work bench
customizing - it is related to SPRO Transaction and Functional people will create Customizing request
Work Bench Request - normally irt realeted to ABAP Develper. and all about SE38 Programs ,Data dictinary and so on..
If you want to to release transport request ,then you need to use SE10 or SE09 Transaction.
Goto SE10 and see ur transport request -.it will have sub request #
Select Sub request #->overall check -Syntax check
then Activate check
then click on release dirctly button(Looks like Bus)
activate
now select main request and click on release directly button.
check the status - by using transport logs at SE10 transaction,you need to have sy-subrc eq 0
when you get sy-subrc eq 4 then you deleted something in ur program ,sy-subrc eq 8,sy-subrc eq 12 these all status of ur transport request.
once you done then you need import to Tst Box,use STMS Transaction.
Reward Points if it is useful
Thanks
Seshu -
How do we call smartforms in abap program or web services
how do we call smartforms in abap program or web services
How many types of smartforms are there?
points will be rewardedHi
See this sample program
Using the fun module smartform is called from the program
Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
<b>call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'</b>
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function <b>FM_NAME</b>
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
<b>Reward points for useful Answers</b>
Regards
Anji -
How to track changes on Infoprovider?
Hi Gurus,
Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
I would like to track any actions that were made on those cubes.
Thanksthanks Kumar for helping me out here
I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
Kindly provide additional inputs.
Thanks -
How to track changes in a hyperion application for SOX control?
Hello all,
We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
The following areas have been identified as the main areas of an application where the changes are to be tracked:
Monthly data load from ODI
Calculation of data
Metadats change
Formula edit
Changes to reports
Changes to security
Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
Somebody suggested that there is hyperion auditing available.
Is there any other software that is available that can do this or just documenting the changes would be the best option?
Please suggest. Toyr response would be appreciated.
Thanks.Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
HTH-
Jasmine. -
How to track changes in name who are enrolled in a benifit plan
hi,
can any1 help me
how to track changes in name for an employee enrolled in a benifit plan.this report is to run monthly.
should use change pointers or should use aedtm field..
can any1 help..
thanx in advancePl take a look at the Std Report RPUAUD00 used for Infotype Logging. The Report Documnentation details the steps needed to turn the logging for the PA infotypes, which in your case could be 0167,0168,0169 etc..
~Suresh -
How to call subroutines defined in ABAP program with type S
how to call subroutines defined in ABAP program with type S? can you give an example?
Normal executable program,
REPORT ZTEST_MAIN.
perform sub1 in program ztest_sub.
"you can call using in program addition
Subroutine pool program
PROGRAM ZTEST_SUB.
form sub1.
endform. -
How to call a idoc in abap program and updates catsdb table
how to call a idoc in abap program and updates catsdb table
thank you,
Jagrut BharatKumar ShuklaHi Kishan,
You can refer to following help document,
http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm
Regards,
Meera -
How to debug the method in abap program
How to debug the method in abap program ?
Could you please give the solution.
Thanks
saiHi ,
Place break point at call method .
It takes u in to the method implementation .
Here u can analyse the method implementation ...
Reward if useful
Thanks
Jagadeesh.G -
HOW TO creat BAR CHART using ABAP Programming
DEAR ALL,
I want some help as to how to creat GRAPHICAL display using ABAP programing (BAR CHART) any sample codes Example will be very helpful.
Regards,
VJOn earlier versions, you can do something like this.
[code]
REPORT ZRICH_0005 .
DATA: BEGIN OF ITAB_DATA OCCURS 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF ITAB_DATA.
Data: BEGIN OF ITAB_OPTIONS OCCURS 0,
OPTION(20),
END OF ITAB_OPTIONS.
ITAB_DATA-DATANAME = 'Maple'.
ITAB_DATA-QUANTITY1 = 5500.
ITAB_DATA-QUANTITY2 = 6200.
ITAB_DATA-QUANTITY3 = 5900.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Oak'.
ITAB_DATA-QUANTITY1 = 3500.
ITAB_DATA-QUANTITY2 = 5200.
ITAB_DATA-QUANTITY3 = 4400.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Cherry'.
ITAB_DATA-QUANTITY1 = 1800.
ITAB_DATA-QUANTITY2 = 2200.
ITAB_DATA-QUANTITY3 = 1900.
APPEND ITAB_DATA.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
COL1 = 'Jan'
COL2 = 'Feb'
COL3 = 'Mar'
TITL = 'Lumber Usage in $'
TABLES
DATA = ITAB_DATA
OPTS = ITAB_OPTIONS
EXCEPTIONS
OTHERS = 1.
[/code]
Regards,
Rich Heilman -
How do I change InDesign default email program
How do I change the default email program that Indesign hyperlink opens?
In recent versions of OS X, you'd open the Mail application. Choose InDesign > Preferences > General > Default email reader.
-
Hi friends,
I am a XI consultant. My query is regarding how to track the chages.I heard that CDHDR and CDPOS tables are used to store the information regarding the changes made to the objects/tables in SAP.My scenario is i have a table having few fields related to P.o and a flag indiacating Insert/Update/Delete, so upon the creation/upadate/deletion of a P.O(related to perticular WBS Element) i want the data to be transfered into my table automatically.
Is there any standard transaction available to do that....means i want to track all the P.Os under a perticular WBS element..
If not Do we have to write a Abap program and use CHANGEDOCUMENT_READ_HEADERS,CHANGEDOCUMENT_READ_POSITIONS functions to store the data into internal tables ?????
Regards,
Gowtham K.HI gowtham,
Yes, u are right,
we have to right some abap code.
"CHANGE DOCUMENTS" in SAP Terminology
1 The same thing which u are asking
we had developed here. For Eg : Any change
in the material master will be detected
and a mail will be sent to the concerned
employee.
THIS WILL ALSO DETECT WHICH FILEDS HAVE CHANGED.
IT CAN ALSO GIVE, The Old Value, And The New Value.
2. This Mechanism is called CHANGE DOCUMENTS in
SAP Terminology
3. 2 Fuction Modules are Required.
(They will fetch necessary data from CDHDR,CDPOS)
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS
4. The First FM gives list of all
records ( with change no) which have changed.
5. Loop at the above and the second FM will
provide the details (old-val, new-val) for
each record.
6. While using 1st Fm, i used docclass as 'MATERIAL'.
BCOS
the concept of change documents is applicable
to other type of documents also (depends upon
customization)
regards,
amit m. -
How to track changes to BP address
Hi,
We have to create a ABAP report which should display Old and New addresses of a BP i.e. track changes to BP addresses (House No., City, Postal Code etc.). .
How can I achieve this? Which FMs, BAPis can I use for this purpose.
Thanks in Advance.
Vikrant.Pl take a look at the Std Report RPUAUD00 used for Infotype Logging. The Report Documnentation details the steps needed to turn the logging for the PA infotypes, which in your case could be 0167,0168,0169 etc..
~Suresh -
How to track changes in a custom table
HI all,
Requirement is
1. In custom table instead of using table maintence generator ALV gird has to be display to see table entries. But where i have to write the code when user press CONTENTS button?
2. In alv gird there shuld be one button which shows the change history of selected record and modify the content of selected record. For track changes i have registered custom table name in SCDO. so that changes made will reflect in CDPOS/CDHDR.
but how can i track changes thru dis table? i didnt find field contents of custom table in CDPOS/CDHDR tables?
Please help me with these Ques.Hello,
SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
They all use the standard function Module
call function 'CHANGEDOCUMENT_READ_HEADERS'
call function 'CHANGEDOCUMENT_READ_POSITIONS'
so with these you can get the changed records
Let me know if this helps you
Thanks and Regards
Pushkar Joshi
Maybe you are looking for
-
Exception when calling web service from Oracle forms 10g
Hi All, I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services. There is a java class named 'authenticate' which is generated using Oracle JDeveloper. This class is included in the forms application by using "Import Java Class" fe
-
MULTIPLE unauthorised billing charged to my credit card. Does anyone out there had been through this bad incident? Please give advise what i should do? TQ.
-
Enq: TX - row lock contention
DB version: 10.2.0.3 Could someone provide the possible reasons for this type of lock. I have an update locks atleast once or more a day with this type of lock and will not be finished until I kill off the session. I have run query below and also sev
-
Multiple Unit of Measure in SAP BO
We have a requirement to use multiple unit of measures from one of our client whose business concern is manufacturing and tenneries. We want to measure inventory in units and in meters at same time. For example, if one new unit measuring 50 metres is
-
Exposing cached data as webservice
Hi all, I am planing to put an xml file data in cache i.e by making the xml data as a string and putting it in the cache. Now I want to expose this cached data as webservice. How can I do that. I am a newbie, pardon my ignorance. Thanks, PS