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

FCJ_POST_ALL not posting document

Former Member
0 Likes
1,206

Hi,

I am developing VB dot net program to create Cash Journal document and Post it.

I am using BAPI_CASHJOURNALDOC_CREATE to create and BAPI_TRANSACTION_COMMIT to save new entries. This is working fine.

As BAPI FCJ_POST_ALL doesn't support RFC, I have created BAPI Z_FCJ_POST_ALL from standard BAPI FCJ_POST_ALL.

I have tested Z_FCJ_POST_ALL using SE37, it posts cash journal entry successfully.

Problem is when I am invoking Z_FCJ_POST_ALL within .net application it neither post entry nor generates any error message.


Though if I provide wrong GL account it generates appropriate exception in .net application.


How to solve this issue.


With Best Regards,



Rajkumar


2 REPLIES 2
Read only

Former Member
0 Likes
867

Hi,

have you checked, that the RFC user has the S_RFC authority for the function group of fm Z_FCJ_POST_ALL with type FUGR and activity 16 ?

Regards,

Klaus

Read only

0 Likes
867

Hi Klaus,

Thanks for the reply.

As per your suggestion I have checked using SUIM and found that the RFC user has the S_RFC authority for all (*) function groups with type * and activity *.


With Best Regards,



Rajkumar