‎2009 Oct 24 5:25 AM
Hi Everybody,
If COEP-OBJNR is u201CKL*u201D, pick up COEP-OBJNR(6)+16.
how would i pick right value.
Regards,
sud
‎2009 Oct 24 5:31 AM
Hi,
Select * from COEP
into corresponding fields of table IT_COEP
where OBJNR like 'KL%'.
LOOP at IT_COEP into WA_COEP.
WA_COEP-OBJNR = WA_COEP-OBJNR+6(16).
MODIFY IT_COEP from WA_COEP transporting OBJNR.
ENDLOOP.
Regards,
MRunal
‎2009 Oct 24 5:31 AM
Hi,
Select * from COEP
into corresponding fields of table IT_COEP
where OBJNR like 'KL%'.
LOOP at IT_COEP into WA_COEP.
WA_COEP-OBJNR = WA_COEP-OBJNR+6(16).
MODIFY IT_COEP from WA_COEP transporting OBJNR.
ENDLOOP.
Regards,
MRunal
‎2009 Oct 24 5:52 AM
‎2009 Oct 24 5:32 AM
Hi
If COEP-OBJNR CP u201CKL*u201D
COEP-OBJNR = COEP-OBJNR(6)+16. ---> you can also use Temp Variable for COEP-OBJNR so that its values are intact
endif.
Cheers
Ram