Hi All,I need to modify material master on the following condition :If the Valuated Unrestricted-Use Stock of plant = 0 modify plant specific material status to 'VAL1'EndIf.If the Valuated Unrestricted-Use Stock of plant > 0 modify pl...
Try code below using cursor to fetch data blocks and download themTABLES :dd02l.
DATA:ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv,
ls_fieldcatlog TYPE slis_fieldcat_alv,
lt_fieldcatlog TYPE slis_t_fieldcat_alv,
lt_lay...
Hello Christian,It seems that you will not require REGEX. Try code piece belowRegards,Puneet DesaiREPLACE ALL OCCURRENCES OF '"custom_variables":{' IN source_str WITH '"custom_variables":[{'.
REPLACE ALL OCCURRENCES OF '},' IN source_str WITH '}],'.
Hello Kristo,
Based on the process mentioned, include(this is actually a FM) is called during save processing which means it is called in update task.
Please enable update debugging and then try to debug.
Regards,
Puneet Desai
Hello Kiran,
Try code below
method IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL.
IF i_mara-meins = 'MB'.
MESSAGE 'This Material Belongs to Hard Disks Group' TYPE 'I'.
e_marau-matkl = '00208'.
IF sy-subrc = 0.
MES...