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

in complete Data into substitution

Former Member
0 Likes
938

Hi,

I've implemented a substitution for MIRO, which picks the suitable cost element for profit center, which are maintained in OKB9

But in substitution is having COBL and COBK structures. but COBL-PRCTR is not having any value, due to that i am getting an error as: 'Account 40002304 requires an assignment to a CO object'. We don't want to maintain default cost element. It should pick from the list which is maintained in OKB9.

How to get the COBL-PRCTR value into substitution.

Regards,

Naveen

Hi,

I've implemented a substitution for MIRO, which picks the suitable cost element for profit center, which are maintained in OKB9

But in substitution is having COBL and COBK structures. but COBL-PRCTR is not having any value, due to that i am getting an error as: 'Account 40002304 requires an assignment to a CO object'. We don't want to maintain default cost element. It should pick from the list which is maintained in OKB9.

How to get the COBL-PRCTR value into substitution.

Regards,

Naveen

3 REPLIES 3
Read only

nirajgadre
Active Contributor
0 Likes
758

Hi,

try to implement the substitution Exit iby copying the program RGGBS000 to Y or Z program and maintain the same in V_t80d transaction.

Assign the newly created exit in the substitution step .

you will find out the standard structure BKPF, BSEG,COBL etc

Write the logic in to the exit to fetch the value from the OKB9 transaction table. and put into the COBL-PRCTR.

Read only

0 Likes
758

Hi,

we have BSEG, BKPF are empty and COBL is having in-sufficient data.. Now where i need to fetch the profit center.

Regards,

Naveen

Read only

Former Member
0 Likes
758

I got a solution for this: I've implemented a BADI AC_DOCUMENT. in that i exported PRCTR based on BUPLA and i imported into Subtitution.

Naveen