Stock Posting and Journal Posting Mismatch

Hi experts,
I am facing a peculiar problem while creating inventory initial quantities.
Problem is as follows.
I have created a transaction for an item x in initial quantities
Item = x , Qty = 2 nos and Price = 10000
In Inventory audit report the system is showing 2x10000 = 20000
But in Journal Entry Created for the above Transaction is showing as follows
Account Name                         Dr        Cr
Stock Account                    60000
Inventory OB Account                       60000
The above is an example - I found the similar type  transaction in the system about 15 transactions
and I have verified the value of inventory audit and the respective stock accounts - The difference is only from this 15 transactions.
We are using SAP Business one 8.8 PL12
and have checked for data inconsistency found no error
For your information we would have created about 1000 entries of initial quantity the error is only in this 15 transactions
Can any on help us in solving this issue ASAP
With Regards,
Karthik

Hi Karthik.........
Have you checked the General Ledger of Stock Account in Financials> Financial Reports> Financial> Accounting> General Ledger wihtin particular date range?.....
Regards,
Rahul

Similar Messages

  • QM- Differnce between stock posting and Qty. posting

    Hi Gurus,
    I want to know what is the difference between the term stock posting and the term qty. posting.Is it possible to do the stock posting and qty. posting from QA32 screen.
    Thanks in advance.

    Hi,
    The term Qty posting and Stock Posting are same. The material stock or qty can be transfered to different storage locations or to different plants or to different companies. The material will be removed from one location and added in the other location.
    Through QA32 you can do the stock or qty posting if the material is in the Quality stock.
    B'regards
    krishna

  • Difference between Stock transfer and transfer posting

    I am little confused about the difference between stock transfer and transfer posting. Please clarify
    <<Locked - reason: failed to search before posting question>>
    Edited by: Csaba Szommer on Feb 9, 2011 9:10 AM

    Hello,
    Transfer posting may involve or not involve the physical goods transfer.  In the system you might do transfer posting from quality to unrestricted, or from one store location to another.
    In transfer posting you remove and or replace materials from storage in one storage location and place them in another storage location.
    That transction code you use for transfer posting MB1B with following movement types may be used
    301, 303,305,311,411,309.
    301 is Stock Transfer Between Plants in One Step
    303 & 305 : Stock Transfer Between Plants in Two Steps
    In stock transfer, it always involves physical movement of goods, like transfer between plants under same company code or different company codes.
    Following types are possible with STO's
    Stock Transport Order Without Delivery
    Stock Transport Order with Delivery via Shipping
    Stock Transport Order with Delivery and Billing Document/Invoice
    http://help.sap.com/saphelp_470/helpdata/en/4d/2b90dc43ad11d189410000e829fbbd/content.htm
    Please go through attach SAP document
    BR,
    Tushar

  • Credit-Follow Up posting and Re-Posting of already posted figures.!

    I need you to advise on the following, if you can:
    All of sudden in an open service contracts i started getting credit following up postings and repostings of all posted items even there is no change made anywhere in the contract either in term, object, Posting parameters or conditions etc.
    The more confusing area is in RERAPP and REISCDCF it is showing the correct posting figures but in actual contract condition simulation, it is showing the above stated problem.
    Just FYI, I have have posted successfully the last month due amount but immediatly it has given a credit follow-up posting and resposting of the same figure.  It seems it is not actually happening due to any operational issue.  Possibly something to do with configuration?
    Looking forward for your resopnse..!
    Thanks.
    Edited by: m.ansari on Feb 23, 2012 9:01 AM

    Hi,
    I saw that you have raised this question twice. So I am adding my answer here too. The other threat will be closed.
    Could you please check the update records for the contract to verify if there were any changes on the contract master data though that might lead to differences in cashflow calculation.
    An other reason might be that customizing settings were changed in the meantime.
    If this does not help please check the follow-up items in the cashflow in detail to find out which fields have changed and are causing the follow-up items generation.
    Regards, Franz

  • MSI X79A-GD65 no POST and no POST LED

    Long story short, I was redoing my watercooling loop and the pump wasn't getting fed water correctly, leading to the CPU overheating. I let the computer cool down and made sure water was moving through it properly before turning it back on.
    When I turned it back on, my computer wouldn't post, and there was no debug LED code coming on. I checked the voltages with a multimeter, everything seemed to read correctly except for the CPU Vcore on the voltage checkpoint: it was reading 0. I checked the EPS connector and it was delivering 12v.
    So what do you guys think, dead motherboard or dead CPU?
    Specs:
    Core i7 3820
    MSI X79A-GD65 8D
    SLI EVGA GTX 580
    32gb Patriot Sector 7 1333 mhz RAM
    OCZ Deneva 2 480gb

    I would remove and reinstall the cpu. While it is out inspect the cpu socket for bent pins.
    Also, inspect the VRM section of the mainboard. Do you see any burn marks? Swelled capacitors etc? Any burning smell from the area?
    Finally remove and re-seat all of the components and wiring. Just in case.
    If still no help, either RMA both components or borrow a cpu to test.

  • Difference between FI Posting and Payment Posting

    Hello Experts,
    Can anyone please throw some light on the use of Program "H99_POST_PAYMENT" (Payment Posting Program - PC00_M99_PPM)?
    What does this program exactly do? Anyone who can answer me interms of Technical and Business Perspective.
    Also how is this program different from Traditional Posting Program (RPCIPE00 / PC00_M99_CIPE)?
    All inputs are appreciated.
    Thanks,
    Janga K.

    Program "H99_POST_PAYMENT
    Purpose
    All payments are posted automatically with this report.
    Features
    If you have performed posting to Accounting (FI/CO), all open liabilities from Payroll are placed on the relevant liabilities accounts accounts, as well as the payments to employees.
    In the standard system, as the payment medium is created for the payments to employees from HR, the system does not mechanically generate the corresponding liabilities accounts. Neither the DME preliminary program (programs RPCDTAx0, or RPCDTCx0 and HxxCDTC0, or RPRDTAx0 ) or the program for creating the data medium (programs RFFO*) perform posting in the FI general ledger. Therefore, if the system in HR generates the payment mediums for payments to employees, you must also perform manual postings in parallel. These manual postings are usually performed with the payment summary. In most cases, there is only one posting containing only a few posting items, that is, one posting item for each bank clearing account and each company code involved.
    If, however, the liabilities are distributed according to expenses, more posting items are generated. You can no longer perform posting manually.
    Selection
    With the report H99_POST_PAYMENT, all payments are evaluated regardless of whether they have been paid or not. All wage types included in table BT and table T52POST_PAYMENT count as payments.
    RPCIPE00
    This program is used to post the payroll results to accounting/FI.
    All wagetypes which are configured to the respective GL accounts using the symbolic account are simulated and the documents so generated using this reported are then executed thru PCP0 to have the values posted to the General Ledger.
    Thanks and Kind Regards
    Ramana

  • What happened to the post and questions posted 11/24/08?

    TX, NOKIA 6085, ATT (cingular.WAP).  Stopped working together 11/21/08.  What?
    Post relates to: Palm TX

    Someone did respond to your post...click here:
    http://forums.palm.com/palm/board/message?board.id=wireless_providers&message.id=4676#M4676
    Post relates to: None

  • Stock transfer and post changing

    Dear WM consultants,
    What is the diff between Stock transfer and post change or post change notice in WM view?
    can u explain with an example?
    pl reply
    guru

    Hi,
    The main difference between stock transfer and transfer posting is that, transfer postings need not involve an actual (physical) goods movements. In the case of stock transfers, on the other hand, there is always a physical movements of goods.
    In the below link, you can find all the informations about transferpostings and stock transfers:
    http://help.sap.com/erp2005_ehp_02/helpdata/en/4d/2ba31643ad11d189410000e829fbbd/frameset.htm
    Reward accordingly.
    Cheers...
    Chandru

  • Employee Vendor and GL Posting

    HI
    Guru's
    Here in my Client there is no HR module, every employees are  considered as a Vendor
    there are so many deductions on employee salary, so i want to Map the same in SAP,
    So, kindly give the steps in posting of trasactions in each GL Accounts
    can i take the Gross salary or Net Salary at the time of posting,(f-48)
    which GL Accounts are we can able to maintain as a Automatic Posting and manual posting
    kindly give ur valuable Answer
    with regards
    Arun Kumar

    Hi
    Based on your Business requirements, you may develop a BDC for posting the transactions because generally, such transactions are done on periodic basis. Morever, the GLs generally are kept open for manual posting in case you are using a BDC Program for posting transactions.
    Regards
    Sanil K Bhandari

  • CO - AutoPost and Manual Post

    Dear All,
    I have a question about Cost Element Cat - 12 and Value Field of Auto Post and Manual Post.
    In original design, I have a GL account which is from SD, Cost Element Cat 12, mapped to 1 value field. In KE30 report, value display with '-' sign.
    Now, users want to have manual adjustment on this account. I think I will not turn off the AutoPost only flag in FS00. But I would like to create another Manual Account for this, on the other hand, I don't want to create a new Value Field for this Manual Account. Is that possible group Auto and Manual Account into 1 value field ? I did a testing in QAS, the figure in KE30 is not match with FS00. Since, the sign for AutoPost Account and Manual Post Account is different from CO side ? Any work around soultion ??
    Thanks a lot.

    Hi,
    You can assign different condition types to a single value field.
    You can also assign two GL accounts to one value field. For this, you need to have the corresponding cost elements in a row or you need to have a group of such cost elements so that you can assign the group while defining the source in PA Transfer Structure.
    Sometimes, there will be a difference between the KE30 value and the gl account balance value because, noramlly you view the gl account balance company code wise, whereas the KE30 report may show the value for a segment, which may be different from company code. (for ex, segment may consist of company code, customer, product, etc.)
    Hope this will be of help to you.
    Cheers.
    Dhananjai

  • Post a journal to vendor and GL's

    Hi,
    I need to post a journal to a vendor account and to GL's. I have seen this happen in our ERP, but dont know how to do it myself.
    Basically, i need to do the following:
    DR Vendor
    CR Control GL
    Any idea how i go about doing this?!
    Cheers

    Hi,
    You may use Vendor Credit note.  Path Accouonting >>Financial Accoounting >> Acouont Payable >> document Entry >> credit note
    regards
    Murali

  • 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

  • Stock tracking and stock posting

    Hello,
    In the Stock Management/stock transactions/Initial quantities, stock tracking and stock posting,
    Suppose the following context:
    Item stock: 1000
    Counted: 900 (posted in stock tracking)
    When reconciling in stock posting is raising this error:
    "Item price has not been entered"
    though we choosed Allow Inbound Posting without Price.
    This is only happening when the counted quantity is smaller than the item stock, that is, in the example given everything is OK for counted quantities >= 1000.
    SAPB1 Version 2007PL30
    We have try in 2005PL45, and it worked. So, we suppose this could be a bug. The strange thing is that it worked in a previous version!
    Do you know something about this behaviour?
    Thank you for your help,
    Regards,
    Vanessa

    Hi,
    Please refer to notes:
    1155329  Error: "item price has not been entered" in Stock Posting
    1173589   SAP Overview Note for SAP Business One 2007 A PL 37
    Hope this can be helpful
    Best Regards
    Helen Sun
    SAP Business One Forums Team

  • Difference between importing a Journal and Posting a journal?

    Hi All,
    What is the difference between importing a journal and posting a journal?
    Thanks...

    When you import a journal, you have simply put the entries in a holding area. Those entries are not reflected in your accounts yet.
    Once you review the journal and it looks good, you post it.
    That is when your accounts are updated.
    Sandeep Gandhi

  • Excise invoice posted and paid but stock is yet to removed from Warehouse

    Dear All,
    Please provide solution for given below issue,
    1.Invoicing was done in 09.09.2009 and excise invoice has also been posted and paid to Govt. but the material is still lying
       at our works as consignee was not having valid road permit.
    2.Now the consignee has been changed but sold to party is same and the road permit is also available
    3.Excise duty revised to 10.30% from 8.24% and the new price breakup has been provided by the customer as per new 
        duties/tax rates.
    Please suggest the best way to handel this issue.
    Regards
    AJIT K SINGH

    >
    AJIT K SINGH wrote:
    > Dear All,
    >
    > Please provide solution for given below issue,
    >
    > 1.Invoicing was done in 09.09.2009 and excise invoice has also been posted and paid to Govt. but the material is still lying
    >    at our works as consignee was not having valid road permit.
    > 2.Now the consignee has been changed but sold to party is same and the road permit is also available
    > 3.Excise duty revised to 10.30% from 8.24% and the new price breakup has been provided by the customer as per new 
    >     duties/tax rates.
    >
    > Please suggest the best way to handel this issue.
    >
    > Regards
    > AJIT K SINGH
    Take help of excise or tax consultant,based on their advice you can proceed further.
    Either you have to revere all postings from excise to sales order.
    Maintain new pricing in condition record.
    Complete sales cycle including sales invoice with new price.
    Create excise invoice.
    For excise duty payment seek help of excise or tax consultant

Maybe you are looking for

  • HT201317 Cant find photo stream in iPhoto

    Ipad, Iphone have photo stream but cant seem to find it on my Mac in iphoto.  There is nothing on the left handside menu for photo stream.  Is there anything I need to do to have it appear or am I looking in the wrong place for it.  Just returned fro

  • How do I get UUT_RESULT ID?

    Hi, I'm currently implementing another database that keeps track of all tests and re-tests of a UUT. I want to use the default database (MySQL) that ships with TestStand for the test results, though. My plan is to use the GUID in UUT_RESULT [ID] as a

  • Grouping results by Month

    Hello, I am building a report that is grouping results by Week. So far the query will pull the data from the database by week. I have a weekstart date and weekending date in the results. This report will have Year to date results and I wanted to brea

  • Error while exe program

    Hello all, We have an custom abap program on R/3 system(Source system) to extract data as flatfile. The same flat file we will use to load into BW system. But today when i executed the program in background I got the following error. In sm37 -> log s

  • Extractor checker issue

    Hi All, I'm facing an issue with content extractor.I have activated datasource and did test extraction result came as i expected. when i loaded data into BW, few fields' data is missing in PSA itself. Then i checked in RSA3 of source system, i'm gett