Ansicht
Dokumentation

RP_25_CON_MAP_EE_ADDRESS - Mapping EE address from IT 6 to the format prescribed

RP_25_CON_MAP_EE_ADDRESS - Mapping EE address from IT 6 to the format prescribed

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function maps employee's permanent address in the Address infotype (0006) to the format specified by Government of Singapore. This function calls another related function, that is RP_25_CON_MAP_ADDRESS, which will perform the actual parsing and mapping operations.

The return code for this function will be one of the following:

0: successful

1: Block number is empty

2: Story number is empty

3: Block and Story number are empty

4: Unit number is empty

5: Block and Unit number are empty

6: Story and Unit number are empty

7: Block, Story and Unit number are empty

Example

In the Address infotype (0006), following is the data stored currently:

Street/house no (P0006-STRAS) : Block 750A

Street address 2 (P0006-LOCAT): Chai Chee Road

(P0006-ADR03): #07-00

(P0006-ADR04): (blank)

Postal Code (P0006-PSTLZ): 469001

After the function is executed, following will be the output.

BlockNumber:,,750A

StoryNumber: ,,07

UnitNumber : ,,00

StreetName : ,,Chai Chee Road

PostalCode : ,,469001

ReturnCode : ,,0

Notes

To get the correct storey number and unit number, a hash (#) must be used. This must precede the storey number. Similarly a hyphen (-) must precede the unit number.

You can obtain the correct block or house number by putting block/house number before the street name. Characters 'BLOCK' or 'BLK' may be used to precede the block number, but they are not mandatory.

The Building name always comes after Unit number and is considered as building name only if there is an input in the street name.

The fields P0006-ADR03 and P0006-ADR04 are available from release 4.0B onwards.

Further information

For further details, refer to the documentation of function module RP_25_CON_MAP_ADDRESS.





Parameters

BLOCKNUMBER
BUILDING
POSTALCODE
PP0006
RETURNCODE
STORYNUMBER
STREETNAME
SUBTYPE
UNITNUMBER

Exceptions

Function Group

ADDRSG

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 2559 Date: 20240523 Time: 150116     sap01-206 ( 37 ms )