lunes, mayo 14, 2012

Validación y Sustitución para todos los módulos de SAP

Transacción GGB4

FOTOS¡¡¡

miércoles, mayo 09, 2012

Activar control de disponibilidad ANTES de asignar Presupuesto

Nota :

Note 602588 - Availability control before budgeting

En resumen 2 soluciones:

1. USER EXIT  
2. Asignación de un status de usuario original que impida TODO, y que sea borrado tras la operación asignación o modificación de presupuesto.

Esto impide la imputación de costos comprometidos (que se pueden realizar incluso aunque el proy/pep no esté liberado)

Symptom


You create an order or a project.
In the relevant budget profile, you determine that an availability control is to take place (activation type = 1 or 2).
You have not entered any budget for the order or for the project yet.
(With availability control against releases for the project: You have not entered any releases for the project yet.)

Problem: In this status, debits (purchase requisitions, purchase orders, as of the status 'Released' invoices also) can be posted to the order or to the WBS elements of the project, as the availability control has not yet been activated.

How can this be prevented?
Other terms


ME21, ME21N, ME51, ME51N, MR01, MIRO, FB01, FB50
No availability control
Reason and Prerequisites


Due to technical and performance reasons, the availability control can only be activated if budget already exists for the order or for at least one WBS element of the project.
Solution


There are three workaround solutions for this problem.
    1. Activating availability control without any budget (user exit as of Release 4.6C)
              You can use a user exit to activate the availability control for the order or for the project without any existing budget. For further details, see Note 599813.
    2. Entering a dummy budget
              Enter an original budget, for example, to the amount of a currency unit (transaction KO22 or CJ30) in the order or in a top WBS element of the project.
              If you have set
      a) activation type 2 (background activation) or
      b) availability control against releases (possible only with projects) for the availability control,
              subsequently activate the availability control explicitly with transaction KO30 or CJBV.
              Afterwards, reset the original budget with the same transaction (KO22 or CJ30) to zero.
              The availability control is now active in the order or project, even though the budget is still zero.
    3. Solution by using a user status profile
              Restriction: You can only use this solution for WBS elements if you want to budget all account assignment elements. In other words: If account assignment elements that are to remain without a specific budget exist in a project, the solution described in the following section cannot be used.
It cannot be used either, if allotted funds are not to be assigned to WBS elements, but to subordinate orders, networks or network transactions instead.
              Preparation: If you do not use any user status profile for your orders or WBS elements, use transaction OK02 to create a user status profile and assign it to the 'Internal order' or 'WBS element' object category.
In addition, provide the relevant order types or project profiles in Customizing with the newly created user status profile so that in future newly created orders or WBS elements use this automatically.
              In the (new or existing) user status profile add a new status without status number, for example, the status NOBU ("no budget"). For this status, set the 'Initial status' indicator so that it is automatically set with the creation of orders or WBS elements.
In this status, relevant debits of all types should be forbidden. Double-click the status NOBU to navigate to the transaction control of the new status and choose 'New Entries'. A list of the business transactions with an indicator for the business transaction control is displayed.
      a) Override:
                       Set all relevant debit business transactions to 'Forbidden': Purchase requisitions, purchase orders, G/L account postings, and so on .
                       In other words: For an order in the status NOBU all relevant debit business transactions are forbidden. As NOBU is in the initial status, these debit business transactions are automatically forbidden for all newly created orders or WBS elements that do not have any budget yet, in particular.
      b) Follow-up action:
                       The status NOBU is to be automatically deleted ('Delete' indicator)
==> with availability control against budget through business transactions 'Budgeting' and 'Budget supplement',
==> with availability control against releases through business transaction 'Budget Release'.
                       In other words: As soon as a budget that is relevant for the availability control is assigned, the debit business transactions that are forbidden through the status NOBU are potentially possible again.
These debit business transactions are then checked by the availability control.
                       Note 1: If the 'Delete' indicator is not provided and, as a result, you cannot set it as a follow-up action, then use transaction BS32 to set the 'UsrSt' indicator for transaction KBUD (Budgeting) or KBFR (Budget Release).
                       Note 2: With availability control against releases, make sure that the corrections for Note 367984 have been implemented in your system.

Error en control de disponibilidad de Presupuesto en PS

Parametrizado el control de disponibilidad tipo "2" Warning y aviso via mail al responsable tras superar umbral de presupuesto definido, SAP envpia mensaje de error al realiza SOLPE.

Solución asignar Responsable al PEP, SAP sino encuentra responsable para enviar el mail de advertencia arroja mensaje de ERROR y ninguna información adicional.

Reestructuración base de datos info Proyecto (no documentado)

Reestructuración base de datos info Proyecto  -->  CJEN

Ajuste entre PI y registros de totales (costes reales + comprometidos)  -->  (SE38)  RKACOR04

Reparación tablas de números de objetos ONR*  -->  (SE38)  RBONRRP1



martes, mayo 08, 2012

Analisís de progreso en Tabla (ALV, y MUCHISIMO más amigable que CNE5)

Transacción CNPAWB

Campos Obligatorios en Componentes de Material (PS)

Definir obligatoriedad de campos en los Componentes de Material en CJ20N.
Considerando que los definidos en MM no tienen aplicación (campo Clase de Costo por ejemplo aparece como disponible y en MM está definido como visualizable).

Transacción OIPSMDMAT debe ser habilitada en el exterprise business functions (transacción  SFW5) :


OPS_PS_CI_1


Esto abre la parametrización de selección de campos para los componentes de material:









Esta genera otras mejoras descritas al final de este artículo(como la creación del botón Grabar sin Salir en CJ20n), pero como apremiaba la asignación de campos ...


Documentación de la EBF:


http://help.sap.com/erp2005_ehp_03/helpdata/EN/59/2C933709F042A09ECDA7F7971698C2/frameset.htm


Features

Project Builder
  • You can call up archived projects for viewing.
  • When processing a project, you can save the changed data without exiting the project.
  • You can manage statistical key figures on an additional tab page.
  • You can choose how many recently-processed projects should be displayed.
  • You can create collective purchase requisitions.
  • You can manage short and long texts in multiple languages for the following PS objects (multilanguage support):
  • Project definition
  • WBS element
  • Activity/operation
  • Network
  • Milestone
ProMan
  • Integration of progress tracking for material components
  • Additional tab page for customer enhancements
  • Changing of material assignments using drag and drop
  • Grouping of materials and external services to a single purchase requisition
You can use ProMan to display all procurement-related data and documents for a specific object in different overviews. Information of the procurement process is consolidated from different applications - for example, the Project System, Materials Management, and Production Planning and Control.
In these ProMan overviews, you can run various procurement-related functions; for example, you can create an order for a purchase requisition, post a goods issue for network components, transfer stock, and so forth.
Forecast Workbench
You can create forecasts for the following objects:
  • WBS element
  • Network activity
Progress Tracking
In this business function, progress tracking is also available for the following PS objects:
  • Network activities
  • Work breakdown structure elements
Progress tracking enables you to track the progress of work breakdown structure elements and network activities by means of deadline information, priorities, and statuses of assigned events. You can manually enter the data, or have the system calculate the data from existing system data.
Easy Cost Planning
In this business function, you can use Easy Cost Planning also for network activities and individual activity elements.
Access Control List
You can use an access control list to assign authorizations for the following PS objects:
  • Project definition
  • WBS element
  • Network
  • Activity/operation
  • Activity elements
You can assign the following authorizations:
  • No Authorization
  • Read
  • Edit
  • Administration
Three user types are available:
  • Single users
  • User group
  • Organizational unit
The access control list is displayed on a new tab page for each PS object. You can specify whether the system should pass on access rights. You can use the menu option Delete Access Control List (transaction CNACLD) to display and delete all access control lists of a project.
Progress Analysis Workbench
You can display the result of the query in the standard layout or the confirmation layout. These layouts can be shown as a table or a tree structure.
The milestone POCs of a project are displayed in a separate column.
When the data is exported to Microsoft Excel tables, the PS object types have descriptive names.
Status changes made in projects can be temporarily stored in the progress analysis workbench.
After a Microsoft Excel file is uploaded, the system issues a log with all data that could not be uploaded.
Business Add-Ins for the Calculation in the Project System
The following Business Add-Ins are available:
  • Customer-specific Prices for Cost Planning of Networks: BADI_ACT_PRICE_CK
  • Adjustment of the CO Version for Storing the Planned Costs of Networks: BADI_NW_CO_VERS_CK
Material Component
Item category C is now available for material components that you assign to network activities using a catalog. Material components with item category C cannot be copied.
You can assign delivery address also to material components that do not have the procurement type third-party purchase requisition. A new button is available in the tabular component overviews for this purpose.
You can use a field selection to determine which fields should be displayed in the component overview, and in the detail view.
You have the option of adding a new tab page for the detail view of material components, where you can add customer-specific fields.
Settlement Rules
By regenerating the settlement rules, you can change settlement rules that were automatically generated for a WBS element. TheWBS_SETTLEMENT_RULE BAdI includes the GET_TEMPLATE method for this purpose.
Performance improvement through allocation of status combinations
You can assign a combination of statuses to a project. This speeds up the creation of reports because the system only needs to search in one status table instead of two. In the Implementation Guide (IMG), you can configure which statuses are possible and which priority should be used to assign those statuses. From the SAP Easy Access menu choose   Project System   Structures   Operative Structure   Work Breakdown Structure (WBS)/Network  .
WBS Account Assignment at MRP Area Level
The Implementation Guide now includes the IMG activity Determine WBS Account Assignment at MRP Area Level (TPS_MRP_AREA_PSP). In this IMG activity, you use the WBS Account Assignment at MRP Area Level indicator to control the planning of MRP elements that are assigned to projects in the Project System and in which there are storage location MRP areas.
BI Content
The following extractors are available for BI Content:
  • Extractor for statistical key figures for network, network activity, and activity element
  • Extractor for data from the customer fields for project definition, WBS element, network, network activity, and activity element
  • Extractor for data from the user fields for WBS element, network activity, and activity element
  • Extractor for Easy Cost Planning data and the customer fields for WBS element, network activity, activity element, and claims
  • Extractor for language-dependent short texts



Using the BAdI BADI_MAT_CUST_SCR customers now can define customer specific fields
for material components and display them on a separate tab in the detail view of components.

Customers now can define a field selection for material components and thus control which
fields should be displayed in the detail and tabular views of material components. You can
define the field selection using the following IMG menu path:

Project System->Material Procurement ->Define Field Selection for Components

PROMAN en PS

Aunque no se utilice PROMAN (Aprovisionamiento orientado a Proyecto) ni lista de materiales, igualmente se puede utilizar la transacción principal CNMM , ofreciendo un resumen general de los componentes de material de proyecto y su status.








Funciones para trabajar en PS con numero interno (object number)

La mayoría de las tablas requeridas para desarrollos en PS , requieren la utilización de OBJNR (object number) la nota siguiente señala las funciones de conversión a utilizar (como usuario lo más sencillo es utilizar la transacción RKACSHOW).

Note 522246 - PS consulting: Internal and external number for project/WBS


Within a client, a unique 1:1 ratio exists between the external WBS element number and its respective internal number.

The internal number is part of the key on the database table. The external number is unique, this means the external number can similarly only occur (as the internal number also) in each client one single time.

The internal number is determined from the respective number range object when a project or WBS element are created. The object number of the object is created based on this internal number.
The conversion between internal and external number is processed with the following modules:
  • CONVERSION_EXIT_KONPD_INPUT
           converts the external project number into the internal project number (definition)
  • CONVERSION_EXIT_KONPD_OUTPUT
           converts the internal project number into the external project number (definition)
  • CONVERSION_EXIT_KONPR_INPUT
           converts the external WBS element number into the internal WBS element number
  • CONVERSION_EXIT_KONPR_OUTPUT
           converts the internal WBS element number into the external WBS element number
  • CONVERSION_EXIT_WILDC_INPUT
           converts the external WBS element number into the internal WBS element number (wildcards)
  • CONVERSION_EXIT_WILDC_OUTPUT
           converts the internal WBS element number into the external WBS element number (wildcards)
  • CONVERSION_EXIT_KONPS_INPUT
           standard WBS: converts the external project number into the internal project number
  • CONVERSION_EXIT_KONPS_OUTPUT
           standard WBS: converts the internal project number into the external project number
  • CONVERSION_EXIT_KONPT_INPUT
           standard WBS: converts the external WBS element number into the internal WBS element number
  • CONVERSION_EXIT_KONPT_OUTPUT
           standard WBS: converts the internal WBS element number into the external WBS element number

These conversions are carried out partly automatically, however, they can also be called 'manually'.

If they are called 'manually', the initiator is responsible for the consistency of the data. Conversion modules cannot return any exceptions and must therefore work with messages.

If, for example, CONVERSION_EXIT_KONPR_INPUT is called with an external number that is not compatible with the project coding mask (see project coding mask) (for example, letters in a numeric section), the program terminates.

Example for automatic conversion:
           You position the internal number of a WBS element on a screen by using DDIC field PRPS-PSPNR. Its data element PS_POSNR uses domain PS_POSNR which has KONPR defined as the conversion routine.
           
           This causes the internal WBS element number used in the program as the external number to be automatically displayed when this screen is processed (by CONVERSION_EXIT_KONPR_OUTPUT). This is actually the usual situation, in other words, if a WBS element is displayed on a screen, this is normally the automatically converted internal number.
           
           If you enter an external WBS number in the WBS element field, the system converts it automatically into the internal number (by CONVERSION_EXIT_KONPR_INPUT).
           
           As a result, it is not possible, for example, to search in Transaction SE16 in database tables for internal numbers. If an internal number is entered in field PSPNR, it is treated as an external number. Therefore the conversion fails, the project/WBS element is not found. Use Transaction SE17 here which does not carry out any conversion.

The internal number or the object number of the WBS element are stored in all reference objects in which the WBS element is used as the account assignment (network activity, purchase requisition, settlement rule, classification, CO document, FI document and so on).

This way the external number of the project or WBS element can subsequently be changed at any time; the internal number (and thus the consistency of the data) as a result remains unaffected.

A project or WBS element that is identified in different clients or in a distributed system by an identical external number have with almost certain probability different internal numbers.

For this reason, projects and WBS elements must not be copied from another system or client into a target system that is not empty because the internal number would thus also be copied.

In distributed systems, also the internal number is generally different for each system for a project or WBS element, however here identification takes place between the systems explicitly with the external number.

For this reason the external number is not changeable for ALE distribution.