cancel
Showing results for 
Search instead for 
Did you mean: 

cannot find fields in LSMW

Former Member
0 Kudos

hi abap gurus,

i need your help,

this is a Purchase order conversion program, from4.7 to ECC 6.0,

the iput is an excel file which contains the extracted data from 4.7

the structure of the iput file would be

Purchase Req Number from ECC 6.0 ( EBAN-BANFN )

PR Item from ECC 6.0 ( EBAN-BNFPO)

Old PO Number from 4.7 ( EKKO-EBELN )

Old PO Item from 4.7 ( EKKO-EBELP)

Vendor ( EKKO-LIFNR )

Material ( EKPO-MATNR).

Quantity ( MENGE-EKPO)

i was asked to do LSMW with a standrd program,

so, i started like this in the first step i chose direst input, with

Object 0085

Method 0001

program # RM06EEI0

program type is D

In the step "Field Mapping & Conversion Rules "

Except for the first two, ie.

Preq Number

PReq item, i could assign the source fields to the std program fields displayed,

but i could not find the two fields to map ie, PReq #, Preq Item.

is it that, these two fields are from ECC, i cannot find them in the std prog.

can some one helpme in solving this,

thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I don't think they are there as part of the conversion program. The reason could be that since this is the first time your purchase orders are coming into the system and the purchase requisitions that they refer to may not exitst in the new system. So referring to them may cause an error condition and that is why probably those two fields are not available.

Former Member
0 Kudos

hi srinivas,

thank you for response,

yes you are right,

it is the first time they are uploading POs, and also they donot have PReqs in system as of now,

but my question is as i am using the std program in lsmw, those filds should appear as target fields in order to map, i am only in the step of mapping, so the error of PReqs not found may be at later stage,

but the std program should show these fileds right?

i think these Preq are bieng used as refernce while creating the POs, in me21

so is this a way, or can we do this way for creating the POs with reference of PReqs

using a std program in LSMW,

or is it a better way to do recording.

Former Member
0 Kudos

Yes, PReqs are referenced while creating a PO but depending on your configuration, certain purchase order do not require a purchase requisition. That is why standard program did not provide those fields. Standard program is not assuming that there will always be a purchase requisition associated with a PO. So it really doesn't help having those fields for initial conversion.

If your case is such that you have to have those purchase requisitions, try BAPI_PO_CREATE1 in LSMW. But in that case, you have to have your purchase requisitions also brought into the system using LSMW object 0080.