user exit for enhancement during order creation-modified

6
AcceleratedSAP FUNCTIONAL / TECHNICAL SPECIFICATION FORM (FTS) - Forms Section I: Justification Area (SAP System components) Production Planning Date:08/18 /2006 Requested by: Rama Gottipati Sabine Scheumann Tel no: 269-267- 1435 Title: User exit for Order enhancement during creation Short description: User exit to replace material description in the production order with catalog string from sales order during order creation and place ‘C’ in the Priority field of production order if the sales order is for Contractor Program Priority: High/mandatory Medium/recommended Low/optional Date available from: Complexity Approx. duration of development work: High Medium Low Days Is there an alternative in the standard system? Yes No Description of alternative: Reasons why alternative is not acceptable: Project cost: Charge cost to: Cost approved by: Date of project management approval: Date of steering committee approval: Copyright © 2000 SAP AG. All rights reserved Page 1 of 6

Upload: mailstosj

Post on 12-Apr-2015

178 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

FUNCTIONAL / TECHNICAL SPECIFICATION FORM (FTS) - Forms

Section I: Justification

Area (SAP System components)

Production Planning Date:08/18/2006

Requested by: Rama Gottipati

Sabine Scheumann

Tel no: 269-267-1435

Title: User exit for Order enhancement during creation

Short description:

User exit to replace material description in the production order with catalog string from sales order during order creation and place ‘C’ in the Priority field of production order if the sales order is for Contractor Program

Priority: High/mandatory Medium/recommended Low/optional

Date available from:      

Complexity

Approx. duration of development work:

High Medium Low

      Days

Is there an alternative in the standard system?

Yes No

Description of alternative:      

Reasons why alternative is not acceptable:

Project cost:       Charge cost to:      

Cost approved by:      

Date of projectmanagementapproval:      

Date of steering committee approval:

     

Copyright © 2000 SAP AG. All rights reserved Page 1 of 6

Page 2: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

Section II: Detailed functional description

Copyright © 2000 SAP AG. All rights reserved Page 2 of 6

Page 3: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

Material description in production orders for configurable materials reflects the material description from the MAKT table (material description fro material master). This material description needs to be replaced with the catalog string from sales order. Also Priority field in the production order needs to be replaced with ‘C’, if the sales order is for contractor program. This requires to implement the user exit: Enhancement when creating an order

Program: PPCO0006 Enhancement to predefine fields in order header

Function exits: EXIT_SAPLCOZF_003   Exit for predefining fields in order header

Read Material CAUFVD-MATNR related with the production order being created.

1. Read the material description CAUFVD-MATXT , Priority (CAUFVD – APRIO), Sales order number AFPOD-KDAUF and sales order item AFPOD-KDPOS related with the production order being created.

2. If the Partner type (SDPARTNERLIST – PARVW) at the header level of the sales order = ‘CT’ or the partner type (SDPARTNERLIST – PARVW) at the line item level = ‘CT’, then place ‘C’ in the CAUFVD-APRIO field of the production order.

3. If the material type of the material (MARA – MTART) = ZCFG then read the catalog string associated with sales order line item from VBAP-ZZ_CATALOG_ID. Replace the material description in CAUFVD – MATXT with the value from VBAP-ZZ_CATALOG_ID. If the catalog string is more than 40 characters, read 39 characters and add * as 40 th character.

SAP HELP:

Enhancement when Creating an OrderTo predefine fields in the order header when creating production orders there is the following SAP enhancement available:

PPCO0006 Enhancement to predefine fields in order header

With this enhancement you can take fields from the order header in your own programm and process them or define values for them and transfer the changed data again to the standard system. The transfer to the system takes place before you reach the order header screen. All processed or predefined fields can still be changed on the header screen.

The enhancement PPCO0006 contains the following enhancement components:

Function exits:

EXIT_SAPLCOZF_003   Exit for predefining fields in order header

The fields in the order header (structure CAUFVD) are placed in the function exit. All the fields that you can define or change are defined in the structure HEADER_CUST. The contents of HEADER_CUST is transferred back to CAUFVD on leaving the function exit.

Activities

1. Create the enhancement.Either create a new project or use an existing project.

2. Process the enhancement component:

Copyright © 2000 SAP AG. All rights reserved Page 3 of 6

Page 4: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

Extend the program coding for the function exit EXIT_SAPLCOZF_003. It copies data from the SAP standard program to the individual part of your program and later copies you data back to the SAP standard program. If certain fields in the structure are already filled during the import in the enhancement carefully check the effect of changing a field (if in doubt leave the contents defined by SAP unchanged).

Call up the function module and double-click on the include line. Create the include module. If you define internal work structures you should always do this using ABAP language elements LIKE so that later structure enhancements from SAP do not lead to changes in your coding.

3. Activate the project.The enhancement does not take effect until you activate the project.

Section II.1: Business Case (Provide a brief description of the impacts to the business if this development is not approved, i.e. what quantifiable costs will be incurred as a result or what the quantifiable benefits are.)

Material description in production orders for configurable materials reflects the material description from the MAKT table (material description fro material master). This material description needs to be replaced with the catalog string from sales order. This requires to implement the user exit: Enhancement when creating an order

Copyright © 2000 SAP AG. All rights reserved Page 4 of 6

Page 5: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

Forms

RelevantTables/fields:

     

Desired form design:

Model for Standard Form

If this form is a copy of the standard form or is a template from the legacy system, please insert a copy here. Enter the name of the standard form, the corresponding path in Customizing and the transaction in the SAP System below.

Name of standard form:      

Path in Customizing:      

Transaction:      

Copyright © 2000 SAP AG. All rights reserved Page 5 of 6

Page 6: User Exit for Enhancement During Order Creation-Modified

AcceleratedSAP

Technical Specification

Developer:       Tel no:      

Name of form:      

Called up via:      

Create: Form Print program Both

Technical description:

     

Copyright © 2000 SAP AG. All rights reserved Page 6 of 6