Application Development 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: 

LSMW for customers

Former Member
0 Kudos

Program Type: B Batch Input

When I try to generate the batch input session, this error it's displayed in the list log:

FB018 File MCF_MCF-CA_MCF-CA-MD-CUS.lsmw.conv is being checked

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

FB113 Trans. 1 : Transaction code is XD01

FB125 ... Data in table BKNKK cannot be processed

FB016 ... Last header record ...

FB014 ... BKN00-STYPE 1

FB014 ... BKN00-TCODE XD01

FB014 ... BKN00-KUNNR 0000100565

FB014 ... BKN00-BUKRS FR01

FB014 ... BKN00-VKORG FR01

FB014 ... BKN00-VTWEG 40

FB014 ... BKN00-SPART 02

FB014 ... BKN00-KTOKD 0001

FB014 ... BKN00-KKBER 4001

FB017 ... Last data record ...

FB014 ... BKNKK-STYPE 2

FB014 ... BKNKK-TBNAM BKNKK

FB014 ... BKNKK-KNKLI 0000100565

FB014 ... BKNKK-KLIMK 0

FB014 ... BKNKK-CTLPC N

FB014 ... BKNKK-DTREV /

FB014 ... BKNKK-CRBLB

FB014 ... BKNKK-SBGRP

FB014 ... BKNKK-NXTRV /

FB014 ... BKNKK-KRAUS

FB014 ... BKNKK-PAYDB /

FB014 ... BKNKK-DBRAT /

FB014 ... BKNKK-REVDB /

FB014 ... BKNKK-GRUPP

FB014 ... BKNKK-SBDAT /

FB014 ... BKNKK-KDGRP

FB014 ... BKNKK-DBPAY

FB014 ... BKNKK-DBRTG

FB014 ... BKNKK-DBEKR /

FB014 ... BKNKK-DBWAE DEM

FB014 ... BKNKK-DBMON /

FB014 ... BKNKK-SENDE /

FB013 ....Editing was terminated

And the session it's not created...

I have the relevant data in my source file KNKK. For the other structures i don't have this problem.

Could you please help me to resolve this problem ?

Thanks in advance,

Burak

12 REPLIES 12

Former Member
0 Kudos

Hi Burak,

The only way to find this out is by debugging I'm afraid. Is there a special reason why you are using BI? In my experience it is by far easier to use the IDoc variant (message DEBMAS). Errors during this process are much easier to track!

Regards,

john.

0 Kudos

Hi Burak!

In general, yes IDOC (or standard input program) might be easier to handle.

But before you change your whole (customer) migration, check if all field length and types are correct. This error might be a wrong number / character handling or a lenght overflow.

It's just a small chance, but normally fast to check.

Regards,

Christian

Former Member
0 Kudos

Hello Christian,

Thanks for your reply. But i have use LSMW tool . We wrote download programs to fill up BKN* structures but i have now this problem with LSMW. I am new to LSMW and i don't know how it works

Regards

Burak

Former Member
0 Kudos

Is this an existing customer? If not, then you have to create the one first. Next, there is a flag on the selection screen of the standard SAP program for extended log. Set that and you will find out what the error is. Another way to do it, is to set the flag for 'all messages'.

Srinivas

0 Kudos

Read the documentation of the program associated with this. It will tell you which structures are mandatory and what needs to be filled. It is not LSMW, it is the standard program that is giving you this error, so concentrate on that program.

Former Member
0 Kudos

Hello everybody,

I resolved the problem with KNKK. I created another LSMW project with

BKN00

BKNKK

but TCODE='FD32' and the problem is solved )

So now i can create my batch input but when i run it i have the following error

"Field ADDR1_DATA-PO_BOX. does not exist in the screen SAPMF02D 0111"

Maybe this is a problem already known. Did you have this error too ?

Regards

Burak

Former Member
0 Kudos

Can you please tell us what you want to do with LSMW and customers? Are you trying to update customer master, or create or update the credit management details or create the credit management data for the customer, which one is it?

For FD32, you still need the customer to be there in the first place.

Srinivas

Former Member
0 Kudos

Looking at your original problem, it looks as if the file has been shifted one byte to the right at BKNKK-DTREV. It shows '/'(probably ' /') as the input value for many of the remaining fields. The empty field character has to be the first character of the field; otherwise, it tries to put ' /' into the field and that won't pass many of the edits.

Rob

0 Kudos

Hi,

Ths PO_BOX may have been suppressed in customizing. Please check in SPRO.

You can go to Financial Accounting -> AR and AP -> Customer Accounts -> Master Data -> Preparations for Creating Cust Mast Data -> Define Account Groups with Screen Layout

Then, select the relevant Customer Account Group (ex. DEBI) -> View -> click on 'General Data' line -> choose Edit Field Status -> Double click 'Address' line. This lists out all the address fields, and each can be made Suppressed/ Required/ Optional/ Display only.

Check the settings for PO Box field. I guess that might have been Suppressed or Display only. Make it Optional.

Cheers,

Bhanu

0 Kudos

Hi,

If the issue is resolved, please award points and close the thread.

Bhanu

0 Kudos

Hello all,

I have now another problems with BKNBK and BKNB1 structures. Even my source file BKNBK is filled with data, when i run my BI session, data doesn't appears on the screen. ??

and in the next screen BKNB1-AKONT is empy again !!!

Please help me to resolve this problem ?

Thanks & Regards

Burak

0 Kudos

Burak - as Bhanu has suggested, why don't you close this thread and open one specific to this new problem.

Rob