Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hi Experts: How to copy the process code-PCOD to Yprocess code

Former Member
0 Likes
918

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.

4 REPLIES 4
Read only

Former Member
0 Likes
792

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

Read only

Former Member
0 Likes
792

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.

Read only

Former Member
0 Likes
792

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

Read only

Former Member
0 Likes
792

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.