on 07-27-2015 8:29 AM
Hi,
There's a requirement from the client that after UD is done the stock posted will move to a Ztable. I am using the exit ZXQEVU09. There are inspection lots which are moving to the table. But there are also inspection lots which are not moving into the table. There are following two conditions based on which the material/inspection lot will be populated in the Ztable :
1. A particular material group is assigned in the logic.
2. Materials having units in "litre" only will move.
I am unable to identify why only specific inspection lots are moving into the table. Based on the selection criteria as mentioned above there are several inspection lots. For example say there are 10 inspection lots that satisfies the condition in the logic,out of which only 2 inspection lots have moved to the table. The ABAPer told me that the program is not hitting the exit. But then there are also some inspection lots being populated in the table, which means the exit was hit and worked perfectly. I am unable to find out or trace the reason against which the exit is not getting hit for some specific lots.
Kindly help if any idea.
Regards,
Rahul.
Hello Rahul, I went through the all postings in this thread. As Martin says this is really difficult for anyone to decipher the logic unless the code is known. I will not go in to the details that why this solution was proposed or designed to create the new Z table if it is containing the same data that you would have surely extracted from the standard SAP tables or read BAPIs also. The fact is, as this is not standard SAP we are unable to find out the root cause here!
What I can suggest is,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
Thanks for your input. But it was in debugging also what we notice is , it is not going into EXIT. It is not understandable why it is not hitting the exit for the relevant Inspection Lot. Well scenario here is little different. So for some reason this ZTable is important for us and it was a work around solution. Strangely the issue is why after UD it is not going into exit instead it is bypassing it. That also it is not happening for all the inspection lots.
Regards,
Rahul.
Hello Rahul,
I doubt that there is a requirement from a customer that "stock is posted to a Z table". This is an IT solution for a (hopefully) defined business requirement.
If you want to have feedback on a good solution proposal you have to tell us the business requirement.
Regards
MH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Specific gravity is calculated for some materials which falls under a specific material group & Unit having "Litre". Now the requirement is when UD is performed in QA32 for this specific materials the values needs to be recorded in other Ztable also. Where respective inspection lot , material & its document number is picked up along with the specific gravity which has been recorded. This info is later used in a report.
There is a specific MIC DENSITY against which specific gravity is recorded. Now that MIC is a complete copy model.
Regards,
Rahul
Yes, and this is what I meant: if the information later is to be picked up by a report this does not necessarily require that it is stored in a Z table. If the specific materials can be identified to be moved to a Z table then this normally means that they also could be later identified to be picked up by a report directly. Your current solution creates duplicate data, which I doubt is useful. Not to speak about special transactions you need to consider to be implemented for you Z table, e.g. take back of a UD.
Rgards
MH
Hi Martin,
It is actually not like that. Because client wants a separate table where they can find the Specific Gravity , Inspection lot, Material No & Unit. This data is not available in a particular table. And this table is used in a MM Report also other than a QM report. Now the issue is this ,that there are some data which got updated using the same exit. But it is not consistent.
Also as reported by the user, there are no inconsistency or any error at the user end while performing result recording & giving UD.
I am unable to trace the reason for which against some Inspection Lot the Exit is being hit & for some it is not. Though they satisfy the condition.
The result or the value is being picked up immediately after performing UD is because there are some run time data calculation , based upon the quantity posted into unrestricted. The main reason data can't be taken up or updated later form other table.
Here we have the following key things:
1. DENSITY (MIC) against which the specific gravity is recorded of a particular material.
2. The quantity of stock posted while performing UD.
Some material falling under the same group comes in KG & then gets converted into Litre as per a back ground calculation.
Regards,
Rahul
Hello Rahul,
I do not know your requirement and solution in detail. I just point out that based on my experience this is not the best solution. With SAP standard objects it should also be possible to do calculations upon UD posting and storethe results into MICs of the inspection lot (this is where the data belongs to in my opinion).
As the inspection lot data is also stored in a table (but in a SAP standard table) I do not see the issue accessing this SAP standard table instead of your Z table.
And most likely you will not get help on your issue as this would require you provide us your coding and much more insight into your system. I do not think it would be a good idea to provide this here. If you want to stick with your current solution I would advise you to do some system/code traces together with your basis team.
Regards
MH
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
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.