Standard FI/CO Cash Journal datasources
Hi all,
Could you please advice me what standard BI Content datasources are used for cash journal operations
We need to build a report based on the data from ERP t-code FBCJ
Thanks in advance
Any news?
I'vw found 0FI_GL_4 or 0FI_GL_10 but probably there is datasource directly for Cash Journal?
Similar Messages
-
Assign Customized Sapscript in place of the standard one for CASH JOURNAL
Dear All,
I created Customize Sap-script at the place of standard one in FBCJ (Cash Journal) , Please let me know the procedure to assign customize form at place of stancdard one.
Thanks & Regards,
RajnarayanHi,
correspondence type for Cash Journal is SAP18.
The program attached in SAP18 is RFKORD80 (SPRO-Financial Accounting Global Settings (New)-Correspondence-Assign Programs for Correspondence Types). If you want you can modify driver program also by creating z. attach it to correspondance type SAP18.
For the above program you can assigned your customized script in the below navigation path:
SPRO-Financial Accounting Global Settings (New)-Correspondence-SAPscript-Based Forms-Define Form Names for Correspondence Print.
Hope this helps you.
Regards,
Azeem. -
Dear All,
Is there any standard report for Cash Journal ie i want to view for a specify cash journal all the expenses, with g/l accounts , its basically a summary.......of cash journal........
Kindly please guide
Regards,
R.RamakrishnarajHi Ramakrishnaraj!
1. Sorry, you have to delete( _UA) i for got to mention early _ to delete.
2. If my guess right, think your working in ECC, if your enabled split, change your print program to RFCASH20 from RFCASH00 at FBCJC3 and crete variant CASHUA fro RFCASH20 program at se38 this should be same as in FBCJC3 Variant.
Hope Option 1 or 2 will solve issue permanently, if option 2 is right, it wont ask anymore text changes.
For further information let me know the full info of error: "Message no. 02005"
Let me know your response plz!
Respectfully!
Sanka -
Hi
Can anyone tell the report of cash journal in which we can get internal document no. , cash journal document no. and related FI document No. in 1 report.
Thanks in advance.
Regards
Amita.i dont think there is any standard report available.
Develop Z report using the following tables
TCJ_DOCUMENTS Cash Journal Documents (Header Data)
TCJ_POSITIONS Cash Journal Document Item
BKPF
Regards
Chandra -
Purchase order field in Cash Journal
Hi,
We want to post expenses with reference to Purchase order in Cash Journal. Purchase order field is not available in the Cash Journal. How to update the purchase order field in Cash Journal.
Regards,
AzeemHi,
In Cash journal, there are fields which are standard from the program SAPMFCJ0 and Control FTCJ_E_POSTINGS.
So you can see in FBCJ, while you post transaction line at the extreme right, you can see "configuration" there you can see the available fields. If you want to include, contact ABAP consultant or SAP team.
Regards,
Ramesh. -
Automating Cash Journal Posting using inbound proxy interface and upload program
Hi Experts,
I have a requirement where in cash journal posting needs to be carried out automatically by an inbound interface on a periodic basis and at the start during cut over an upload program needs to be used to upload beg balance data . For this purpose I have used BAPI_CASHJOURNALDOC_CREATE to save cash journal entries along with BAPI TRANSACTION COMMIT.
Once the Data is successfully saved I am using FM FCJ_GET_DATA_FOR_SCREEN to get prerequisite data for the FM FCJ_POST_ALL which is used by the Standard cash journal program internally to post the saved data. ( I got this by debugging the standard transaction and both FMs are not yet released )
The issues I am facing is that the the FM FCJ_POST_ALL does not always post the data it behaves in random fashion i.e some times it posts the entries where as sometimes it does not post the entries.
I have tried using commit work after the FM but that also does not result in consistent behavior of the program. One more issue is the i am not allowed to use commit work in a an inbound proxy so how do i proceed ?
I am attaching the code for further analysis:
DATA: LIT_TCJ_TRANS_NAMES TYPE TABLE OF TCJ_TRANS_NAMES,
LWA_TCJ_TRANS_NAMES TYPE TCJ_TRANS_NAMES,
LV_WAIT TYPE BAPITA-WAIT VALUE '1',
LV_RECORD_NO TYPE SY-TABIX.
DATA : LIT_POSTING TYPE STANDARD TABLE OF ISCJ_POSTINGS,
LIT_WTAX_ITEMS TYPE STANDARD TABLE OF TCJ_WTAX_ITEMS,
LIT_SPLIT_POSTINGS TYPE STANDARD TABLE OF ISCJ_POSTINGS,
LIT_CPD TYPE STANDARD TABLE OF TCJ_CPD.
DATA: LV_BEG_BALANCE TYPE CJAMOUNT,
LV_TOTAL_RECEIPTS TYPE CJAMOUNT,
LV_TOTAL_PAYMENTS TYPE CJAMOUNT,
LV_TOTAL_CHECKS TYPE CJAMOUNT,
LV_RUN_BALANCE TYPE CJAMOUNT,
LV_RUN_CASH_BALANCE TYPE CJAMOUNT,
LV_NUMB_OF_REC TYPE I,
LV_NUMB_OF_PAYM TYPE I,
LV_NUMB_OF_CHECKS TYPE I.
DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
SELECT MANDT COMP_CODE TRANSACT_NUMBER LANGU TRANSACT_NAME LONG_TEXT
FROM TCJ_TRANS_NAMES
INTO TABLE LIT_TCJ_TRANS_NAMES
WHERE LANGU = GC_EN.
IF SY-SUBRC <> 0.
MESSAGE 'No Business Transaction maintained for Company Code in this client'(016) TYPE GC_I.
LEAVE LIST-PROCESSING.
ENDIF.
DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
LOOP AT GIT_CJ INTO GWA_CJ.
LV_RECORD_NO = SY-TABIX.
CLEAR: GS_HEADER_BAPI,
GS_CJ_KEY,
GWA_ITEMS.
REFRESH: GIT_ITEMS,
GIT_RETURN.
GS_HEADER_BAPI-COMP_CODE = GWA_CJ-BUKRS.
GS_HEADER_BAPI-CAJO_NUMBER = GWA_CJ-CJNR.
GS_HEADER_BAPI-CURRENCY = GC_PHP.
CLEAR LWA_TCJ_TRANS_NAMES.
READ TABLE LIT_TCJ_TRANS_NAMES INTO LWA_TCJ_TRANS_NAMES WITH KEY COMP_CODE = GWA_CJ-BUKRS
LANGU = GC_EN
TRANSACT_NAME = GWA_CJ-BTNAM.
IF SY-SUBRC = 0.
GWA_ITEMS-TRANSACT_NUMBER = LWA_TCJ_TRANS_NAMES-TRANSACT_NUMBER.
GWA_ITEMS-P_RECEIPTS = GWA_CJ-CJRAT.
GWA_ITEMS-TAX_CODE = GWA_CJ-TXCOD.
GS_HEADER_BAPI-BP_NAME = GWA_CJ-BPNAM.
GWA_ITEMS-POSITION_TEXT = GWA_CJ-POTXT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-LIFNR
IMPORTING
OUTPUT = GWA_ITEMS-VENDOR_NO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-KUNNR
IMPORTING
OUTPUT = GWA_ITEMS-CUSTOMER.
PERFORM SUB_DATE_FROMAT_BAPI CHANGING GWA_CJ-BLDAT
GS_HEADER_BAPI-DOC_DATE.
PERFORM SUB_DATE_FROMAT_BAPI CHANGING GWA_CJ-BUDAT
GS_HEADER_BAPI-PSTNG_DATE.
GS_HEADER_BAPI-REF_DOC_NO = GWA_CJ-XBLNR.
GS_HEADER_BAPI-ALLOC_NMBR = GWA_CJ-ALLNO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-KOSTL
IMPORTING
OUTPUT = GWA_ITEMS-COSTCENTER.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-PRCTR
IMPORTING
OUTPUT = GWA_ITEMS-PROFIT_CTR.
APPEND GWA_ITEMS TO GIT_ITEMS.
CALL FUNCTION 'BAPI_CASHJOURNALDOC_CREATE'
EXPORTING
HEADER = GS_HEADER_BAPI
IMPORTING
COMPANY_CODE = GS_CJ_KEY-COMP_CODE
CASH_JOURNAL_NUMBER = GS_CJ_KEY-CAJO_NUMBER
FISCAL_YEAR = GS_CJ_KEY-FISC_YEAR
CASH_JOURNAL_DOC_NO = GS_CJ_KEY-POSTING_NUMBER
TABLES
ITEMS = GIT_ITEMS
RETURN = GIT_RETURN.
IF GIT_RETURN IS NOT INITIAL.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_E.
IF SY-SUBRC <> 0.
CLEAR GWA_CJ_S.
MOVE-CORRESPONDING GS_CJ_KEY TO GWA_CJ_S.
CLEAR GWA_RETURN.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_S.
IF SY-SUBRC = 0.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_S-MSG.
CLEAR GWA_RETURN.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_I.
IF SY-SUBRC = 0.
CLEAR GWA_CJ_E.
CONCATENATE GWA_RETURN-MESSAGE GWA_CJ_S-MSG INTO GWA_CJ_E-MSG SEPARATED BY GC_PIPE_FORMAT.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ELSE.
IF P_TEST NE GC_X.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = LV_WAIT.
REFRESH:LIT_POSTING ,
LIT_WTAX_ITEMS ,
LIT_SPLIT_POSTINGS ,
LIT_CPD .
CLEAR: LV_BEG_BALANCE ,
LV_TOTAL_RECEIPTS ,
LV_TOTAL_PAYMENTS ,
LV_TOTAL_CHECKS ,
LV_RUN_BALANCE ,
LV_RUN_CASH_BALANCE ,
LV_NUMB_OF_REC ,
LV_NUMB_OF_PAYM ,
LV_NUMB_OF_CHECKS .
CALL FUNCTION 'FCJ_GET_DATA_FOR_SCREEN'
EXPORTING
I_COMP_CODE = GS_CJ_KEY-COMP_CODE
I_CAJO_NUMBER = GS_CJ_KEY-CAJO_NUMBER
I_DISPLAY_PERIOD_LO = GS_HEADER_BAPI-PSTNG_DATE
I_DISPLAY_PERIOD_HI = GS_HEADER_BAPI-PSTNG_DATE
IMPORTING
E_BEGINNING_BALANCE = LV_BEG_BALANCE
E_RUNNING_BALANCE = LV_RUN_BALANCE
E_RUNNING_CASH_BALANCE = LV_RUN_CASH_BALANCE
E_TOTAL_RECEIPTS = LV_TOTAL_RECEIPTS
E_TOTAL_REC_NUMBER = LV_NUMB_OF_REC
E_TOTAL_PAYMENTS = LV_TOTAL_PAYMENTS
E_TOTAL_PAYM_NUMBER = LV_NUMB_OF_PAYM
E_TOTAL_CHECKS = LV_TOTAL_CHECKS
E_TOTAL_CHECKS_NUMBER = LV_NUMB_OF_CHECKS
TABLES
E_POSTINGS = LIT_POSTING
E_WTAX_ITEMS = LIT_WTAX_ITEMS
E_SPLIT_POSTINGS = LIT_SPLIT_POSTINGS
E_CPD = LIT_CPD.
CALL FUNCTION 'FCJ_POST_ALL'
EXPORTING
I_COMP_CODE = GS_CJ_KEY-COMP_CODE
I_CAJO_NUMBER = GS_CJ_KEY-CAJO_NUMBER
I_CURRENCY = GS_HEADER_BAPI-CURRENCY
I_TYP = 'R'
I_DISPLAY_PERIOD_LO = GS_HEADER_BAPI-PSTNG_DATE
I_DISPLAY_PERIOD_HI = GS_HEADER_BAPI-PSTNG_DATE
* IMPORTING
* E_ERROR_NUMBER =
TABLES
ITCJ_POSTINGS = LIT_POSTING
ITCJ_WTAX_ITEMS = LIT_WTAX_ITEMS
ITCJ_SPLIT_POSTINGS = LIT_SPLIT_POSTINGS
ITCJ_CPD = LIT_CPD
CHANGING
P_BEG_BALANCE = LV_BEG_BALANCE
P_TOTAL_RECEIPTS = LV_TOTAL_RECEIPTS
P_TOTAL_PAYMENTS = LV_TOTAL_PAYMENTS
P_TOTAL_CHECKS = LV_TOTAL_CHECKS
P_RUN_BALANCE = LV_RUN_BALANCE
P_RUN_CASH_BALANCE = LV_RUN_CASH_BALANCE
P_NUMB_OF_REC = LV_NUMB_OF_REC
P_NUMB_OF_PAYM = LV_NUMB_OF_PAYM
P_NUMB_OF_CHECKS = LV_NUMB_OF_CHECKS.
COMMIT WORK.
ENDIF.
APPEND GWA_CJ_S TO GIT_CJ_S.
GV_SUCCESS_RECORDS = GV_SUCCESS_RECORDS + GC_1.
CLEAR GWA_CJ_S.
ENDIF.
ENDIF.
ELSE.
CLEAR GWA_CJ_E.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ENDIF.
ENDIF.
ELSE.
GWA_RETURN-MESSAGE = 'Transaction Name does not correspond to any Transaction Number'(017).
CLEAR GWA_CJ_E.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ENDIF.
ENDLOOP.
ENDFORM. " SUB_BAPI_CALLHi Experts,
I have a requirement where in cash journal posting needs to be carried out automatically by an inbound interface on a periodic basis and at the start during cut over an upload program needs to be used to upload beg balance data . For this purpose I have used BAPI_CASHJOURNALDOC_CREATE to save cash journal entries along with BAPI TRANSACTION COMMIT.
Once the Data is successfully saved I am using FM FCJ_GET_DATA_FOR_SCREEN to get prerequisite data for the FM FCJ_POST_ALL which is used by the Standard cash journal program internally to post the saved data. ( I got this by debugging the standard transaction and both FMs are not yet released )
The issues I am facing is that the the FM FCJ_POST_ALL does not always post the data it behaves in random fashion i.e some times it posts the entries where as sometimes it does not post the entries.
I have tried using commit work after the FM but that also does not result in consistent behavior of the program. One more issue is the i am not allowed to use commit work in a an inbound proxy so how do i proceed ?
I am attaching the code for further analysis:
DATA: LIT_TCJ_TRANS_NAMES TYPE TABLE OF TCJ_TRANS_NAMES,
LWA_TCJ_TRANS_NAMES TYPE TCJ_TRANS_NAMES,
LV_WAIT TYPE BAPITA-WAIT VALUE '1',
LV_RECORD_NO TYPE SY-TABIX.
DATA : LIT_POSTING TYPE STANDARD TABLE OF ISCJ_POSTINGS,
LIT_WTAX_ITEMS TYPE STANDARD TABLE OF TCJ_WTAX_ITEMS,
LIT_SPLIT_POSTINGS TYPE STANDARD TABLE OF ISCJ_POSTINGS,
LIT_CPD TYPE STANDARD TABLE OF TCJ_CPD.
DATA: LV_BEG_BALANCE TYPE CJAMOUNT,
LV_TOTAL_RECEIPTS TYPE CJAMOUNT,
LV_TOTAL_PAYMENTS TYPE CJAMOUNT,
LV_TOTAL_CHECKS TYPE CJAMOUNT,
LV_RUN_BALANCE TYPE CJAMOUNT,
LV_RUN_CASH_BALANCE TYPE CJAMOUNT,
LV_NUMB_OF_REC TYPE I,
LV_NUMB_OF_PAYM TYPE I,
LV_NUMB_OF_CHECKS TYPE I.
DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
SELECT MANDT COMP_CODE TRANSACT_NUMBER LANGU TRANSACT_NAME LONG_TEXT
FROM TCJ_TRANS_NAMES
INTO TABLE LIT_TCJ_TRANS_NAMES
WHERE LANGU = GC_EN.
IF SY-SUBRC <> 0.
MESSAGE 'No Business Transaction maintained for Company Code in this client'(016) TYPE GC_I.
LEAVE LIST-PROCESSING.
ENDIF.
DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
LOOP AT GIT_CJ INTO GWA_CJ.
LV_RECORD_NO = SY-TABIX.
CLEAR: GS_HEADER_BAPI,
GS_CJ_KEY,
GWA_ITEMS.
REFRESH: GIT_ITEMS,
GIT_RETURN.
GS_HEADER_BAPI-COMP_CODE = GWA_CJ-BUKRS.
GS_HEADER_BAPI-CAJO_NUMBER = GWA_CJ-CJNR.
GS_HEADER_BAPI-CURRENCY = GC_PHP.
CLEAR LWA_TCJ_TRANS_NAMES.
READ TABLE LIT_TCJ_TRANS_NAMES INTO LWA_TCJ_TRANS_NAMES WITH KEY COMP_CODE = GWA_CJ-BUKRS
LANGU = GC_EN
TRANSACT_NAME = GWA_CJ-BTNAM.
IF SY-SUBRC = 0.
GWA_ITEMS-TRANSACT_NUMBER = LWA_TCJ_TRANS_NAMES-TRANSACT_NUMBER.
GWA_ITEMS-P_RECEIPTS = GWA_CJ-CJRAT.
GWA_ITEMS-TAX_CODE = GWA_CJ-TXCOD.
GS_HEADER_BAPI-BP_NAME = GWA_CJ-BPNAM.
GWA_ITEMS-POSITION_TEXT = GWA_CJ-POTXT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-LIFNR
IMPORTING
OUTPUT = GWA_ITEMS-VENDOR_NO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-KUNNR
IMPORTING
OUTPUT = GWA_ITEMS-CUSTOMER.
PERFORM SUB_DATE_FROMAT_BAPI CHANGING GWA_CJ-BLDAT
GS_HEADER_BAPI-DOC_DATE.
PERFORM SUB_DATE_FROMAT_BAPI CHANGING GWA_CJ-BUDAT
GS_HEADER_BAPI-PSTNG_DATE.
GS_HEADER_BAPI-REF_DOC_NO = GWA_CJ-XBLNR.
GS_HEADER_BAPI-ALLOC_NMBR = GWA_CJ-ALLNO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-KOSTL
IMPORTING
OUTPUT = GWA_ITEMS-COSTCENTER.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = GWA_CJ-PRCTR
IMPORTING
OUTPUT = GWA_ITEMS-PROFIT_CTR.
APPEND GWA_ITEMS TO GIT_ITEMS.
CALL FUNCTION 'BAPI_CASHJOURNALDOC_CREATE'
EXPORTING
HEADER = GS_HEADER_BAPI
IMPORTING
COMPANY_CODE = GS_CJ_KEY-COMP_CODE
CASH_JOURNAL_NUMBER = GS_CJ_KEY-CAJO_NUMBER
FISCAL_YEAR = GS_CJ_KEY-FISC_YEAR
CASH_JOURNAL_DOC_NO = GS_CJ_KEY-POSTING_NUMBER
TABLES
ITEMS = GIT_ITEMS
RETURN = GIT_RETURN.
IF GIT_RETURN IS NOT INITIAL.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_E.
IF SY-SUBRC <> 0.
CLEAR GWA_CJ_S.
MOVE-CORRESPONDING GS_CJ_KEY TO GWA_CJ_S.
CLEAR GWA_RETURN.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_S.
IF SY-SUBRC = 0.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_S-MSG.
CLEAR GWA_RETURN.
READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_I.
IF SY-SUBRC = 0.
CLEAR GWA_CJ_E.
CONCATENATE GWA_RETURN-MESSAGE GWA_CJ_S-MSG INTO GWA_CJ_E-MSG SEPARATED BY GC_PIPE_FORMAT.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ELSE.
IF P_TEST NE GC_X.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = LV_WAIT.
REFRESH:LIT_POSTING ,
LIT_WTAX_ITEMS ,
LIT_SPLIT_POSTINGS ,
LIT_CPD .
CLEAR: LV_BEG_BALANCE ,
LV_TOTAL_RECEIPTS ,
LV_TOTAL_PAYMENTS ,
LV_TOTAL_CHECKS ,
LV_RUN_BALANCE ,
LV_RUN_CASH_BALANCE ,
LV_NUMB_OF_REC ,
LV_NUMB_OF_PAYM ,
LV_NUMB_OF_CHECKS .
CALL FUNCTION 'FCJ_GET_DATA_FOR_SCREEN'
EXPORTING
I_COMP_CODE = GS_CJ_KEY-COMP_CODE
I_CAJO_NUMBER = GS_CJ_KEY-CAJO_NUMBER
I_DISPLAY_PERIOD_LO = GS_HEADER_BAPI-PSTNG_DATE
I_DISPLAY_PERIOD_HI = GS_HEADER_BAPI-PSTNG_DATE
IMPORTING
E_BEGINNING_BALANCE = LV_BEG_BALANCE
E_RUNNING_BALANCE = LV_RUN_BALANCE
E_RUNNING_CASH_BALANCE = LV_RUN_CASH_BALANCE
E_TOTAL_RECEIPTS = LV_TOTAL_RECEIPTS
E_TOTAL_REC_NUMBER = LV_NUMB_OF_REC
E_TOTAL_PAYMENTS = LV_TOTAL_PAYMENTS
E_TOTAL_PAYM_NUMBER = LV_NUMB_OF_PAYM
E_TOTAL_CHECKS = LV_TOTAL_CHECKS
E_TOTAL_CHECKS_NUMBER = LV_NUMB_OF_CHECKS
TABLES
E_POSTINGS = LIT_POSTING
E_WTAX_ITEMS = LIT_WTAX_ITEMS
E_SPLIT_POSTINGS = LIT_SPLIT_POSTINGS
E_CPD = LIT_CPD.
CALL FUNCTION 'FCJ_POST_ALL'
EXPORTING
I_COMP_CODE = GS_CJ_KEY-COMP_CODE
I_CAJO_NUMBER = GS_CJ_KEY-CAJO_NUMBER
I_CURRENCY = GS_HEADER_BAPI-CURRENCY
I_TYP = 'R'
I_DISPLAY_PERIOD_LO = GS_HEADER_BAPI-PSTNG_DATE
I_DISPLAY_PERIOD_HI = GS_HEADER_BAPI-PSTNG_DATE
* IMPORTING
* E_ERROR_NUMBER =
TABLES
ITCJ_POSTINGS = LIT_POSTING
ITCJ_WTAX_ITEMS = LIT_WTAX_ITEMS
ITCJ_SPLIT_POSTINGS = LIT_SPLIT_POSTINGS
ITCJ_CPD = LIT_CPD
CHANGING
P_BEG_BALANCE = LV_BEG_BALANCE
P_TOTAL_RECEIPTS = LV_TOTAL_RECEIPTS
P_TOTAL_PAYMENTS = LV_TOTAL_PAYMENTS
P_TOTAL_CHECKS = LV_TOTAL_CHECKS
P_RUN_BALANCE = LV_RUN_BALANCE
P_RUN_CASH_BALANCE = LV_RUN_CASH_BALANCE
P_NUMB_OF_REC = LV_NUMB_OF_REC
P_NUMB_OF_PAYM = LV_NUMB_OF_PAYM
P_NUMB_OF_CHECKS = LV_NUMB_OF_CHECKS.
COMMIT WORK.
ENDIF.
APPEND GWA_CJ_S TO GIT_CJ_S.
GV_SUCCESS_RECORDS = GV_SUCCESS_RECORDS + GC_1.
CLEAR GWA_CJ_S.
ENDIF.
ENDIF.
ELSE.
CLEAR GWA_CJ_E.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ENDIF.
ENDIF.
ELSE.
GWA_RETURN-MESSAGE = 'Transaction Name does not correspond to any Transaction Number'(017).
CLEAR GWA_CJ_E.
MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
APPEND GWA_CJ_E TO GIT_CJ_E.
GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
ENDIF.
ENDLOOP.
ENDFORM. " SUB_BAPI_CALL -
Cash Journal - S_ALR_87012309 - total containing
Hi all,
I need your help to do this:
I'm using Tcode S_ALR_87012309 to print the cash journal;
In the first selection screen " G/L account selection" i fill the field G/L account with 2 cash accounts, for instance 5311bm01 and 5311bc01.
My question is :
What should I do to obtain a summary containing - the total of the opening balance and the closing balance of the two cash accounts ?
Please help to solve this problem.
Thanks .Dear Cincean,
Please update the below details in S_ALR_87012309 Print cash journal report and you will get the opening and closing balance output as required.
a) Chart of Accounts: Your chart of accounts. Example: INT
b) G/L account: Mention cash related G/L accounts in ranges example: 1030900004 to 1030900005
c) Company code: Example: 1000
d) Key dates: From date to To date
e) Currency: Leave it as blank as it will take all currencies
f) Tick Standard Documents checkbox
g) Correspondence type: enter SAP18
h) Tick Cash document checkbox
i) Opening balance text: FI_CASH_BB
j) Closing balance text: FI_CASH_BB
k) Transfer text: FI_CASH_BB
l) Title text: FI_CASH_BB
j) List Variant: Select "2" for Germany
k) Additional heading: Update your own headings and will be reflected in cash journal report.
If you follow the above procedure, you will get the opening and closing balance of cash G/L account for the specified period.
Hope this helps. Assign points if helpful
Regards,
Dwarak. -
Cash Journal - S_ALR_87012309
Hi all,
I need your help to do this:
I'm using Tcode S_ALR_87012309 to print the cash journal;
In the first selection screen " G/L account selection" i fill the field G/L account with 2 cash accounts, for instance 5311bm01 and 5311bc01.
My question is :
What should I do to obtain a summary containing the opening balance and the closing balance of the two cash accounts ?
Please help to solve this problem.
Thanks .Dear Cincean,
Please update the below details in S_ALR_87012309 Print cash journal report and you will get the opening and closing balance output as required.
a) Chart of Accounts: Your chart of accounts. Example: INT
b) G/L account: Mention cash related G/L accounts in ranges example: 1030900004 to 1030900005
c) Company code: Example: 1000
d) Key dates: From date to To date
e) Currency: Leave it as blank as it will take all currencies
f) Tick Standard Documents checkbox
g) Correspondence type: enter SAP18
h) Tick Cash document checkbox
i) Opening balance text: FI_CASH_BB
j) Closing balance text: FI_CASH_BB
k) Transfer text: FI_CASH_BB
l) Title text: FI_CASH_BB
j) List Variant: Select "2" for Germany
k) Additional heading: Update your own headings and will be reflected in cash journal report.
If you follow the above procedure, you will get the opening and closing balance of cash G/L account for the specified period.
Hope this helps. Assign points if helpful
Regards,
Dwarak. -
Payment with clearing in Cash journal
Hi all
1.Is there any way to make payment with clearing of vendor payment through cash jounal?
2.Is there any way to deduct TDS while making advance payment to vendor through cash journal?
Regards
Prakash.Hi,
1.Is there any way to make payment with clearing of vendor payment through cash jounal?
Ans:- Yes, you can do the cash payment to vendor through FBCJ. If you are making full then both line items should be cleared.
2.Is there any way to deduct TDS while making advance payment to vendor through cash journal?
Ans:-You have to use special GL functionality to post advance payments which is not possible in FBCJ. This is possible only few countries as standard.
Please go and check FBCJC2.
Edit---SP GL Indicator.
Rgds
Murali. N -
Process vendor invoice through Cash Journal
Hi all,
Is it possible to process vendor payment invoice (FB60) through Cash Journal (FBCJ) rather than paying through F-53/58?
BR
NayabThanks to Dark duck for advising SAP Note 532888
According to note, SAP doesn't provide standard functionality. Though it provides BAPI, which can be called when opting for customize solution.
Our process goes like,
1. Our users are on different location
2. HR Department issues a slip (assume BONUS) to few people which should not be given them through Payroll, but through cash
3. On receiving the slip, users visit petty cash counter, show the slip and gets there amount
4. Usually, such big payments are not available ATcash counter, therefore the person at cash counter ask user to visit tomorrow.
5. The next day, accountant go bank and collect cash, which is then paid to user
We can do customization which will automatically create an invoice and pay employee(which is already created as vendor) through FBCJ, then manually clear vendor through F-44. But then
1. accountant will have to do double work
2. amount can be paid which does not match invoice amount, lets say through typo
Our final solution is to create interface, in which all such invoices are shown. When accountant clicks particular invoice, it will call BAPI and entry would be save in Cash Journal through provided BAPI. Do you think its a feasible solution or there should be some other workaround?
BR
Edited by: Nayab Siddiqui on Dec 4, 2009 7:59 PM -
My client wants to create subledger (he is in the opinion that if One GL accoount is plitted / classified then it is treated as Sub ledger) to split the Amount in GL Account employee wise, by creating Emplopyee vendor master.
I heared Document Splitting but is it possible, splitting one GL account? (say Printing & Stationary account is to be splitted according to Emloyee vendor/ employee)... i.e..
if you take one GL account (Expenses) he wanted to generate a report of GL account based on the employees who expended a part of amount? when...?
That means, if you open any Expenditure account, it also give a detailed report that the transaction done by whome? ofcourse you may say "Text can be maintained"... but based on text we cannot generate rport naa?
Is it possible GL Splitting like document splitting? i think no... please correct me / guid me in a possible way
if yes, Please let me know how it is to be done? and what is different between Document Splitting and GL Splitting?
DasuHi
It is correct that you can get a list for every employee. if you create the as vendors. For all expense GL which have been created as Cost Elements in CO, there is a standard report, which would display the offsetting account number and name. The T Code for the same is KSB1. It basically gives you the details of expenses per cost element and cost center combination. However, the same would not be available for balance sheet account, say for eg, cash Journal. For that you need to modify a structure to display the offsetting account number in FI reports. Refer the link
Re: adding a field to FBL3N
Hope this solves your issue.
Regards
Sanil Bhandari -
Standard report for cash book & Bank book
Hi Guru's,
Please tell me the transaction codes for reporting cash journal & Bank book in standard sap
Thanks.
Santosh RotheHi,
For standard report for cash book & Bank book
Cash Journal : T.code FBCJ
Report - S_ALR_87012309 - Print Cashbook
You can also try this report
J3RFCASH15 - Cash Journal Reports
For Bank Book
There is no standard report for Bank Book
S_ALR_87012348 - Cashed Checks per Bank Account
S_ALR_87012349 - Outstanding Checks Analysis per G/L Account and Vendor
Please let me know if you need more information.
Regards
Sridhar M -
Special G/L in cash journal
Hi,
There are some specific settings for Russia/ Turkey country in order you use Special G/L indicator in Cash Journal. How can I activate them for my country, too? (My country is Romania).
Thanks.In many cases for Cash Sp, GL is required for India too. However the SAP does not support the same. I am sure this would be an requirement in Other countries too. How can we make SAP provide for all Countries as standard ?
Regards
Bharat -
Unable to post one time customer to cash journal
Dear All,
I have difficulty in posting one time customer to cash journal, it did
not prompt me for name and address. However in the website
http://help. sap.com/bp_ bblibrary/ 600/documentatio n/N70_BPP_ 04_EN_DE. doc
it mention it is able, does not know what is the problem, any one has
any idea?
Many ThanksHi Chua,
1) please, make sure that in tr. FD02 this one-time customer exists. IF it doesn't exist, please, create as master data should be available in FI module.
2) According to SAP Library:
For customers whom you only supply once or rarely, you can create a special customer master record, the master record for "one-time accounts". In contrast to other master records, no data specific to a single customer is stored in the one-time master record, since this account is used for more than one customer. The customer-specific entries such as address and bank details are not entered until the document for the transaction is entered into the system.
When you post a document to a one-time account, the system automatically goes to a master data screen. On this screen, you enter the specific master data for the customer, which is stored separately in the document. This includes name, address, and bank data, for example.
3) as per note 490513:
"OTA: The system displays a new 'OTA' button. If you have entered an OTA business partner, then the system automatically displays a screen for the entry of the OTA data. It is possible to navigate to the OTA data via the 'OTA' button."
Therefore, according to standard design of OTA functionality if customer/vendor belongs to One-Time Account group you should enter all customer-specific data (Name, address, bank data, etc.) directly in a document. Otherwise, please, use a non-OTA customer/vendor master records.
I hope this information helps you.
Rewards me if it useful
Regards
Ravinagh Boni -
Is it possible to do planning/Budgeting for expense account cash journal number wise.
I can understand that the planning/budgeting can be done in CO module but here we want if we have budget $ 1000 for Entertainment expesne then it will be utilized by three cashier so that we need a control on it by assigning specific amount for each cashier. Following table would probably assist more
===========================================================
Account Cost center Amount Cashier
5601001 4500 1000 Jon 500
alex 300
Peter 200
========================================================
i hope you understand my question. My understanding is Standard SAP does not suportIf you want SPL GL in FBCJ then write a Substitution .
1. step 001 - Special G/L Substitution
2. Prerequisite - Transaction code = 'FBCJ'
3. Substitution posting key -- Exit (need help from abap) exit name
G/L Exit (need help from abap) exit name
Special G/L Ind Exit (need help from abap) exit name
you can't do this without ABAP help
Best Of Luck
Tanmoy
Maybe you are looking for
-
I use Windows 7 and when I try to open a file on my desktop that I have copied from the internet and pasted to my desktop I get this message: Adobe Reader cannot open (file jpg) because it is either not a supported file type or because the file has b
-
Show model properties in visual components
Hi, My application has a model Track object with some properties like artist, title, album, ... When a track is selected in a table, it's properties are shown in another JPanel composed with JTextField components. For this purpose I have implemented
-
here is the code i am having issues with import javax.swing.JOptionPane; public class GreekNumberDriver{ public static void main (String [] args) { GreekNumbers Number = new GreekNumbers (); String GreekN
-
CKM Oracle: Max Number of Errors Parameter in CKM
Hi, I have a question and would require your suggestion. ODI version : ODI 11G I am using CKM Oracle as my Check Knowledge Module. In CKM, we have a option "Maximum Numbers of Errors Allowed" .. to be given as percentage or number. My requirement is
-
Error in determining the cost estimate while running cost collector (KKF6N)
Hi, My client is trying to run the cost collectors in t-code KKF6N. The error reads as under: u201CError determining the cost estimateu201D. Prior to this he was experiencing problems with the costing of 3 different SKUs which appear in one of his Z