BUSPCDACT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Activating changes scheduled up to the current date With this program you can activate all changes to application objects of the business data toolset that are scheduled up to the current date...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter BUSPCDACT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FPP2A - Activate Planned Changes
VXC1 - Activation of Future Changes
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_CANCEL = Delete incorrct scheduled data
Selection Text: P_EEXCL = No incorrect scheduled data
Selection Text: P_MAXACT = Maximum No. of Activations
Selection Text: P_OBJAP = Application Object
Title: Activation of Scheduled Change Documents for an Application Object
Text Symbol: 001 = Activation of scheduled changes to business partners
Text Symbol: 002 = No scheduled changes found
Text Symbol: 003 = Business partner &1 created in role &2
Text Symbol: 004 = Business partner & changed
Text Symbol: 005 = No changes made for business partner &
Text Symbol: 006 = Error when activating partner &
Text Symbol: 007 = Application Object
Text Symbol: 008 = &1 &2 changed
Text Symbol: 009 = &1 &2 created
Text Symbol: 010 = No changes made for &1 &2
Text Symbol: 011 = &1 &2 : Error during activation
Text Symbol: 012 = Activation of Scheduled Changes
INCLUDE BUSACTTOP.
INCLUDE BUSACTF00.
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = gl_tbz1-diheadr * UCLEN = gc_uclen TABLES DFIES_TAB = gT_DFIES EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
NAMETAB_GET * CALL FUNCTION 'NAMETAB_GET' * EXPORTING * langu = sy-langu * tabname = gl_tbz1-diheadr * TABLES * nametab = gt_dntab_header * EXCEPTIONS * internal_error = 1 * table_has_no_fields = 2 * table_not_activ = 3 * no_texts_found = 4 * OTHERS = 5.
BUS_PCDHDR_GET CALL FUNCTION 'BUS_PCDHDR_GET' EXPORTING i_objectclas = gt_tbz1h-pcdobj i_planchngnr_to = lv_planchngnr_to i_datum = sy-datlo TABLES t_pcdhdr = lt_pcdhdr.
BUS_PCDPOS_GET CALL FUNCTION 'BUS_PCDPOS_GET' EXPORTING i_objectclas = gt_pcdhdr-objectclas i_objectid = gt_pcdhdr-objectid i_changenr = gt_pcdhdr-changenr TABLES t_cdshw = lt_cdshw EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BUSPCDACT - Activation of Scheduled Change Documents for an Application Object BUSPCDACT - Activation of Scheduled Change Documents for an Application Object BUSOP_TREE_TOP - Include BCALV_DND_TOP1 BUSOP_TREE_03 - BUSOPTREE03 BUSOP_TREE_02 - Tree Event Handling BUSOBJAPCALL - BDT: Call FM BUS_CONTROL_MAIN in Transaction