Cannot post deposit at FPCJ - FICA Cash Journal

Hi SAP Community Network colleges.
Can someone help me with the following?
I am using the FI-CA Cash Desk/Cash Journal functionality but I am not able to post a deposit.  In the t-code FPCJ the optión "Post deposit" at menu "Cash Desk" is supressed.  I have run thue all Cash desk/Cash journal custimizing points and try out different options but still the "Post deposit" line in the menu appears supressed.
Can anybody help me with this?
Regards,
Jesús Rebollar Romo.

Hi Rehan.
The thing is I have a cash journal to which an excessive withdrawal was made by mistake so it is now showing in the system a balance shorter than the real for the same amount of the excessive withdrawal.
Additionally, the company gives funds for cashiers to have change at the beginning of the day.  These funds are managed outside the system which I think is a mistake and I would like to take the opportunity to correct it.  By reading the SAP documentation I understand the "Post deposit" is the right way to manage these funds.
I have checked the G/L account assigned to posting area 0150 as per your recommendation but still the "Post deposit" option is supperessed.
Any other ideas??
Jesús Rebollar Romo.

Similar Messages

  • 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 Thanks

    Hi 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

  • Posting directly to tax account in Cash Journal

    Dear all,
    How can I post to tax account in cash journal without specify tax code.
    My business scenario is as follow:
    Use FBCJ to pay tax to Tax authorities.
    Debit Tax account
            Credit Cash
    But when I do this, system requires to input a tax code. I cannot input tax code with rate is zero. But if I enter tax code with rate 1%, 2% .... this line items will appear in Tax Sales & Purchased reports. It's not correct.
    Do you know how to fix this issue ?
    Thank you very much for your help,
    Regards,
    Sylvecat.

    Hi,
    In the GL account of Tax A/c in Control data, input All tax types allowed and tick posting without taxes allowed box.
    Regards,
    Sadashivan

  • Cash Journal Reverse- Message No:F5A212.

    Hi Gurus
    When I want to reverse a cash journal in FBCJ error: No reversal/deletion possible – a negative balance would arise – Message no F5A212.  Is occurring. I have opening balance on 26/04/2007 of Rs.1, 40,128/- Total cash receipts are Rs.167710/-. Total Cash payments are Rs.92468/-. I want to reverse the receipt of Rs.83855/-. My client has posted few documents twice in last 6 months. There are around 11 entries.Now at the time of reconciling balances are not getting tally. So we want to reverse the entries which are doubled.
    Please help me out ASAP.
    Thanks In Advance.
    Regards,
    Vikas.

    Hi Vikas,
    Apply this SAP note below. Don´t forget reward points to contributors.
    Best Regards.
    Note 1051847 - FBCJ: Error message F5A 212 - Date not specified
    Symptom
    You use the FI cash journal and delete or reverse a cash receipt. You cannot post the reversal of the cash receipt as the system generates error message F5A 212 'No reversal/deletion possible - a negative balance would arise'.
    The closing balance on the selected posting day is larger than the payment amount/reversal amount and you cannot immediately tell on which of the following days the negative balance would arise.
    Reason and Prerequisites
    The error message F5A 212 does not specify a date.
    Solution
    Make the following changes:
    Add the export parameter E_NEG_DATE  LIKE  SY
    Solution
    Make the following changes:
    Add the export parameter E_NEG_DATE  LIKE  SY-DATUM (or as of Release 6.0, the parameter E_NEG_DATE  TYPE  SY-DATUM) to the function module FCJ_CHECK_NEG_BALANCE.
    Change the error message F5A 212 as follows: "Reversal/deletion is not possible - a negative balance would result on &1"
    Implement the attached source code changes in your system.
    If the system generates error message F5A 212, it now specifies the date on which the negative balance would arise.

  • Vendor Advance through Cash Journal

    Hi,
    Is it possible to post Vendor advances (downpayment) through Cash journal. Client will pay advances to employees for travel. We created employee as a vendor and we need to pay and recover advances from vendors.
    Is it possible to post vendor advances through Cash journal.
    Best Regards
    Raj

    Hi,
    this question has been asked so many times in this forum.
    check the below thread.
    [Re: down payment,fbcj]
    Thanks,
    Srinu

  • Cash Journal Branch creation concept

    Dear Friends,
    Can any one please explain about the Petty cash in sap.
    I did the set up in petty cash like creation of Branch account.
    Please help me to understand the actual concept of petty cash in sap. how its works in the system.
    Thanks in advance.
    Regards,
    Mahendra

    Hi,
    Concept of Cash Journal:
    You can use the cash journal to manage cash transactions in your company. You can post cash receipts and cash payments, print receipts, and print out a cash journal. The cash journal in the R/3 System is a subsidiary ledger, which contains documents that are transferred from the cash journal to the general ledger in SAP FI. A cash journal is kept in one currency.
    The cash journal does not include functions for accepting and depositing checks.
    Each cash journal is assigned a G/L account to which the documents in the general ledger are posted.
    When a posting is made to a cash journal, the documents with the following document types are posted:
    Business transaction                                   Document Type
    G/L account postings                                      AB
    Vendor: incoming/outgoing payments     KZ
    Customer: incoming/outgoing payments     DZ
    You can create your own business transactions that have to be posted. In the cash journal transaction FBCJ, you can create, change, and delete business transactions.
    We can provide the following business transactions for cash journal accounting:
    Business transaction type
    E = Expenses
    D = Customer posting
    K = Vendor posting
    B = Payment to ICBC bank account
    B = Payment to BOC bank account
    C = Payment from bank account
    C = Payment to bank account
    R = Revenue
    Cash Journal Configuration steps:
    1. Create GL Account for Cash Journal (Post Automatically): FS00 or FS01
    2. Amount Limit: Path: IMG/FA/Bank Accounting/Business Transactions/Cash Journal
    3. Define Document Types for Cash Journal Documents - Tcode: OBA7
    4. Define No. Range Intervals for Cash Journal Documents- CJC1
    5. Set up Cash Journal - Tcode: CJC0
    6. Create, Change, Delete Business Transactions - Tcode: CJC2
    7. Set up Print Parameters for Cash Journal -  CJC3
    8. Cash Journal Posting : FBCJ
    Hope this helps you,
    Regards,
    Kannusamy S

  • Advantage of Cash Journal's Field 'Personnel Number'

    Hi all,
    We post an expense entry in Cash Journal - Cash Payment tab. Say Misc. Payments is selected as business transaction which is paid to an employee say "Abc" having personnel no. "321".
    We have posted an entry which creates following documents
    1) Accounting document
    2) Joint venture document
    3) Funds accounting
    4) Cost center accounting
    5) Profit center accounting
    None of the document shows we have paid to which employee though we can find through cost center from which department the payment would be charged.
    What I need to find is whats the advantage of entering Personnel Number? I doubt there would be some report which provides complete information to when and why the employee is paid through this number but didn't find any help over the Internet.
    Appreciate your assistance in this regard,
    Thanks,
    -N

    HI
    Personnel Number is used when the payroll has been implemented. You can select the personnel number to draw reports for expenses paid to employees in cash. Moreever, based on the sort key in the GL master and also through the use of suitable BTE you can populate the name of Employee in the Text or Assignment field.
    Regards
    Sanil Bhandari

  • Asset postings through cash journal

    Hi gurus,
    Is it possible to post the asset postings through cash journal.  I want to debit the asset no. in FBCJ.  If it is possible how the configuration has to be done.
    BSR

    Hello
    Cash journal is purely for cash reciepts and cash payments.
    If an payment towards purchase of asset needs to be made, then first create the master record in AA and try to make the debit.
    I am not sure whether it would work, because an aquisition requires a transaction key of 200 or 210, which is not available CJ screens.
    I wonder if you can do it. But please test it, mind you first create asset master record.
    Reg
    assign points if useful

  • 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

  • Special GL Postings through Cash Journal

    Hello All,
    We are implementing EHP 4 SAP ERP 6.0 NW 7.01 in Vietnam. We have found that we can not post Special GL transactions through Cash Journal. It is vey much necessary for the client to post Employee advances and loans through Cash journal. Their 90% transactions for employees goes through Cash. We have searched for solution in SDN, and there so many message relating to this but could not found any work around solution for this problem.
    Client does not want to post transfer posting to special GL later.
    Could anybody guide us to have some work around solution for this?
    Thanks in advance
    Regards
    shankar

    Hi Shankar,
    Look at below thread
    Special GL indicator in Cash Journal
    Regards,
    Chintan Joshi.

  • Cash journal: security deposit refund to customer in cash

    Hi
    Please mention how to post in FBCJ; security deposit refund in cash to custmers. As we cannot use expense or other business transaction type in cash journal posting.
    Regards
    Keyin.12345

    Dear Llu jo and Atif
    Thanks for your wonderful inputs, I have done the posting and subsequent clearing. But I have two doubts in this...
    1. When i am posting to customer account in FBCJ, it is getting posted to Main reconciliation and from there I am trasnfering to Special gl account using f-02, and in next step i am clearing using f-32. Is this correct or do we need some other account in FBCJ. If it is possible plesae provide journal entries.
    2. I have read on sdn that we can use substitution rule, I am trying to create but in substitution step HKONT field is not displayed. . In prerequisite step HKNOT field is there but not in substitution step. Is there any way we can distplay HKONT.
    Please do the needful
    Regards
    Keyin.12345

  • CHQ DEPOSIT ENTRY IN CASH JOURNAL..THROWS ERROR

    When i trying to enter chq deposit in Cash journal after making the entry petty cash to customer,clicking Present cheques.
    I defined business transaction for this and assigned bank deposit account,however sustem throws me error that
    YOU CANNOT USE ACCOUNTING TRANSACTION TYPE "INCOMING PAYMENT HERE"
    tHE DESCRIPTION GIVEN FOR THIS ERROR IS:
    You cannot use accounting transaction type "Incoming payment" here
    Message no. F5A070
    Diagnosis
    You are using the payments tab, but have selected an accounting transaction that is used exclusively for receipts.
    System Response
    The system analyzes this inconsistency and waits for your adjustment.
    Procedure
    Either select a different accounting transaction or change the tab.
    PLEASE LET ME KNOW EHER I NEED TO CORRECT

    Hi
    Check at TCode FBCJC0.
    Cheers
    Srinivas

  • BAPI or Function Module for FBCJ Posting of Parked Cash Journal Entries

    Hi Experts,
    A blessed day.
    We have one requirement that requires the creation of Batch Program that will post all the outstanding (status is set in yellow) Cash Journal Entries in transaction FBCJ.
    Hereu2019s the issue, to satisfy the requirement, we either use BDC/Call Transaction OR use a Function Module/BAPI. 
    I would prefer to use Function Module/BAPI.  However, currently thereu2019s only one BAPI available for FBCJ (BAPI_CASHJOURNALDOC_CREATE).  This BAPI can only create cash journal entries BUT DO NOT change the cash journal entry for posting.  The Function Modules (Function Modules of FCJ_POST* series) cannot be used for background processing because of GUI pop-ups. These FMs also donu2019t have the Exceptions functionality for error handling and would not report the Accounting document created from the Cash Journal Entry posting.
    The problem with using BDC/Call Transaction is that it should incorporate line item selection of the cash journal entries, which I havenu2019t tried yet.  Iu2019m not sure if this is possible and if itu2019s possible, how much complexity will it incur.
    If you have the availability, would it be possible if you can help us explore on the potential solutions for this requirement?
    Thanks so much.  God bless!
    Cheers,
    ianne

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • Error while Split Entry Posting in T Code u0096 FBCJ u0096 Cash Journal

    Hi,
    When we are using Split Entry option in this Transaction – FBCJ for posting Cash Expenses, we are getting error message “Field Bus. Area is a required field for G/L Account of relevant Cash Account”, i.e. we can generate the entry and save but we cannot post the document into FI. (We use this option when one document / cash transaction consits more than one Expense Account and we need to post into single document).
    Note :- This error is appearing inspite of cost object ( cost center / business area is entered in expenses GL line item ).
    I have prepared the complete cycle of the issue but cannot attach the same here.
    Need your help .
    With Best Regards
    Pravin ( [email protected] )

    Hi,
    Business area put it optional entry, if u want business area enret other wise leave it,
    now u will try it will work
    if it's useful assigne points
    Regards
    gvr

  • 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_CALL

    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_CALL

Maybe you are looking for

  • Syncing/Charging Problem with iPod Video 5G

    I am experiencing a problem with my iPod Video 5G. When pressing the center button of the device, the apple logo appears. But before it completely starts up, it dies, leaving the screen with a faint apple logo and some lines. When I plug the iPod int

  • XMLPARSER.parseCLOB Error

    Hi all, i'm having a little trouble working with XML in pl SQL could somebody please help me? I'm the biggest noob here is a sample of what i'm doing: FUNCTION getXML(IdSP IN NUMBER) RETURN CLOB is p xmlparser.parser; dadosAvaria dbms_xmlgen.ctxHandl

  • JDBC 10g - Support for TNS name entries

    Hello, I found the following statement: JDBC-Thin support for TNSNAMES.ORA Lookup: similar to JDBC-OCI, both client-side and server-side JDBC-Thin can now read the local TNSNAMES.ORA file to resolve service name or TNS alias. Consequently Java in the

  • G4 AGP doesn't respond to keyboard...

    My PM G4 starts with the right "boing" but the screen stays blank. It doesn't seem to respond to the keyboard (USB). I've tried connecting the keyboard directly to the mac (not by a hub). I've tried with an other graphic card.I've even bought a new k

  • Long start up time after Leopard install on MacBook Pro...

    Hi, I just bought a MacBook Pro recently and upgraded it to Leopard But ever since then, every time I start it up it takes over a minute to load everything On Tiger, it would only take at most 20 seconds It would just stay on some blue screen for a w