Skip to Content
0
Former Member
Feb 16, 2009 at 09:59 AM

Exit for Cash Journal (TCODE-FBCJ)

62 Views

Hi frnds,

For Tcode- FBCJ, Automatically Cost center to be come after entering Personnal No.

I Tried with CJ_DOCUMENT Badi and I used Break Point.

But while clicking on Post, It is not going on Debugging Mode.

My code is:

_______________________________________________________________

DATA : WA_PA0001 TYPE PA0001.

BREAK-POINT.

IF C_ITCJ_SPLIT_POSTINGS-PERNR NE ''.

SELECT SINGLE * FROM PA0001 INTO WA_PA0001 WHERE PERNR EQ C_ITCJ_SPLIT_POSTINGS-PERNR

AND KOSTL NE ''.

MOVE WA_PA0001-KOSTL TO C_ITCJ_SPLIT_POSTINGS-KOSTL.

ENDIF.

_______________________________________________________________

Is there any alternative options are there?

Any Userexit / BADI.

Regrards