Professional Documents
Culture Documents
Logic For AIM Fields
Logic For AIM Fields
If matching then check if Account Group is 2100 or 2300 and Order type not equal to
'ZFSO' 'ZFSI' 'ZCCM'.
Check customer master table and update Industry Usage and Channel , If entries are not
found in customer master then throw error at the time of saving order if the values are
not maintained.
If Account group is not matching then these fields should not be mandatory and visible
in sale order.
Logic
Check if sales Org matches with value in Set ZSDGL_SOP_VKORG_PREREQ_1
Pick the first profit center from VBAP where Reason for rejection is blank
Pass this Profit Centre code in CEPC table and pick Department code (ABTEI)
Now pass this Department code (ABTEI) in ZCOGL_DEPT and Pick Business
Area(GSBER)
3. Business Line
Pass this Profit Centre code in CEPC table and pick Department code (ABTEI)
Now pass this Department code (ABTEI) in ZCOGL_DEPT and Pick Business
Area(GSBER)
Now if this Business Area code matches with Value in set
ZSDGL_BUS_GSBER_PREREQ then Business Line is Visible/Mandatory in sale
order.
Business Line not mandatory if VBAK-BSARK (Purchase Order Type ) matches with
Entry in Set ZSDGL_SOP_BSARK_PREREQ only at the time of order creation.
Reporting category