Professional Documents
Culture Documents
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.
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.
Step10. Provide the sender ystem, Destination system and the segment name 'E1MARMM' to be
filtered and Save it.
Step12. Provide the details for the material 4081 and save it.
Step15. Provide the Material number- 4081, Message type and the Logical system and 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.
Step25. Now again go to Tcode- WE02 in the source system to track the Status of the IDoc.
Step28. Go to Tcode -BDM2 in the sender system to get the IDoc number generated for the receiving
system.
Step31. The IDoc number - 199029 is generated in the destination system for the source IDoc203058.
Step34. The Inbound IDoc 199029 contains material 4081 without the segment 'E1MARMM'.
Step36. Provide the material number and click the Enter button.
Step38. The material is created in the Destination system with segment filtering.
_______________________________________________________________________________
Posted 3rd November 2013 by S Prasad
View comments
TECHSAP
Home
Topic Tutorials
FPM Tutorials
6.Smartfrom: How to call a Smartform progrmatically that works in development, quality & production?
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
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 Calls
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.
View comments
Loading