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_MATPHYSINV_COUNT

Former Member
0 Likes
2,517

Hi all ,

Please tell me how to use both of bapi

BAPI_MATPHYSINV_COUNT

BAPI_MATPHYSINV_POSTDIFF

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
1,277

Hi,

BAPI_MATPHYSINV_COUNT

____________________________________________________

Text

Enter count for particular items of a physical inventory document

Functionality

The Count method allows you to enter the count for items in a physical inventory document that have not yet been counted.

Notes

The following authorization object is checked when this method is used:

M_ISEG_WZL Physical inventory: Count in plant

Transfer

The key fields of the physical inventor document (PhysInventory and FiscalYear) have to be transferred to the method as import parameters. The count date (CountDate parameter) and a percentage variance (PercentageVariance parameter) can also be transferred.

The data for each item is imported in the Items table.

Ensure that you transfer the unit of entry as an import parameter (ITEMS) to the method, otherwise the method issues an error message.

Confirmations

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further Information

The method can only carry out your function if no error messages were generated in the Return table. This is the case if the header data and all the items were processed successfully.

Transaction control is not implemented. The calling program therefore has to execute the Commit Work itself after this method has been successfully called (in other words, if no errors were reported in the Return parameter).

BAPI_MATPHYSINV_POSTDIFF

____________________________________________________

Text

Post differences for certain items in a physical inventory document

Functionality

The PostDifferences method allows you to post differences for physical inventory documents that have been counted.

Notes

The following authorization object is checked when this method is used:

M_ISEG_WDB Plant authorization for inventory difference posting

Further Information

Transfer

The key fields of the physical inventory document (PhysInventory and FiscalYear) must be transferred to the method as import parameters. You can also transfer a threshold value for physical inventory differences (ThresholdValue parameter) and the posting date (Pstng date field). The data for each item is imported in the Items table.

Confirmations

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further Information

The method can only carry out your function if no error messages were generated in the Return table. This is the case if the header data and all the items were processed successfully.

Transaction control is not implemented. The calling program therefore has to execute the Commit Work itself after this method has been successfully called (in other words, if no errors were reported in the Return parameter).

Read only

Former Member
0 Likes
1,277

Hi dude,

Move to SE37,

enter the name of the BAPI and press display.

Press 'Function Module Documentation' button.

It gives you the necessary details.

Reward if helpful.

Regards,

Lakshmanan