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

Posting a document using RFBIBL00

Former Member
0 Likes
710

Hi,

I want to post certain details using this program. I have populated the three structures: BGR00, BBKPF(header data) and BBSEG(line item data). The session gets opened but is terminated while reading the header data strucure. It gives this error:

Session 1 session name SESSION was opened

Doc. 1 record 1 : Invalid record type /

... Last header record ...

it gives the list of structure fields, and after the last field, it says " Editing terminated".

I am not populating all the fields , only 6 fields which i require. Is there any fixed format in populating these structures while writing them to the file?

Any help would be appreciated,

Thanks,

Sruthy

Hi,

I want to post certain details using this program. I have populated the three structures: BGR00, BBKPF(header data) and BBSEG(line item data). The session gets opened but is terminated while reading the header data strucure. It gives this error:

Session 1 session name SESSION was opened

Doc. 1 record 1 : Invalid record type /

... Last header record ...

it gives the list of structure fields, and after the last field, it says " Editing terminated".

I am not populating all the fields , only 6 fields which i require. Is there any fixed format in populating these structures while writing them to the file?

Any help would be appreciated,

Thanks,

Sruthy

2 REPLIES 2
Read only

Former Member
0 Likes
539

Hi,

I hope you ar edoing this in LSMW. If yes check whether you are done proper field mapping and you have entered required fields. The error says the record type doen't match (not sure which field it is) so check that field and then read it once again.

Let me know if this works or kindly be little mor especific on your issue.

Thanks,

Prashanth

Read only

Former Member
0 Likes
539

Hi Sruthy

I guess you have missed populating field STYPE in each of the records which identifies the actual structure.

Below is how you have to pass for them:

<b>Struc --> Value

BGR00 --> 0

BBKPF --> 1

BBSEG --> 2</b>

Kind Regards

Eswar