Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

line item profitcenter not able to modifi in account assignment tab in ECC6

Hi ALL,

After upgardation to ECC6 in sales order va02 we are not able to change the profit center for line item in account assigement.

i have comapred my old system and new system the program FV45PF0C_COBL_SEND_PBO_VBAP proftcenter modifiction code is differs in old system and new system(ECC6).

The below code in ECC6

Profitcenter

int_coblf-fdnam = 'PRCTR'.

IF t180-trtyp NE chara AND

da_iaom NE 0.

if xvbup-lfsta NA 'BC' AND

*{ REPLACE SEPK900009 1

*\ xvbup-fksaa NA 'BC'.

xvbup-fksaa NA 'C'.

*} REPLACE

int_coblf-input = char1.

endif.

if int_coblf-input = char1.

loop at xvbfa where

posnv = vbap-posnr and

stufe = char00 and

( vbtyp_n = charl or "Lastschriftsanforderung

vbtyp_n = chark or "Gutschriftsanforderung

vbtyp_n = charo or "Gutschrift

vbtyp_n = charp ). "Lastschrift

if vbak-vbeln = xvbfa-vbelv.

clear int_coblf-input.

exit.

endif.

endloop.

endif.

if int_coblf-input = char1.

this below code is for old system which i can chage the profit center after creation of debit and credit memo and billing

I_KOKRS =

i_bukrs = t001k-bukrs

i_display_mode = da_mode

importing

e_screen_active = int_coblf-active

e_screen_input = int_coblf-input.

if int_coblf-active eq char1.

int_coblf-fdnam = 'FKBER'.

int_coblf-output = char1.

append int_coblf.

endif.

clear int_coblf.

endif.

  • Profitcenter

int_coblf-fdnam = 'PRCTR'.

if t180-trtyp ne chara and

da_iaom ne 0 and

xvbup-lfsta na 'BC' and

*{ REPLACE FEDK904445 1

*\ xvbup-fksaa NA 'BC'.

xvbup-fksaa na 'C'.

*} REPLACE

int_coblf-input = char1.

endif.

int_coblf-output = char1.

int_coblf-active = char1.

append int_coblf.

clear int_coblf.

  • Projekt

int_coblf-fdnam = 'PS_PSP_PNR'.

int_coblf-output = char1.

perform feldauswahl_status(sapmv45a) using 'VBAP-PS_PSP_PNR'

da_status.

i have chcked in SAP Note 1062986. and 893699.

Is there any alteranative solution to over come this problem.

thanks in advance

kumar.k

Former Member
Not what you were looking for? View more on this topic or Ask a question