Skip to Content
0
Former Member
Dec 04, 2009 at 05:27 AM

BAPI_GOODSMVT_CREATE

148 Views

Hi,

My requirement is to create Goods issue document based on Actual Sales data using the BAPI_GOODSMVT_CREATE

I have all these fields in the mapping table so i gotto pass it to the BAPI,

In the Header I ll be Passing these fields

Posting date

Document date

Reference Document number

Header Text

In the Item I ll be passing these fields to the BAPI

Material Number

Plant

Storage location

Batch number

Movement type

Stock type

Special stock indicator

Sales Order number

zposnr.

Quantity in Unit of Entry

Unit of entry

ISO code for unit or measurement Mandatory field

costcenter Cost center

orderid " Order number

Profitability Segment No

Breakdown Structure Element

znetwr.

Without the WBS Element and Profitability segment BAPI is creating the Document however If I pass WBS Element, Profitability Segment along with fields like Order id, Sales Order No, and cost center It keeps giving error like inconsistency between a document field and the Prof.segment number.

Could I know why it is givin this error.. and whats the solution please..?

Edited by: Nalina Acharya on Dec 4, 2009 6:28 AM

Edited by: Nalina Acharya on Dec 4, 2009 6:36 AM