cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for extended ORDERS05

Former Member
0 Kudos
3,119

Hello,

We have extended tables VBAK & VBAP, and I have to put these new fields into the outbound ORDERS05 when a sales order is created.

I have extended the IDOC with some custom segments, but I can't seem to find the USER EXIT or BADI or NAST function module (SAP R/3 Enterprise) - can someone please point me in th right direction?

Many thanks!

View Entire Topic
Former Member

In IDOC_OUTPUT_ORDERS, there is a user exit call EXIT_SAPLEINM_002. You can insert your code here in the include.

Regards,

Srinivas

Former Member
0 Kudos

Hi Srinvas

Thanks for your response, but IDOC_OUTPUT_ORDERS does not process the outbound Sales Order IDoc. this function module refers to table EKKO (Purchasing Document Header) and object type "BUS2012". Sales order is object "BUS2032".

Rgds,

Derek

Former Member
0 Kudos

Derek,

Its processed by function module IDOC_OUTPUT_ORDRSP.

You have userexits:

EXIT_SAPLVEDC_004 - for adding data to additional segments

EXIT_SAPLVEDC_001 - for changing the control record

EXIT_SAPLVEDC_003 - for a final wrapup (only data I think)

Hope they help.

Cheers,

Brad

Former Member
0 Kudos

Forgot to mention, they are part of customer extension: SDEDI001.

Cheers,

Brad

Former Member
0 Kudos

Hi Brad,

Are you sure IDOC_OUTPUT_ORDRSP processes the outbound order? I have looked at this function, and this was mentioned by one poster previously.

Rgds,

Derek

Former Member
0 Kudos

Derek,

I'm sure that this is the correct function module (if you check the posts above this function module is actually not mentioned).

You can double check via transaction code WE41 for process code SD10.

Cheers,

Brad

Former Member
0 Kudos

Way cool!

I have managed to get the custom segments populated with data via EXIT_SAPLVEDC_003 from project SDEDI001.

I'd like to share the cred between Samir and Brad. I found transaction WE41 immediately confirmed the path forward for me.

Thanks guys!

Message was edited by: Derek Colley

Former Member
0 Kudos

Hi Derek,

Good news!

I find that when working with Idocs that the area menu WEDI (just type WEDI at the SAP EASY Access menu) is best way to have all the relevant transactions at your fingertips.

You can access partners, ports, idoc development, etc. all from one screen (thats how I get to WE41 for example).

Much nicer than navigating via transaction codes.

Cheers,

Brad