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

Error while loading AR using FB01

Former Member
0 Likes
1,223

I read and converted the data.

there are no special char for the empty fields as I have made it as space for no data.

after I run the batch input I get the error as

FB012 Session 1 : Special character for 'empty field' is /

FB174 Doc. : Record end indicator in table BBKPF was not supplied with /

FB023 ... Table BBKPF was extended

FB024 ... Before the next put,

FB025 ... also maintain the new fields in table BBKPF

FB174 Doc. 1 : Record end indicator in table BBSEG was not supplied with /

FB023 ... Table BBSEG was extended

FB024 ... Before the next put,

FB025 ... also maintain the new fields in table BBSEG

FB019 Session 1 session name AR_OPEN_ITEM : No terminations have been found

Any idea where to check..?

thanks

8 REPLIES 8
Read only

Former Member
0 Likes
1,014

pass the '/' for every field if the field is initial.

u can do this in mapping step.

Read only

0 Likes
1,014

I did.

same errors is encountering.

Read only

0 Likes
1,014

hope ur doing for each field,

This following code you have to write in Mapping step for that particular field. change according to ur structures

if not as91_ztable-anln1 is initial.

BALTD-AIBN1 = AS91_ZTABLE-ANLN1.

else.

baltd-aibn1 = '/'.

endif.

Here: as91_ztable-----> is the source structure.

anln1----


> source field.

baltd-----> target structure.

aibn1---->target field.

see if we dont have ne value in the flat file for the particular, we need to pass the / value for that field.

Read only

0 Likes
1,014

Now it says..

Unable to interpret "/" as a number.(as a abap dump)

Read only

0 Likes
1,014

hope ur doing in the mapping step writing the code for every field am i rite

Read only

0 Likes
1,014

There are like more then 200 fields..

should I do it for only one field..?

Read only

0 Likes
1,014

if u dont know h many fields are empty in the flat file then u have to write the code for all the fields.

if u know which fields are empty in the flat file then u have to write above code which i have posted for that particular field only.

Read only

Former Member
0 Likes
1,014

Use the BAPI - 'BAPI_ACC_DOCUMENT_POST'

Rgds,

A.I.Rajesh.