Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Sap Batch Program - RFBIBL00

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Thank you for your information, it helped me to go ahead.

Warm Regards'

Madan