on 12-07-2012 10:51 AM
Hello All
I need to create new stock category in WM just like Q or S or R category in order to differentiate some materials.
Is it possible to create new stock type??
As per my understanding, it is dependent on IM movement type and quantity string in the movement type.
Can anyone suggest if this is possible or not? If yes then how to achieve
Regards
Avinash
Dear Avinash ,
Could you shed some lights on the business requirement.
Thanks
Jinoy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Avinash,
it's seems that is not a simple task if the IM<->WM integration should be as smooth as it is for the hardcodeded values.
First you may modify the domain BESTQ and extend it by your new value.
Then you may need to extend the two function modules
L_BESTQ_TO_LBBSA_CONVERT
L_LBBSA_TO_BESTQ_CONVERT
to convert IM into WM and vice versa.
If you check the "where used list" of these constants
*........Bestandsqualifikationen LVS....................................
data: con_qualitaet type c value 'Q' , "Qualitätssicherung
con_sperre type c value 'S' , "Sperrbestand
con_retoure type c value 'R' , "Retoure
con_frei type c value ' ' . "freier Bestand
in include LLCMBTOP
you'll find some other hard coded CASE ... ENDCASE and IF bestq = CON... checks.
Please check every occurence and see if your new BESTQ value will influence this code (e.g. by reaching the WHEN others .. MESSAGE E...)
Technically then it should be possible to use the new BESTQ value in WM.
Regards,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Avinash,
unfortunately no. To extend the domain value list you may use SE11 and a fixed value append or a modification with SSCC key from SAP
The fixed value append is here ...
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/6e/d5574168ef7d47e10000000a1550b0/frameset.htm
All the changes in ABAP may be done either with implicit enhancements (if possible) or by modification.
Maybe you have a sandbox system where you can start doing these deep changes and check how far you can get in your process (post GR->TR->WM quant->TO->...->GI->TR->TO) before you start changing the real development system in your production landscape. Because then, you have to rollback all these modifications...
Hello Avinash,
as described above, you have to code the mapping between IM and WM and double check all hard coded IM/WM values for BESTQ.
But as Jinoy asked, does it really make sense to add a new BESTQ? Normally a existing value like "S" may be sufficient to reach the buissness requirements.
Regards,
Matthias
Hello Gurus
Any help on this??
Regards
Avinash Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
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.