Hi srm_tech S,
Return Code 38 means "Pegging Area (product/location combination) not Found".
This is probably happening because the Uppercase/Lowercase flag was not set before the pegging areas were entered in table IT_PEGID.
When executing /SAPAPO/OM_PEG_CAT_GET_ORDERS, set Uppercase/Lowercase as a first step, then fill in the rest of the parameters, and retest.
Regards,
Tiago