cancel
Showing results for 
Search instead for 
Did you mean: 

idoc

Former Member
0 Kudos

hi

can u please tell me how to trigger DELVRY idoc.

my probem is:

i have enhanced the DELVRY idoc with a segment with two fields in the segment.

i have written the code for the user exit.and when i trigger the idoc from the we19

then the idoc segment is not populated.

the user exit function that i have written is:

DATA:wa_edidd TYPE edidd,

wa_zrinku838 TYPE zrinku838.

data: it_edidd type table of idoc_data.

wa_edidd-segnam = 'ZRINKU838'.

wa_edidd-hlevel = 4.

wa_zrinku838-name = 'rinku'.

wa_zrinku838-empcode = '10838'.

wa_edidd-sdata = wa_zrinku838.

APPEND wa_edidd TO idoc_data.

can u please tell me the solution for the same.

Thanks

Rinku

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rinku !

As far as I know, the WE19 is for testing idocs, not user exits..I think that you need to ensure that the user exit is executed..or use we19 to fill the enhanced segments by hand.

Regards,

Matias.

Answers (2)

Answers (2)

Former Member
0 Kudos

Try this way to stop at your user exit.

After follow below steps if still face problem. Check your enhancements are active(SMOD) see your user exit are green.if it is red then you have activate.

1) Go to VL02N>Cllick header>output

2) Repeat output type

3) Select output type and click Further data and select dispatch time to 1(Send with periodic schedule job).

4) Save.

5) Go to Transaction WE15 or execute RSNAST00 program

6) Select your output type..input object key-->nothing but document number(eg..sales order number).

select output type and transmission medium.

7) Now breakpoint stop at your user exit.

"Reward points if usefull".

Thanks,

Narayan

Message was edited by:

Narayanan Manivanan

Former Member
0 Kudos

Rinku,

First you execute the Idoc and then you will have the Idoc number. Once you have an Idoc number you can execute further from WE19.

But to execute for the first time take the help of any ABAPer.

Regards,

---Satish