Could anyone tell ABAP routine code for the transformation between DSO and Cube
I have to write field level routine for DOC_NUMBER:
Source fields required are:
DOC_NUMBER,
SOLD_TO,
DOC_CATEG,
ORD_REASON
Data Structure of DSO is like
Source fields are:
DOC_NUMBER,
SOLD_TO,
DOC_CATEG,
ORD_REASON
Logic should be:
If DOC_CATEG = ‘B’, fetch SOLD_TO.
For this SOLD_TO, search for DOC_CATEG = ‘C’ and if ORD_REASON = Blank put DOC_NUMBER in’ DOC_NUMBER’ target field