Entering content frame

Background documentation Business Partner Locate the document in its SAP Library structure

 

 

This graphic is explained in the accompanying text

 

In the above case, the Business Partner data from the legacy system (ZPRO) is the BDoc' that is mapped to the BDoc CAPGEN_OBJECT_WRITE using SMAP and is then put into the flow before it goes to the tables.

Representation in tabular format:

Temporary Table

ZPROSPECT

BDoc Name

CAPGEN_OBJECT_WRITE

CDB Table

SMOKNA1, SMOADRC

 

BDoc Generator Entries

The following entries should be done in the front-end using the transaction /nASCI

 

First screen

TEST_BP

 

Second Screen: BDoc' to BDoc

BDoc' transaction name

TEST_BP

BDoc' transaction short name

ASCII

BDoc transaction name

CAPGEN_OBJECT_WRITE

BDoc transaction short name

CRT_CAPGEN_OBJ_W

Input function module name

 

Output function module name

 

Map name

BUSN_PARNR

 

BDoc' Details

Table Field

Key name

Table hierarchy

Table order

ZPROSPECT

UNIQUE_NUM

1

1

 

 

Mapping Entries - Structure Mapper - Transaction /nSMAP

 

First screen--List of Mappings

Map Name: BUSN_PARNR

 

Second Screen - Mapping Details

Source transaction

Source table

Destination transaction

Destination table

Input Map Order

Map

 

ZPROSPECT

CAPGEN_OBJECT_WRITE

SMOKNA1

I

1

 

ZPROSPECT

CAPGEN_OBJECT_WRITE

SMOADRC

I

2

 

Third Screen - Map Field Details

Table 1

Source Field

Destination Field

Forward Function

Constants

Forward Map

Reverse Map

UNIQUE_NUM

KUNNR

'CAP'

SOURCE

4

COMPANY_NM

NAME1

ADR1

NAME2

ADR2

NAME3

ADR3

NAME4

ADR4

BRAN1

ADR5

BRAN2

ADR6

BRAN3

POST_CODE

ADDRNUMBER

TEL_NUM

BBBNR

ACC_NUM

PARTNER

NON_GUID

'1'

4

KNURL

'ASCII'

4

 

Third Screen - Map Field Details

Table 2

Source Field

Destination Field

Forward Function

Constants

Forward Map

Reverse Map

UNIQUE_NUM

KUNNR

SOURCE

'CAP'

4

COMPANY_NM

NAME_CO

ADR1

LOCATION

ADR2

BUILDING

ADR3

STREET

ADR4

STR_SUPPL1

ADR5

CITY1

ADR6

CITY2

POST_CODE

POST_CODE1

TEL_NUM

TEL_NUMBER

FAX_NUM

FAX_NUMBER

NON_GUID

'1'

4

NAME1

'ASCII'

4

 

 

 

 

 

 

 

 

 

 

 

 

 

Leaving content frame