What do you actually try to achieve?
Purchase requisitions have a field selection in customizing
Some fields are depending on values from other fields, RESLO (issuing storage location for example needs an item category U (internally U = 7) for stock transfers
There is even specific customizing for stock transfers between storage location which needs to be activated.
Is this all done, or do you try to achieve something different with the ABAP coding?