2012 Mar 29 11:41 AM
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............................
2012 Mar 30 7:20 AM
Hi
You can write a bdc for FBCJ which will execute after clicing on a hotspot.
2012 Mar 29 2:37 PM
This isn't a BAPI.
Have a look at FM BAPI_CASHJOURNALDOC_CREATE.
Rob
2012 Mar 30 5:14 AM
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.
2012 Mar 30 7:20 AM
Hi
You can write a bdc for FBCJ which will execute after clicing on a hotspot.
2012 Mar 30 9:37 AM
this issue is solved
se 37 -> FCJ_GET_ALL_POSTINGS
then search for this
enhancement 2 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
2015 Apr 30 12:52 PM
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?