cancel
Showing results for 
Search instead for 
Did you mean: 

Query on Stock Category in WM

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Avinash ,

Could you shed some lights on the business requirement.

Thanks

Jinoy

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Matthias

Thanks for getting back

Is there any configuration control where you can define the new stock category in WM?

Can you tell me the path?

Regards

Avinash

Former Member
0 Kudos

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...

Former Member
0 Kudos

Hello Matthias

Thanks for your help

Appreciated

Regards

Avinash

Former Member
0 Kudos

Hello Matthias

One more Question on this If we fix the domain value say "P" Blocked stock in ABAP dictionary.. Do you

think it is possible to link that with IM so that certain material on Goods receiving are set as "P" in LS26.

If yes then how can we achieve this?

Best Regards

Avinash

Former Member
0 Kudos

Hello

Any inputs on this??

Regards

Avinash

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Gurus

Any help on this??

Regards

Avinash Sridhar