cancel
Showing results for 
Search instead for 
Did you mean: 

WM Bin to bin transfer using RF gun

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Pranab
Participant
0 Kudos

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

Former Member
0 Kudos

Thank you Pranab,

If possible can you please send me the funcitonal/technical spec to <removed by moderator>

Thanks again.

Veer

Message was edited by: Oxana Noa Zubarev

Pranab
Participant
0 Kudos

Hi.

All the technical contents of FS, I have put. rest are the documentation details.

Thanks,

Pranab

Former Member
0 Kudos

Thanks Pranab

Regards

Veer

Answers (1)

Answers (1)

wavilez
Active Participant
0 Kudos

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.

Former Member
0 Kudos

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

wavilez
Active Participant
0 Kudos

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.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0b33a0f-2478-2c10-4cbb-d6a197294...

Former Member
0 Kudos

HI Walter,

Thanks for replying and for the link but I already have it.

Regards

Veer