Overview

This document gives a brief information on creating the documents via FBCB using LSMW for zero period posting (Balance carry forward).

While migrating to New GL, you require transaction FBCB to post data to accounts in period 0. The FBCB T Code is particularly useful in migration of balances from GLT0 to new gl and where profit center (FIN_PCA) is a scenario in New GL. Through reposting by FBCB, it is possible to update the GL Balances for a Profit Center, without impacting the balances at the company code level. FBCB can be used to update the balances at the Account Assignment Level for different New GL scenario like FIN_PCA, FIN_GSBER, FIN_UKR etc to name a few. All the Documents generated through FBCB are updated in period 0 for balance carry forward. It is possible to have an LSMW or BDC update for FBCB.

Steps:

Major steps involved are-

  • Create a LSMW Project
  • upload the header and line item files
  • create batch input session
  • Process session and check the log for output.


  1. Execute transactionLSMW’.

       Create project

       Create subproject

       Create object

            /wp-content/uploads/2016/03/1_904290.png

2. Once project is created, you have to execute all the steps in LSMW and process as per the requirement.

/wp-content/uploads/2016/03/2_904245.png

     Maintain attributes such as program name, type etc.

     For accounting documents, SAP provides standard program RFBIBL00 which can be leveraged.

/wp-content/uploads/2016/03/3_904296.png

3. Maintain source structure: Create two structure for header and data file.

    

          /wp-content/uploads/2016/03/4_904297.png

         /wp-content/uploads/2016/03/5_904298.png

4. Maintain source fields: Create same field names in each of the structure which you will use in your header and data files.

        /wp-content/uploads/2016/03/6_904299.png

        /wp-content/uploads/2016/03/7_904300.png

5. Maintain Field Mapping and Conversion Rules:

  •      Create mapping rule for the header and line item fields from the file fields to standard structure fields.
  •      Standard structure being used are BBKPF, BBSEG.
  •      Use auto field mapping option to reduce the effort of manually mapping all the fields one by one.

       /wp-content/uploads/2016/03/8_904301.png

Change the layout and select the ‘Technical fields’, then below two fields will be displayed.

      /wp-content/uploads/2016/03/9_904302.png

     /wp-content/uploads/2016/03/10_904303.png

6. Specify files:

      Provide the file name in the step for header and line items.

    /wp-content/uploads/2016/03/11_904310.png

    /wp-content/uploads/2016/03/12_904311.png

7. Assign Files:

     Assign header and line item file names to the header and lineitem structure.

     /wp-content/uploads/2016/03/13_904312.png

8. Read Data:

     Now the process is pretty straightforward as you just need to read the input header and line item files to the LSMW so that it can get all the data for      processing.

    /wp-content/uploads/2016/03/14_904313.png

    /wp-content/uploads/2016/03/15_904314.png

9. Display Data:

     Data can be displayed for header as well as for line item.

/wp-content/uploads/2016/03/16_904315.png

10. Convert data:

     Conversion program will use conversion logics which were defined in step ‘Maintain Field Mapping and Conversion Rules’ for converting the data from files      to processing BBKPF and BBSEG structures.

11. Display converted data:

     You can check the converted data which is the final data to be used for posting the transactions.

     /wp-content/uploads/2016/03/17_904316.png

12. Start Direct Input Program:

     Here you can define the processing mode for the posting of transactions.

     /wp-content/uploads/2016/03/18_904317.png

        Once above screen is executed, it’ll open the program RFBIBL00.

     /wp-content/uploads/2016/03/19_904318.png

          After filling all the fields, execute the program which will create a batch input session.

     /wp-content/uploads/2016/03/20_904319.png

13. Process Batch Input Session:

     /wp-content/uploads/2016/03/21_904320.png

  •      You may want to retain the session after completion to check the log in future.

            This can be achieved by two ways.

         A) Change the header settings like below

     /wp-content/uploads/2016/03/22_904321.png

     /wp-content/uploads/2016/03/23_904325.png

          B) Change the settings in LSMW step ‘Maintain Field Mapping and Conversion Rules’.

      /wp-content/uploads/2016/03/24_904326.png

14. Display session log:

/wp-content/uploads/2016/03/25_904327.png

Few things to remember here:

  •        Date format:


               Change the date format in user profile to DD.MM.YYYY and provide the date as DDMMYYYY In the input file.

               Program will automatically convert the input file date to user profile date if used like above.

     /wp-content/uploads/2016/03/26_904328.png


  •     File Format:


     BKPF (Header File): Fields can be added or deleted as per the requirements


/wp-content/uploads/2016/03/27_904329.png

           BSEG (Line Item File):


     /wp-content/uploads/2016/03/28_904330.png

  • Field ‘STYPE’ is linkage between header and line items.
  • Maximum 999 line items can be provided per document.
  • File used here is a tab delimited file.
  • You can use excel file for your convenience and then save as .txt (tab delimited).
  • Same process can be used for FB01, FSB1, FBV1, FBB1 also except that the Tcode will be changed as shown in step 5.you can use fields as per your requirements for transactions.
  • You can read the documentation of program RFBIBL00 for more details on other transactions.

Related Notes / Reference:

SAP Note 0001562986 – FBCB postings with RFBIBL00

SAP Note 0001679975 – FBCB requires a great deal of time during migration

SAP Note 0001070629 – FAQs: New general ledger migration

Author Bio:

  Image.jpg

  Saurabh Gupta is ABAP consultant at Cognizant technology solutions and have keen interest in learning technologies around SAP.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply