so many zeros preceeded instead of one zero here.
I have declared LV_0UPC_EAN as below
DATA : lv_0upc_ean(18) TYPE c,
I get the value as 054871020964
To select from date base, i am deleting leading zero of 054871020964...using below code:
SHIFT wa_869_input_rec-upc_ean LEFT DELETING LEADING '0'.
( So, wa_869_input_rec-upc_ean will become 54871020964, then used from database select and apply logic... )
Then APPEND wa_869_input_rec TO gt_869_input_rec.
After selecting from data base table, and if everything is successfull.
Then I have again to pass this value back into out put file as 054871020964. How to do this out of 54871020964 whose size is of 18 chars.
Here I am using 'CONVERSION_EXIT_ALPZE_INPUT' like below
CALL FUNCTION 'CONVERSION_EXIT_ALPZE_INPUT'
input = p_wa_869_input_rec-upc_ean
output = lv_0upc_ean.
p_wa_870_output_rec-upc_adidas = lv_0upc_ean.
but it is giving preceeding zeros as 000000054871020964.
how to make this.
Please help me
the EAN number may be diiferent, it may not be possible to have 12 chars length always.
can i know from you got the data with one extra zero to the ean number.
'05.............' , and why you are expecting a zero before it. can i know the reason..?