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: 

badi

abdulazeez12
Active Contributor
0 Kudos

hii all

can anyone tell me what badis are available for FBCJ tcode.

SAA

5 REPLIES 5

manuel_bassani
Contributor
0 Kudos

Hi,

i didn't check, but try to look at Badi definition CJ_DOCUMENT.

Regards, Manuel

0 Kudos

Hello Manuel,

CJ_DOCUMENT is a BADI to FBCJ, but nowhere in the standard program of FBCJ it is used. I tried searching the program (SAPMFCJ0) using CL_EXITHANDLER=>GET_INSTANCE and even searched using 'CALL METHOD' strings, but I could not find.

I think no where in the program this BADI is getting called. Am I right? Or is there any other BADI available.

PLs help.

Shakir

0 Kudos

Hi,

badi cj_document is called from inside transaction FBCJ

please look at SAP notes:

874394 BAdI CJ_DOCUMENT is not run

616804 FBCJ: BAPI for saving cash journal documents

I don't know if it is useful for your needs, but it's the only i have found.

Regards, Manuel

0 Kudos

Hii Manuel,

Thanks for your reply.

I have checked the notes. First of all, let me tell you that no BADI is being used in the main program of FBCJ. Secondly, as per the notes, the BADI (method : CHANGE) is being used in the BAPI BAPI_CASHJOURNALDOC_CREATE, and this BAPI is never used in FBCJ main program.

I am confused as to what is to be done next. I have a requirement of setting the Assignment text ALLOC_NMBR in FBCJ transaction to default CAJO_NUMBER when it is posted. I want to make use of BADI for this implementation. What should i do?

Shakir

0 Kudos

Hi Shakir.

Do you find a BAdI? I will appreciate if you can tell me if you used any other enhancement.

Regards