Manuals of ABAP academy in spanish
Hi.
I need to find the Manuals of ABAP academy in spanish. Someone help me?
Thanks,
María C.
Manuals are here:
http://download.oracle.com/docs/cd/E21764_01/soa.htm
Follow then open in pdf, ex:
http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175.pdf
Jon petter
Similar Messages
-
How To Create ABAP Code For HR Context Sensitive Structural Authorization
Hello,
We have created a HR Custom Program which IS NOT built off the PCH or PNP Logical Database. As a result, we need to manually create ABAP code for HR Context Sensitive Structural Authorization Check in our custom HR program. Via HR Context Sensitive Structural Authorizations, we are restricting access to personnel numbers and the underlying HRP* tables.
Any assistance would be greatly appreciated with the identification of the SAP standard function modules (Ex. RH_STRU_AUTHORITY_CHECK, HR_CHECK_AUTHORITY_INFTY, HR_CHECK_AUTHORITY_INFTY , etc) used in HR Context Sensitive Structural Authorization Check, how they are used to control HR Structural authorization (P_ORGINCON), and some sample code.
Thank you in advance for all your assistance,
Ken BowersHello Ken
You can use the interface methods IF_EX_HRPAD00AUTH_CHECK to get the same structural authorization as you can see in PA20/PA30. You need to use the methods set_org_assignment and check_authorization for this purpose. For more information you can refer to include FP50PE21 from line 237 onwards till 270.
Regards
Ranganath -
ABAP Exercises in SAP Netweaver 7.01 ABAP Trial Version
Hello,
I just finished the ABAP academy, courses TAW10 and TAW12.
I want to do some exercises for studying to the certification test, but the exercises in the books require ABAP objects (such as tables, structures, data elements, templates and so on) that does not exist in the "SAP Netweaver 7.01 ABAP Trial Version", that I have installed.
Is it possible to get those objects somewhere?
PS.: My CITRIX access is not available anymore!
Thanks and regards!so ... i don't understand why ... I retry to make th einstallation on the first Windows and i've always the same error but not at the same place. It stops between 33 and 35% of the installation during the check of the package ... very strange.
Have you made the installation with the SP3 or do you using the Netweqver with that ? Becquse my problem comes during the installation. I'll try to make the upgrade of the Windows to control the good working of the system (i think there is no problem with that .... but in the doubt )
Thanks for the information Peerasit Jomsri -
ABAP /4 and ABAP OO difference on R/3 and ECC 6.0
Hi Gurus,
Can any one tell me if ABAP/4 code behaves differently on R3 than ECC6.
I know in BW all the routines written with ABAP/4 must be converted manually to ABAP OO(object oriented), is it the case for ERP too?
A quick response will be greatly appreciated.
thanx
intruder.Hi intruder,
you can check the sap note 367676.
if helpful rewards points are appreciated -
TAW10 and TAW12 exercises in Netweaver 7.01 ABAP Trial Version
Hello,
I just finished the ABAP academy, courses TAW10 and TAW12.
I want to do some exercises for studying to the certification test, but the exercises in the books require ABAP objects (such as tables, structures, data elements, templates and so on) that does not exist in the "SAP Netweaver 7.01 ABAP Trial Version", that I have installed.
Is it possible to get those objects somewhere?
PS.: My CITRIX access is not available anymore!
Thanks and regards!Hi,
In SAP NetWeaver 7.0 ABAP Trial Version there is a report to generate standard entries in the database tables that belong to the flight data model.
I don´t know if all objects are there, but it´s a start.
Run SE80 and chose Program, locate and run the SAPBC_DATA_GENERATOR report, selecting Standard Data Record on the first part.
I am newbie on ABAP too. So, I don´t know if this can solve 100% of your problem.
Good luck!
JP. -
Dear All
Can some one help me to have a good document / manual for ABAP - Report Writer.
Regards,
Venkat
Moderator Message: Please do not ask for documentation here. Instead, Search for them.
Edited by: kishan P on Oct 19, 2010 10:04 AMhi SV,
I guess Report Painter as Report Painter has 90% of the functionality that Report Writer and Report Writer functions can be accessed from within the Report Painter
Regards,
Santosh -
ALV GRID Using oo abap example
Hi Friends,
I am new to oo abap, Can any one give me a basic example how i can create alv grid in oo abap.
regards,
DVNSHI,
Programming for ALV grid display using the classes involves creation of a screen and calling it for display.
Since there has to be a linking between the program and the screen we have created , this comes in the form of a container. We use two important classes during the programming for displaying ALV grid, CL_GUI_ALV_GRID and CL_GUI_CUSTOM_CONTAINER.
Steps To Use ALV Grid in a Program
1. Declare reference variables for,
Container (class CL_GUI_CUSTOM_CONTAINER) and
Grid (class CL_GUI_ALV_GRID)
Example
DATA: grid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container
2. Create Standard Screen and a container on that screen and give a name to that container ( Use custom control button from tool bar) . This name will be used to link the container we have created on the screen with the object reference of class CL_GUI_CUSTOM_CONTAINER, which we have declared in the first step
3. Call the screen which has been created
4. Instantiate the container control and the ALV Grid Control in PBO of the screen.
Example
IF custom_container IS INITIAL.
CREATE OBJECT custom_container
EXPORTING
CONTAINER_NAME = MY_CONTAINER'.
CREATE OBJECT grid
EXPORTING
I_PARENT = custom_container.
ENDIF
5. For displaying the data, call the method set_table_for_first_display of object reference of CL_GUI_ALV_GRID.
Example
CALL METHOD grid->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT =
I_SAVE =
I_DEFAULT =
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB =
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTION
INVALID_PARAMETER_COMBINATION =
PROGRAM_ERROR =
TOO_MANY_LINES =
others =
EXPLANATION OF SOME IMPORTANT PARAMETERS.
I_BYPASSING_BUFFER & I_BUFFER_ACTIVE :
When the program is run for the first time, the fields present in the output table and their positions are stored in a buffer. So the buffer is taken as reference for the successive executions. In order to bypass this buffer the above parameter values should be X and (space) respectively. If these values are not passed to the function module, the changes made in the structure of the internal table will not be reflected in the output.
I_STRUCTURE_NAME:
If the structure of your output table corresponds to a structure stored in the Data Dictionary (DDIC), the ALV Grid Control can use this information to generate the field catalog automatically. Pass the table structure as parameter. In this case, all fields of this DDIC structure are displayed in the list.
IS_VARIANT :
It allows the user to save and reuse the layout. It is a structure of type DISVARIANT and contain the display variant name. It facilitates pre-assignment for a layout, rather than displaying report and then choosing displaying variant.
I_SAVE:
This single character variable specifies whether the user specific display variants can be saved or not.
The I_SAVE "Options for saving layouts" parameter can have the following values:
U Only user specific layouts can be saved
X Only global layouts can be saved
A Both user specific and global layouts can be saved
Space Layouts can not be saved
IS_LAYOUT:
This structure of type LVC_S_LAYO
is used to control the layout of the ALV. Two important fields are:
GRID TITLE. : Title of grid
ZEBRA : Alternate lines in list are displayed in different colors.
IT_FIELDCATALOG:
This internal table of type LVC_T_FCAT
is used to specify the position of various fields in the report itab.
There are three ways we can fill the field catalog table
1. Automatically through data dictionary structure (DDIC). In this case we pass the table structure to I_STRUCTURE_NAME.
2. Manually in ABAP program. Filling the internal table of type LVC_T_FCAT
1. . With each row corresponding to each column of output table. Each row of this table will hold value like
i). TABNAME & FIELDNAME specifies the reference fields for F1 help
ii). CTABNAME & CFIELDNAME specifies the reference fields for currency formatting
iii). QTABNAME & QFIELDNAME specifies the reference fields for quantity formatting
iv). SELTEXT_L holds the long description of the field
v). SELTEXT_M holds the medium description of the field
vi). SELTEXT_S holds the small description of the field
vii). KEY specifies the Key field ( cannot be hidden )
viii). OUTPUTLEN species the output length of the field
ix). DO_SUM specifies that subtotal is required on this field
x). NO_OUT specifies a hidden field
3. Semi-Automatically by combining the above 2 procedures.
Call function Module REUSE_ALV_FIELDCATALOG_MERGE and pass DDIC
structure or the output table to generate the field catalog.
Add additional Rows or modify existing properties of the fields to be displayed.
METHODS OF IMPLEMENTING SOME EXTRA FEATURES
Set focus to the grid
After CALL METHODgrid->set_table_for_first_display insert the following stament:
CALL METHOD cl_gui_control=>set_focus EXPORTING control = grid
Refresh grid display
Use the grid method REFRESH_TABLE_DISPLAY
Example:
CALL METHOD grid->refresh_table_display.
Set the title of the grid
Fill the grid_title field of structure lvc_s_layo.
DATA:
gs_layout TYPE lvc_s_layo.
gs_layout-grid_title = 'TITLE'.
CALL METHOD go_grid->set_table_for_first_display
EXPORTING i_structure_name = 'structure name'
is_layout = gs_layout
CHANGING it_outtab = Output table.
The structure lvc_s_layo contains fields for setting graphical properties, displaying exceptions, calculating totals and enabling specific interaction options
Event Handling
We can handle the events triggered by
1. User defined Text Output
2. Mouse-controlled Actions
3. Self-defined and Standard Functions
Steps for Event Handling
1. Define a (local) class for event handling
2. Define a method for each event you need to handle
3. Implement your event handler methods.
4. Create Object of the above class
5. Link used events and event handler methods of the receiver object and the grid
object.
Example program : Handling Double Click Event
Step1.Define a class.
class lcl_my_event_receiver definition.
public section.
methods:
handle_double_click
for event double_click of cl_gui_alv_grid.
endclass.
Step 2. Implement the class
class lcl_my_event_receiver implementation.
method handle_double_click.
message i001(zz) with ' double click event - Triggerd '.
endmethod.
endclass.
Step 3. Declare and create Object for the local class defined and implemented in steps 1 and 2 respectively
o_receiver TYPE REF TO lcl_my_event_receiver (Declaration)
create object o_receiver. (Instantiation)
Step 4. Link the method for handling the event with the grid object in the PBO of screen after instantiating the grid object
set handler o_receiver->handle_double_click for grid.
EXAMPLE PROGRAM TO CHANGE A CLASSICAL REPORT OUTPUT TO A ALV GRID
This can be used as a template program to convert a classical report layout to a ALV grid.
Report<Report name>
Grid data Declarations----------------------------------------------*
INCLUDE ZVINALVD.
Internal table for ALV grid
TYPES: BEGIN OF T_ALV,
Field1 like table-field1,
Field2 like table-field2,
END OF T_ALV.
DATA: I_ALV TYPE TABLE OF T_ALV.
DATA: WA_ALV TYPE T_ALV.
-Class declarations----
INCLUDE ZVINALVE.
Add a checkbox in selection screen for ALV grid display. If it is unchecked
output will be of classical type.
SELECTION-SCREEN BEGIN OF BLOCK box01.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 4(30) To display repot output as a ALV grid.
PARAMETERS: p_alv AS CHECKBOX.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN END OF BLOCK box01.
START-OF-SELECTION.
Fill the ALV grid internal table
END-OF-SELECTION.
IF P_ALV = X.
PERFORM ALV_DISPLAY.
ELSE.
PERFORM CLASSICAL_DISPLAY.
ENDIF.
Alv Display
FORM ALV_DISPLAY.
CALL SCREEN 100.
ENDFORM.
Module STATUS_0100 OUTPUT
PBO for ALV Grid
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'GRID_DISPLAY'.
DATA:
For parameter IS_VARIANT that is used to set up options for storing
the grid layout as a variant in method set_table_for_first_display
l_layout TYPE disvariant.
GS_LAYOUT-SEL_MODE = 'B'.
Optimize column width
GS_LAYOUT-CWIDTH_OPT = 'X'.
Read data and create objects
IF go_custom_container IS INITIAL.
Create objects for container and ALV grid
CREATE OBJECT go_custom_container
EXPORTING container_name = 'ALV_CONTAINER'.
CREATE OBJECT go_grid
EXPORTING i_parent = go_custom_container.
Create object for event_receiver class
and set handlers
CREATE OBJECT o_event_receiver.
SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
Layout (Variant) for ALV grid
l_layout-report = sy-repid. "Layout to report
To built fieldcatalog
PERFORM alv_build_fieldcatalog.
Grid setup for first display
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
is_variant = l_layout
i_save = 'A'
is_layout = gs_layout
CHANGING it_outtab = I_ALV
it_fieldcatalog = fieldcat.
Raise event toolbar to show the modified toolbar
CALL METHOD go_grid->set_toolbar_interactive.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
Form ALV_BUILD_FIELDCATALOG.
Store contents of selected line in a internal table
FORM alv_build_fieldcatalog.
CLEAR afield.
afield-fieldname = 'FIELD1'.
afield-tabname = 'I_ALV'.
afield-coltext = Field Name 1.
afield-lzero = ' '.
afield-key = 'X'.
afield-outputlen = XX.
APPEND afield TO fieldcat.
CLEAR afield.
afield-fieldname = 'FIELD2'.
afield-tabname = 'I_ALV'.
afield-coltext = Field Name 2.
APPEND afield TO fieldcat.
ENDFORM. " alv_build_fieldcatalog
Module USER_COMMAND_0100 INPUT
PAI for ALV Grid
MODULE USER_COMMAND_0100 INPUT.
CASE OK_100.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Form SELECT_LINE
Store contents of selected line in a internal table
FORM SELECT_LINE.
DATA:l_lines TYPE i.
REFRESH gi_index_rows.
CLEAR g_selected_row.
Read index of selected rows
CALL METHOD go_grid->get_selected_rows
IMPORTING et_index_rows = gi_index_rows.
Check if any row are selected at all. If not
table gi_index_rows will be empty
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines = 0.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
textline1 = 'You must choose a line'.
EXIT.
ENDIF.
Read indexes of selected rows.
LOOP AT gi_index_rows INTO g_selected_row.
IF sy-tabix = 1.
READ TABLE I_ALV INDEX g_selected_row-index INTO
WA_ALV.
ENDIF.
ENDLOOP.
ENDFORM. " SELECT_LINE
Includes:
1. ZVINALVD for data declarations
INCLUDE ZVINALVD .
Type pool for icons - used in the toolbar
TYPE-POOLS: icon.
To allow the declaration of o_event_receiver before the
lcl_event_receiver class is defined, decale it as deferred in the
start of the program
CLASS lcl_event_receiver DEFINITION DEFERRED.
GLOBAL DATA FOR ALV GRID
DATA:
OK code for alv grid screen
OK_100(4) TYPE C,
ALV control: Layout structure
gs_layout TYPE lvc_s_layo,
Declare reference variables to the ALV grid and the container
go_grid TYPE REF TO cl_gui_alv_grid,
go_custom_container TYPE REF TO cl_gui_custom_container,
o_event_receiver TYPE REF TO lcl_event_receiver,
Data for storing information about selected rows in the grid
Internal table
gi_index_rows TYPE lvc_t_row,
Information about 1 row
g_selected_row LIKE lvc_s_row.
fieldcatalog
DATA: fieldcat TYPE LVC_T_FCAT,
afield TYPE LVC_S_FCAT.
2. ZVINALVE for Class/object declarations
INCLUDE ZVINALVE.
C L A S S E S
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object e_interactive,
handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
ENDCLASS.
CLASS lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
Event handler method for event toolbar.
CONSTANTS:
Constants for button type
c_button_normal TYPE i VALUE 0,
c_menu_and_default_button TYPE i VALUE 1,
c_menu TYPE i VALUE 2,
c_separator TYPE i VALUE 3,
c_radio_button TYPE i VALUE 4,
c_checkbox TYPE i VALUE 5,
c_menu_entry TYPE i VALUE 6.
DATA: ls_toolbar TYPE stb_button.
Append seperator to the normal toolbar
CLEAR ls_toolbar.
MOVE c_separator TO ls_toolbar-butn_type..
APPEND ls_toolbar TO e_object->mt_toolbar.
Append a new button that to the toolbar. Use E_OBJECT of
event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
This class has one attribute MT_TOOLBAR which is of table type
TTB_BUTTON. The structure is STB_BUTTON
CLEAR ls_toolbar.
MOVE 'DISPLAY' TO ls_toolbar-function.
MOVE icon_DISPLAY TO ls_toolbar-icon.
MOVE 'Displaying customer' TO ls_toolbar-quickinfo.
MOVE 'Display' TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD.
METHOD handle_user_command.
Handle own functions defined in the toolbar
CASE e_ucomm.
WHEN 'DISPLAY'.
PERFORM SELECT_LINE.
ENDCASE.
ENDMETHOD.
Reward if useful -
Virtual cube with services - internal table I_TH_SFC
I have a BCS virtual cube w/services.
The function module of the virtual cube has an import parameter I_TH_SFC
Which contains mappings of characteristics in query drilldown.
Example: CHANM = 0BCS_CGPCTR, CHAALIAS=K____896
I want to simulated a drilldown on a characteristic by adding manually in ABAP
An entry in parameter table I_TH_SFC, to meet customer req.
Example: CHANM = 0COMPANY, CHAALIAS=K____???
I need to determine the CHAALIAS based on CHANM.
My understanding is that these aliases are created
By OLAP engine when query is save.
Anyone know where these mappings are stored?TABLES: /bi0/siobjnm.
-
Error in PHASE ACT_UPG: Upgrade SAP R/3 4.7 to SAP ECC 6.0 EHP
Hello,
I'm facing an error in phase MAIN_SHDRUN/ACT_UPG (see errors below).
After searching for the errors I found postings with advice to change R3trans and tp to the newest version. Strangely system did not take the newest kernelpatch I stored in upgrade folder. So I changed the files in the /usr/sap/SID/abap/exe folder and repeated the phase.
But the error is still there.
A solution was to reset the queue, but this is only possible with help by sap.
Error in phase: DDIC_ACTIVATION
So I'm waiting for their reaction since two days, but nothing happens.
My questions are now:
what happens if I use the option "initialize phase ACT_UPG to restart it from beginning"? Will the new R3trans be used? Have we got to to the SPDD again?
What happens if I use the option "accept non severe errors and repeat phase ACT_UPG? Are these language errors "non-severe"?
Errors:
In error log ACTUPG.ELG I find logs like:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DDIC ACTIVATION ERRORS and RETURN CODE in SAPA-60016INERECRUIT.REX
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 ETP111 exit code : "8"
In error log SAPup.ECO I find:
EXECUTING /usr/sap/REX/upg/abap/exe/tp (/usr/sap/REX/upg/abap/exe/tp) pf=/usr/sap/REX/upg/abap/bin/ACTUPG.TPP put REX
This is /usr/sap/REX/upg/abap/exe/tp version 376.01.14 (release 701)
Warning: Parameter INTERRUPT is no longer used.
Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
Warning: Parameter WITH_TACOB is no longer used.
Warning: Parameter IMPDP_BY_EVENT is no longer used.
Warning: Parameter INTERRUPT is no longer used.
Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
Warning: Parameter WITH_TACOB is no longer used.
Warning: Parameter IMPDP_BY_EVENT is no longer used.
Looking for effective putsteps ... ... ready (looking for putsteps)
tp finished with return code: 8
meaning:
A tool used by tp produced errors
Process with ID 13163 terminated with status 8
In the last touched SP-File SAPAAAA701.SID I can find errors like:
"1EEDO545 "LANG" "DTEL" "*": Object information could not be imported"
Regards,
JuliaAfter pushing the message at SAP I got the following answer:
It is the problem from note 1417505. There is no guarantee that all objects where imported with the used R3trans. A rerun of phase will be unsuccessfully because error came up in DDIC_IMPORT.
A reset of the queue is only possible if SPAM/SAINT is used for importing support packages. In case of upgrade, like here, the upgrade has got to be resetted as described in upgrade guide.
After start between phase extraction and configuration the newest R3trans has got to be copied manually in /abap/exe folder.
Regards,
Julia -
ECC 6.0 EhP6 SPS08 failed with RC12 in phase ACT_UPG
Dear gurus,
We are upgrading from ECC 6.0 EHP4 SP12 to ECC 6.0 EHP6 SP8 and phase ACT_UPG has failed with RC12. When we check the dump it shows the following error:
Runtime error: DBIF_REPO_SQL_ERROR
Shorttext: SQL error "-99999" occurred when accessing program
Database error text........: "CLI0106E Connection is closed. SQLSTATE=08003"
Triggering SQL statement...: "CX_SY_OPEN_SQL_DB=============CP "
Internal call code.........: "[REPO/*/43/LOAD/CX_SY_OPEN_SQL_DB=============CP
Any help would be appreciated
Thanks
DianaAfter pushing the message at SAP I got the following answer:
It is the problem from note 1417505. There is no guarantee that all objects where imported with the used R3trans. A rerun of phase will be unsuccessfully because error came up in DDIC_IMPORT.
A reset of the queue is only possible if SPAM/SAINT is used for importing support packages. In case of upgrade, like here, the upgrade has got to be resetted as described in upgrade guide.
After start between phase extraction and configuration the newest R3trans has got to be copied manually in /abap/exe folder.
Regards,
Julia -
Business Area not coming in FS10N layout.
Dear SAP Friends,
I am working in a client where "Document Splitting" was activated on the basis of "Business Area" from the 1st August,2008. In this client their is four business areas. When I am getting the balance sheet as per Business Area in F.01 every GL shown the amount as per business area & also a some of amount is shown under the not assigned head. Amount under the not assigned is total of document of having no business area.
Now my client wants that all not assigned amount should be distributed as per the business area & not assigned amount will come to zero.The field of business area is "GSBER".
Now for that I am testing it on development. I have selected on document having no business area and updated the table "BSEG" for filed "GSBER" for that business area manually through ABAP. When I am seeing the same document under FB03 the system shows the Business Area correctly which I have given in the table. But when I see the General Ledger balance in FS10N (In layout selected business area column) the same document does not give business area in that business area column. But when I select it for details it shown the business area in that document.
Now my issue is why this is happening ? or is their any another way to do this ?
Because i have to update all of documents of before 1st, August 2008 with no business area .
Please give any solution ASAP & for helpful answer points will be surely awarded.
Thanks & Regards in advance
Sandeep
Edited by: Sandeep on Dec 6, 2008 11:34 AMHi,
Touching a cluster table like BSEG thru ABAP is a tricky thing. You would need to work out all linkages to other tables for the data you are touching, would suggest a where used for field business area and update all other tables relevant to the data, like BSI* and BSA*.
For FS10N, the data is not read from BSEG but rather from the totals tables like GLT0.
Cheers -
Hierarchy Activation dumps when itu0092s executed from Process Chain. u0096 BI 7.0
Issue:
CostElement Hierarchy sign reversal is updated manually using ABAP Program to update sign reversal, which updates H and J tables and activates the Hierarchy using func module RSHIER_HIER_CHECK_AND_ACTIVATE. It works fine when ABAP is executed manually as well as when Process Chain is executed in BW 3.5.
However, the same Process Chain in BI 7.0 it abends during Hierarchy Activation.
From the Dump, find below call sequence of programs for more details:
No. Ty. Program Include Line
Name
6) METHOD CL_RSSH_SHOW_LOG==============CP CL_RSSH_SHOW_LOG==============CM008 53
CL_RSSH_SHOW_LOG=>CREATE_CONTAINER
5) METHOD CL_RSSH_SHOW_LOG==============CP
CL_RSSH_SHOW_LOG==============CM007 52
CL_RSSH_SHOW_LOG=>SHOW_MESSAGES_WRITE_LOG
4) FUNCTION SAPLRSHIER LRSHIERU03 121
RSHIER_HIER_CHECK_AND_ACTIVATE
3) FORM ZBWUXXX1 ZBXXXXX1 382
005-ACTIVATE-HIER 2) FORM ZBWUXXX1 ZBWUXXX1 278
It abends during Container creation to send out a message.
Any help to resolve this issue would be highly appreciated.
Thanks, VijayVijay,
Due to the age of this post I am assuming did you find a fix to the problem?
I actually would like more information about your abap program as we are trying to create a similar program. -
Can we create complete report in OOPs
Hi,
Could you please advice if we can code the complete report in SE24 and call it in SE38 report..
For ex. I have a report followed by ALV output..now can i write everything in a Z Object (from decalration to output ) ..
Kindly suggest if it is a good strategy than simply using standard objects in report editor.
If possible, request you to provide a sample report using complete OOPs approach.
Thanks,
GauravYes...the entire thing, INCLUDING SELECTION SCREEN, can be written in OO. I haven't tried building the whole thing in SE24, then executing....what's the point? A report may be pretty much one-off, but utilize pieces of classes.
SAP Press recent manual "Official ABAP Progamming Guidlines" contains an example using Separation of Concerns/Software Layering approach that includes a selection screen call in the Presentation layer. It can be done! What I don't see is an easy or elegant way to re-process the selection screen if I must reject what the user has input and get different values....
In that program, BTW, the start of selection event contains only:
report->main( ).
Main might look like:
(from my program, not their version). E-me if you want the entire program.
class report definition.
public section.
class-methods main.
endclass. "report DEFINITION
class report implementation.
method main.
data: gt_itab type table of gtyp_itab,
so_tstmp type table of iseldats,
rpt_tab type table of gtyp_rpt.
data: rc type sy-subrc.
gui_level=>get_input_parms( ). "calls selection screen!
gui_level=>create_date_table(
changing so_tstmp = so_tstmp ).
persistence_level=>get_data_from_db(
exporting so_tstmp = so_tstmp
importing gt_itab = gt_itab
rc = rc ).
if rc eq 0.
apps_level=>sort_itab(
changing gt_itab = gt_itab ).
apps_level=>build_report_table(
changing gt_itab = gt_itab
rpt_tab = rpt_tab ).
if sy-subrc eq 0.
gui_level=>display_alv_form( rpt_tab ).
endif.
endif.
endmethod. "main
endclass. "report IMPLEMENTATION -
BC400 dictionary and structures
I need som information on the different objects and structures that's used in ABAP academy.
I've been to the ABAP academy, and would very much like to try out the examples/exercises in the books. (BC400 + + + ).
Im aware that there are some reports that generate tables and example data. But they lack the creation of structures, database views and logical databases e.g.
For instance I need a definition of the DDIC view <b>DV_FLIGHTS.</b>
Hope to hear from someone who can help me.Hi,
I can able find only SV_FLIGHTS in my system.
No info DV_FLIGHTS?
aRs -
Trigger pdf generating when it's needed.
Hi all!
I have my WD4A application. It has some fields that user must fill. Then he push the button and printable pdf form must be generated. I created a context in WD and assigned it to pdf form's context. I can't figure out how I can start form processing from button event. I know that I can do it manually with ABAP using function modules, pass parameters to pdf forms, get binary presentation of the form, etc. But I want WD4A do it for me. The only question is how to trigger pdf generating (through InteractiveForm UI element) when I want.As Frank suggests, you'll need to use the generated FM of the form to build it. The Form UI element does this for you - but only if it's visible.
[from SAP HELP|http://help.sap.com/saphelp_nw70ehp2/Helpdata/EN/ed/29093b519e4f0db9be6063526537f5/frameset.htm]
>Note that complex UI elements can execute actions only if they are visible.
>In Web Dynpros, user entries or information can be transferred to an active component only using the context and action handler of a view. The corresponding UI element must be available in this view and the view must exist, that is, it must be visible in terms of the runtime. For example, the pixel size is already 1x1.
Alternatively you could set it to be 1 pixel by 1 pixel as per the suggestion in the help....
If you want to allow the user to decide where to save the file (not true background processing) then use the FileDownload UI element.
Maybe you are looking for
-
Need Usage Pattern Report in OBIEE 11g
Hi All, I have a requirement, where I need to know who logged in, to OBI Application in the last 3 months and who has not. How do I get that? Basing on START_DT in S_NQ_QCCT, I can put a filter with Start Date using BETWEEN RANGE, but since OBIEE log
-
StarTech Adapter not working with Dell Inspiron 15, model 3521
Side Note: I wrote a reply to a thread that was from 2013. I do apologize because the link was sent to me by my bf and I did not realize how old it was. Since my reply has to be approved I can't delete it. Current Issue: StarTech Adapter not working
-
Touch screen not working after installing windows 8.1 hp pavilion ts 15-n200se laptop
touch screen keybord is comming but touch screen is not working no responses...plz help me
-
Hi, I have just installed CS6 upgrading from CS4. I am doing a large project (2.5 hours of video) and have transcoded 6 sections successfully from Premier Pro using VBR-1 - the default. I saw somewhere on one of the forums that this may be a proble
-
I am currently maintaining and extending web services that were written with Oracle Soap. We plan to migrate these to JAX RPC. I was trying out the new Jdev and did not see a choice to select Oracle Soap when creating new web services. Can this optio