SAP ABAP IMG Activity ADS2KIPUPL_S_READER (Implement Customer Extensions to S File Reader)
Hierarchy
☛
ECC-DIMP (Software Component) DIMP
⤷
IS-AD-SPC (Application Component) Specification 2000
⤷
ADS2KIPUPL_AL (Package) SPEC 2000 Initial Provisioning Upload: File Readers/Parsers
⤷
⤷
IMG Activity
| ID | ADS2KIPUPL_S_READER | Implement Customer Extensions to S File Reader |
| Transaction Code | S_KA5_12001156 | IMG activity: ADS2KIPUPL_S_READER |
| Created on | 20020509 | |
| Customizing Attributes | ADS2KIPUPL_S_READER | Implement customer extension to S File Reader |
| Customizing Activity | ADS2KIPUPL_S_READER | Implement customer extension for S File Reader |
Document
| Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
| Document Name | ADS2KIPUPL_S_READER |
You use this Business Add-In (BAdI) to handle S File record types that are not part of SPEC2000. It needs to be used in conjunction with the S File Parser BAdI (ADS2KIPUPL_S_PARSER).
SAP provides the following methods:
- INITIALIZE: Invoked for every part. You can use it to initialize or set pre-defined values. No parameters or exceptions are available.
- READ_RECORD: Invoked when the non-SPEC2000 compliant record type is encountered. Method is invoked every time an unrecognized record is encountered.
If the BAdI is not active, these �unknown� record types are logged as errors in the upload log.
The interface for the method:
- IS_PART_KEY: Key fields of the Part
- IS_PART_DATA: S File data that has been read
- I_LINE_CONTENT: Record data
- I_LINE_NO: The line number where the record was encountered
- ET_MESSAGES: Format in which the messages should be raised.
- REJECT_RECORD: Exception for the method. Rejects the record.
- RETURN_PART_DATA : Method is invoked at the end of processing of a part. Data read in the READ_RECORD method calls need to be encoded. The encoded data must be passed to the calling function. The data would then be accessible to in the S File Parser implementation. The interface of the part:
- IS_PART_DATA : S File data that has been read.
- ET_ENCODED_DATA_C: Customer has to encode the data in this format. Use the function module �SPTA_INDX_PACKAGE_ENCODE� for encoding.
Example
Requirements
Standard settings
Recommendation
Activities
Further notes
Business Attributes
| ASAP Roadmap ID | 204 | Establish Functions and Processes |
| Mandatory / Optional | 2 | Optional activity |
| Critical / Non-Critical | 2 | Non-critical |
| Country-Dependency | A | Valid for all countries |
Assigned Application Components
| Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
|---|---|---|---|---|
| SIMG | ADS2KIPUPL_S_READER | 0 | KAD0000015 | Provisioning |
Maintenance Objects
| Maintenance object type | E | Business Add-In - Definition |
History
| Last changed by/on | SAP | 20021112 |
| SAP Release Created in | 471 |