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

FBCJ Background posting

sachin_khedkar
Explorer
0 Likes
1,180

i want to post the document using zprogram  instead of FBCJ standared program.

i use one BAPI  FCJ_POST_ALL  in my report i use hot spot after clicking  on hot spot this bapi is excute  and that document is post.

but it will ask me for Amount and accounting transaction .

from where i can give this input to the BAPI

thanks............................

1 ACCEPTED SOLUTION
Read only

former_member16553
Active Participant
0 Likes
988

Hi

     You can write a bdc for FBCJ which will execute after clicing on a hotspot.

5 REPLIES 5
Read only

Former Member
0 Likes
988

This isn't a BAPI.

Have a look at FM BAPI_CASHJOURNALDOC_CREATE.

Rob

Read only

0 Likes
988

Hi Rob,

thanx  for  help.

BAPI_CASHJOURNALDOC_CREATE. i think this is  for save

but i want to post the document through my zprogram after clicking on a hotspot.

write now document comes in save status ....so, i want to just post it  through program.

i have attach  the code with this post pls. look  if possible.

Read only

former_member16553
Active Participant
0 Likes
989

Hi

     You can write a bdc for FBCJ which will execute after clicing on a hotspot.

Read only

0 Likes
988

this  issue  is  solved

se 37 -> FCJ_GET_ALL_POSTINGS

then search for this

enhancement zfbcj

after that

import posting_number from memory id 'MEM1' . (mem1 is memory variable)

import flag from memory id 'MEM5' .

if flag = 'X'. (u need to set the flag )

document_status = 'S'                 

and

posting_number = posting_number     "add above code

  • thanx...............


Read only

Former Member
0 Likes
988

Hi Sachin.

I am facing the same issue and i followed above solution but am not able to solve it.

Could you please help me into this?