on 03-25-2013 11:20 AM
Hi all,
We have this requirement to develop a custom RF transaction to transfer stock from one bin to another within a storage type and between 2 different storage types.
We don't have Storage Units and handlling units. Also stock is not batch managed.
Can you please help on how this can be achieved.
I am thinking about calling the transaction LT01 in the ABAP program or the below function modules.
L_TO_CREATE_SINGLE
L_TO_CREATE_MULTIPLE
L_TO_COFNRIM
Also please advise any function modules available for checking the stock at WM level.
Regards
Veer
hi,
Recently we had a similar requirement and got it developed through the below logic, Pl check if it helps you.
Following BAPi to be used :-
L_TO_CREATE_SINGLE
Datato be passed to following fields :-
Data input Data type Number of characters
I_LGNUM <WH code>
I_BWLVS <999>
I_ALTME <EA>
I_WERKS <Plant code>
I_LGORT <0001>
I_LETYP <E1>
I_VLBER <001>
I_NLBER <001>
a=I_MATNR Alfa numeric 18[Manual input]
b=I_ANFME Numeric 8[Manual input]
c=I_VLTYP Alfa numeric 6[Manual input]
d=I_VLPLA Alfa numeric 12[Manual input]
e=I_NLTYP Alfa numeric 6[Manual input]
f=I_NLPLA Alfa numeric 12[Manual input]
Storage type prompting
As soon as “a” is entered, data in “c” to be prompted through the following logic,
“a” to be passed to Table” MLGN”-Field”MATNR” and
<040> to be passed to Table” MLGN”- Field” LGNUM”,
the data from Table ”MLGN”-Field” LTKZE” to be prompted in “c”,
If this is accepted by user, he
will go foreword or he will enter his own data, which system should accept.
Bin validation
IF “d” is present in the Table
“LAGP” Field “LGPLA”, on passing <040> in Table” LAGP” Field” LGNUM” and
“c” in Table “LAGP”-Field” LGTYP”
AND
IF “f” is present in the Table
“LAGP” Field “LGPLA”, on passing <040> in Table” LAGP” Field” LGNUM” and
“e” in Table “LAGP”-Field” LGTYP”
System should allow to go ahead and TO number to be saved
Else
Give an error “Bin does not exist in the storage type”
Screen display
Pranab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Although your question is about the ABAP side of things, here is the process from a functional point of view:
LT01 with Movement type 999.
data: Material, storage unit type, quantity and plant/storage location.
Click on Single Item
and enter the From and SAP suggest the destination.
Save to Create TO.
use LT12 to confirm (Which should be already on the RF menu).
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Walter/All,
Thanks for replying but as previously mentioned I want to know how to achieve bin to bin transfer using RF.
Either calling LT01 from the bespoke program or using the above mentioned function modules?
RF transactions LM03 and LM04 are used to confirm a TO already created but there is no equivalent tcode to create and confirm a unplanned bin to bin transfer order.
Regards
Veer
Yes, I understand. We also have a request to add items to our existing RF menus.
You may have this already, but here it is anyway, hope it helps.
User | Count |
---|---|
101 | |
12 | |
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.