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

Process Code

Former Member
0 Likes
1,131

I Have cretaed a Custom process code in we42 and custom function module. when I Send an IDOC from target system, it didn't call Z Process code. When I test thru WE19, function module works fine and Idoc gets posted.

But When Sending from external system,It is not calling the Z Process code.

Any setings/Activation need to be done for calling the Z process code & Custom function module.

Thanks

Niranjan

7 REPLIES 7
Read only

former_member214999
Participant
0 Likes
902

Did you create partner profile from WE20??

Read only

0 Likes
902

yes created partner profile from WE20

Read only

Former Member
0 Likes
902

Hi Niranjan,

These are the steps for posting INBOUND IDOC.

Steps:

Create segments WE31

Create IDOC types using segments in: WE30 (BASIC type)

Create Message type: WE81

now link between message type and basic type: WE82

create process codes: WE42

now link process codes to direction of delivery inbox or outbox with messege type: WE64.

make an entry of your FM in: BD51

now link between FM, Basic TYpe, Messg.Type: WE57.

create port: WE21

create partner profile: WE20

partner no.: SAP_DEV

partn.type: LS

Under Post processing:

type: US

agent: name of agent

lang.: EN

outbound partrs.

message type:---

Inbound partnrs.

message type:Z_STAFF / HRMD_A

under Classification:

partner class: ALE

partn.status: A

Message type: Z_STAFF

Hope this will help you.

regards,

Vicky

PS: Award points if helpful

Read only

0 Likes
902

Hi Vicky,

I am using Standard message type & standard Idoc type, but the process code & Function Module are custom one 'Z.

Type of interface : Inbound.

Message type : FIDCC2.

idoc TYPE : fidccP01.

Process code : ZFID2.

Function module : Z_IDOC_INPUT_FIDCC2.

I have done changes in we57,we42,bd51.

After doing all that, When I send an IDOC from External system , it looks like it is not calling my Z Function module. it is directing towards the Standard process code FID2.

All my custom logic is in Z Process code.

IS there any setting I need to do , So that The IDOC Picks the Z Procees code.

Thanks

Niranjan

Read only

0 Likes
902

Hi Niranjan,

Did you select Processing type option as "Processing by Funciton module" in WE42 ? If not, select it and it should work.

Regards,

Vicky

Read only

0 Likes
902

Hi Vicky,

Yes selected processing by function module.

As it is workingfine with standard process code.

When I replace standard process code "FID2" With the Custom Process code "ZFID2" & Custom FM , it looks like it still call standard process code & Standard FM.

I hve done almost all the settings, but still it doesn't work.

Thanks

Niranjan

Read only

ferry_lianto
Active Contributor
0 Likes
902

Hi Niranjan,

Have you maintained ALE Distribution Model (<b>BD64</b>) for sender and receiver systems?

Once done, you can generate the partner profile (<b>WE20</b>).

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.