Cash Journal - Process in Other Organizations
Hi All,
Iu2019m a bit confused in our current business process so thought to share with experts to get input for optimizing the process. Cash Journal (txn: FBCJ) is used for managing cash transactions that could be posting of cash receipts and payments etc.
Currently, hundreds of cash receipts use to create on daily basis, e.g. different vouchers related to fare, medical, communication expense and other facilities, availed by employees. This voucher is first signed by the employee then it goes to his departmentu2019s head which is then signed by Treasury Departmentu2019s Head. The employee then collects and submits it to cash counter who posts receipt in SAP Cash Journal.
The process before reaching to Cash Counter can be optimized through _Customized Application within or outside SAP_ but I would like expertu2019s opinion and there experience that how in their organization such process exist. Hope to get a good suggestion
Thank you for reading
Hi,
Umair can you please describe the way in a bit detail. Like your employee use to email to his/her manager for approval once he approved it will go to further approvals and all that?
Or is it like a custom application where users use to fill up the form which on submit goes to manager and other personnels for approvals?
If this is the case, how about providing any proof in the form of hardcopy etc.?
Your assistance will ofcourse be highly appreciated.
Thanks & Regards,
-N
Similar Messages
-
Is there any process to create a gl a/c in cash journal for credit.
Dear sap guru's,
Please suggest me in this issue. In cash journal we create a gl a/c ie EMPLOYEE WELFARE A/C.
But my user wants. the same gl a/c for credit also.
RIGHT NOW WE CAN USE IT ONLY FOR DEBIT,BUT WE REQUIRE FOR CREDIT ALSO
Please it's urgent.
Regards,
Maruthi.In FBCJC2 set up the business transaction as type R (revenue) and then enter on the receipts tab in the cash journal
regards
Mark -
Cash journal and electroni BRS
Hi ,
I am sunitha , plz tell me the basic steps for cash journal and electronic BRS .
Thank you.
Regards,
sunita.HI
CASH JOURNAL
IMG/FA/BANK A/C / BUS TRANS/ CASH JOURNAL
1. Create GL a/c for Cash Journal Ensure post automatically is on, so that posting can take place automatically. [ 100000 Petty Cash A/c ]
2. Define doc types for Cash Journal Docs - SK [other doc types SA GL, DZ Customer Receipt, KZ Vendor Payment] [ OBA7 ]
3. Define No range & interval for Cash Journal documents [ FBCJC1 ] - copy from 0001.
4. Setup cash journal : [ FBCJC0 ]
a. Give a Cash Journal Code
b. Various code for GL A/cs, Customers, Vendors.
5. Create, Change, Delete Business Transactions [ FBCJC2 ] : These tran types can be copied, but as they are linked to GL a/cs, change as reqd. These can be accessed at FBCJ.
a. C receipts from bank GL a/c -
b. B payment ot bank GL a/c -
c. R Sales
For vendors & Customers, GL a/cs need not be given, as they will be different for A/P, A/R.
6. Setup Print params [ FBCJC3 ] copy from 0001, output device LP01.
7. Posting - SAP/A/c/FA/GL/Doc Entry - Cash Journal Posting FBCJ
BANK RECONCILIATION STATEMENT
SAP/FA/Banking/MasterData/BankMasterData
FI01 create. Instead of the above, you can also create the house bank thru IMG/FA/BankAccounting/BankAccounts
Define house bank - When the house bank is entered, click create button to create. The other details on left like bank a/c con be copied wherever possible.
IMG/FA/ARAP/BT/IP/AutoIP/Payment Method/Bank selection for payment prg
o Setup all co codes for payment transactions
 FPJ customers
 FP vendors
o Setup paying co codes for payment transactions
 Copy from ..
o Setup payment methods per country for payment transactions
 Copy IN cheque exists
 Possible currencies - include all possible currencies. If not set, payment cannot be made in that currency.
o Setup payment method per co code for payment transactions
 C cheque
 Ranking order 1
 Min & max amounts for payment
 Optimize using postal code for faster searches.
o Setup bank determination for payment transactions
 Bank a/c create
 Available amounts for C
 Value dates
IMG/FA/ARAP/BT/OP/AutoOp/PaymentMedia/CheckManagement
o Define no ranges for cheques
o Pass some bank entries thru FBCJ [cash journal]
SAP/AC/Treasury/CashManagement/Incomings/ManualBankStatement
o FF67 enter
 Beginning balance = 0
 End balance = total or earlier entry
 In Further Processing keep Bank Posting  ON.
 The difference enter into the statement with +=dr & -=cr
 Save statement.
 Post statement from Bank Statement TOP.
o FEBA post process. Value date is important, as the matching takes place as per the value dates.
Assign Points
Z -
Use of cash journal for down payment to venor through spical G/L indicator.
sir,
Actually we want vendor down payment to vendor or from customer through special G/L indicator from Cash journal..closed
-
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 advanceAny news?
I'vw found 0FI_GL_4 or 0FI_GL_10 but probably there is datasource directly for Cash Journal? -
Cash Journal table to find out day wise closing balance
Can I have the table name to find the day wise closing balance of cash journal
tried with CJAMOUNT, but not ........Please refer below link:
Cash journal
Br,Vivek -
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 -
Cash restrict righths to see cash journal of other user
Hi sirs,
Could you help me to restrict rights person which is responsible for one cash journal to see and enter in other cash journal for which has different responsible person?
Thank you in advance.
Regards,
DaniHi
In T-code FBCJC0, create a authorisation group for each cash journal.
This authorisation group will be given to number of specific users giving the rigjts like display and doing the transactions.
In Authorisation object F_FBCJ the user will then need that group to see/use the cash journal.
Basis person will help you in this regard
With regards
Siva -
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 -
Withholding taxes in cash journal
Dear Gurus
My customer wants to be able to post to withholding tax while making a cash payment to a vendor using cash journal. I have made the configutions for Withholding tax and also mentioned the tax code in vendor master. However when i try to post the cah payment in transaction FBCJ, i get the error "Enter a vendor without withholding tax type in the saved document"
Can we process Withholding taxes in cash journal? if yes, can someone help me understanding how it works
Thanks so muchHello,
As i understand, You use the FI cash journal with a company code in which extended withholding tax is active. You change a saved cash payment and receive
the error message FCJ 009, <b>"Enter a vendor without withholding tax type in the saved document",</b> even though the vendor that is subject to withholding tax cannot be changed.
This is because of the program error.
You please implement note <b>840792</b>, that should solve the problem.
Regards,
Hemachandra K S
<b>Don't forget to to reward points by marking as "Helpful" or "Very Helpful" or "Solved problem".</b> -
CASH Journal ---------------------Urgent
Hi all
pls this is very urgent
my client is posting FBCJ Cash journal
when cash journal posting vendor
system was Calculating Td's also
my client asking no need tds Calculation
pls how it possibleHello
In Cash journal we can post documents which require TDS calculation and documents which do not require TDS calculation.
If you have already set the tax calculation indicator in the config, the system would automatically calculate.
So, if your client want's no calculation, if it is actually required by law, then try some substitution rule for specific vendors or type of transcations. Maybe the ABAPer could also help in debugging the whole process and identify from where the tax is picking up and you could go there and make the tax code inactive.
Reg
*Assign points if useful -
Hi,
I could not understand about the data flowing from
1. Cash Journal to Manual Bank Statement
2. Check Deposit to Manual Bank Statement
Becuase both are related to Bank Accounting.
It is urgent, How can i get the data relating to this like Process Flow and Journal Entries etc.
Rgds
sunficoHi,
Good morning and greetings,
Please go through the following link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/a5/e9d13973da1f60e10000000a114084/frameset.htm
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
Cash Journal table values TCJ_MAX_AMOUNT amount limit not working
Hi Experts,
I have setup cash journal modules in SAP, client has the requirement that upto certian limit user should process payment from cash journal e.g. USD 500
I have setup below entries in table TCJ_MAX_AMOUNT but noticed that user can still process payment above USD 500
Company Code: 0011
Currency: USD
Valid From: 01.01.2011
Amount: 500
Looking for assistance
ThanksDear Sanil,
I tried earlier below validation but found that this works only when document posting level. But I am looking for solution at save level in cash journal
Prerequisite
SYS-TCODE = "FBCJ" AND BSEG-SHKZG = "S"
Check
BSEG-DMBTR <= '500.00'
any other options?
B/R
prashant rane -
Cash Journal : Error "Inconsistent amounts" during a line items reversal
Dear Experts,
i have posted a line item in Cash Journal.
now when i m trying to delete/reverse it, i m observing a error "Inconsistent amounts" that leads to a ABAP dumb "FMGL_CHECK_PERIODS_REV_REAL" i have dowloaded & applied a note from SAP 1247225, but could not fix the error.
please advice & help me out.Hi Hussein
In addition to the application of the note using SNOTE
you would also need to perform the following manual steps (configuration)
Call transaction SM30 and change the following entries in the table TRWPR:
PROCESS EVENT SUBNO COMPONENT KZ_BLG FUNCTION
DOCUMENT PREREV 190 EAFM FMGL_CHECK_PERIODS_REV_REAL
becomes
DOCUMENT PREREV 190 EAFM FMFA_CHECK_PERIODS_REV_REAL_CK
DOCUMENT REVERSE 065 EAFM FMGL_CHECK_PERIODS_REV_REAL
becomes
DOCUMENT REVERSE 065 EAFM FMFA_CHECK_PERIODS_REV_REAL
Regards
Sach!n -
User Exit in Cash Journal (FBCJ)
Hi
Does anyone knows if there are any User Exits / BADIs or other enhacements in transaction FBCJ for the Cash Journal??
Thanks in advance
FedericoAfeter saving the cash journal entry with the corresponding expense, we need an extra step to authorize the expense before posting it.
For Example
Employee --> Inputs the expense in the cash journal and save it (standard functionality)
Cash Journal Responsible --> Aproves the expense (Non standard functionality)
AP --> Post the cash journal entry (standard functionality)
In order to achieve this process, we are developing a transaction in which the Cash Journal Responsible can approve the expense. That transaction will save in a Z Table the Cash Journal Document together with an approval indicator (among other fields).
Hence, we want an enhacement so that before posting the expense, SAP validates against the Z table that the expense in the cash journal is approved. If so, it will allow to post, otherwise an error message will be issued.
Hope this can clarify the scenario.
Thanks for your help!
Federico
Maybe you are looking for
-
Ipod Touch 4g will no longer sync with iTunes - help!!!
I have an iPod Touch 4 and am using the latest version of iTunes 11.0.2.26 but can no longer get my ipod to sync with itunes. When I click on Sync I get the message 'waiting for changes to be applied' then 'finished' but it does not sync. I have co
-
How do I get my iPod out of the recovery mode loop?
While I was updating my iPod Touch 5g (32GB) to the latest iOS 6.1, the USB by mistake got ditached from my mac and the iPod's screen turned to a USB pointing towards the iTunes logo(Recovery Mode). It showed the same thing when I restarted it around
-
N9A2 Platinum, Installing XP Pro, SP2, Cannot find SATA Hard Drives
I am lost here. I cannot get the bios to recognize the HDs as SATA drives, and XP Pro does not find the HDs (of course), and I do not know why. Do I need a SATA driver floppy for the Install Win drivers <f6> ? I thought not from the other threads
-
1:n Transformation using JAVA Mapping Scenario
Hi Frnds, I done a scenario using 1:n Transformation Scenario using XSLT,Graphical Mapping. But i want to develop scenario Using JAVA Mapping. Can anybody done the same scenario using JAVA Mapping share the links.. Regards, Raj Sekhar
-
I message not working on ios 7
I have upgarded to ios 7 and my i message isnt working, when i go to turn it on it asks me to log in to apple acc, which i do and it wont accept my details, i have tried logging into my apple acc via app store and it works fine, i have also logged ou