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

Outbound Function Module for ALE

Former Member
0 Likes
1,430

Hi,

I have a situation here wherein I've the Message Type as COND_A and Basic IDoc Type as "COND_A02". Now, if I do not know the Function Module which is a Selection Program how to find the Function Module for the above mentioned config?

Thanks,

John.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
925

Hi,

- Check Transaction NACE to see what applicatios you can use for different objects.

- Check transaction WE42 for all outbound process codes

- Check transaction WE41 for all inbound process codes.

regards

4 REPLIES 4
Read only

Former Member
0 Likes
926

Hi,

- Check Transaction NACE to see what applicatios you can use for different objects.

- Check transaction WE42 for all outbound process codes

- Check transaction WE41 for all inbound process codes.

regards

Read only

Former Member
0 Likes
925

check WE57 tcode u will get the Function module name.

Read only

Former Member
0 Likes
925

hi

please help me how to write standard function module for outbound IDOC triggerring.

where we can upoad the function module name so that we trigger with TCODE WE19.

please help me out.

thanks

Ravikumar.

Read only

0 Likes
925

Hi Ravi,

Check the following steps.

1. If you are using an IDoc Extension, (ex: ZSHPMNT04 instead of ZSHPMNT04), you will have some Customer Exits which are implemented as Customer - Functions like this. Call Customer-Function '002'.

2. Check where exactly the data is being read into the Custom Segments (IDoc Extension) and write the Code there. A typical code can be as follows.

Loop at IDoc_Data.

Case IDoc_Data-Segnam.

When 'Z1EDK20'.

Logic to retrieve data from standard tables (VTTK).

Endcase.

EndLoop.

3. Or, if you are creating an entirely new Custom Function Module, Create it as follows.

Z_IDOC_OUTPUT_SHPMNT

Take IDOC_DATA TYPE EDIDD

IDOC_STATUS TYPE EDIDS

IDOC_CONTROL TYPE EDIDC

as import parameters.

After that , Loop at IDoc_Data.

Same logic can be adapted as above.

Reward Points if helpful.

Thanks,

Venkat.