on 01-15-2014 12:53 PM
Hi All,
Issue ; Transfer order is not getting updated in DB tables (LTAK & LTAP) & getting UPDATE TERMINATED message post creation
Error Info... New quant number exists already. Check your number range (Message No : L3 - 551)
Scenario : -
One of our storage type was Non SU managed & we have changed it into SU managed.After this changes were made, whenever we are trying to create transfer order from exist quant to new quant, transfer order is getting generated whereas failed to update in Database (Eg : during the stock transfer between bin to bin).
Can anybody help on this issue to resolve this.
Analysis : In the TO preparation screen post giving the quant number in the source field (LTAP-VLQNR),VLENR source storage unit number field is showing blank as per LQUA table & in the destination, it is creating a fresh quant number as well as new SU number. But in the internal table (TAP) (program : SAPML03T & Source Code: ML03TFFC_FC031) newly created SU number is getting updated in source & destination storage unit field (VLENR & NLENR). I think because of this reason it is failed to update in database post transfer order creation. If I am wrong, please correct me & expecting valuable suggestions & answers from you.
have checked in SM13 & found below information.
FM : L_TA_HINZUFUEGEN
Status : Update was terminated
Report : LL03TF2D
Row : 72
Message Class : L3 No : 551
Thanks & Regards
GKR
I can see that you put a lot effort by checking some program logic, but I do not see any sentence if you had checked your number range.
Are you sure that current number was not reset in the number range, which causes that an old number gets determined and finally fails when writing to the tables because there is already a record with the same number?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your valuable reply.
I checked..There is no number range reset happening during the transfer order creation,That's what I have mentioned above as (In the TO preparation screen, post giving the quant number in the source field (LTAP-VLQNR), VLENR source storage unit number field is showing blank as per LQUA table & in the destination,it is creating a fresh quant number as well as new SU number).
.
unfortunately my LL03TF2S seems to be different than yours, as I could never get this error at Row : 72
In my source this error message is executed twice, the first time when it is written to the internal table and there is already a quant with the same number.
and the second time when it tests against the entries in table LQUA.
I think you should debug this small source and have a parallel session with SE16 checking table LQUA
the coding at line 72 is:
WHEN CON_NACH.
IF TAP-NLTYP <> LQUA-LGTYP OR
TAP-NLPLA <> LQUA-LGPLA OR
TAP-NPPOS <> LQUA-PLPOS OR
TAP-NLENR <> LQUA-LENUM.
MESSAGE A551.
ENDIF.
this passage has nothing about VLENR. Please check in the debugger which one of the 4 field combinations is unequal.
Can you explain how you did you activation of SU management. Had you done it while you had stock in that storage type?
Can you please check the line 64 to 71,
WHEN CON_VON.
IF TAP-VLTYP <> LQUA-LGTYP OR
TAP-VLPLA <> LQUA-LGPLA OR
TAP-VPPOS <> LQUA-PLPOS OR
TAP-VLENR <> LQUA-LENUM.
MESSAGE A551.
ENDIF.
Can you explain how you did you activation of SU management. Had you done it while you had stock in that storage type?
As i was already mentioned, stock was maintained in the storage type before activation of SU.After activating the SU, I was trying to move the existing quant from one bin to another bin.
Thanks & Regards
GKR
SAP usually prompts an error LT152 SU Management cannot be changed
if there is any quant in a storage type when you switch on SUM.
But as you are doing this activation in your DEV system and transport the change, then SAP can of course only check the DEV system.
You created an inconsistence in your system.
You may need to revoke this change in DEV and transport it to PRD.
Then remove all inventory without SU number from that storage type, then activate SUM again and transport.
Expecting your valuable answer at the earliest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.