2006 Nov 07 5:42 AM
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
2006 Nov 07 7:43 AM
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
2006 Nov 07 8:43 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |