CROSS APPLICATIONS
CREATING LOGICAL SYSTEMS: (TCODE – BD54) STEP1: Go to BD
Press enter
Click on new entries
Yahoo sender sys 800-lid (where 800-lid is the client address of server) Google receiver sys 810-lid (where 810-lid is the client address of server) Click on save
STEP2: - SCC4 (Assigning local systems) Go to SCC4
Click on change button Click on details button
Client = sender sys 800-lid (Be careful by this) Logical system = Yahoo
Press enter Save and back Select 810 Click on details
Client = sender sys 810-lid (Be careful by this) Logical system = Google
Press enter
Click on save and back STEP3: - SM59 (RFC Destination)
Go to SM59
RFC destination (ex: - Z_CONNECT) STEP4: - WE30 (IDOC Creation)
Go to WE30
Enter obj. name (ex: - MATMAS05) Have close look on it
STEP5: - WE81 (Creating message type) Go to WE81
Click on positions button
Message type (ex: - MATMAS)
STEP6: - WE82 (Linking message type to IDOC type) Go to WE82
Click on positions button
Message type (ex: - MATMAS) Basic type (ex: - MATMAS05) Press enter
MESSAGE TYPE BASIC TYPE EXTENSION RELEASE
MATMAS MATMAS05 470
STEP7: - WE21 (Port creation) Go to WE21
Select transactional RFC Click on create
Own port name Name (ex: - DHL) Press enter
Description (ex: - Yahoo to Google) RFC destination (ex: - Z_CONNECT) STEP8: - WE20 (Partner profile)
Go to WE20
Select partner type LS Click on create
Partner NO. = Google → receiver system name Partner type = LS
Type (ex: - US) Agent (ex: - user1) Language (ex: - EN) Select the outbound partner Click on button
Message type (ex: - MATMAS) Receiver port (ex: - DHL) Transfer IDOC immediately Basic type (ex: - MATMAS05) Click on save
STEP9: - In LID 810 – WE20 (Partner profile) Go to WE20
Select partner type LS Click on create
Partner NO. = Yahoo → sender system name Partner type = LS
Type (ex: - US) Agent (ex: - user1) Language (ex: - EN)
Select inbound parameters Click on button
Message type (ex: - MATMAS) Process code (ex: - MATM)
NOTE: - MATM is the process code for MATMAS DEBM is the process code for DEBMAS CRE1 is the process code for CREMAS ORDE is the process code for ORDERS. STEP10: - BD64 (Distribution model)
NOTE: - Before you perform BD64 ensure connections are intact Go to BD64
Click on change button
Click on create model view button Short text = master data distribution Technical name = Dist_mm01 Press enter
Select the model view you have created Click on add message type button
Sender = Yahoo Receiver = Google
Message type = MATMAS Press enter
Click on save
Select the model you have created Environment → generate partner profile
Partner system = Google Press F8
Back
Select the model you created Edit → model view → distribute Press enter
Model view DIST_MM01 has been created Back
Put it in display mode STEP11: - MM01 (Create a material)
Material (ex: - cross-mat1)
Industry sector (ex: - mechanical engineering) Material type (ex: - raw material)
Press enter
Click on default values Press enter
Enter material description (ex: - TCS info) Base unit of measure (ex: - ea)
Click on save.
STEP12: - BD10 (Send material) Go to BD10
Material = cross-mat1
Message type (standard) = MATMAS Press F8
1 mater IDOC is created
1 communication IDOC is created
If we get 0 master & 0 communications go to BD64 and delete STEP13: - BD75 (Commit IDOC)
Go to BD75 Press F8 Press enter
STEP14: - WE02 (IDOC Display) Go to WE02
Created on 20.09.2011 20.09.2011 Direction = 1
Basic type = MATMAS05 Press F8
STEP15: - Login to receiver system LID-810 Go to WE02 (search for an IDOC)
Created on 20.09.2011 20.09.2011 Direction = 2
Basic type = MATMAS05 Double click on the error IDOC Go to the status record
Double click on the 51 error
Click on application log to see the error. SEGMENT FILTERING: - (TCODE – BD56)
Segment filtering is used to suppress the unwanted segments in the distribution of an IDOC.
The reasons can be security and finical reasons
We cannot suppress mandatory segments in an IDOC. STEP1: - Go to BD54
Press enter
Yahoo sender sys 800-lid (where 800-lid is the client address of server) Google receiver sys 810-lid (where 810-lid is the client address of server) Click on save
STEP2: - SCC4 (Assigning local systems) Go to SCC4
Click on change button Click on details button
Client = sender sys 800-lid (Be careful by this) Logical system = Yahoo
Press enter Save and back Select 810 Click on details
Client = sender sys 810-lid (Be careful by this) Logical system = Google
Press enter
Click on save and back STEP3: - SM59 (RFC Destination)
Go to SM59
RFC destination (ex: - Z_CONNECT) STEP4: - WE30 (IDOC Creation)
Go to WE30
Enter obj. name (ex: - MATMAS05) Have close look on it
STEP5: - WE81 (Creating message type) Go to WE81
Click on positions button
Message type (ex: - MATMAS)
STEP6: - WE82 (Linking message type to IDOC type) Go to WE82
Click on positions button
Message type (ex: - MATMAS) Basic type (ex: - MATMAS05) Press enter
MESSAGE TYPE BASIC TYPE EXTENSION RELEASE
MATMAS MATMAS05 470
STEP7: - WE21 (Port creation) Go to WE21
Select transactional RFC Click on create
Own port name Name (ex: - DHL) Press enter
Description (ex: - Yahoo to Google) RFC destination (ex: - Z_CONNECT) STEP8: - WE20 (Partner profile)
Go to WE20
Select partner type LS Click on create
Partner NO. = Google → receiver system name Partner type = LS
Type (ex: - US) Agent (ex: - user1) Language (ex: - EN) Select the outbound partner Click on button
Message type (ex: - MATMAS) Receiver port (ex: - DHL) Transfer IDOC immediately Basic type (ex: - MATMAS05) Click on save
STEP9: - In LID 810 – WE20 (Partner profile) Go to WE20
Select partner type LS Click on create
Partner NO. = Yahoo → sender system name Partner type = LS
Type (ex: - US) Agent (ex: - user1) Language (ex: - EN) Select inbound parameters Click on button
Message type (ex: - MATMAS) Process code (ex: - MATM) STEP10: - BD64 (Distribution model)
NOTE: - Before you perform BD64 ensure connections are intact Go to BD64
Click on change button
Click on create model view button Short text = master data distribution
Technical name = Dist_mm01 Press enter
Select the model view you have created Click on add message type button
Sender = Yahoo Receiver = Google
Message type = MATMAS Press enter
Click on save
Select the model you have created Environment → generate partner profile
Partner system = Google Press F8
Back
Select the model you created Edit → model view → distribute Press enter
Model view DIST_MM01 has been created Back
Put it in display mode
STEP11: - BD56 (Maintain table view) Go to BD56
Message type = MATMAS Press enter
Click on new entries
TYPE SENDER TYPE RECEIVER SEGMENT TYPE LS YAHOO LS GOOGLE E1MLGNM Press enter
Click on save.
STEP12: - BD10 (Send material) Go to BD10
Material = cross-mat1
Message type (standard) = MATMAS Press F8
1 mater IDOC is created
1 communication IDOC is created
If we get 0 master & 0 communications go to BD64 and delete. STEP13: - BD75 (Commit IDOC)
Go to BD75 Press F8
Press enter
STEP14: - WE02 (IDOC Display) Go to WE02
Created on 21.09.2011 21.09.2011 Direction = 1
Basic type = MATMAS05 Pres F8.
WORKING WITH CUSTOM IDOC’S AND DEVELOPING OUTBOUND INTERFACE: