‎2008 Jun 23 7:38 AM
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
‎2008 Jun 23 8:45 AM
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
‎2008 Jun 23 9:15 AM
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
‎2008 Jun 23 9:34 AM
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