Application Development 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: 

Any function module to get the Material Quality inspection details.

former_member196331
Active Contributor
0 Kudos

HI,

I need a small information from your side.After adding the Purchase Request, then Purchase Order then Migo , then based upon the Quality characteristics, Inspection lot  will be created then, At Qa32  we are doing the Usage decision .

Now i need to Get the Usage decision of the particular lot Details. Is there any function module Inspection lot wise. How much of quantity we blocked and rejected and scraped.

Table i know i can get the details from QALS. But i need Function module . Because various ways we can inspect the lot.

Suppose in Qa32  out Of 250  quantity 150  i moved to blocked. After blocked by using other movement type we can move the data to other types also.

May main goal is  GR Quantity 250 . Quality completed 150 , Quality need to inspect 100.

i would like to get 100  Quantity Details Please inform me any function module exists.

I checked below ones but not working.

BAPI_INSPLOT_GETDETAIL

BAPI_INSPLOT_GETLIST

12 REPLIES 12

raymond_giuseppi
Active Contributor
0 Kudos

BAPI_INSPLOT_GETDETAIL is actually reading QALS, also it return list of material document for missing data, to allow enhancement of data with BAPI_GOODSMVT_GETDETAIL.

So could you elaborate on


I checked below ones but not working.

Regards,

Raymond

0 Kudos

hi,

I checked below one.

BAPI_INSPLOT_GETDETAIL


It is showing only system status and Material Document list.

But i need to how much Quantity is Pending for Quality.


Just now i checked one scenario, Material document quantity  150.

At QA32  100  is unrestricted 50 is blocked. If i open the QALS , I can able to see the Quantities in the table

But

Now, i would like to use Mb1b  with movement type 343 -Transfer posting blocked stock to unrestricted-use stock


Against to the batch number i am moving the blocked stock to unrestricted. with Quantity 10

Now if i open the QALS  same inspection lot , Quantities are same what i seen in the last .


I need this type Calculation. may be we can do in other scenario. So, i need a function module

blocked how much scrap total, unrestricted total, Like this i need.

Need valuable Suggestions.


0 Kudos

Almost every quantity field of QALS is returned by the BAPI, did you  check STOCK_DATA parameter (identify fields of QALS with their data-element or code of FM MAP2E_QALS_TO_BAPI2045D_IL2)

Regards,

Raymond

0 Kudos

HI, Thanks for your reply.

I checked STOCK_DATA .

It is considering only what i posted through QA32. But if i post any other movement type also.

Function module should show.

0 Kudos

I don't think such a FM exist, you may be required to use BAPI_GOODSMVT_GETITEMS and then BAPI_GOODSMVT_GETDETAIL to get the information.

Regards,

Raymond

0 Kudos

Thank u. I expected this type of answer, But no confidence, If we ask how means.

Directly Quantities will be updated  Into table QALS, if there is any  provision is available .If we use any movement type also. But no luck.

Ok One more small information .

Right now i am able to see only Charg(batch)  and movement type no , to link to the QALS

Is this enough. Not able to link other fields, No matching fields are available with movement type 343

0 Kudos

You can only find in documents 343/344 what you input, so material number, batch number, plant, warehouse, etc.

Regards,

Raymond

0 Kudos

Ok Sir, useful information. Keep posting.

former_member182550
Active Contributor
0 Kudos

You could also try www.se37.com during your research.

0 Kudos

Ok i will check it. Only search or Can i raise the questions and discussions also.

0 Kudos

It's not a discussion board as such,  it;s a fully searchable database of function module documentation.

0 Kudos

oK