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

Adding account assignment data to ORDERS05

Former Member
0 Likes
2,071

Hi all,

We would like to send PO's via EDI via ORDERS05. One of the requirments is to extend ORDERS05 with the cost center used in the PO.

FM IDOC_OUTPUT_ORDERS is used for processing and call's FUNCTION EXIT_SAPLEINM_001 and via fuellen_idoc_inttab FUNCTION EXIT_SAPLEINM_002. But there's no access to acc ass data.

Is there a way to add acc ass data to ORDERS05.

Thanks in advance!

JvE

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
983

Hi Jorgen,

There is no direct access to Account Assignment data ( TABLE EKKN ) inside IDOC_OUTPUT_ORDERS. As you have already pointed out, you can use EXIT_SAPLEINM_002 and Select the data from EKKN table and populate your extended segment with the cost centre ( EKKN-KOSTL).

Regards,

R

2 REPLIES 2
Read only

Former Member
0 Likes
984

Hi Jorgen,

There is no direct access to Account Assignment data ( TABLE EKKN ) inside IDOC_OUTPUT_ORDERS. As you have already pointed out, you can use EXIT_SAPLEINM_002 and Select the data from EKKN table and populate your extended segment with the cost centre ( EKKN-KOSTL).

Regards,

R

Read only

0 Likes
983

Hi Roy,

Thanks it worked!

I thought I had to work with the tables declared in EXIT_SAPLMV01_002.

Regards,

JvE