38
ALE IDOC with Segment Filtering Collective Transfer Material Master From One SAP Server to another SAP server By ALE IDOC with Segment Filtering Business Scenario: Collectively Transferring Material by ALE IDoc between two SAP Systems with segment filtering. Generally the IDoc type ' MATMAS05' contains multiple segments and each segment contains multiple fields of the Material. The message type MATMAS contains some segments of the IDoc type MATMAS05. Segment Filtering is the deduction of some segments that is assigned to the message type so that not all the segments of the Message type are transferred to the destination system. Sender System: DEV, Client -200. Receiver System: QAS, client-200. Step1. Go to Tcode- WE30 in the sender system. Step2. Provide the IDoc type - MATMAS05 and click on the Display button.

ALE IDOC With Segment Filtering

  • Upload
    anil

  • View
    98

  • Download
    14

Embed Size (px)

DESCRIPTION

ALE IDOC

Citation preview

ALE IDOC with Segment FilteringCollective Transfer Material Master From One SAP Server to another SAP server By ALE IDOC with Segment FilteringBusiness Scenario: Collectively Transferring Material by ALE IDoc between two SAP Systems with segment filtering.

Generally the IDoc type ' MATMAS05' contains multiple segments and each segment contains multiple fields of the  Material. The message type MATMAS contains some segments of the IDoc type MATMAS05. Segment Filtering is the deduction of  some segments that is assigned to  the message type so that not all the segments of the Message type are transferred to the destination system.

Sender System: DEV, Client -200.Receiver System: QAS, client-200.

Step1. Go to Tcode- WE30 in the sender system.

Step2. Provide the IDoc type - MATMAS05 and click on the Display button.

Step3. The IDoc type 'MATMAS05' contains a number of segments like E1MARAM, E1MARA1, E1MAKTM and others.

Step5. Provide a previously created IDoc for message type MATMAS and execute it.

Step6. Now the IDoc contains 4 segments: E1MARAM, E1MARA1, E1MAKTM and  E1MARMM. Each of the segment carries multiple field values of the material. Now the task is to deduct the segment 'E1MARMM' from the message type 'MATMAS'.

Step8. Provide the MEssage type name 'MATMAS' and click on Continue button.

Step9. Click on New Entries Button.

Step10. Provide the sender ystem, Destination system and the segment name 'E1MARMM' to be filtered and Save it.

Step11. Now go to Tcode- MM01 in the source system to create a material.

Step12. Provide the details for the material 4081 and save it.

Step13. Material 4081 is created successfully in the sender system.

Step14. Now go to Tcode- BD10 of the sender system.

Step15. Provide the Material number- 4081, Message type and the Logical system and Execute it.

Step17. One Communication IDoc is generated in the sender system.

Step18. Go to Tcode- WE02 in the sender system.

Step19. Execute it.

Step20. The IDoc generated with Number- 203058 with status 30 as we have collective IDoc set up in the Partner profile. Double click on the line.

Step21. It carries the material 4081 without the segment 'E1MARMM'.

Step23. Provide the IDoc number - 203058 and execute it.

Step24. One IDoc is selected .

Step25. Now again go to Tcode- WE02 in the source system to track the Status of the IDoc.

Step26. Provide the IDoc number 203058 and execute it.

Step29. Provide the details and execute it.

Step30. Double click on the highlighted line.

Step31. The IDoc number - 199029 is generated in the destination system for the source IDoc- 203058.

Step33. Provide the IDoc number- 199029 and execute it.

Step34. The Inbound IDoc 199029 contains material 4081 without the segment 'E1MARMM'.

Step35.  Go to Tcode- MM03 in the destination system.

Step36. Provide the material number and click the Enter button.

Step37. Select the Basic data and press continue button.

_______________________________________________________________________________Posted 3rd November 2013 by S Prasad

  

 View comments

TECHSAP 

[visit www.marathustech.net for

classroom or online training or contact

+91 89708 40880]

Sidebar

Home  

Topic Tutorials

 

FPM Tutorials  

Topic Wise Questions for Interview?  

SAP ABAP Short Questions for written interview  

Need SAP Training?

Want to Call any URL from ABAP Program?

Calling Calculator in ABAP Program!

Reading program text pool!

How to create a Single Quote ?

Conversion: Raw to String

Conversions (2) : XSTRING to STRING

Conversions : XSTRING to STRING

Conversions : STRING to XSTRING

SAP Script Important Standard Programs!

How to use User Parameter ID ?

How to call Maintenance View Programatically?

How get to know SAP_JAVA engine is active or not?

How to Check Different Languages Installed in SAP System?

Maximum allowed sessions in SAP?

How to Create Number Range Object [Tx- SNRO]

Editable ALV with save functionality uisng OOABAP

Creating a dynamic variant for a report

Running background job by triggering an event

13.Smartfrom : How to debug a smartform?

12.Smartform : Passing data from driver program to Smartform interface

11.Smartform: Use of Copy Window in Smartform

Writing to or Reading from Application Server By ABAP Classes

Downloading File from SAP Appliciation Server Directory

Uploading File to SAP Appliciation Server Directory

Reading Data from SAP Application Server [ Tx- AL11 ]

Writing Data to SAP Application Server [ Tx- AL11 ]

10. Smartform :Designing a template in Smartform

9. Smartform : Designing a table in smartform

8. Smartform : Displaying address on a Smartform Window

7. Smartform : Displaying a logo on a Smartform Window

6.Smartfrom: How to call a Smartform progrmatically that works in development, quality & production?

5.Smartfrom : How to call a Smartform Progrmatically?

4.Smartform- Using Dynamic Text in window

3.Smartform- Using Standard Text in window

2.Smartform- Using Text module in window

1.Smartform - Using a text element in window

Benefits of use of text elements and its translation

Use of SAP OTR [OnlineText Repository] Text

Part4 : FPM OVP Application -Integrating Search UIBB and List UIBB: Displaying POPUP Screen

Part3 : FPM OVP Application -Integrating Search UIBB and List UIBB: Message Display

Part2 : FPM Integrating Search UIBB and List UIBB into FPM OVP Application : Link to action

Part1 : FPM Integrating Search UIBB and List UIBB into FPM OVP Application

Creating Range Table Type in Data Dictionary

Converting Script OTF data to PDF

Need to Convert Spool Request(Generated Background Job ) Into PDF!

Need to Convert Spool Request(OTF Script) Into PDF!

Tabbed Block at Selection-screen

qRFC with Outbound Queue & Inbound Queue between two different SAP systems - One LUW per

mixed part of the Queues

qRFC with Outbound Queue & Inbound Queue between two different SAP systems - One LUW per

Queue Call

qRFC with Outbound Queue & Inbound Queue between two different SAP systems - One LUW for

Multiple QUEUE CallsWant to Call any URL from ABAP Program?

-------------------------------------------------------------------------------------------------------------------------------Code:---------------------------------------------------------------------------------------------------------------CALL METHOD cl_gui_frontend_services=>execute  EXPORTING*   document               =     " Path+Name to Document    application            = 'www.google.com'   " Path and Name of Application*   parameter              =     " Parameter for Application*   default_directory      =     " Default Directory*   maximized              =     " Show Window Maximized*   minimized              =     " Show Window Minimized*   synchronous            =     " When 'X': Runs the Application in Synchronous Mode*   operation              = 'OPEN'    " Reserved: Verb für ShellExecute  EXCEPTIONS    cntl_error             = 1    error_no_gui           = 2    bad_parameter          = 3    file_not_found         = 4    path_not_found         = 5    file_extension_unknown = 6    error_execute_failed   = 7

    synchronous_failed     = 8    not_supported_by_gui   = 9    OTHERS                 = 10.IF sy-subrc <> 0.* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno*            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.ENDIF. 

---------------------------------------------------------------------------------------------------------------

Step1. cl_gui_frontend_services=>execute method can be used to call any URL. It can be used to call any webdynpro/fpm application from the program as every webdynpro/fpm application have an uniuqe URL.

 Step3. Still we can open any document by specifying the appropriate executable file, location of the directory of the file and providing the file name.

Step4. Here is one example how we can open a PDF file by the method cl_gui_frontend_services=>execute.

-------------------------------------------------------------------------------------------------------------------------------

Posted 2 days ago by S Prasad  

 View comments

Loading