Application Development and Automation 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: 
Read only

Report : RFBIBL00 Invoice Posting program

Former Member
0 Likes
611

Hi All,

my requirement is to post the invoices using the standard program RFBIBL00;

The input data in the file is as shown below with header(H) and many lineitems(L)

H 1000 2008 KR 5/1/2008

L C V 4000000002

L D G 660000 100

L D G 650000 400

In the program documentation, the structures : BGR00,BBKPF,BBSEG are to be filled up with the data; BBKPF with header data above and BBSEG with the item data,

Currently i am using the Submit report and it is dumping...

Hence could you let me know if there are any mandatory fields to be filled in the strucutres and can i do the test simulation with the program RFBIBL00 without actual posting of the same...

Thanks

Shiva

3 REPLIES 3
Read only

Former Member
0 Likes
482

Hi Friend,

When you are filling records data shoule be:

BGR00-STYPE = '0'

BBKPF-STYPE = '1'

BBSEG-STYPE = '2'

Please check these and let me know it is giving dump or not.

Pleaes check UNIX file is creating or not in AL11

Regards

Krishnendu

Read only

0 Likes
482

Hi,

Is there any standard method or way to simulate invoice postings?

Also let me know how does the header-item mapping occurs since i m sending to two different strcutures....( i many have many header records and item records)?

Regards

Shiva

Read only

Former Member
0 Likes
482

Hi Friend,

Yes it is possible to pass many headers as many as item records.

BGR00 is used for session creating purpose, need input like session name and transaction name.

BBKPF is used for passing header records, you can pass multiple header records with record type (STYPE) 1.

BBSEG is used to pass items data against specific header data with record type 2.

Sample data like:

0 TEST FB05

1 1200 1000

2 2900 2000

2 3800 2100

1 1201 1000

2 3100 3000

2 3800 2100

Regards

Krishnendu