Показаны сообщения с ярлыком idoc. Показать все сообщения
Показаны сообщения с ярлыком idoc. Показать все сообщения

среда, 18 мая 2016 г.

Control Record Fields of the IDoc Adapter (AAE)

  • SNDPOR - Should be SAP<SID>. If your PO Server has SID  "POD", then SAPPOD
  • RCVPOR - Should be SAP<SID>, If your ECC Server has SID "ECD", then SAPECD.
  • Your Receiver Business System and Sender Business System are the same? Atleast your screen shot is the same.
  • In your IDoc Receiver Channel, as you have selected Control Record in IDoc XML as Mandatory, make sure all these fields described in this link are set are required, The Control Record Fields of the IDoc Adapter (AAE) - Advanced Adapter Engine - SAP Library

Field Name
Description
MANDT
Client
SNDPOR
Sender port
The following valueas are possible:
  • port = SAP+System_ID 
    If the value of the SNDPRT field is not LS, MANDT and SNDPRT determine sender service.
  • port <> SAP+System_ID 
    If the value of the SNDPRT field is not LS, the field directly determines sender service.
SNDPRN
Sender partner number
SNDPRT
Sender partner type. The possible options for this field are:
  • Logical system (LS) 
  • Customer (KU) 
  • Vendor (LI) 
  • User(US) 
SNDPFC
Sender partner function (optional field)
RCVPOR
Receiver Port
RCVPRN
Receiver partner number
RCVPRT
Receiver partner type. The possible options for this field are:
  • Logical system (LS) 
  • Customer (KU) 
  • Vendor (LI) 
  • User(US) 
RCVPFC
Receiver partner function (optional field)
MSGTYP
Message type
IDOCTYP
Idoc type
CIMTYP
CIM type

понедельник, 4 апреля 2016 г.

Programms to reprocess IDocs

The program to re-process the IDocs depends on the staus of the IDocs which you are supposed to re-process. Let me give you a few programs used to reprocess the Idocs based on theie current status.

Program RBDMANI2  for status 51
Program RBDAPP01 for status 64
Program RBDAGAIE for status 32 and 69 (Edited IDocs)
Program RBDSYNER for status 26
Program RSEOUT00 for status 30

понедельник, 10 августа 2015 г.

ALE configuration normally involves the seven basic steps which are

  1. 1. Create Users for ALE transfer in both receiving and sending client/systems.
    Create users in both the client/systems giving the same user name and proper authorizations. We need to use these user ids to logon through the remote connection and perform the IDOC transfers.
  2. 2. Creating Logical system and assign the client Create logical systems for both sending and receiving systems in both systems.
    o       Login to Client 100 (SENDER)
    o       Go to T. Code SALE
    o       Expand Sending and Receiving Systems
    o       Expand Logical Systems
    o       Click on Define Logical System
    o       Click on New Entries
    o       Create Logical Systems with naming convention 'system name'+'CLNT'+client no . For example for sending system ex: DEVCLNT100
    o       Create Logical Systems with naming convention 'system name'+'CLNT'+client no ex: example for receiving system ex DEVCLNT110
    o       Save and come back
    o       Click on Assign client 100 to Logical system DEVCLNT100
    o       Now, logon to client 800, repeat the same above process to create logical systems DEVCLNT110 and DEVPCLNT100
    o       Save and come back
    o       Click on Assign client 110 to Logical system DEVCLNT110
  3. 3. Creating the RFC
       In client 100, Go to T. Code SM59
o       Expand R/3 Connections
o       Enter RFC Name as DEVCLNT100 (give this name same as that of logical name created in step1 so that the ports are automatically created)
o       Connection Type as 3
o       Language as EN
o       Give the logon details for client 110 (usually, we create a new user with proper authorizations for this ALE data transfer)
o       Click on Remote logon button to test the RFC
o       Now, go to client 110 and repeat the same process to create the RFC connection to client 100, giving logon credentials to client 100
  1. 4. Configuring Customer Distribution Model(we usually create this in the original system(sending system) and then distribute it to other systems. The actual creation of the model requests that you mention a technical name for the model (unique identifier in the systems landscape), a sender system, a receiver system and message types to exchange between those systems.)
o In Client 105, Go to T. Code BD64
o       Click on change and Create model view button
o       Enter the short text and Technical name as Zdev1_dev2
o       Select the model and click on Add Message Type Button,
o       Give the Sender as CEVCLNT100, Receiver as DEVCLNT110,
o       Give Message type as required, Ex: 'HRMD_A' for HR Module.(usually Message types given by SAP are available for a particular module, see this using tcode WE81, if not create a message type first)
o       Note: If we are performing this data transfer task for all modules at a Customer site, then we will need to use the appropriate message type and create a new Distribution model.
o       Select the above model view and click on Environment -> Generate Partner Profiles
o       Select Transfer IDOC Immediately and Trigger Immediately radio buttonsF
o       Click on Execute
o       You should get a list in green color which means it executed successfully.
o       Back to main screen, select the model view
o       Click Edit->Model view->Distribute
o       Click on continue
o       You should get a list saying model view is distributed successfully.
 
 
 
  1. 5. Configuring and checking the port In client 100, Go to T. Code WE21
    o       Expand Transactional RFC
    o       Find the port from the list which is created using BD64 for DEVCLNT110 (Receiving system) RFC Destination.

  2. 6. Configuring and checking the partner profile In client 100, Go to T. Code WE20
    o       Expand Partner Type LS
    o       Select the Partner profile DEVCLNT110
    o       Double click on Message Type (For Ex: In HR Module, HRMD_A in Outbound parameters.)
    o       Check Receiver Port is assigned correctly
    o       Check the Basic type as your Basic IDOC object.
    o       In the sending system, select the option to transfer IDOCs immediately.
    o       By default, in the receiving system IDOCS are bunched together and received.
  3. 7. Creating the message type Message type defines the 'meaning' of data. It is just a logical entity that gets connected to the Idoc type (in tcode we82) or gets connected to the distribution model (in tcode BD64)
    o       If necessary create a new message type. In client 105, go to tcode we81.
    o       Click on change, continue
    o       Click on New Entries button
o Give message type in customer namespace Z* and description
o     Save and back