Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MESSAGE MAPPING FROM SQL TO RFC(BAPI)

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

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question