cancel
Showing results for 
Search instead for 
Did you mean: 

MESSAGE MAPPING FROM SQL TO RFC(BAPI)

Former Member
0 Kudos

Hello Guys,

Im just new here in SAP XI version 7.0 . Can anyone teach me how to map objects using IR (design) between sender (data coming from sql 2005) and receiver (using Bapi_Salesorder_Createfromdat2)?

there are only specific fields i need to transfer the data like the followings :

do i need to map all fields from sender to receiver?tell me how..

*ORDER_HEADER_IN

-DOC_TYPE = ZTRV

-SALES_ORG =4000

-DISTR_CHAN =40

-DIVISION=41

-SALES_OFF=4101

-SALES_GRP=411

-PURCH_NO_C='TEST TPL1' (MUST BE UNIQUE)

-PMNTTRMS =Z015

-PURCH_DATE=09/04/2008

*ORDER_PARTNERS

-PARTN_ROLE= AG

-PARTN_NUMB=1100074

Thanks in advance

aVaDuDz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create :

1. Source & Target Data Types

2. Messge Type (for source & target data types)

3. Two Message Interface for using above message types

4. One Message mapping using source & target message Type

5. One Interface mapping.

In message mapping just map those field which you require. You can leave rest of the fileds un mapped at source which are not required to map.

Regards,

Sarvesh

Answers (0)