Creating spection lot material document wise.
Dear Friends,
There is one RM having batch management active, now when i do GR against PO client need to split the quantity to say 25 batches ( ex. 5 tons paper received but there may be 25 roles of 200 kg each having each one separate batch no.) . So going by std process, system is creating 25 insp. lots. My requirement is system should generate only one lot per material document. ( since batch management is active , in Quality view of material master in insp setup system is allowing only for each material document item or material doc and batch). Pl guide me is it possible to create singe inspection lot for split GR with batch management active.
Since there is no fix quantity of roles coming in truck using of skip inspection won't seem to be right choice. Pl correct if it is other way.
Best Regards
Shekhar Mokashi
Dear Shekhar
In that case Skip will not also work as you may not have a picture of the stokc coming etc.
I dont have a solution for this now. What i can suggest is make use of user exits in this case. Try using this exits and check whether it can help you or else check the exit in MIGO. Give a login in such a way that only for the first line item or so the inspection lot is created
QAAT0002 Control of acceptance lots/goods receipt
| QBCK0001 |Enhancements to function module group QBCK
| QBCK0002 |Extended check in procurement
QBCK0003 |Extended QM check for goods receipt
Regards
Gajesh
Similar Messages
-
Create TO from material document automatically
Hi Experts,
I'd like to ask for a solution about Create TO from material document automatically.
Business Scenario:
Normally, user will create TO from material document by LT06, then confirm it by LT12. If there is no stock on the shelf at the time when user confirms it, user will put quantity zero when confirmation by LT12, then user will create a new TO according to same material document.
Requirement:
According to scenario above, if there is no stock on the shelf, user wants to create a TO from material document automatically when he confirms the first TO.
here I'd like to ask if there is any solution on it?
We tried to use user exit: EXIT_SAPLL03T_002, and call transaction in it.
but result is: first TO is not confirmed with zero quantity yet, so new TO can not be created.
Please tell if there is any other solution, many thanks.
Best Regards,
H.BHi
To my understanding at the first time when TO is created for the material document and stock is not available using the available user exit in TO confirmation u can forcibly confirm the TO but for the second time TO creation and confirmation there wont be any trigger point( as bcz we have config to create TO immediately ony when mat doc is created) so for that u need to schedule a job for creation and confirm of TO's for the open mat documents.
Regards
Amarnatha -
Multiple Posting change notice created for one material document
Hi All,
The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
The setting in the movememnt type clearly says that it will behave as it is behaving.
Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
Would look forward to your replies.
Regards,
JeetendraThanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN. -
Actually we have gate entry system (103 mvt ) during migo and make 105 mvt against the 103 material doc.
and also have restriction to make double entry against the same material doc (103).
In po the amount is let 100 qty , but how po allow to make 200 qty.
Kindly point out What is the cause for it and how to restrict it.
The above showing the Line item no 1500 Double GRN is made against 103 mvt type bypass error msg. and po qty.Yes Abhishek,
You are right i also agree with you , it is a standard sap , System never allow to change the error to
warning , i also tested in quality client it's ok. -
Creating Transfer Order for a Material document
Hi,
I am transferring the Unrestricted stock from one material to another material through Movement type 309.
I am creating a material document through BAPI_GOODSMVT_CREATE. Once the Material document is created and if the stock is in multiple storage types or storage bins, then I need to perform LT06. Instead of doing BDC recording I am using L_TO_CREATE_MULTIPLE function module for creating the TO. I am passing all the necessary values to this FM. TO is getting created but the Material document is not reflecting in that TO.
As per the configuration, movement type 309 will create the posting change only not the Transfer Requirement.
Does anybody have encountered the same problem?. If so please let me know how you have resolved the issue.
Regards,
Kishore.Hello Kirankumar,
It is possible to assign external number ranges for Storage unit, so maintain storage unit number range to assign SU number externally.
Now when you create Transfer order for material document at that time you can assign SU number externally.
Hope this helps.
regards,
Arif Mansuri -
Create transfer order for material document - 4.6C system
Hi Gurus
Can any one provide me the function module or BAPI to create transfer for material document in 4.6c system. I have to give input as supply storage type and bin and destination storage type and bin while execting the function module.
Thank you in advance
Regards
SarathSarath,
Thanks for responding, I finally found my answere via Thread: create transfer order for material document - 4.6C system
Thanks again. -
Revoke of Service Entry Sheet and hence cancellation of Material document
Suppose one Service entry sheet you created once you accept Service entry sheet it will create a material document once you revoke the service entry sheet it will create a reversal material document. which table and field we find the relationship in original Material document created against SES and canceled material document against revoke of SES.
Hello,
in table MSEG youo can enter with Purchase Order number (EBELN) and Purchase order item (EBELP): this way you will have all the material documents created for that PO, both for the acceptance and the reversal of the entry sheet. You can use the Reference document (field LFBNR) to see the link between acceptance and reversal of the entry sheet. On top of that, you can use fields "Movement type" (BWART) and "Debit/Credit Indicator" (SHKZG) to distinguish acceptance and reversal of the entry sheet for the same PO item.
Hope to be useful.
Best regards,
Andrea -
Material document getting with mvt 552 during ticketing
Hi,
I am creating ticketing activities for STO using movement scenario 16, with reference to the nomination i have posted two ticket documents, it had created the STO delivery in the back ground and material document also got created with movement type 641, When i create the final ticket , the final delivery is also created with corresponding material document. At this point of time , system is creating another material document with movement type 552. In the stock overview for the plant all the stock is reverted back.
Any ide
Issue is resolved.
Message was edited by: Srinivas JosyulaHi Srinivas,
Can you please elaborate the cause and resolution of the issue so that others benefit from your experience.
Regards, -
Reading Additional info for Material Document (Movement Types 313, 201)
Hi SAP Gurus,
I am currently working on a requirement for Material Document Interface.
<u><b>The Requirement is as below:</b></u>
(1) The user creates/modifies a material document using MB01/MB03/MIGO for movement types 313 and 201 separately.
(2) The user maintains additional information by creating a NOTE using the option
SERVICES FOR OBJECT --> CREATE NOTE.
(3) To Print the materail document information.
<u><b>The Approach is followed is:</b></u>
1) I have to retrieve the Address for From and To Locations respectively along with document data and display it as Simple List output.
Approach:
I retrieved the data from MKPF and MSEG tables respectively.
Also retrieved the data for FROM and TO locations using table TWLAD and function module ADDR_GET.
(2) I also need to retreive additional information created by the user using the option SERVICES FOR OBJECT --> CREATE NOTE.
<b>Approach:
Request your guidance and inputs to solve the point (2) mentioned above.</b>
I have debugged the SAP Standard tcode MB01, MB03 ,MIGO which have the option SERVICES FOR OBJECT --> CREATE NOTE.
I have also used ST05 to trace the transaction to get a proper solution.
But, i was able to observe that only a table SOOD provides the initial required info only which points to a office document type.
Looking forward to your valuable inputs, so that i can retrieve the data entered using the option SERVICES FOR OBJECT --> CREATE NOTE.
Thanks in advance for spending time and
guiding me to deliver the development on time.
With best regards,
SudhakarHi,
Try this..
TABLES: MSEG.
PARAMETERS: P_DATE LIKE MKPF-BUDAT.
SELECT-OPTIONS SO_BWART FOR MSEG-BWART.
SELECT-OPTIONS SO_MATNR FOR MSEG-MATNR.
DATA: BEGIN OF ITAB OCCURS 0,
MBLNR LIKE MKPF-MBLNR,
GJAHR LIKE MKPF-MJAHR,
MATNR LIKE MSEG-MATNR,
MENGE LIKE MSEG-MENGE,
MEINS LIKE MSEG-MEINS,
END OF ITAB.
SELECT AMBLNR AMJAHR BMATNR BMENGE B~MEINS
INTO TABLE ITAB
FROM MKPF AS A INNER JOIN MSEG AS B
ON AMBLNR = BMBLNR AND
AMJAHR = BMJAHR
WHERE A~BUDAT = P_DATE
AND B~BWART IN SO_BWART
AND B~MATNR IN SO_MATNR
<b> AND B~MENGU = 'X'.</b>
The field MENGU might be used to check if the
material movement has affected the stock..
Also I have used posting date = given date in P_DATE..
LOOP AT ITAB.
WRITE: / ITAB-MBLNR,
ITAB-GJAHR,
ITAB-MATNR,
ITAB-MENGE,
ITAB-MEINS.
ENDLOOP.
Thanks,
Naren -
'BAPI_GOODSMVT_CREATE' takes more time for creating material document
Hi Experts,
I m using 'BAPI_GOODSMVT_CREATE' in my custom report, it takes more time for creating Material documents.
Please let me know if there is any option to overcome this issue.
Thanks in advance
Regards,
LeoHi,
please check if some of following OSS notes are not valid for your problem:
[Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
[Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
[Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
Regards
Adrian -
'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time
Hi Experts,
I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
Then there is some functional configuration such that, material documents and TR and TO are getting created.
Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
The problem I am facing is very strange.
Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
Note 838036 says something similar, but it seems obsolete.
Kindly share your expertise and opinions.
Thanks,
AnilHi,
please check if some of following OSS notes are not valid for your problem:
[Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
[Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
[Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
Regards
Adrian -
Material document not updated in inspection lot QALS table
HI
The inspection lot created for 04 inspection type during Goods Receipt.
The material document is appearing in the inspection lot but found not updated in table entries. i.e.., QALS -MBLNR
When i checked other inspection lots it was found updated. How this happened ?
Any Snote to be applied?
ThanksHi,
Check the number ranges for material documents. (with year) for document type WE in OMBT transaction code.
If same material document number repeats in the same calendar year,then document update will be terminated.
As, document no. will be already existing in tables, system won't allow to update the same no. again.
Thanks & Regards,
Anand. -
How to Create inspection that assign to Purchase Order / Material Document
Dear QM Master,
I am using QA01 to create inspection lot but can any master tell me , How to Create inspection that assign to Purchase Order / Material Document ?
Appreciate.
Thank you.Hello,
When you create an inspection lot manually, you cannot reference an original document (for example, a goods receipt document, an order, or a delivery note).
In QA01 you can create inspection lot manually for all inspection lot origins except the following:
10 - Delivery to customer with sales order
11 - Delivery to customer without sales order
12 - General delivery
13 - Repetitive manufacturing
14 - Plant maintenance
You can also refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/2d/3519d8448c11d189420000e829fbbd/frameset.htm
Please check and revert.
Regards,
Priyanka -
Material document cancelaation after genarating the Inspection lot
Hi All,
Pls let me know how to cancel the material document after Inspection lot created in QM
Regards
Rajhi
it is difficult once you have posted the material using QM ,kindly refer the following link for reversing the stock posting
http://help.sap.com/erp2005_ehp_03/helpdata/EN/af/b9b3341a933f50e10000009b38f83b/frameset.htm
regards
thyagarajan -
How to read all material documents created for a service order /maint.order
Hello,
in my Z-Program i need to read all material documents which are created for a service order or maintenance order.
Is there a function module which could be used or do you have some other hinds for this requirement?
Thanks a lot.
Kind regards
ManfredHI,
Have you tried BAPI_ALM_ORDER_GET_DETAIL for fetching components details. Actually we have used it to get some other details.
Regards
Shakti
Maybe you are looking for
-
My iPhone 3G this morning seemed to have gotten a mind of its own. It's done this before but never this severe. Usually it stops after I shut it off and turn it back on. This time after shutting it off it randomly tried to turn back on. It started wh
-
HELP! iTunes error and wipes out iPod
My husband just bought an iPod nano and when he is trying to move songs from iTunes an error comes up and deletes the songs already on the iPod. The error comes up at various times too. At first we thought it was a song, but I have no idea now. The e
-
How to create pdf forms in wda
how to create pdf forms in wda
-
Hi, I'm just wondering is there another issue with Edge and Chrome. I know some stuff got sorted out but I am now having a problem with rectangles (as hitboxes) not showing up within Chrome. Does anyone know why this is happening?
-
PSD layers won't be transparent
Hi, Running FCE 2.0.3 and Adobe Photoshop CS. I've saved images with multiple layers as PSDs with layers. When I import them into FCE, they appear as sequences as they should. THe Layers appear as different layers in V1, V2 etc... The problem is that