Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8511

BAPI_PO_CHANGE components parameters

$
0
0

Hello All,

 

I'm using BAPI_PO_CHANGE to add a new line item to Purchase order of standard BSART type NB.

 

Line item is getting added to PO correctly as well as components. The problem is that field Batch is not getting copied to components.

 

in the line item table I'm using material 6850 with quantity 9.

 

Then in the components tab I'm adding 3 lines (taken from my report) like this

 

1 - material 6850, qty 2, batch NNBT1

2 - material 6850, qty 3, batch NNBT2

3 - material 6850, qty 4, batch NNBT3

 

I'm also filling componentsx tab as the components are getting added to the line item.

 

After executing BAPI I see that the new line item was added with the components and quantities but only thing missing is the batch field that is left blank.

 

 

I can see that after executing BAPI, besides my 3 lines, there are also 2 more lines with materials 6356 and 6368 belonging to the material BOM.

 

batch_missing.jpg

 

I'm not a functional guy so not sure how to proceed.

Material 6850 is the header material of the BOM, Should I change the BOM and add the material 6850 to items?

Am I missing any parameter in components table when calling the BAPI?

 

 

Any ideas how to resolve?

 

Thanks in advance!

Regards!!


Viewing all articles
Browse latest Browse all 8511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>