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
832

Dear All,

I am using 'BAPI_GOODSMVT_CREATE' for GR.

I am passing One PO number, Two material of Quantity 3 and Serial Numbers.

GOODSMVT_CODE = '01'.

I am getting the following message.

"<b>Maintain serial numbers for total quantity</b>"

What does this message mean?

The program works well with Material without Serial Number.

Regards

Agrim D

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
718

Hi Agrim!

A stupid question, but how many serial numbers do you fill into the bapi segment? Six?

Maybe the link between serial number segment and material segment is not working correctly - how do you fill MATDOC_ITM?

Regards,

Christian

6 REPLIES 6
Read only

christian_wohlfahrt
Active Contributor
0 Likes
719

Hi Agrim!

A stupid question, but how many serial numbers do you fill into the bapi segment? Six?

Maybe the link between serial number segment and material segment is not working correctly - how do you fill MATDOC_ITM?

Regards,

Christian

Read only

0 Likes
718

Hi,

Here is the Data I am passing.

MATERIAL <b>PO_NUMBER</b> PO_ITEM

50000260 <b>4300000390</b> 10

50000290 <b>4300000390</b> 20

MATDOC_ITM SERIALNO

10 <b>11</b>

10 <b>12</b>

10 <b>13</b>

20 <b>21</b>

20 <b>22</b>

20 <b>23</b>

Regards

Agrim D

Message was edited by: Agrim Darji

Message was edited by: Agrim Darji

Read only

0 Likes
718

Hi Agrim!

To excluded even stupid problems:

do you fill the line number as 000010 or 10? I would propose leading zeros, maybe you've done it already.

Are these serial numbers existing (and they belong to your sending site - or is it goods receipt)? There might be a problem, if you want to create serial numbers.

I know, that's not much of a help,

Christian

Read only

0 Likes
718

For Single Purchase Order I have Single Material and Quantity of that Material.

The Material has serial number profile.

GOODSMVT_CODE = '01'

For : GOODSMVT_SERIALNUMBER

MATDOC_ITM SERIALNO

0010 11

0010 12

0010 13

Message : Maintain Serial Nubmer for total Quantity.

<i>Serial numbers are preceeded by leading Zeros.</i>

Program works well with Purchase Order having Non Serialize Material.

Regards

Agrim D

Read only

0 Likes
718

Hi again,

your calls seem to be all right - I doubt here we find your problem.

Start debugging! Good start is a breakpoint at statement 'message' (or 'raise'). This might be called quite often, if your message will be displayed, scroll some lines up and look, if you get a hint for your problem.

Maybe you fill the quantity in cartons and SAP is converting into base units and expects much more serial numbers - or something else with SAPs counting is going wrong.

Regards,

Christian

Read only

Former Member
0 Likes
718

Hi,

Since u have mentioned quantity as 3, then three serial different serial numbers are required. Have u mentioned three different serial numbers. Please verify and let us know?.

Sharath kumar.