cancel
Showing results for 
Search instead for 
Did you mean: 

MB31 - EXIT_SAPLL03T_003

Former Member
0 Kudos

Hello Everyone!!

I am using this user-exit EXIT_SAPLL03T_003 to try to CHANGE the Storage Location Inside the Transport Requirement.

What I am doing is basically this:

DATA: wa_ltbp TYPE ltbp,
      wa_ltbk TYPE ltbk.
 
READ TABLE XH_LTBK INTO wa_ltbk INDEX 1.
READ TABLE XH_LTBP INTO wa_ltbp INDEX 1.
 
APPEND WA_LTBK TO XV_LTBK.
 
WA_LTBP-LGORT = '0301'.
APPEND WA_LTBP TO XV_LTBP.

(The '0301' hard-coded is just a TEST).

The problem is this is NOT working... no matter WHAT I do... the field LGORT stays BLANK in table LTBP and in any TR t-code I look.

Any ideas???

Thanks in advance!

Fernanda

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This was just a test... It's not going to be always 0301...

Regards,

Fernanda

Former Member
0 Kudos

Actually yes, it's checked... because if we don't check it, we cannot supply raw materials!!

But we need to avoid this for semi-finished goods.

That's why we're trying the user'exit...

Any ideas?!

Thanks and best regards,

Fernanda

Former Member
0 Kudos

Then you can make 0301 as standard storage location in the same setting

Former Member
0 Kudos

Please check whether "Do not adopt storage location into transfer requirement" is checked for your storage locations in

Interfaces -> Interfaces -> Inventory Management -> Define Storage Location Control -> Control of Assignment "Plant / Stor.Loc. - Whse Number"