‎2008 Feb 11 7:21 AM
hi Experts,
Process Code: PCOD
Message Type : COND_A
Basic type : COND_A02
Function module:IDOC_INPUT_COND_A
I am using LSMW-IDOC
According to the my requirement i changed the function module to YIDOC_INPUT_COND_A so i have to assing the Process code to my functionmodule so wht r the steps should be followed ie IN yProcesscode my function should be called so that according my requirement it will work ,
how should i assing the Process code to function module
idoctype, message type i changed only Function module.
‎2008 Feb 11 7:37 AM
Hi,
You can directly create a new process code and assign your custom function module name to the process code, to create process code the tcodes are WE41(For Outbound) & WE42 (For Inbound). When at the time of creation it is asking for function module name, there you can give your own custom module name.
Rgds,
Bujji
‎2008 Feb 11 7:58 AM
then how to assign the idoc type, basic type and message type to that process code.
In which transcation i can see the process codes.
‎2008 Feb 11 8:04 AM
HI,
For that you can use tcode WE82, there you can assign your message type, idoc type, basic type and extension type. Even you are not creating a new message type then you can just create new entry with the existing message type and give basic and extension idoc types there.
Rgds,
Bujji
‎2008 Feb 11 8:10 AM
hi,
I am not creating any thing just a function module
but how my lsmw will recognize my process code because in lsmw we are just giving message type and basic type but how it identifies the new process code with my functional module.