IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be Technical Analysis for SAP Request Intervention Type New functionality Business Unit Electrabel NL SAP Module ISU Environments Tests: Target: Title Add profile version in billing document ED5 EA5 EP5 Approved by Prepared by Gernald van der Heide Tel number E-Mail 0031 88 769 1801 Sending Date Request for change 29/08/2011 CH 6626 gernald.van.der.heide@electrabel.nl Due Date Estimated Time Service Order Activity I.1.1. Notes Author ICT Service & Support Path FO: FO 6626 Facturatie BALL V2, V3, V4 in IS-U (mantis 6992) Page 1 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be I. Scope A custom field in billing document is needed to store the status of the corresponding BILL profile in EDM. Custom field needs to be added to table ERCH. The value needs to be retrieved from table EPROFVALSTAT. To implement this functionality SAP enhancement EBIA001: IS-U: User-Defined Fields in Billing Document, include ZXBI1U01 can be used. II. Example of expected result II.1 Example of result(s) Billing document: New field ‘Profile status’ need to be visible somewhere in the billing document, tab ‘Other’? Author ICT Service & Support Path Page 2 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be Status BILL profile: II.2 Reference tests data-set System: Installation: Author ICT Service & Support Path ED5 100 4870001155, Billing document: 508700005500 Page 3 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be III. General information III.1 III.2 Program’s name Enhancement: Function module: Include: EBIA0001 EXIT_SAPLEA01_001 ZXBI1U01 Create customer field: ZZPROFILESTAT, table ERCH, include CI_ERCH Development class ZEISB_BILLING III.3 Difficulty level Middle III.4 Process type On line, Background depending on the billing run. III.5 Prerequisites No Prerequisites needed III.6 Frequency Expected to be used on a Daily basis III.7 Other remarks Author ICT Service & Support Path Page 4 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be IV. Technical information IV.1 Data declaration IV.1.1. Tables (mandatory) Add following field to table ERCH, structure CI_ERCH: ZZPROFILESTAT Datatype/length: CHAR10 Short Description: Status of Billing profile IV.1.2. Internal tables Not applicable IV.2 Selection criteria & parameters IV.2.1. Export XY_BILL_DOC-ERCH-ZZPROFILESTAT Field name Description Type ZZPROFILESTAT Profile status CHAR10 IV.3 Default Others Author ICT Service & Support Path Mandatory Page 5 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be V. Process logic V.1 Select in database See Process flow. V.2 Process flow Include: ZXBI1U01 Check if it isn’t yearly billing: Check if period of portion is not equal to ‘12’ (that’s yearly billing) Portion = xy_bill_doc-erch-portion Period = TE420-PERIODEW Table can be linked to each other by TE420-TERMSCHL and xy_bill_doc-erchportion. Determine status of BILL profile for the whole billing period: Start date billing period = xy_bill_doc-erch-begabrpe End date billing period = xy_bill_doc-erch-endabrpe In variant program ISU_ZUTIL100 the status of the BILL profile is also determined. Retrieve data from interface First of all determine BILL profile by using RTP interface. (X_OBJ- IRTPINTF) Prepare data The profiles with the corresponding timeperiods have been put in an internal table during the step ‘Retrieve data from interface’. In this step this table is condensed so that only 1 maximum period per profile remains. Setting status to UTC The checkperiods have to be changed to UTC-time in order to be able to retrieve the correct status records from the table in the step ‘Select profile status’. Select profile status The profile statuses are retrieved for the period that has to be selected for the relevant profiles. Statuses can be found in table EPROFVALSTAT, select only statuses which starts with ‘E*’. Convert & store profile status There can be found one or more statuses for the Billing period in table EPROFVALSTAT. Determine short text for status, table TJ30-TXT04 (for example E0001 will become CW) STSMA=’NLEDM001’ Store corresponding TJ30-TXT04 of status (es) in the new field ‘Profile status’(ZZPROFVALSTAT). Author ICT Service & Support Path Page 6 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be V.3 Others Author ICT Service & Support Path Page 7 of 8 Document1 22-03-16 IT - Services ASC Sap Service Center SSC-TS-WB/HQE@electrabel.be VI. Estimated delta for development In time: xx of delay In budget: xx days of development (In case of wrong preliminary evaluation) Delivery date: dd / mm / yyyy (Must be in Production System) Testing date (internal): dd / mm / yyyy (Without BU?) Acceptance date: dd / mm / yyyy (With BU) VII.Modification / Bug fixing VII.1 Blank templates to select Type Modif Description To be used for usual modifications that must be described. FAST Code Modif For one line or a block of code well defined. No validation from WB team. BA is responsible. Bug Various bugs that must be described. VII.2 RFC Number Date Author Object Grid to insert wished modifications Copy from the block above (IX.1) the appropriate line/document according to your specific intervention type, and paste the whole line in the grid below. Fill in the object document with your requirements. Type Description Author ICT Service & Support Path RFC Number Page 8 of 8 Document1 Date Author Object 22-03-16