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

Function module for OUtbound DESADV01

Former Member
0 Likes
1,338

Hi,

Can anyone tell me which function module to be used for OUtbound DESADV01 which i will be using for ASN. In addition to this, please let me know which procesisng code will be used.

Can anyone please share the code for writting a funciion module in case I have to write custom FM.

Regards

Rinku

Message was edited by:

Rinku Malik

6 REPLIES 6
Read only

Former Member
0 Likes
1,112

Hi Rinku,

Try the below FM

Function module : IDOC_OUTPUT_DELVRY

Process code : DELV

Message type : DESADV

<b>User Exits</b>

EXIT_SAPLV56K_001

EXIT_SAPLV56K_002 - here you can write the code

<b>Reward Points if helpful</b>

Regards

Gokul

Read only

Former Member
0 Likes
1,112

Hi,

Check this Function module

IDOC_OUTPUT_DESADV01

Check this process code

SD05

Regards

Arun

Read only

0 Likes
1,112

Hey Arun,

Did you see Gokul's reply. Why do you think it is not correct...I am confused now which one is right ! !

<b>Question, I have to ammend get some data from custom table too so how can I add that in the IDOC.</b>

Message was edited by:

Rinku Malik

Read only

0 Likes
1,112

Hi,

In the Function module IDOC_OUTPUT_DESADV01 there are no user exits available.

Regards

Arun

Read only

0 Likes
1,112

Hi,

Create a new function group from se37.

From the menu Goto --> Function group --> create group

Copy the function module IDOC_OUTPUT_DESADV01 into ZIDOC_OUTPUT_DESADV01 function module. Add your code in the function module.

create a new Z Process code ZSD05 in we41 tcode and attach the function module

ZIDOC_OUTPUT_DESADV01 to the process code.

In tcode we57 attach the function module to the idoc type and message type.

Regards

Arun

Read only

0 Likes
1,112

Hi,

Try IDOC_OUTPUT_DELVRY function module. Because exits are already available, Extend it using the exit.

If not try creating a new function module by copying the already existing function module and extend it.

Regards

Arun