Skip to Content
0
Former Member
Dec 04, 2006 at 06:13 AM

LSMW and BAPI method

480 Views

I am using BAPI (Object: BUS2012, Method: CREATEFROMDATA1) in LSMW to upload service orders data. It is using the Idoc PORDCR101.

Getting the following error and document not posted.

<i>An error has occurred assigning data (E1BPMEPOACCOUNT )

Message no. B1527

Diagnosis

To call a BAPI the IDoc data must first be assigned to the relevant BAPI interface parameters.

An error has occured when carrying out this operation, possibly due to an incorrect data type or data format in the segment E1BPMEPOACCOUNT.

Procedure

Check that the data types in the IDoc data record matches the data types in the BAPI parameter.</i>

I am using the following source fileds for PO account assignment.

PONUMBER C(010) Purchasing document number

EBELP C(005) PO item

ZEKNN C(002) Sequential number

MENGE_D C(013) Quantity

VPROZ C(003) Distribution percentage

SAKTO C(010) Account

GSBER C(004) Business area

KOSTL C(010) Cost center

PS_PSP_PNR C(008) WBS Element

ANLN1 C(012) Asset no

AUFNR C(012) Order

I have tried by changing the data types. But getting the same error. Any suggestions will be appreciated.

Thanks,

Srinivas