Using Sap Batch Program - RFBIBL00

Hi,
I have gone through the forum in trying to understand the standard sap batch program, but still unable to do so.
I have a requirement where I need to use standard sap batch program RFBIBL00
I need to use T.code: F-22 for processing
I have a posting text file to upload. Please explain me how to use the standard sap batch program.
I know there are 3 structures BGR00, BBKPF and BBSEG which needs to be populated before calling the program RFBIBL00
Please explain me in detail.
Appreciate all the help from your end.
Madan

This is a brief guideline from memory, so you will have to modify it to fit your exact requirements.
1. Initialise the work areas, can be done by
perform init_strukturen_erzeugen(rfbibli0) using '/'
2. Fill your batch structure BGR00 and append to output file data itab
3. Load your data from text file, and loop around it
4. Fill your header structure BBKPF per document, append to output file itab
5. Fill your lines itab BBSEG per document line, append to output file itab
6. Repeat 4 & 5 for each document in text file.
7. Create temporary output file on App server using contents of output file itab
8. Submit rfbibl00 program using output file name
9. Delete the temporary file (good practice)
Hope that helps for starters

Similar Messages

  • Use of Standard Batch Programs - RFBIBL00 and RFBIBL01

    Dear All,
    I am facing issues while using the standard batch program
    RFBIBL00 which in turn triggers RFBIBL01 for creating batch session.
    I understand that there are 3 structures BGR00, BBKPF and BBSEG which needs to be populated.
    I also understand that this program reads data from file on application server.
    I want to understand whether the above batch program can be used for
    1. To Create Batch Session ?
    2. To Call Transaction ?
    Please explain the steps in detail, for both these processes.
    I am calling transaction F-22 to post invoices.
    Please exlpain in detail on how to go about this.
    Warm Regards'
    Madan

    Hi,
    Thank you for the information.
    I have already populated the strucutres BGR00 and BBKPF.
    I am facing issues while populating data for BBSEG.(item leve data)
    Can u pls tell me how exactly i can populate these structures and where exactly to do so ?
    Please explain me the process of populating the header and item level data structures.
    Appreciate all the help from your end.
    Once again thanks for ur time and information.
    Madan

  • Have you used SAP supplied programs to load master data?

    HI,
    SEND ME REPLAY.

    Hi
    We use LSMW tool which is provided by SAP to upload the Data into SAP from legacy data
    There are various other methods for Upload,
    But Direct Input method is the one which SAP provided  directly to upload the data
    there are some predefined programs and structures, that should be mapped and the data transfer takes automatically.
    <b>Reward points if useful</b>
    Regards
    Anji

  • Batch input session to FB01 using standard program RFBIBL00

    Hi all,
    I am creating a batch input session using the standard program RFBIBL00 to simulate transaction FB01.
    My problem is when I process the "batch input session" (using transaction SM35), this finish ok, but in the log I am retrieving the following message:
      "Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0300"
    This is a success message and the document is created ok,and the field DMBTR is informed ok.
    Has somebody some idea?.
    Thanks so much in advance for any answer.

    Hi gundam,
    1. Or is there any method to wait here until the process is completed before further processing?
    There is no such direct method to wait.
    2. Immediately after submitting in background,
       we cannot wait
      neither can we LOOP and go on detecting
      whether the b/g process has completed or not !
    3. To over come such problems,
      we have to use another technique.
    4. we have to submit another
       job which will get triggered
       on event SAP_END_OF_JOB
       ie. when the original job will finish,
      our new job will AUTOMATICALLY get triggered,
    5. This new job / program
       will do the FURTHER actions !
    regards,
    amit m.

  • Using Program RFBIBL00 ( LSMW)

    Hi ALL,
      I am trying to create journal upload in the transaction FB01. I am using LSMW to upload the data.
    while uploading i have Header data and Item data.
    <b>I am using standard batch input method and program is RFBIBL00.</b>
    <b>Header data conists of fields.
    1. Document date 2. Posting date 3. Type  4. Company code
    Item data consists of fields.
    1. Posting key 2. account  3. amount   4. taxcode   5. costcenter</b>
    <b>So whether i have two prepare two excel files.?</b>
    so how to link in LSMW with excel files.
    can anybody explain step by step procedure to create this journal upload using LSMW thru program RFBIBL00.
    Points will be awarded.
    Regards,
    vinoth.

    hi zarina,
           please send me the documents to my mail also
    ([email protected]),, waiting for your mail
    thanks in advance ,,
    krishna
    Message was edited by:
            Krishna Ramasamy

  • Using SAP  Program RSADRLSM02 for Employee Address Clean Up

    We have a requirement to clean up as well as maintain on an ongoing basis valid employee address data, so that any postal mailers are not returned 'Undeliverable'.
    We have seen documentation that says customers can use SAP provided program RSADRLSM02 (note 132948) , through which you upload  periodically  third party file ( USPS or any other provider file) into SAP.  The data then resides in cluster tables within SAP . There are BADIu2019s / User Exits available that can be implemented to go against this cluster data during address entry through ESS / PA30.
    However, SAP's recent direction seems to be towards DQM.
    Are there customers  using RSADRLSM02 still ? Any issues with this approach like performance or robustness of this load process ?
    We understand data may have to be mapped from the USPS file to what RSADRLSM02 needs.
    Thanks for any inputs in advance.

    Bumping it up to see anyone has comments.

  • How to extract data in order to create file for using program RFBIBL00?

    Hi all!
    In order to correct data in mass I need to select corresponding data (3000 FI documents) and extract these into a file in order to correct a field. This extract must having segment 1BKPF 2BSEG... the same file structure than in SXDA_TOOLS for FI documents.
    Which program must I use in order to have the correct extract in order to use the standard program RFBIBL00 for creating FI document?
    Must I create a specific program in order to create this file or only administrator can do this?
    Thanks for your help!
    David

    Hi
    RFBIBL00 is arranged on main strucuters BGR00 (for batcinput session data), BBKPF (for header data) and BBSEG (for item data).
    Both structures BBKPF and BBSEG have to be filled, but only the fields have to be used or changed, the rest of the fields have to have the symbol for NO DATA, i.e /.
    So there are no standard program can do it automatically, so it needs to creaste a program ad hoc....but it can use the Legacy System Migration Worbech (transaction LSMW) in order to do it,
    so your problem can be really how to extract the data to be elaborated by LSMW, but you can do a simple query by se16 and download the result in a excel file
    Max

  • Regarding in FI posting program rfbibl00

    Hi all,
    when i use the submit program RFBIBL00, it is not creating the session
    i want to capture the message and data record in this case.
    how and where can i do this.
    Please help me with your suggestions
    thanks in advance.
    regards,
    Selvi

    Hi ,
    Befor Submit RFBIBLEOO.
    Us e this
    SUBMIT rsbdcsub AND RETURN
                 WITH mappe EQ 'Ur session name'.
                  WITH von EQ sy-datum
    WITH bis EQ sy-datum
    WITH fehler EQ space
    EXPORTING LIST TO MEMORY.
    SUBMIT rfbibl00 WITH  ds_name   =   ds_name
    WITH  fl_check  =   fl_check
    WITH  os_xon    =   os_xon
    WITH  xnonunic  =   xnonunic
    WITH  callmode  =   callmode
    WITH  max_comm  =   max_comm
    WITH  pa_xprot  =   pa_xprot
    WITH  anz_mode  =   anz_mode
    WITH  anz_mode  =   anz_mode
    WITH  update    =   update
    WITH  xpop      =   xpop
    WITH  xlog      =   xlog
    WITH  xinf      =   xinf  AND RETURN.
    I hope it may helpful to you.
    Thanks,

  • Data analysis and SAP supplied programs etc

    1.What transactions do you use for data analysis?
    2.What are the techniques involved in using SAP supplied programs? 
    Do we prefer to write your own programs to load master data? Why?
    3.What is a currency factoring technique?
    4.What is output determination? 
    5.Setting up a BDC program where you find information from?

    Hi,
    Please check transaction code <b>BDLR</b>.
    Regards,
    Ferry Lianto

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus,
    I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
    I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
    It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
    Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
    Your feedback will be highly appreciated.
    Thanks
    Ram

    Thanks Sampath for the response.
    Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
    Here is the code I have used
      SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH  S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_REGION_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_TERRITORY_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
    Any other suggestions or feedback will be appreciated.
    Tks
    Ram

  • F-43 and F-22 tcode will work by using the program RFBIBL00 in LSMW?

    Hi Guys,
    Currently we have the requirement like we need to post the vendor open items and customer open items by using the tcodes
    F-43 and F-22.
    Is it possible to create the records by using the program RFBIBL00 in LSMW?
    Thanks in advance
    SRS Reddy

    Dear Reddy,
    FB01 is the generic and classic transaction to post an FI document. There is no difference at all with F-43 and F-22 that are only linked to a specific document type and posting key.
    I hope this helps You.
    mauri

  • Customer Statement using SAP Script and Standard print program RFKORD10

    Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
    Invoice #     InvoiceDate  CustomerPO  Debit Amt  Credit Amt  Total
        6        7           8               9               10               11
        6        7           8               9               10               11
                                     Totals               12             13              14
    Where company code BKORM-KUKRS
                Invoice              BSID-BELNR
                Invoice date      BSID-BLDAT
                Customer PO    VBKD-BSTKD
    For each document number selected there will be one to many records in VBRP.  For each invoice item in VBRP:
    u2022     Select BSTKD from VBKD where
    o     VBELN = VBRP-VGBEL and
    o     POSNR = VBRP-VGPOS
    u2022     If no hits then select BSTKD from VBKD where
    o     VBELN = VBRP-VGBEL
    If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
                 Debit Amt         if BSEG-SHKZG = S then WRBTR ELSE 0
                 Credit Amt        if BSEG-SHKZG = H then WRBTR ELSE 0
                 Total                  Debit Amt u2013 Credit Amt
                  Totals                Subtotals
    It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
    Points will b rewarded for sure.
    Thanks.

    Hi Suganya,
    The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
    But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
    Please let me know any further details on this.
    Poornima

  • Posting Intercompany documents using program RFBIBL00

    Hi,
    I want to know if we can post intercompany documents using program RFBIBL00(Direct Input Method).
    If this is possible, please let me know how can this be achieved as I am getting an error "Cross-company code postings not defined".
    Thanks
    Harveen.

    HI
    You need to setup the relationships between the company codes. Do this via
    OBYA transaction.
    Hope this help.
    Regards
    kishore

  • Wireless using SAP ABAP Report programming

    Hi All Boss,
    I am doing my project Wireless program using SAP ABAP
    I need that project.
    so please send me wireless program for sap abap and screen shot.
    reply me urgent....
    Please donot forgot to all..

    This is not a program writing service.

  • Is there any program i can use to batch delete the inbound delivery ?

    Hello, everyone.
        Is there any program i can use to batch delete the inbound delivery ? Thanks.
    Xinzhou gao.

    Hi,
       VL66 is used for deleting temporary inbound deliveries that have been marked with the deletion flag in the database, the temporary deliveries should have the deletion flag selected in the database, but i want to delete the normal inbound delivery without deletion flag now, is there any  other solutions? Thanks.
    Xinzhou gao.

Maybe you are looking for

  • IPod nano compatibility

    Is the ighost docking station compatible with the iPod nano 7th generation?  If not, is there an adaptor? [email protected]

  • Issue in Migration from JDev 10.1.2  to JDev 10.1.3

    A web app developed under JDev 10.1.2. Now try to migrate it to JDev 10.1.3. During the migration process, encountered a message: Migrating /D:/Oracle/App/webroot/WEB-INF/struts-config.xml from JDev 10.1.2 to JDev 10.1.3 Detected custom lifecycle in

  • Does labview have drag and drop capability while a program is running

    Suppose I have a cluster with controls of various datatypes on the front panel of one vi. Is it possible to represent that cluster with an icon, and then drag that icon on to the front panel of a second vi? The information in the cluster would then b

  • How to Block Unwanted Calls in Nokia 5330

    How can i block unwanted calls/sms in Nokia 5330 TV Mobile Phone??? What supported apps or software can i install???

  • Problem in passing parameter to query

    SELECT     OWOR.DocNum, OWOR.Series, OWOR.ItemCode AS Parent, WOR1.ItemCode, OWOR.PlannedQty, WOR1.BaseQty, WOR1.PlannedQty AS 'POD Qty',                       WOR1.IssuedQty, IGE1.Quantity, IGE1.OpenQty, ITM1.Price, OITW.OnHand FROM         OITW INN