06-16-2008 11:33 AM
please tell how can we know the process code for the basic type of idoc
06-16-2008 11:35 AM
06-16-2008 11:36 AM
hi saurabh,
The Process code links the IDoc Logical Message and Basic Types to the
function module that will process it. These can be viewed in WE64. You'll
note that standard SAP treats MBGMCR as an inbound IDoc and includes 3
process codes: ED00, ED00_XML and ED08, which all link to Tasks. MBGMCR is a
BAPI transformed into an IDoc and has no customer exits, although SAP does
recommend using it to post inventory.
But it's not set up for outbound processing. You would need to create a
custom OB Process Code. The assignment of the Process Code to the message
type for outbound is done in WE41, which links the process code to the
function to the logical message type through a number of tables through view
VEDI_TMSG1. The main table linking the Process Code to the IDoc outbound
function is TEDE1. TMSG1 links the Process Code to the Logical Message Type. You'll note that there is no link
between MBGMCR and any outbound Process Code and function module. So it appears that you'll also need to create a custom outbound processing
function or Task to handle pulling the data to populate your IDoc.
thanks
karthik
reward me if useful
_____
06-16-2008 11:36 AM
hi,
check these transactions.
WE41 - outbound process code
WE42 - inbound process code
reward points if hlpful.
06-16-2008 11:52 AM
hi,
Choose SAP Menu -> Tools -> IDoc Interface/ALE -> Development -> Inbound Processing -> Process Code (WE42), or navigate to Inbound Processing Process Code, and then New Entries.
Enter a process code, a description and your new standard task in the Identification field . Choose the options processing by task and, for example, Processing without ALE and save your entries.
Choose the Logical Message navigation.
Choose New entries.
Enter the message type and the process code and save your entries.
The F4 possible entries in the partner profiles can now provide your process code from your message type, that is, the business view. You can also restrict this help on the screen to specific message variants or functions.
Reward pts if useful.
regards
- Rishika