Application Development 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: 

Account Assignment Issue (Cost center assignment), in IDOC type u2018INVOICu2019.

0 Kudos

Dear Gurus,

In the Inbound IDOC INVOIC, dynamically cost center determination needs to be determined based on some sales order data. For this I have found out an enhancement u2018FEDI0001u2019 under this, for cost center assignment user exit 002 u2018EXIT_SAPLIEDI_002u2019 (function Module exit) is suitable.

The problem that I am facing is, in this user exit sales order number and Line item number is not available based on which I would determine my cost center and assign it here. I have checked data in u201CEDI_FIELDSu201D table as well as all import parameters.

No field contains Sales order number and Item Number.

Kindly help.

Thanks,

Bhupender Dangi

1 ACCEPTED SOLUTION

P561888
Active Contributor
0 Kudos

Hi ,

check out this ...

move sales order cost center, outgoing from function

ACCOUNT_ASSIGNMENT_GROUP-KOSTL = variable-KOSTL.

Regards,

Bharani

7 REPLIES 7

Former Member
0 Kudos

Hi,

Runtime check the values in this table EDI_FIELDS.

I mean wat all fields are there and their values.

Hope it helps.

Rhea.

P561888
Active Contributor
0 Kudos

Hi ,

check out this ...

move sales order cost center, outgoing from function

ACCOUNT_ASSIGNMENT_GROUP-KOSTL = variable-KOSTL.

Regards,

Bharani

Former Member
0 Kudos

Did you even read the question?

Former Member
0 Kudos

Perhaps Bharani posted to the wrong thread? It happened to me once

0 Kudos

we are not moving in right direction.....

please help me out in finding out the solution.....

FYI...

I have checked EDI_FIELDS already but sales order no. is not there....

Thanks

Bhupender

Former Member
0 Kudos

Hi,

Did u check these exits ?

EXIT_SAPLIEDI_101 and EXIT_SAPLIEDI_111.

Rhea.

0 Kudos

Yes i have check all the user exits under that enhancement but sales order number and item no. is not present....