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

BAPI_GOODSMVT_CREATE

Former Member
0 Likes
485

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

1 REPLY 1
Read only

Former Member
0 Likes
335

This message means that there is some mismatch in the values that you provide in you BAPI and what existing in database . you need to check all the existing values that are passed. In case , no mismatch is there you have to search for appriorate SAP note for this from SAP MArketplace.