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

LSMW and BAPI method

Former Member
0 Likes
1,084

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

1 REPLY 1
Read only

rajesh_krishnan
Discoverer
0 Likes
603

Hi,

Do you use multiple account assignment or single account assignment in service orders?.

If you use multiple a/c assignment, then you need to fill in the Sequential number (ZEKKN) in your LSMW.