Idoc Questions
-
Author
rakesh-krushna-behera -
Category
Documents
-
view
136 -
download
16
Embed Size (px)
Transcript of Idoc Questions
1.How can we trace the
trfcs?
Hi Using SM58 Transaction, we can trace the TRFCs Correct me if I am wrong
Thnx Krish2. how many views have you met with MATMAS ?
MATMAS is standard Message Type, and basic Idoc types assiocated with the same is MATMAS01,MATMAS02,MATMAS03.These are type of version given by SAP.3. what is function module for idoc genrtions
mater_idoc_distribute/FM MASTER_IDOC_DISTRIBUTE4. how will u handle the situation in a report using function module to generate a IDOC how will u handle the error IDOC in same report . 5. how many type of records in Idoc?
IDoc have a 3 types of Records 1.Control Record 2.data Record 3.status record 3 TYPES 1.CONTROL RECORD
(HOLDS THE ADDRESS)
2.DATA RECORD (HOLDS DATA NOTHING BUT IDOC) 3.STATUS RECORD ( HOLDS STATUS I.E ERROR OR SUCCESS)6. i have a material change material description how to trigger idoc?
Execute Tx Code BD10 and mention Respective Message Type, IDOC type and Receiving System Logical System name
go to sm37.and give the needed details.7. A program is generating an outbound IDOC and ther is some error in the data (say an outbound IDOC for Sales Order has been generated and the Material Number has not been properly formatted so that it can be accepted by the receiving system). How shall we handle this error from the program who is generating the outbound IDOC
Go to we 18 / we 19 and click on the glossory by giving the idoc number now go to the the conn eted sales ordr in ecc and see as to waht is the corect MTNR and give it in the idoc lable feld and save . Now go to BD87 and re rerun the idoc and the right idoc will be generated for thesameor
Content of segment can be changed if it is not in correct format. To change the content go to WE05 and go to Data record ,you can find a rectangle type symbol justleft to segment name. double click on it . go to menubar and data record >change then change the data and reprocess it.8. Without using the distribution model, can we send data from one system to another system by using ALE?
no we con't send.because When ever we try to send an IDOC it checks with distribution model and is there any filtering is defind or not, if it is defined then checks with filter data and then it checks with reciver and messagetype.Or
yes, we can always send idoc using FM MASTERIDOC_DISTRIBUTE.9. What is the main difference between ALE/IDOC and BAPI ?
ALE/IDocs are used for asynchronous information interchange.while BAPIs are used for synchronous information interchangeor
For EDI transfer of data is from IDOC to flat file,whereas for ALE & BAPI it is memory to memory transfer.For EDI to be implemented a subsystem is required to convert IDOC in flat file and vica versa.System should be EDI enabled.10. what is the table for trfc port
THE TRFC PORT DATA ARE STORED IN TABLE- ARFCDATA. ARFCDATA IS A TABLE NAME IN THIS TABLE AVAILABLE ALL SENDING TRFC DATA LIKE SENDING IDOCS ARE AVAILABLE.Or
THE TRFC POST DATA ARE STORED IN DATA BASE TABLE ARFCSDATA AND ARFCSSTATEOr
TidDatabaseConnectionString' this is the type of port for processing idoc's. DIFFERENT TYPES OF PORTS 1.TRFC --> IDOCS/ALE 2.XML --> JAVA 3.FILE PORT --> IDOCS 4.INTERNET --> WEB APPLICATIONS ................Or 11. Why we need to create RFC destination from PI to R/3?
pi(process integration) itself acts as middleware for creating connection between A2A OR B2B SCENARIOS.pi provides sinle point of integration.12. how to debug IDOC manually? if i want to extend the standard IDOC say MATMAS, where i have to write code for extension?
When extension is created for MATMAS, check the FM attached to that idoc in the configuration we57or
for errors u need to check for the status codes and cming to debug u can debug our the assingned function module i.e idoc_input_matmas05 or z(fun module) in case of custom and
while processing in bd87 the complete idoc can be processed by selecting the option available.13. can we, generate i doc for more than 1 vendor. i.e can we generate idoc for more than 1 po order 14. what is meant by idoc filtering?
Individual segments can be deleted from the IDoc before dispatch by selecting Functions for the IDoc processing > Settings for filtering in ALE Customizing. The appropriate setting depends on the sending and receiving logical R/3 System.Or
I Doc filtering is nothing but wipout unwnted idoc's that ar not required to recevingpartner. Let us suppose some message type iam sending from my central datbase sever to 5 no's application severs let it take as some plants in my company code . The master idoc will contains the data pertaining to the five plants. in thia case for plant No1 date is not reqiured pertaining to all the remaining plants i.e 2 3 4 5. in this case while creting the distribution model whe have to mention the filter key's Then when ever the master IDOC passe through ALE service layer it will check;s for filter key' values s for a receiver and it will wash out's the all the idoc's otherthan the values and cretes the communication IDOC. alwys communication Idoc is the subset of Master Idoc.Or
basically idoc is data container .i placed some data in idoc .iam sending idoc to 2 systems .if u want to place some restrictions to that idoc .u can use filter14. y we need SSF_FUNCTION_MODULE IN SMARTFORMS?
When a smart form is activated, a FM name is generated, and it could be different in Dev, Cons and prd systems. For that reason, we use the SSF_FUNCTION_MODULE name, to get the name of the FM at run time, and use for further processing.15. Hi to all. Let me know please 'IN real time What is actual role of an abaper in ALE-IDOCS and also wt abaper do in case of CHANGE POINTERS.
IN REAL TIME MAINLY WE WORK ON EXTENDED IDOC. WE WILL GO FOR THE CAHNGE POINTER IF THERE IS ANY CHANGE IN THE EXITING DATA NOT THE NEW DATA.IF WE CHAGE THE DATA (EX-CUSTOMER ADDRESS)AND EXECUTE BD21 THEN CAHNGW POINTER WILL WORK.IF WE CREATE A NEW CUSTOEMR THEN CAHNGE POINTER WILL NOT WORKOr
change pointers technique is used when u want to send only changes that are occured to the data in the database.to do this 3 tcodes are needed. BD61 BD50 BD21 (or) execute RBDMIDOCOr
change pointers technique is used when u want to send only changes that are occured to the data in the database.to do this 3 tcodes are needed. BD61(for activated change pointer) BD50(for activated message type ) bd52(for activated field,if required)
execute bd21(RBDMIDOC) all changed records are automatic send to the receiver system17. what are the roles and responsibilities of a technical consultant will be assigned in idoc development in real time? in case of a)IDOC EXTENSION b)sending TRANSACTIONAL IDOC c)CHANGE POINTERS
CHANGE POINTERS:ACTIVATION OF CHANGEPOINTERS FOR MESSAGE TYPES. CREATION OF IDOCS FR CHANGE POINTERS. CHANGE POINTERS CONCEPT IS BASED ON CHANGE DOCUMENT TECHNIQUE,WHICH KEEPS A TRACK ON ALL THE CHANGES MADE TO KEEP DOCUMENTS SUCH AS MATERIALMASTERS,CUSTOMERMASTER,VENDORMASTER. ALL THE CHANGES CREATIONS DONE TO THOSE DOCUMENTS ARE STORED IN CHANGE DOCUMENT HEADER TABLE. TABLE NAME:CDHDROr
Any thing can be assigned. 1. 2. 3. 4. working on custom IDOC, Extension IDOC Reduce data from the Message type Change pointers........etc
IDOC FiltrationBy Jaya Vani Bheemarasetti, YASH Technologies A Business Scenario: Consider a company that has 10 plants manufacturing the material MAT01. The material master data is maintained in the central SAP system for all 10 plants. The material MAT01 has an MRP view for each plant. If we distribute this material with MRP views, including the ones for other plants. When the number of materials exchanged between the systems is large and very frequent, this approach can be an unnecessary waste of network resources and can be undesirable from a business point of view. The technique of filtering at the IDoc level enables to send a subset of data that is relevant for a receiving system. The system provides several filter objects for each message type to filter data.
We have to choose the appropriate filter for our business needs and add it to our distribution model. Maintain the Following Configurations: Step 1 : Port Definition: T.code WE21.
Step 2: Partner Profile: T.code WE20
Double click on the Message Type MATMAS and enter Message type, Receiver port, Pack size, basic type and select the radio button Transfer IDOC immed.
Step 3: Distribution Model View: T.code BD64
There are no filtering objects attached to the Distribution model. The actual process is whenever a mater IDoc is created, the IDoc consults the distribution model and determines whether any filter objects are specified for a receiver. If so, the value in the filter
object is compared to values in the master IDocs data record. If the values do not match, the data record is dropped. To test the scenario, go to BD10 to send a material and here give the Message type and Partner system Logical name and execute.
. Here is the IDoc generated before applying filtering object.
For IDOC Filtration we have to search for a suitable filtering object in transaction BD59.
There are many predefined filtering objects available for standard message types. Here we have to give the Segment name and filed name that we want to drop.
The filtering objects we maintained in BD59 for a message type will be in the Distribution model. Double click on the No filter set in our distribution model, a screen will appear like below.
Create a filter group using Create filter group button. By default all the filter objects will appear. Double click on any of the filter objects and give values as shown below.
In Distribution Model we can see Data Filter Active
Below is the IDoc generated after applying filter object for Plant.