‎2009 Oct 24 5:28 AM
Hi Everybody,
SAP code: u201CAu201D + Product number (8) + Null (9)
(file)Outbound system code: Product number (8) + Null (10)
*Product number has to be set right justified in 8 digits.
*Set 0 in the blank digits of product number.
(Example)
SAP code: "A00612345" + Null (9)
(file)Outbound system code: "00612345" + Null (10)
how would i do ?
Regards,
sudheer v
‎2009 Oct 27 6:24 AM
Hi Sudheer v,
I am not sure if I understand you correctly.
Is this what you trying to do.
data: _num(10) type c,
_sapc type matnr,
_proc(8) type c,
_extc(18) type c.
_num = '0'.
_sapc = 'A00612345000000000'.
_proc = _sapc+1.
concatenate _proc _num into _extc.
(_extc will be equal to '006123450000000000')
Kind Regards,
Quinton.
‎2009 Oct 27 6:33 AM
Hi,
u can do it in this way.. here just skip the first character then conactenate a zero to last
concatenate sap_matnr+1(18) '0' into a lw_matnr.
‎2009 Oct 27 6:46 AM
HI ,
You can use following logic...
var1 = sap_matnr+1(18).
now use FM CONVERSION_EXIT_MATN1_output , pass var1 into exporting variable and import this value into another variable var2.
var3 = va2+0(8)
Thanks
Shambhu