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

Inbound IDoc Process code

Former Member
0 Likes
5,438

Hello Folks,

I'm trying to create a new process code for a custom z-function module. I have done the following steps:

1. Created a z function module for idoc inbound posting

2. Set Function Modules as Inbound: - Transaction BD51

3. Assigned Function Modules to Logical Messages and Idoc types:- Transaction WE57

The problem I'm facing is in WE42, when I try to create a new process code ZDELV and link it to Z_IDOC_INPUT, I'm not able to add my FM in the ALE/EDI table maintenance screen. Any pointers to why i'm not able to do this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,737

Hi,

Sorry typo error. It should be BD51 instead of WE51.

Perhaps you can use this link to check your inbound processing configuration step by step. In case you missed something.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

So ... did your problem solve?

Regards,

Ferry Lianto

9 REPLIES 9
Read only

Former Member
0 Likes
3,737

Hi,

You should be able to...

Did you check the process type as 'processing by FM'in processing type tab.

and what is the error ?

RGds,

Vasanth.

Read only

Former Member
0 Likes
3,737

WE42 is to create the inbound process code and link the message type to the inbound code.

What error message do you get while creating the inbound code?

-Kiran

Read only

Former Member
0 Likes
3,737

Hi,

You need to save after you entered the process code, description, processing with ALE service (Option ALE), Processing by function module (Processing Type).

System will ask to create a transport request when you click the save button for above activity.

Then you click on ALE table (green color) button in Identification area and hit enter twice.

Now you should be able to assign the custom FM to custom process code.

Hoep this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

0 Likes
3,737

Hello Ferry,

I did exactly as you have mentioned, but when I click on the ALE table, it goes to the screen that says "New Entries: Details of Added Entries". In the Function Module field, I'm not able to type in my Z-FM. As soon as I type the letter Z, it is filled with another Z-FM. My Z-FM doesn't appear in the drop down list. Do you have an idea why this happens?

Regards,

A.P.

Read only

Former Member
0 Likes
3,737

Hi,

Couple things need to check.

- Please ensure the custom FM is activated (SE37).

- When you create new entry for ALE attribute (WE51), did you specify input type 1 (individual input) and check dialog allowed (if you allowed)?

- When you create new entry in WE57, did you specify for inbound FM?

Regards,

Ferry Lianto

Read only

0 Likes
3,737

Ferry,

I checked if my FM was active and it was active.

I checked WE57 and I do have it as inbound.

But the ALE attribute WE51, I haven't done anything in that. WE 51 is "Change Texts for Process Code System". So could you tell me what I should do in WE51?

Regards,

A.P.

Read only

0 Likes
3,737

Hi,

Go to the transaction : WEDI , here you have step by step transactions to be used for configuring the inbound and outbound IDOC's.

for inbound idoc settings

in WEDI transaction follow development->inbound processing settings -> inbound process code option (WE42)

while creating the process code , select processing by function module option from processing type, then click on the identification and select the function module.

Regards

Appana

Read only

Former Member
0 Likes
3,738

Hi,

Sorry typo error. It should be BD51 instead of WE51.

Perhaps you can use this link to check your inbound processing configuration step by step. In case you missed something.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

So ... did your problem solve?

Regards,

Ferry Lianto

Read only

0 Likes
3,737

Hey Ferry,

Thanks for all your input. I went with the step by step procedure and I found out that I didn't save after maintaining the FM attributes.

Kind Regards,

A.P.