Mostrando las entradas con la etiqueta ABAP. Mostrar todas las entradas
// //

Secure Programming Guidelines

You know the Secure Programming Guidelines but you want to do more? Well, here are my top priority security recommendations for developing secure ABAP applications:

New database tables

  1. Assign table authorization group Usually you create 3 table authorization groups per application:
    a) for customizing tables (C)
    b) for master data and transaction data or other application data (A)
    c) for system data (S)

    You can use the report RDDPRCHK (or RDDTDDAT_BCE) to analyze the settings. Use transaction SM30 for view V_BRG_54 to maintain authorization groups respective view V_DDAT_54 to maintain authorization group assignments. Maintain authorization groups http://help.sap.com/saphelp_nw70/helpdata/en/a7/5134d2407a11d1893b0000e8323c4f/frameset.htm Maintain authorization group assignments http://help.sap.com/saphelp_nw70/helpdata/en/a7/5134df407a11d1893b0000e8323c4f/frameset.htm
  2. Set the maintenance flag, which controls SE16 am SM30, correctly Data Browser/Table View Maintenance http://help.sap.com/saphelp_nw70/helpdata/en/a6/03883acb00d768e10000000a114084/content.htm
  3. Activate table logging for customizing table or create a change document object for master data. You can use the report RDDPRCHK (or RDDTDDAT_BCE) to analyze the settings. Check the settings of profile parameter rec/client and the tp parameter RECCLIENT, too. Activate/Deactivate Table Change Logging  http://help.sap.com/saphelp_nw70/helpdata/en/7e/c81ebb52c511d182c50000e829fbfe/frameset.htm  Note 1916 Logging table changes in R/3  https://service.sap.com/sap/support/notes/1916  Note 84052 R3trans: Table logging https://service.sap.com/sap/support/notes/84052  
  4. Create specialized SM30 maintenance views instead of offering maintenance using SE16 and add additional authorization checks if required. Create a Maintenance Dialog http://help.sap.com/saphelp_nw70/helpdata/en/a1/e4521aa2f511d1a5630000e82deaaa/frameset.htm Event 25: At the Start of the Maintenance Dialog http://help.sap.com/saphelp_nw70/helpdata/en/c2/703037301f327ae10000009b38f839/frameset.htm 
Leer más ...
// //

Reference to ABAP Basics

The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP.

This reference guide focuses on following topics:
  • ENTERPRISE RESOURCE PLANNING (ERP)
  • SAP ADVANTAGES
  • Role of ABAPer
  • R/3 ARCHITECTURE COMPONENTS
  • WHAT IS CLIENT IN SAP
  • Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS
  • ABAP GUI
  • DATA DICTIONARY
  • INTERNAL TABLES
  • SUBROUTINES
  • Reports
  • MODULE POOL PROGRAMMING
  • Menu Painter
  • BATCH DATA COMMUNICATION
  • LSMW ( Legacy System Migration Workbench)
  • SAPSCRIPTS
  • SMARTFORMS

***

Nota de actualización

Este artículo se mantiene publicado a fines informativos, si usted necesita más ayuda sobre el mismo por favor use nuestro foro de ayuda.

Disculpe las molestias.

Leer más ...
// //

FAQ: Data Browser (SE16)

[1] Why does the results list of the SE16 transaction display the content of some fields differently from the detailed view?
[2] Why can I not change a table in the SE16 transaction although the table was selected as changeable in the SE11 transaction under Attributes?
[3] Why can the smallest value in the results list differ with a different value for the 'Maximum number of hits'?
[4] Which authorizations does a user require to display certain values in the SE16 transaction?
[5] How can I search for special characters?
[6] Why are texts from text tables not displayed?
[7] Why can I only create user-specific variants in the ALV list?

[1] Why does the results list of the SE16 transaction display the content of some fields differently from the detailed view?

 Examples:
Table Field Hit list display Detail view display
BSIS HKONT 0000191100 191100
MARA MEINS ST PC
T002 SPRAS b IS

Answer:Conversion exits are defined for some domains of the table fields.These are processed with each screen input or output.The default hit list is not a screen, therefore, the conversion exit is not processed.You can, however, include the exit in the processing using the 'Settings'->'List parameters' menu option.

[2] Why can I not change a table in the SE16 transaction although the table was selected as changeable in the SE11 transaction under Attributes?
Answer:
The changeability of table entries still depends on the following factors:
    - Role and changeability of the client;
    - System changeability;
    - Delivery class of the table;
    - If a maintenance view for the table exists:
    - Authorizations.
Refer to note 109083 for more information.
Leer más ...
// //

ST03N y STAD

Esto lo tengo que comprobar, pero existen dos transacciones en SAP que loguean -segun explican- las veces que se usan, en un periodo de tiempo determinado, las transacciones en el sistema..


En Vistas de Análisis --> Perfil Transacción.
(...)
...las transacciones que se utilizan son ST03N y STAD...Aunque dudo mucho que guarden un control de un período tan largo como una año...


Leer más ...
// //

FAQ: SAPScripts

How do I create Boxes in SAPScript?
You can create Boxes in the SAPScript using the BOX command specifying the x,y co-ordinates and the width and the height
BOX XPOS '0' CM YPOS '0.5' CM WIDTH '9.2' CM HEIGHT '3.5' CM FRAME 8 TW.

How do I set tabs between the fields in display?
In the Paragraph Format tab, create a new paragraph format. In the "Tabs" Tab, enter the tab position and the alignment for the fields.

How do I create standard texts for the scripts?
You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
Leer más ...
// //

Screen exit for standard trans

Introduction

SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.

To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.

Leer más ...
// // 2 comentarios

Funciones Obsoletas

Para obtener la lista de funciones obsoletas:

  1. Ingresamos a la transacción SE16 o SE16N (debemos contar con las autorizaciones correspondientes)
  2. Ponemos nombre de la tabla RODIR
  3. Tipo de Objeto "FUNC"
  4. Ponemos una "X" en el campo "Obsolete"
  5. Ejecutamos
Nos devolverá la lista de "Function Modules" del SAP que son obsoletas para nuestra versión de SAP.

Si tienes dudas, o problemas, recuerda que estamos respondiendo a todas las consultas en nuestro foro de Ayuda SAP en español.
Leer más ...
// //

Debugging a popup window

To debug a popup, create a text file on your local computer with below texts
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand

Place file on your desktop. To debug a popup drag and drop this file over the popup.

<source>
Leer más ...
// // 3 comentarios

Campos de una transacción

Un usuario en la comunidad oficial de SAP preguntó:
Estoy tratando de buscar todos los campos q tiene una transaccion. Hay alguna manera de saber todos los datos que tiene una transaccion sin tener que ir uno por uno y viendo su info.

El tema es que hay respuestas muy interesantes por este tema...
Leer más ...