on 09-09-2016 10:27 AM
You link STPO-IDNRK to MAST-MATNR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good luck
KJogeswaraRao
chetan
Because you have not used STKO, you are getting repititive lines.
There is no guarantee that this exercise would give you right results, but the tables must be joined like this to filter components from other BOM categories flow into report. Use Left outer if records do not come. Delete the Internal counter line also which looks not necessary. So like this you need to spend some time. As I said before, I failed making such report using SQVI / Infoset query and finally switched to ABAP report program.
The total exercise will be a learning to you on SAP queries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear sir thanks again for this worth info. I tried this. But prima facia again the records are repeating (reason ,i think, against last column material code-which is directly attached to equipment- respective cells of BOM component should be blank). I will try again. And yes this exercise was indeed as learning on queries
Chetan
You are supposed to close the thread.
Here is how you close a discussion.
Regards
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sir I have issue of duplicate records now. How to avoid it?
For example, there are 5 BOM components and 1 material code attached to the equipment as shown.
(There are further subassembly (material codes) under these 3100000XXXseries BOM component..not shown)
Now in the report, BOM component and their subassembly material codes (as encircled in red) are repeating for each component in the last column. This last column was introduced for inclusion of material which are directly attached to equipment. Pl help.
Chetan
I see a left outer, you remove that first.
I thought it has completed. BOM reports using SQVI / Infoset query often have issues like this. It is you to try and rectify now. In Infoset queries there are advance features like coding in Extras tab using which we can overcome some of the issues. But it is always better to go for ABAP report.
Unlike other cases SAP queries using BOM tables do not work properly, because of several dependencies like Alternative BOMs etc. To understand and rectify the the behavior like you are facing is not easy, and sometimes we fail in that. I remember that I switched to ABAP report program when faced issues like this.
Good luck
KJogeswaraRao
1) Pass EQUNR and DATBI=31.12.9999 to EQUZ table and get SUBMT (SUBMT means Material BOM).
2) Pass SUBMT as MATNR in MAST table with WERKS and STLAN=4 and get STLNR
3) Pass STLNR to STPO table and get IDNRK (IDNRK means material list)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.