‎2006 May 25 8:49 PM
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
‎2006 May 25 8:53 PM
‎2006 May 25 9:00 PM
‎2006 May 25 9:29 PM
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
‎2006 May 25 9:56 PM
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
‎2006 May 25 10:02 PM
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
‎2006 May 25 10:09 PM
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
‎2006 May 25 9:59 PM
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.