cancel
Showing results for 
Search instead for 
Did you mean: 

Exit EXIT_SAPLSLL_LEG_PRR3_002 (Material)

Former Member
0 Kudos

Hello Experts,

i want to transfer the material - but not all - want to suspend some material types.

if found the exit - SLLLEG04 - special the function EXIT_SAPLSLL_LEG_PRR3_002...

its defined as

"     VALUE(CS_MATERIAL_KEY_TABLES) TYPE  SLLR3_MATERIAL_KEY_S

*"       OPTIONAL

*"     VALUE(CS_MATERIAL_TABLES) TYPE  SLLR3_MATERIAL_OBJ_S OPTIONAL

*"     VALUE(ET_MAT_TRANSFER) TYPE  SLLR3_MATERIAL_TRANS_T

has someone an example how can i maybe .... suspend the material types 'ABCE' for example?

thanks...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

By using this exit you can control transfer of materials to GTS based on different parameters.In your case you want to restrict the materials based on material type.To acheive this requirement you need create a separate Ztable with the parameters and conversion rules for compliance,customs etc. related to GTS.

For example each product is stored in CS_MATERAIL_KEY_TABLES,the table MARA,Ztable must be checked and compared for the value material type.

If at least one value from the field MARA-MTART for the material is included as well in one in entry in the field material type (MTART) in the table with the conversion rule for compliance in the Ztable,the material is transferred. In order to transfer this material, the record must be left in the CS_MATERIAL_KEY_TABLES

If no value from the field MARA-MTART for the material is included in Ztable, the material is rejected. In order to transfer this material, the record must be deleted in the CS_MATERIAL_KEY_TABLES

Answers (0)